From dsc at swcp.com Thu Apr 1 00:52:55 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 31 Mar 2004 22:52:55 -0700 Subject: On arrays as arrays elements (or why I like boxes...) In-Reply-To: <090097CA-8389-11D8-9533-0003936D012E@mac.com> Message-ID: On Wednesday, March 31, 2004, at 08:02 PM, Andre Garzia wrote: > I just thought a some good reason why I like boxes and why I keep > using them in my every day job. It's a silly reason, but it's the best > way to access some types of data like macintosh .plist files, we can > build a XML to Box translation utility and access it easily, I'm currently up to my neck in alligators, but maybe in a few weeks I can visit boxes again. I hope to get it to the point where I can put it on the web site and make it available. I like the idea of XML/box translation. Because of that, I might remove the ASCII text representation option. I need to check, but I think the internal number representation might have endian problems in the binary version as far as portability among platforms. If XML is the way to move data, then this is less important, too. Maybe all portability features can be removed. Do you use the chunking interface or do you use the iterator interface or both? Dar Scott From xbury.cs at clearstream.com Thu Apr 1 01:08:32 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 1 Apr 2004 08:08:32 +0200 Subject: Revolution and WiFi Message-ID: Erik, Whichever wifi you choose, it should just function as a network cable should... But with wifi you should consider that any microwave oven or GSM ringing might temporarily simulate an EM pulse on your network and cut the link... Otherwise Wifi is fun! Requires no cabling, has plenty of security and speed going for it... Wifi over sat is also coming for broadband I hear... On 01.04.2004 02:41:15 use-revolution-bounces wrote: >--- Richard Gaskin >wrote: > >> With the sort of net-apps described on Reactor >> Labs' page at >> >> and elsewhere, Rev allows you to invent new >> categories of connected workflows and >> amusements that make optimal use of both >> desktop and Internet capabilities. > >this page is very informative >does Revolution have any characteristics >that affect wireless transmission? >anything to consider when buying a computer? >with 802.11a,b,g, bluetooth, 54g wireless LAN, >etc. etc. to consider, one wonders which one >to select with which OS and which computer. > >thanks, > >Erik Hansen > > >===== >erik at erikhansen.org http://www.erikhansen.org > >__________________________________ >Do you Yahoo!? >Yahoo! Finance Tax Center - File online. File on time. >http://taxes.yahoo.com/filing.html >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From Meitnik at aol.com Thu Apr 1 01:19:23 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Thu, 1 Apr 2004 01:19:23 EST Subject: fh and tracing Message-ID: <112.30972d4e.2d9d0e6b@aol.com> In a message dated 04/01/2004 01:10:25 AM, use-revolution-request at lists.runrev.com writes: > I'm > familiar with Freehand's autotrace tool, but in my experience this usually > rounds out edges making for slightly distorted looking linework. > -- contact me off list. I might be able to help. Tracing was my baby when I was testing fh 3./fog 4. at Altsys. Andrew From mcdomi at free.fr Thu Apr 1 01:19:46 2004 From: mcdomi at free.fr (Dom) Date: Thu, 1 Apr 2004 08:19:46 +0200 Subject: Some news about the "dateitems bug" In-Reply-To: <2F957824-833F-11D8-9E2D-003065CC999E@pi.be> Message-ID: <1gbk1mv.uqlg3oyuzawwM%mcdomi@free.fr> Wouter wrote: > It is (up to now) kind of a useful bug on the Mac OS platform to > determine if the system is observing DST or not. As far as I know, it occurs only if the system is observing DST -- noting that it seems that you *cannot* disable the automatic change in OS X as you could in "Classic"... -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From kray at sonsothunder.com Thu Apr 1 02:29:37 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 1 Apr 2004 01:29:37 -0600 Subject: AutoTrace? In-Reply-To: Message-ID: <017e01c417bb$19ef4190$6601a8c0@precision340> The only third party product for this I'm aware of is/was Adobe Streamline. Ken > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Scott Rossi > Sent: Wednesday, March 31, 2004 4:51 PM > To: How to use Revolution > Subject: AutoTrace? > > > Has anybody found a way to accomplish similar results to > SuperCard's autotrace feature? > > I'm wondering if there are any 3rd party apps out there that > can "trace" a bitmap image and output vector lines that can > be read into Rev. I'm familiar with Freehand's autotrace > tool, but in my experience this usually rounds out edges > making for slightly distorted looking linework. > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Apr 1 02:33:09 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 1 Apr 2004 01:33:09 -0600 Subject: HyperCard finally put to rest.. In-Reply-To: <406B42A1.9000701@fourthworld.com> Message-ID: <017f01c417bb$9819d710$6601a8c0@precision340> Just FYI, there's a page on the MacOS Rumors site: where there's a reader letter on that page noting the unavailability of HyperCard, and the editor solicits feedback on alternatives. Although Rev is listed, it's listed with other tools for which porting HC is a LOT more work; Rev is the only one that reads the HC file format directly, and matched only by SuperCard (not on his list) for language compatibility. So if anyone wants to send a friendly letter... 'nuff said! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From xbury.cs at clearstream.com Thu Apr 1 04:46:02 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 1 Apr 2004 11:46:02 +0200 Subject: AutoTrace? Message-ID: Illustrator, Canvas and there was another whose name escapes me... You can also create great traces with Photoshop... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 "Ken Ray" Sent by: use-revolution-bounces at lists.runrev.com 01.04.2004 09:29 Please respond to How to use Revolution To: "'How to use Revolution'" cc: Subject: RE: AutoTrace? . The only third party product for this I'm aware of is/was Adobe Streamline. Ken > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Scott Rossi > Sent: Wednesday, March 31, 2004 4:51 PM > To: How to use Revolution > Subject: AutoTrace? > > > Has anybody found a way to accomplish similar results to > SuperCard's autotrace feature? > > I'm wondering if there are any 3rd party apps out there that > can "trace" a bitmap image and output vector lines that can > be read into Rev. I'm familiar with Freehand's autotrace > tool, but in my experience this usually rounds out edges > making for slightly distorted looking linework. > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rodmc at runrev.com Thu Apr 1 05:14:00 2004 From: rodmc at runrev.com (Rod McCall) Date: Thu, 1 Apr 2004 11:14:00 +0100 Subject: News: Retrolution 4 Released Message-ID: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> In response to customer requests we've decided to release Retrolution 4, please find the press release below. Best, Rod ----- Runtime Retrolution 4 Release Develop Software for Platforms Past and Present Edinburgh Scotland, April 1st 2004 Runtime Revolution today announces the release of Retrolution 4, the developer tool for computer platforms past and present. Retrolution includes support for a selection of platforms dating from the mid-1900's to the present day and covers most major graphic and chip architectures. Announcing the release, 92 year old Rt. unRev. Kevin Miller CEO of Runtime Revolution said "I can remember when the transistor was just a glint in the milkman's eye. Since then we've seen the advent of 4 bit computer systems through to the state of the art G5" While semi-drugged and undergoing a hip replacement operation, Miller added, "Retrolution's stacks and punched card development system now make it even easier for developers of all abilities to write software for platforms big and room sized!" Retrolution 4 adds support for the following platforms: *Atari 8-bit, including XL and XE *Apple I (Apple II coming soon) *Commodore Pet and C64 *LEO: Lyon's Electronic Office (support for certain bakery products only) *Atari ST *Acorn Atom and Archimedes (prior to RISC OS 3 only) *ENIAC *Dragon 64 *Oric 1, Atmos and Stratos *Sinclair ZX80, ZX81, Spectrum support to follow shortly. *Texas Instruments TI99/4A *Microsoft Windows 1 *Tandy Radioshack TRS-80 (green screen only) *Hanimex Pencil II *MicroBee *Heathkit EC-1 Analogue Valve Vacuum Computer *Seattle Computer Gazelle (Zebra and Giraffe support to follow) *Beattie Bunion 64 Colour Computer *Open University Hektor 2 *Dick Smith Cat Daffid Blanket of the UK Home Office Immigration Service said "We've been using punched cards since the year dot, This new release means we don't need to discard our state of the art IT systems which include ENIAC, MicroBee and LEO. Instead we can keep on using them and our trusty stack of punched cards." Retrolution 4 makes development easy by forcing the developer to program in binary and to manually punch the holes in the cards. This latest release adds a whole range of features including: *Multimedia support with up to 1 channel beep-based sound *3D graphics, monochrome wireframe with resolutions of up to 64 by 48 pixels *Ability to use compiled external libraries written in BASIC, 6502 and 6809 assembler *Support for upper and lowercase letters, except for the letter P *Support for all numbers from 0 to 9, except 6 *Databases up to 3 records in size, with one field *Secure data encryption protocols. Each letter is encoded using the next letter in the alphabet. Support for Z due in 2007, numbers in 2009 *Ability to build standalones in 14 days, allowing you to go on holiday while Retrolution gets on with the job *Sync with the Osborne 1 handheld computer Retrolution 4 is priced at $999.95 and is available on reel-to-reel tape, pre-programmed valve bank, cassette, punched card and 8 inch floppy disk from all good computer stores. For more information and a free download visit About Retrolution and Revolution Information on pricing, versions, and local distributors, as well as a free 30-day trial edition of Revolution for all supported platforms: Windows, Mac OS X, classic Mac OS, Linux and Unix, is available at . Runtime Revolution and Express do not support any of the platforms or features listed above. Runtime Revolution Ltd. Founded in 1997, Runtime Revolution focuses on bringing user-centric programming to all major platforms: Macintosh, Windows, Linux, and Unix. Products include Revolution, Revolution Express, and Ten Thumbs Typing Tutor. The company is based in Edinburgh, Scotland. For more information on Runtime Revolution, please visit the company on the web at . ### Contact Dr Rod McCall Runtime Revolution Ltd 91 Hanover Street Edinburgh EH2 1DJ email: rodmc at runrev.com telephone: +44 (0) 131 718 4333 fax:+44 (0) 131 718 4334 From dburgun at dsl.pipex.com Thu Apr 1 06:17:55 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 1 Apr 2004 12:17:55 +0100 Subject: News: Retrolution 4 Released In-Reply-To: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> Message-ID: This is a Joke Right - ahhh yeah, it's April the 1st!!! Nice One! Dave >In response to customer requests we've decided to release >Retrolution 4, please find the press release below. > >Best, > >Rod > >----- > >Runtime Retrolution 4 Release >Develop Software for Platforms Past and Present > >Edinburgh Scotland, April 1st 2004 >Runtime Revolution today announces the release of Retrolution 4, the developer >tool for computer platforms past and present. Retrolution includes support for >a selection of platforms dating from the mid-1900's to the present day and >covers most major graphic and chip architectures. > >Announcing the release, 92 year old Rt. unRev. Kevin Miller CEO of >Runtime Revolution said "I can remember when the transistor was just >a glint in the milkman's eye. Since then we've seen the advent of 4 >bit computer systems through to the state of the art G5" While >semi-drugged and undergoing a hip replacement >operation, Miller added, "Retrolution's stacks and punched card >development system now make it even easier for developers of all >abilities to write software for platforms big and room sized!" > >Retrolution 4 adds support for the following platforms: >*Atari 8-bit, including XL and XE >*Apple I (Apple II coming soon) >*Commodore Pet and C64 >*LEO: Lyon's Electronic Office (support for certain bakery products only) >*Atari ST >*Acorn Atom and Archimedes (prior to RISC OS 3 only) >*ENIAC >*Dragon 64 >*Oric 1, Atmos and Stratos >*Sinclair ZX80, ZX81, Spectrum support to follow shortly. >*Texas Instruments TI99/4A >*Microsoft Windows 1 >*Tandy Radioshack TRS-80 (green screen only) >*Hanimex Pencil II >*MicroBee >*Heathkit EC-1 Analogue Valve Vacuum Computer >*Seattle Computer Gazelle (Zebra and Giraffe support to follow) >*Beattie Bunion 64 Colour Computer >*Open University Hektor 2 >*Dick Smith Cat > >Daffid Blanket of the UK Home Office Immigration Service said "We've >been using >punched cards since the year dot, This new release means we don't >need to discard >our state of the art IT systems which include ENIAC, MicroBee and LEO. Instead >we can keep on using them and our trusty stack of punched cards." > >Retrolution 4 makes development easy by forcing the developer to program in >binary and to manually punch the holes in the cards. This latest >release adds a >whole range of features including: >*Multimedia support with up to 1 channel beep-based sound >*3D graphics, monochrome wireframe with resolutions of up to 64 by 48 pixels >*Ability to use compiled external libraries written in BASIC, 6502 and 6809 >assembler >*Support for upper and lowercase letters, except for the letter P >*Support for all numbers from 0 to 9, except 6 >*Databases up to 3 records in size, with one field >*Secure data encryption protocols. Each letter is encoded using the >next letter >in the alphabet. Support for Z due in 2007, numbers in 2009 >*Ability to build standalones in 14 days, allowing you to go on holiday while >Retrolution gets on with the job >*Sync with the Osborne 1 handheld computer > >Retrolution 4 is priced at $999.95 and is available on reel-to-reel >tape, pre-programmed valve >bank, cassette, punched card and 8 inch floppy disk from all good computer >stores. > >For more information and a free download visit > >About Retrolution and Revolution >Information on pricing, versions, and local distributors, as well as >a free 30-day trial edition of Revolution for all supported >platforms: Windows, Mac OS X, classic Mac OS, Linux and Unix, is >available at >. > >Runtime Revolution and Express do not support any of the platforms >or features listed above. > >Runtime Revolution Ltd. >Founded in 1997, Runtime Revolution focuses on bringing user-centric >programming to all major platforms: Macintosh, Windows, Linux, and Unix. >Products include Revolution, Revolution Express, and Ten Thumbs Typing >Tutor. The company is based in Edinburgh, Scotland. For more information >on Runtime Revolution, please visit the company on the web at >. > >### > >Contact >Dr Rod McCall >Runtime Revolution Ltd >91 Hanover Street >Edinburgh >EH2 1DJ >email: rodmc at runrev.com >telephone: +44 (0) 131 718 4333 >fax:+44 (0) 131 718 4334 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at pi.be Thu Apr 1 06:48:00 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 1 Apr 2004 13:48:00 +0200 Subject: Some news about the "dateitems bug" Message-ID: <6D515E27-83D2-11D8-A263-003065CC999E@pi.be> > Dom mcdomi at free.fr > Thu Apr 1 08:19:46 EST 2004 > > * Previous message: Revolution and WiFi > * Next message: News: Retrolution 4 Released > * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > Wouter wrote: > > > It is (up to now) kind of a useful bug on the Mac OS platform to > > determine if the system is observing DST or not. > > As far as I know, it occurs only if the system is observing DST And that is exactly why it is useful (until corrected) in determining if the system is observing DST or not. like: function checkDST ### only on Mac OS X (didn't check os 9 though) convert the seconds to long time put it into a convert it to seconds convert it to long time if a = it then return false else return true end checkDST > -- noting that it seems that you *cannot* disable the automatic change > in OS X as you could in "Classic"... > > -- > Vous parlez fran?ais ? faites un tour sur le groupe francophone ! > revolutionfr-subscribe at yahoogroupes.fr > Jetez un oeil sur RevoBlog ! > WA From klaus at major-k.de Thu Apr 1 06:48:22 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 1 Apr 2004 13:48:22 +0200 Subject: News: Retrolution 4 Released In-Reply-To: References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> Message-ID: <7A05494E-83D2-11D8-AE65-000A27B49A96@major-k.de> Hi David, > This is a Joke Right - No, not at all!!!! I just downloaded the demo-kit and it works like a charm on my 5 old Ataris ST resp. "Seattle Computer Gazelle"... > ahhh yeah, it's April the 1st!!! Mere coincidence... > Nice One! Get it and play around wioth it, if you have one of these listed machines!!! > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From soapdog at mac.com Thu Apr 1 08:48:34 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 1 Apr 2004 10:48:34 -0300 Subject: News: Retrolution 4 Released In-Reply-To: <7A05494E-83D2-11D8-AE65-000A27B49A96@major-k.de> References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> <7A05494E-83D2-11D8-AE65-000A27B49A96@major-k.de> Message-ID: <44B872BE-83E3-11D8-9533-0003936D012E@mac.com> On Apr 1, 2004, at 8:48 AM, Klaus Major wrote: > No, not at all!!!! > > I just downloaded the demo-kit and it works like a charm on my > 5 old Ataris ST resp. "Seattle Computer Gazelle"... > > And for those using it, I must say that I'll make available colored punch cards, they will be bright and jovial, they'll match your iPod mini colors. Just imagine, while you're waiting your batch you can listen to your 4GB mp3 in your iPod strapped to your arm and keep your colored cards at hand, this will show all other users that you got a grip on fashion and that you're ubercool guy. Cheers Andre PS: just found my TK95.... ehehhehe... -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From dburgun at dsl.pipex.com Thu Apr 1 08:57:59 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 1 Apr 2004 14:57:59 +0100 Subject: News: Retrolution 4 Released In-Reply-To: <44B872BE-83E3-11D8-9533-0003936D012E@mac.com> References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> <7A05494E-83D2-11D8-AE65-000A27B49A96@major-k.de> <44B872BE-83E3-11D8-9533-0003936D012E@mac.com> Message-ID: >On Apr 1, 2004, at 8:48 AM, Klaus Major wrote: > >>No, not at all!!!! >> >>I just downloaded the demo-kit and it works like a charm on my >>5 old Ataris ST resp. "Seattle Computer Gazelle"... >> > >And for those using it, I must say that I'll make available colored >punch cards, they will be bright and jovial, they'll match your iPod >mini colors. Just imagine, while you're waiting your batch you can >listen to your 4GB mp3 in your iPod strapped to your arm and keep >your colored cards at hand, this will show all other users that you >got a grip on fashion and that you're ubercool guy. Yeah, and don't forget that the iPod strapped to your arm has about 16 million times more memory than the mainframe you're feeding cards into! Dave From jan.decroos at groepvanroey.be Thu Apr 1 10:35:26 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Thu, 01 Apr 2004 16:35:26 +0100 Subject: Optionkey always returns "up" In-Reply-To: <20040331163904.E6B0B93007C@mail.runrev.com> References: <20040331163904.E6B0B93007C@mail.runrev.com> Message-ID: > >> Hi All >> >> It happens from time to time one of our users can't use "the optionKey" as a >> modifier anymore. It returns (after a while) always "up". We currently >don't >> know what's the reason of this : is it Revolution, is it the Finder, is it >> AppleShare, is it a kernel extension, ... ?? >> >> The user has to logout (in the Finder) to have the optionKey available again. >> Quitting the application isn't enough. > >mcdomi at free.fr wrote : >It is a bug in Mac OS X >Its originating is not clear -- the only solution is to reboot Thomas, David, Dom, and All, *Without* changing the keyboard (Pieces of dried fruit, problems with certain keys, ...) the problem is solved after logged out. I got it again today on a certain Mac, and before logging out the user, I started MSWord, and tried the short cut "option-command-m" for format the paragraph, and this works !!! So the optionKey seems me disabled *only* in Revolution !! So, a bug in Mac OS X seems me a little bit strange... Regards, Jan From mcdomi at free.fr Thu Apr 1 10:06:08 2004 From: mcdomi at free.fr (Dom) Date: Thu, 1 Apr 2004 17:06:08 +0200 Subject: Some news about the "dateitems bug" In-Reply-To: <6D515E27-83D2-11D8-A263-003065CC999E@pi.be> Message-ID: <1gbkppy.lq14zs6wkkl0M%mcdomi@free.fr> Wouter wrote: > And that is exactly why it is useful (until corrected) in determining > if the system is observing DST or not. Note that it is valid only during the DST period... And that a wrist watch will do that also ;-) -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From FlexibleLearning at aol.com Thu Apr 1 10:09:38 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 1 Apr 2004 10:09:38 EST Subject: ...questions and answers on the list Message-ID: >Absolutely. I've accumulated a ton of notes of things I intend to do with >my app but I don't know how to do them and haven't got to them yet... Jim Have you got a copy of The Scripter's Scrapbook for all your notes, Jim? Provides a simple means of organizing and building your own reference library and generally coordinating all your 'stuff'. Link to ssBk: www.FlexibleLearning.com/ssbk.htm /H From wouter.abraham at pi.be Thu Apr 1 10:55:40 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 1 Apr 2004 17:55:40 +0200 Subject: Some news about the "dateitems bug" Message-ID: <068B01E4-83F5-11D8-A263-003065CC999E@pi.be> > Some news about the "dateitems bug" > Dom mcdomi at free.fr > Thu Apr 1 17:06:08 EST 2004 > > * Previous message: Some news about the "dateitems bug" > * Next message: Optionkey always returns "up" > * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > Wouter wrote: > > > And that is exactly why it is useful (until corrected) in > determining > > if the system is observing DST or not. > > Note that it is valid only during the DST period... > And that a wrist watch will do that also ;-) This function, thanks to the bug, determines if your computer is observing DST or not and does this in both periods. And that must be some kind of watch you are wearing, with auto-DST. Not very common over here :^)) WA From devin_asay at byu.edu Thu Apr 1 11:26:36 2004 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 01 Apr 2004 09:26:36 -0700 Subject: Mac OS X Rev/MC engine? In-Reply-To: <20040401060844.D80709300A5@mail.runrev.com> References: <20040401060844.D80709300A5@mail.runrev.com> Message-ID: <586164D0-83F9-11D8-AAD2-000A95A6A138@byu.edu> I want to start exploring running Rev-based CGI's on my Mac OS X server. I have a copy of Jacque Gay's excellent "Intro to Rev CGIs" handout from the Revolution Seminar in January, and it says that to run Rev-script-based CGIs you need to install the Rev/MC engine on the server. Is there an engine that will run under OS X? I didn't see a Darwin engine on the download site. Will the FreeBSD engine work on OS X? Thanks. Devin Asay Humanities Technology and Research Support Center Brigham Young University From dsc at swcp.com Thu Apr 1 11:44:12 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Apr 2004 09:44:12 -0700 Subject: News: Retrolution 4 Released In-Reply-To: <7A05494E-83D2-11D8-AE65-000A27B49A96@major-k.de> Message-ID: On Thursday, April 1, 2004, at 04:48 AM, Klaus Major wrote: > Get it and play around wioth it, if you have one of these listed > machines!!! No Altair from MITS (I designed a few boards for that) and no PDP 8. Sigh. No Apple II, yet, and no PCjr. I need to upgrade some of my machines. -- Dar From klaus at major-k.de Thu Apr 1 11:47:58 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 1 Apr 2004 18:47:58 +0200 Subject: News: Retrolution 4 Released In-Reply-To: References: Message-ID: <54E29D84-83FC-11D8-AE65-000A27B49A96@major-k.de> Hi Dar, > On Thursday, April 1, 2004, at 04:48 AM, Klaus Major wrote: >> Get it and play around wioth it, if you have one of these listed >> machines!!! > No Altair from MITS (I designed a few boards for that) and no PDP 8. > Sigh. > No Apple II, yet, and no PCjr. I need to upgrade some of my machines. > -- Dar Sounds like you are still using that ol' abacus... How the heck did you install RR on it??? :-D Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Thu Apr 1 11:55:46 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Apr 2004 09:55:46 -0700 Subject: News: Retrolution 4 Released In-Reply-To: <54E29D84-83FC-11D8-AE65-000A27B49A96@major-k.de> Message-ID: <6B771738-83FD-11D8-81A3-000A9567A3E6@swcp.com> On Thursday, April 1, 2004, at 09:47 AM, Klaus Major wrote: > Sounds like you are still using that ol' abacus... > How the heck did you install RR on it??? I upgraded to soroban. -- dar From rodmc at runrev.com Thu Apr 1 11:58:52 2004 From: rodmc at runrev.com (Rod McCall) Date: Thu, 1 Apr 2004 17:58:52 +0100 Subject: News: Retrolution 4 Released In-Reply-To: <7A05494E-83D2-11D8-AE65-000A27B49A96@major-k.de> References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> <7A05494E-83D2-11D8-AE65-000A27B49A96@major-k.de> Message-ID: > I just downloaded the demo-kit and it works like a charm on my > 5 old Ataris ST resp. "Seattle Computer Gazelle"... > The Gazelle is for real! While doing some routing around on the net for our new platforms (with silly names) I came across that, the Australian Microbee from Honeysoft and a few other oddly named computers. The Gazelle was apparently the machine which featured a version of DOS, the same version which the owner then sold to Microsoft and which went on to become the rather uncommon MS-DOS. I bet the owner of Seattle Computer kicked himself shortly afterwards. Much like the guy who from Digital Research who went to play golf rather than meet with executives from IBM when they were looking to buy an operating system. If anyone is interested in a 'new' retro computer I gather a Dutch company called Tulip owns the rights to the C64 and plans to start making it again. It's amazing the amount of useful information you can find on the internet :-) Cheers, Rod From jmac at consensustech.com Thu Apr 1 12:05:58 2004 From: jmac at consensustech.com (Jim MacConnell) Date: Thu, 01 Apr 2004 09:05:58 -0800 Subject: News: Retrolution 4 Released In-Reply-To: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> Message-ID: OUTSTANDING!!!! The Sinclair Z80 is out of the box, plugged in, TV attached, memory block attached, cassette recorder ready but.... I'd like to DL but the DL size is more than I can fit on a 30 min. cassette... Any ideas? If I remember the 45 min cassettes have fidelity problems... The reel-to-reel format doesn't help me as my storage device is cassette based. Should I split the r/r tape to fit? Let me know... I can hardly wait to get back to real programming... Jim > From: Rod McCall > Reply-To: How to use Revolution > Date: Thu, 1 Apr 2004 11:14:00 +0100 > To: How to use Revolution > Subject: News: Retrolution 4 Released > > In response to customer requests we've decided to release Retrolution > 4, please find the press release below. From mcdomi at free.fr Thu Apr 1 12:17:44 2004 From: mcdomi at free.fr (Dom) Date: Thu, 1 Apr 2004 19:17:44 +0200 Subject: Optionkey always returns "up" In-Reply-To: Message-ID: <1gbkqh5.1avrutk1q5u1ogM%mcdomi@free.fr> Jan Decroos wrote: > So, a bug in Mac OS X seems me a little bit strange... I saw this in MacFixIt -- lest my memory wrongs me ;-) I *had* also the so-called bug -- and as I remember it was in all the apps, not only RR... -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From mcdomi at free.fr Thu Apr 1 12:36:10 2004 From: mcdomi at free.fr (Dom) Date: Thu, 1 Apr 2004 19:36:10 +0200 Subject: Some news about the "dateitems bug" In-Reply-To: <068B01E4-83F5-11D8-A263-003065CC999E@pi.be> Message-ID: <1gbkwdy.kegi2w1j8nnzoM%mcdomi@free.fr> Wouter wrote: > And that must be some kind of watch you are wearing, with auto-DST. Not > very common over here :^)) At the contrary -- it's an April Fool ;-) ce n'est pas un poisson d'avril If the computer's clock goes suddenly one hour ahead of your wrist watch it is "heure d'?t?", eeer daylight saving time ;-))) -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From bleiler at buffalo.edu Thu Apr 1 12:59:00 2004 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 1 Apr 2004 12:59:00 -0500 Subject: Is there a way to recover the stack file from a classic Mac Standalone In-Reply-To: <1gbkwdy.kegi2w1j8nnzoM%mcdomi@free.fr> References: <1gbkwdy.kegi2w1j8nnzoM%mcdomi@free.fr> Message-ID: <415FABB8-8406-11D8-8A59-000A959289AE@buffalo.edu> Hi, Long story about why the original stack file is gone but does anyone know how to recreate the stack file from a standalone. This a Mac OS standalone for the "classic" pre OS X version. Thanks Tim Bleiler University at Buffalo From mwieder at ahsoftware.net Thu Apr 1 13:21:13 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 1 Apr 2004 10:21:13 -0800 Subject: News: Retrolution 4 Released In-Reply-To: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> Message-ID: <652230317.20040401102113@ahsoftware.net> Rod- Thursday, April 1, 2004, 2:14:00 AM, you wrote: RM> *Support for upper and lowercase letters, except for the letter P I WOULD URGE YOU TO RECONSIDER AND NOT ALLOW LOWERCASE LETTERS, AS THIS MAKES THE CODE MUCH MORE READABLE. RM> Runtime Revolution and Express do not support any of the platforms or RM> features listed above. I've been seeing this tagline for some twenty years now and I must say I'm getting a bit tired of it. Not a day goes by without someone in one of the lists complaining about lack of platform and feature support. I'm fed up with having to ship my clients standalones with no features. Please make a commitment to having actual features in the next shipping version. -- -Mark Wieder mwieder at ahsoftware.net From Roger.E.Eller at sealedair.com Thu Apr 1 13:41:55 2004 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 1 Apr 2004 13:41:55 -0500 Subject: News: Retrolution 4 Released Message-ID: Mark Wieder wrote: > Rod- > > Thursday, April 1, 2004, 2:14:00 AM, you wrote: > > RM> *Support for upper and lowercase letters, except for the letter P > > I WOULD URGE YOU TO RECONSIDER AND NOT ALLOW LOWERCASE LETTERS, AS > THIS MAKES THE CODE MUCH MORE READABLE. NOW THAT I HAVE RETROLUTION ON MY OLD C64, I AM SIMPLY AMAZED AT HOW MUCH FASTER IT IS THAN TODAYS BLOATED SYSTEMS. WITH ONLY 61832 BYTES OF XTALK, I HAVE CREATED A NEURAL NETWORK THAT FAR EXCEEDS THE INTELLIGENCE LEVEL OF A MICROSOFT CEO. AFTER I OPTIMIZE THE CODE, I BELIEVE IT WILL FIT ON A 320K FLOPPY DISKETTE. ;-D GREAT JOB RUNTIME TEAM! Roger Eller From rgmiller at pacbell.net Thu Apr 1 13:57:13 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Thu, 01 Apr 2004 10:57:13 -0800 Subject: AutoTrace? References: <20040401060846.8C0869300A9@mail.runrev.com> Message-ID: <406C6609.4010304@pacbell.net> > > >From: Scott Rossi > > >Has anybody found a way to accomplish similar results to SuperCard's >autotrace feature? > >I'm wondering if there are any 3rd party apps out there that can "trace" a >bitmap image and output vector lines that can be read into Rev. I'm >familiar with Freehand's autotrace tool, but in my experience this usually >rounds out edges making for slightly distorted looking linework. > > Scott, I use Adobe's Streamline. Converts bitmap to EPS. From Illustrator to ClairsWorks via the clipboard for vector grafix. Really simple :-P I'm not sure whether or not Streamline will work in MOS X++ Ray Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From kray at sonsothunder.com Thu Apr 1 14:08:08 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 1 Apr 2004 13:08:08 -0600 Subject: Problems with 2.2RC1 Files? In-Reply-To: Message-ID: <01df01c4181c$ac29fbc0$6601a8c0@precision340> > Windows user download the Windows standalone and unzips it: first > anomaly: after unzipping on a windows machine a strange > folder appears > next to the standalone "_MAC OSX" now If you compressed the Windows app on a Mac running Panther and using the built-in "Create Archive" function, this will happen. I have instead chosen to use Aladdin's DropZip instead, FYI. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sanke at hrz.uni-kassel.de Thu Apr 1 14:30:08 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 01 Apr 2004 21:30:08 +0200 Subject: Retrolution 4 Released Message-ID: <406C6DC0.4000204@hrz.uni-kassel.de> On Thu Apr 1. Rod McCall rodmc at runrev.com wrote: > In response to customer requests we've decided to release Retrolution > 4, please find the press release below. > > (snip) > > *Sinclair ZX80, ZX81, Spectrum support to follow shortly. This is outrageous! The Sinclair Spectrum was the far better machine compared with the Commodore 64 (?). Unfortunately it tended to collapse due to overheating problems. I can see it from here, sitting there on the top shelf, and waiting to be transferred to our computer museum. The 64 aand ZX80 are already there. What Retrolution should address in its next version of "Retrolution 5", are the features of "HyperPad" (Brightbill & Roberts), the first Hypercard clone ever and for the DOS-world and IBM 8088 machines. There were some features that even today are still lacking in Metacard and Revolution. Cheers, Wilhelm Sanke From jacque at hyperactivesw.com Thu Apr 1 14:36:05 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Apr 2004 13:36:05 -0600 Subject: Mac OS X Rev/MC engine? In-Reply-To: <586164D0-83F9-11D8-AAD2-000A95A6A138@byu.edu> References: <20040401060844.D80709300A5@mail.runrev.com> <586164D0-83F9-11D8-AAD2-000A95A6A138@byu.edu> Message-ID: <406C6F25.2070203@hyperactivesw.com> On 4/1/04 10:26 AM, Devin Asay wrote: > Is there an engine that will run under OS X? I didn't see a > Darwin engine on the download site. http://www.runrev.com/revolution/downloads/engines/2.1/ -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Thu Apr 1 15:38:20 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 01 Apr 2004 14:38:20 -0600 Subject: News: Retrolution 4 Released In-Reply-To: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> Message-ID: <406C7DBC.2020904@chipp.com> Bummer, I guess my old Lisa will have to wait for Retrolution 5. BTW, anyone know where to purchase a replacement Twiggy drive? Oh, that's right, Lisa didn't use Twiggy. -chipp Rod McCall wrote: > In response to customer requests we've decided to release Retrolution 4, > please find the press release below. > > Best, > > Rod > > ----- > > Runtime Retrolution 4 Release > Develop Software for Platforms Past and Present > > Edinburgh Scotland, April 1st 2004 > Runtime Revolution today announces the release of Retrolution 4, the > developer > tool for computer platforms past and present. Retrolution includes > support for > a selection of platforms dating from the mid-1900's to the present day and > covers most major graphic and chip architectures. > > Announcing the release, 92 year old Rt. unRev. Kevin Miller CEO of > Runtime Revolution said "I can remember when the transistor was just a > glint in the milkman's eye. Since then we've seen the advent of 4 bit > computer systems through to the state of the art G5" While semi-drugged > and undergoing a hip replacement > operation, Miller added, "Retrolution's stacks and punched card > development system now make it even easier for developers of all > abilities to write software for platforms big and room sized!" > > Retrolution 4 adds support for the following platforms: > *Atari 8-bit, including XL and XE > *Apple I (Apple II coming soon) > *Commodore Pet and C64 > *LEO: Lyon's Electronic Office (support for certain bakery products only) > *Atari ST > *Acorn Atom and Archimedes (prior to RISC OS 3 only) > *ENIAC > *Dragon 64 > *Oric 1, Atmos and Stratos > *Sinclair ZX80, ZX81, Spectrum support to follow shortly. > *Texas Instruments TI99/4A > *Microsoft Windows 1 > *Tandy Radioshack TRS-80 (green screen only) > *Hanimex Pencil II > *MicroBee > *Heathkit EC-1 Analogue Valve Vacuum Computer > *Seattle Computer Gazelle (Zebra and Giraffe support to follow) > *Beattie Bunion 64 Colour Computer > *Open University Hektor 2 > *Dick Smith Cat > > Daffid Blanket of the UK Home Office Immigration Service said "We've > been using > punched cards since the year dot, This new release means we don't need > to discard > our state of the art IT systems which include ENIAC, MicroBee and LEO. > Instead > we can keep on using them and our trusty stack of punched cards." > > Retrolution 4 makes development easy by forcing the developer to program in > binary and to manually punch the holes in the cards. This latest release > adds a > whole range of features including: > *Multimedia support with up to 1 channel beep-based sound > *3D graphics, monochrome wireframe with resolutions of up to 64 by 48 > pixels > *Ability to use compiled external libraries written in BASIC, 6502 and 6809 > assembler > *Support for upper and lowercase letters, except for the letter P > *Support for all numbers from 0 to 9, except 6 > *Databases up to 3 records in size, with one field > *Secure data encryption protocols. Each letter is encoded using the next > letter > in the alphabet. Support for Z due in 2007, numbers in 2009 > *Ability to build standalones in 14 days, allowing you to go on holiday > while > Retrolution gets on with the job > *Sync with the Osborne 1 handheld computer > > Retrolution 4 is priced at $999.95 and is available on reel-to-reel > tape, pre-programmed valve > bank, cassette, punched card and 8 inch floppy disk from all good computer > stores. > > For more information and a free download visit > > About Retrolution and Revolution > Information on pricing, versions, and local distributors, as well as a > free 30-day trial edition of Revolution for all supported platforms: > Windows, Mac OS X, classic Mac OS, Linux and Unix, is available at > . > > Runtime Revolution and Express do not support any of the platforms or > features listed above. > > Runtime Revolution Ltd. > Founded in 1997, Runtime Revolution focuses on bringing user-centric > programming to all major platforms: Macintosh, Windows, Linux, and Unix. > Products include Revolution, Revolution Express, and Ten Thumbs Typing > Tutor. The company is based in Edinburgh, Scotland. For more information > on Runtime Revolution, please visit the company on the web at > . > > ### > > Contact > Dr Rod McCall > Runtime Revolution Ltd > 91 Hanover Street > Edinburgh > EH2 1DJ > email: rodmc at runrev.com > telephone: +44 (0) 131 718 4333 > fax:+44 (0) 131 718 4334 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Apr 1 15:41:57 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 1 Apr 2004 10:41:57 -1000 Subject: Problems with 2.2RC1 Files? In-Reply-To: <01df01c4181c$ac29fbc0$6601a8c0@precision340> References: <01df01c4181c$ac29fbc0$6601a8c0@precision340> Message-ID: <04D0C4F9-841D-11D8-ACFB-000A959D0AC6@hindu.org> OK, very helpful... yes. turns out the problems (2) have nothing to do with Rev at all, the second one, which you noted is a Mac OS issue, and the other one is A windows issue. First problem was a collusion between myself and Windows: Incredible as it may seem for an OS backed by a multi-billion dollar corp... I made a small error in my html file " a href="audio_transcriber.rev" but, the actual file is "audio_transcriber.rev.zip" OK, so... Internet explorer, instead of giving back a 404 which it should... ignores the fact that my html anchor is missing the .zip extension and proceeds to download: "audio_transcriber.rev.zip" Which, one could consider helpful... BUT! saves it to disk as "audio_transcriber.rev" !! Of course my player won't open it... it's still a compressed file, but the Windows OS doesn't know it... as they say in Tamil "Aiyo~!" (exasperation...) and on XP there doesn't seem to be any indication that this is a zipped file... I only intuited this and told my beta man on the Windows side "try renaming and add .zip the the existing file name" which he did, viola! XP now understands "oh, this is a zip file" changes the icon... after decompression the stack runs just fine under 2.2.RC1 standalone.. case closed, rev is fine... The Department of Homeland Security made the right decision to go with Macs.. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Apr 1, 2004, at 9:08 AM, Ken Ray wrote: > >> Windows user download the Windows standalone and unzips it: first >> anomaly: after unzipping on a windows machine a strange >> folder appears >> next to the standalone "_MAC OSX" now > > If you compressed the Windows app on a Mac running Panther and using > the > built-in "Create Archive" function, this will happen. I have instead > chosen > to use Aladdin's DropZip instead, FYI. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ From sanke at hrz.uni-kassel.de Thu Apr 1 16:35:28 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 01 Apr 2004 23:35:28 +0200 Subject: Archives and Time Zones? Message-ID: <406C8B20.7020000@hrz.uni-kassel.de> I have noticed that both in the archives for the use-revolution and improve-revolution lists the posts are not arranged in their order of submittance, which makes it sometimes difficult to find out which was the question/the original post and the replies. Apparently the list procedures do not correct for times zones (?). In some cases the original post/ the original questions appears 10 or 15 lines beneath the responses, which is sometimes really confusing. Given the potential of modern computer programming, could this problem not be resolved? Regards, Wilhelm Sanke From dvk at dvkconsult.com.au Thu Apr 1 17:50:56 2004 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri, 2 Apr 2004 08:50:56 +1000 Subject: News: Retrolution 4 Released In-Reply-To: <20040401203823.CDE9A930076@mail.runrev.com> References: <20040401203823.CDE9A930076@mail.runrev.com> Message-ID: <0967DD75-842F-11D8-AAFA-000A95729266@dvkconsult.com.au> On 02/04/2004, at 6:38, Roger.E.Eller at sealedair.com wrote: > NOW THAT I HAVE RETROLUTION ON MY OLD C64, I AM SIMPLY AMAZED AT HOW > MUCH > FASTER IT IS THAN TODAYS BLOATED SYSTEMS. WITH ONLY 61832 BYTES OF > XTALK, > I HAVE CREATED A NEURAL NETWORK THAT FAR EXCEEDS THE INTELLIGENCE > LEVEL OF > A MICROSOFT CEO. AFTER I OPTIMIZE THE CODE, I BELIEVE IT WILL FIT ON A > 320K FLOPPY DISKETTE. ;-D > ...and while we are on old com.uters, I am de.ressed at the lack of su..ort for my Ohio Scientific C1-4P, with 40KB flo..y disk drive and nice wooden side .anels on the case. Unfortunately, having only 32KB of RAM means that when I run Roger's .rogram it emulates a CEO with only half a brain. David From isb at macconnect.com Thu Apr 1 17:53:33 2004 From: isb at macconnect.com (Ed McCabe) Date: Thu, 01 Apr 2004 17:53:33 -0500 Subject: Clip2Gif Message-ID: Does anyone know where the old Clip2Gif Mac freeware utility from Yves Piquet can be currently obtained, his site is not active. Ed McCabe From 3mcgrath at adelphia.net Thu Apr 1 18:30:05 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 1 Apr 2004 18:30:05 -0500 Subject: Is there a way to recover the stack file from a classic Mac Standalone In-Reply-To: <415FABB8-8406-11D8-8A59-000A959289AE@buffalo.edu> References: <1gbkwdy.kegi2w1j8nnzoM%mcdomi@free.fr> <415FABB8-8406-11D8-8A59-000A959289AE@buffalo.edu> Message-ID: <81BF1208-8434-11D8-9092-000A95DA60FA@adelphia.net> Did you do a build? I usually get a data folder in my builds for OS9 with a stack file in it. I opened it once and it does contain the original stack. I would check the data folder for your build and see. HTH Tom On Apr 1, 2004, at 12:59 PM, Timothy Bleiler wrote: > Hi, > > Long story about why the original stack file is gone but does anyone > know how to recreate the stack file from a standalone. This a Mac OS > standalone for the "classic" pre OS X version. > > Thanks > Tim Bleiler > University at Buffalo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From hershrev at realtorsgroup.us Thu Apr 1 19:14:21 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Thu, 1 Apr 2004 19:14:21 -0500 Subject: ask password Message-ID: I'm trying to use the ask command but..... ask password if it is "abc" then beep else exit to top end if the filed contains "abc" but it doesn't mach for some reason thanks hershrev From wouter.abraham at pi.be Thu Apr 1 20:36:17 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 2 Apr 2004 03:36:17 +0200 Subject: ask password Message-ID: <22D0E2B3-8446-11D8-A263-003065CC999E@pi.be> > ask password > hershrev hershrev at realtorsgroup.us > Thu Apr 1 19:14:21 EST 2004 > > * Previous message: Is there a way to recover the stack file from > a classic Mac Standalone > * Next message: Retrolution 4 Released > * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > I'm trying to use the ask command but..... > ask password > if it is "abc" then > beep > else > exit to top > end if > the filed contains "abc" but it doesn't mach for some reason > thanks hershrev > Hi, May this will help: on mouseUp ask password clear "enter your login" if it is "abc" then put it && "yes" else put "no way" end mouseup But to make this command to work properly you will have to correct the bug. This is explained at: http://lists.runrev.com/pipermail/use-revolution/2004-March/034253.html But beware of the line wrapping. Greetings, WA From rooster at drizzle.com Thu Apr 1 21:38:02 2004 From: rooster at drizzle.com (iMP) Date: Thu, 1 Apr 2004 18:38:02 -0800 Subject: editing htmlText as regular text? In-Reply-To: <20040401203824.46EA193007B@mail.runrev.com> References: <20040401203824.46EA193007B@mail.runrev.com> Message-ID: Hi: I put the htmlText of one field into a second field. I want to edit some of the html tags of the second field (for example, change "

" to "

"), but it does not behave as regular text. What is the secret of making the second field editable as regular text? Thanks, guy From pixelbird at interisland.net Thu Apr 1 22:21:31 2004 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 01 Apr 2004 19:21:31 -0800 Subject: use-revolution Digest, Vol 7, Issue 3 In-Reply-To: <20040401170013.761BF930080@mail.runrev.com> Message-ID: > Date: Thu, 1 Apr 2004 17:58:52 +0100 > From: Rod McCall > Subject: Re: News: Retrolution 4 Released > If anyone is interested in a 'new' retro computer I gather a Dutch > company called Tulip owns the rights to the C64 and plans to start > making it again. -------------- Awhile back there was a C64 server on the 'net. Actually, I have a full Atari 1200XL system, including the ultra rare 850 Interface, for sale. Now that I can emulate it on mt Mac, I don't really need it anymore :) From psahores at easynet.fr Thu Apr 1 22:32:31 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 2 Apr 2004 05:32:31 +0200 Subject: Clip2Gif In-Reply-To: References: Message-ID: <5F7B48C8-8456-11D8-85D1-000A95C61E96@easynet.fr> I can send you it, in its 0.7.2 issue. Just ask for it off-list, to confirm. Best, Pierre Le 2 avr. 04, ? 00:53, Ed McCabe a ?crit : > Does anyone know where the old Clip2Gif Mac freeware utility from Yves > Piquet can be currently obtained, his site is not active. > > Ed McCabe > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Thu Apr 1 22:37:23 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Thu, 1 Apr 2004 22:37:23 -0500 Subject: ask password In-Reply-To: <22D0E2B3-8446-11D8-A263-003065CC999E@pi.be> Message-ID: <0D77CAC4-8457-11D8-AD99-0030654C1E62@realtorsgroup.us> Thanks, beautiful. hershrev. On Thursday, April 1, 2004, at 08:36 PM, Wouter wrote: >> ask password >> hershrev hershrev at realtorsgroup.us >> Thu Apr 1 19:14:21 EST 2004 >> >> * Previous message: Is there a way to recover the stack file from >> a classic Mac Standalone >> * Next message: Retrolution 4 Released >> * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >> >> I'm trying to use the ask command but..... >> ask password >> if it is "abc" then >> beep >> else >> exit to top >> end if >> the filed contains "abc" but it doesn't mach for some reason >> thanks hershrev >> > > Hi, > > May this will help: > > on mouseUp > ask password clear "enter your login" > if it is "abc" then put it && "yes" > else put "no way" > end mouseup > > But to make this command to work properly you will have to correct the > bug. > This is explained at: > http://lists.runrev.com/pipermail/use-revolution/2004-March/034253.html > > But beware of the line wrapping. > > Greetings, > WA > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Thu Apr 1 23:27:56 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 2 Apr 2004 13:57:56 +0930 Subject: Is there a way to recover the stack file from a classic MacStandalone In-Reply-To: <81BF1208-8434-11D8-9092-000A95DA60FA@adelphia.net> Message-ID: Hi... I don't think anyone has ever done it but in theory it's doable. The first chars in a stackfile are #!/bin/sh So something like: on mouseUp answer file "Standalone" if it is "cancel" then exit to top put url ("binfile:"&it) into tStack repeat forever -- there's more than one stackfile in there which is interesting ;-) put offset("#!/bin/sh",char 10 to -1 of tStack) into tOff if tOff = 0 then exit repeat put char tOff+9 to -1 of tStack into tStack end repeat ask file "Stack" if it is "cancel" then exit to top set the fileType to "RevoRSTK" put tStack into url ("binfile:"&it) end mouseUp I tested this on Windows and it works. I can't see any reason why it wouldn't work on MacOS. I added in the fileType line just to make it easy ;-) Hope this helps. Cheers Monte From scott at tactilemedia.com Fri Apr 2 00:16:55 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Apr 2004 21:16:55 -0800 Subject: Is there a way to recover the stack file from a classic MacStandalone In-Reply-To: Message-ID: On 4/1/04 8:27 PM, "Monte Goulding" wrote: > I don't think anyone has ever done it but in theory it's doable. It was done several years ago but the code broke after MC reached a certain version level. This is a useful thing to have. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Fri Apr 2 00:28:16 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Apr 2004 21:28:16 -0800 Subject: fh and tracing In-Reply-To: <112.30972d4e.2d9d0e6b@aol.com> Message-ID: On 3/31/04 10:19 PM, "Meitnik at aol.com" wrote: >> I'm >> familiar with Freehand's autotrace tool, but in my experience this usually >> rounds out edges making for slightly distorted looking linework. >> -- contact me off list. I might be able to help. Tracing was my baby when I >> was testing fh 3./fog 4. at Altsys. That's pretty cool. I'm very much a Freehand guy. In any event, I have never been able to accomplish pixel level accuracy when tracing a bitmap. In other words, if I use a 72DPI image where you can see the jagged edges of a curve or whatever, Freehand always seems to want to "help" by smoothing out the jagged edges, regardless of the "tight" etc settings. On the other hand, the autotrace tool in SuperCard used to trace a bitmap exactly, down to the jagged curves. If you have any suggestions for getting Freehand to trace bitmaps this way, I would dig on knowing how to do it. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Fri Apr 2 01:17:48 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Apr 2004 00:17:48 -0600 Subject: OT Mac hack to span multiple monitors on iBook... Message-ID: <7673E8E4-846D-11D8-BAEC-000A95F078B6@chipp.com> http://www.rutemoeller.com/mp/ibook/ibook_e.html I know this is Off Topic, but it's a very cool Applescript hack which enables multiple monitor mode for iBooks (which previously only worked in 'mirror' mode). Very Cool. Now if I could just find a hack to remap alt-V to ctrl-V for paste.... -Chipp From revlists at canelasoftware.com Fri Apr 2 01:28:34 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Thu, 1 Apr 2004 22:28:34 -0800 Subject: OT Mac hack to span multiple monitors on iBook... In-Reply-To: <7673E8E4-846D-11D8-BAEC-000A95F078B6@chipp.com> References: <7673E8E4-846D-11D8-BAEC-000A95F078B6@chipp.com> Message-ID: On Apr 1, 2004, at 10:17 PM, Chipp Walters wrote: > http://www.rutemoeller.com/mp/ibook/ibook_e.html > > I know this is Off Topic, but it's a very cool Applescript hack which > enables multiple monitor mode for iBooks (which previously only worked > in 'mirror' mode). > > Very Cool. Now if I could just find a hack to remap alt-V to ctrl-V > for paste.... > This will be very useful for me. Thanks! -- Best regards, Mark Talluto http://www.canelasoftware.com From scott at tactilemedia.com Fri Apr 2 01:39:16 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Apr 2004 22:39:16 -0800 Subject: OT Mac hack to span multiple monitors on iBook... In-Reply-To: <7673E8E4-846D-11D8-BAEC-000A95F078B6@chipp.com> Message-ID: On 4/1/04 10:17 PM, "Chipp Walters" wrote: > Now if I could just find a hack to remap alt-V to ctrl-V for > paste.... Maybe this would work? http://www.macupdate.com/info.php/id/8005 Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Fri Apr 2 01:52:25 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Apr 2004 00:52:25 -0600 Subject: OT Mac hack to span multiple monitors on iBook... In-Reply-To: <7673E8E4-846D-11D8-BAEC-000A95F078B6@chipp.com> References: <7673E8E4-846D-11D8-BAEC-000A95F078B6@chipp.com> Message-ID: <4CF3D09C-8472-11D8-8C6E-000A95F078B6@chipp.com> Got the keyboard hack...sorta. http://www.gnufoo.org/ucontrol/ It'll swap the command key with the control key... -Chipp On Apr 2, 2004, at 12:17 AM, Chipp Walters wrote: > http://www.rutemoeller.com/mp/ibook/ibook_e.html > > I know this is Off Topic, but it's a very cool Applescript hack which > enables multiple monitor mode for iBooks (which previously only worked > in 'mirror' mode). > > Very Cool. Now if I could just find a hack to remap alt-V to ctrl-V > for paste.... > > > -Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Apr 2 02:00:26 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Apr 2004 01:00:26 -0600 Subject: OT Mac hack to span multiple monitors on iBook... In-Reply-To: References: Message-ID: <6BA286EC-8473-11D8-8C6E-000A95F078B6@chipp.com> Thanks Scott.. Just found it and posted it before reading your email. You should know it's working! BTW, do you use it? One other thing, I just purchased a USB Apple Kbd for my iBook (getting ready to do some serious OSX conversions) and must say the Apple keyboard, while expensive, is a marvelous thing to type on. Great key response (much like the iBook). I've got a pretty nice Sony laptop and the keyboard is not near as nice (though it *does* have a DEL key;-). Also, one thing I like about the Mac kbd is the standard 19mm (.75 in) centers. Many laptops make the keys smaller so they put more keys in less space. best, Chipp On Apr 2, 2004, at 12:39 AM, Scott Rossi wrote: > On 4/1/04 10:17 PM, "Chipp Walters" wrote: > >> Now if I could just find a hack to remap alt-V to ctrl-V for >> paste.... > > Maybe this would work? > > http://www.macupdate.com/info.php/id/8005 > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Development & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcdomi at free.fr Fri Apr 2 05:43:27 2004 From: mcdomi at free.fr (Dom) Date: Fri, 2 Apr 2004 12:43:27 +0200 Subject: OT Mac hack to span multiple monitors on iBook... In-Reply-To: <7673E8E4-846D-11D8-BAEC-000A95F078B6@chipp.com> Message-ID: <1gbm6mv.kh7tedjl5ug2M%mcdomi@free.fr> Chipp Walters wrote: > I know this is Off Topic, but it's a very cool Applescript hack which > enables multiple monitor mode for iBooks (which previously only worked > in 'mirror' mode). The one I know -- and use :-) -- is a open firmware hack is it the same? -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From ian at azurevision.co.uk Fri Apr 2 06:04:36 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Fri, 2 Apr 2004 12:04:36 +0100 Subject: OT Mac hack to span multiple monitors on iBook... In-Reply-To: <6BA286EC-8473-11D8-8C6E-000A95F078B6@chipp.com> References: <6BA286EC-8473-11D8-8C6E-000A95F078B6@chipp.com> Message-ID: <87BC3476-8495-11D8-96EA-0003935A2896@azurevision.co.uk> uControl allows you to use "Shift+Delete" as "Forward Delete". Apart from giving you single-key access to the function keys. Another good tip if you type a lot on the laptop keyboard is to disable the Caps Lock key, i am always hitting it along with A. Ian On 2 Apr 2004, at 08:00, Chipp Walters wrote: > Thanks Scott.. > > Just found it and posted it before reading your email. You should know > it's working! > > BTW, do you use it? > > One other thing, I just purchased a USB Apple Kbd for my iBook > (getting ready to do some serious OSX conversions) and must say the > Apple keyboard, while expensive, is a marvelous thing to type on. > Great key response (much like the iBook). I've got a pretty nice Sony > laptop and the keyboard is not near as nice (though it *does* have a > DEL key;-). > > Also, one thing I like about the Mac kbd is the standard 19mm (.75 in) > centers. Many laptops make the keys smaller so they put more keys in > less space. > > best, > > Chipp > > > On Apr 2, 2004, at 12:39 AM, Scott Rossi wrote: > >> On 4/1/04 10:17 PM, "Chipp Walters" wrote: >> >>> Now if I could just find a hack to remap alt-V to ctrl-V for >>> paste.... >> >> Maybe this would work? >> >> http://www.macupdate.com/info.php/id/8005 >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Development & Design >> ----- >> E: scott at tactilemedia.com >> W: http://www.tactilemedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric at ericpeden.com Thu Apr 1 04:44:07 2004 From: eric at ericpeden.com (Eric Peden) Date: Thu, 1 Apr 2004 03:44:07 -0600 Subject: callbacks only work first time a player is used - workaround Message-ID: <20040401094407.GA14607@cauldron.local> I just filed a bug report for this, but thought I'd send it to the list as well in case anyone else had run into the problem. Callbacks set on a player are only called the first time the movie is played. I ran into the problem earlier today, and identified a workaround: setting the callbacks property allows callbacks to be sent again. However, if the movie is replayed, they stop again, so the fix is to reset them every chance you get: -- in the player's script on [playPaused, playStopped, or currentTimeChanged] set the callbacks of me to the callbacks of me end You also have to perform this "reset" whenever you set the currentTime of a player. The problem was first described here: http://lists.runrev.com/pipermail/use-revolution/2003-July/018539.html and the Bugzilla entry is: http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=1448 The poster linked to above was running OS X, but the problem has shown up for us on Windows, too. Anyone else run into this? Any suggestions for a more elegant way to reset the callbacks without intercepting a bunch of messages? -- eric From edmccabe at cox.net Thu Apr 1 17:38:04 2004 From: edmccabe at cox.net (Edward McCabe) Date: Thu, 01 Apr 2004 17:38:04 -0500 Subject: Clip2Gif Message-ID: Does anyone know where the old Mac freeware application clip2GIF by Yves Piquet can be obtained. His site is no longer available. Ed McCabe From paul.springer at sensis.com Fri Apr 2 08:50:11 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Fri, 2 Apr 2004 08:50:11 -0500 Subject: external program interface on windows Message-ID: Hello, I need to find out about interfacing to non-RR programs on a Windows machine. There are programs running I need to get data from, and I can add a function to them to provide the data, but I don't know if I can call it from RR. I suppose I could write the data periodically to a file and read it with RR, but that is a little messy and I would need to single thread the file access somehow (all of my previous experience is on Unix, not Windows, so this is all new to me). I could go through a database manager like MySQL, but that is overkill for what I want. I can't find much on this topic in the RR documentation or in Dan's book. Can anyone tell me where to look for instructions or examples? Thanks. -Paul From isb at macconnect.com Fri Apr 2 08:59:52 2004 From: isb at macconnect.com (Ed McCabe) Date: Fri, 02 Apr 2004 08:59:52 -0500 Subject: Clip2Gif Message-ID: Pierre said: I can send you it, in its 0.7.2 issue. Just ask for it off-list, to confirm. Best, Pierre Le 2 avr. 04, ? 00:53, Ed McCabe a ?crit : > Does anyone know where the old Clip2Gif Mac freeware utility from Yves > Piquet can be currently obtained, his site is not active. > > Ed McCabe Thank you very much Pierre. Us old Macheads have to stick together. Ed McCabe From klaus at major-k.de Fri Apr 2 09:11:06 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 2 Apr 2004 16:11:06 +0200 Subject: external program interface on windows In-Reply-To: References: Message-ID: <954A3C00-84AF-11D8-8C62-000A27B49A96@major-k.de> Hi Paul, > Hello, > > I need to find out about interfacing to non-RR programs on a Windows > machine. There are programs running I need to get data from, and I can > add a > function to them to provide the data, but I don't know if I can call > it from > RR. I suppose I could write the data periodically to a file and read > it with > RR, but that is a little messy and I would need to single thread the > file > access somehow (all of my previous experience is on Unix, not Windows, > so > this is all new to me). I could go through a database manager like > MySQL, > but that is overkill for what I want. There was once an "External Collection", which can still be found here: http://www.xworlds.com/metacard/ That supports DDE (Dynamic Data Exchange) on Windows, and that might be exactly what you are looking for, although i do not have the slightest idea how that works :-) The collection is supposed to be free nowadays and you should contact RR to get a free license key... > I can't find much on this topic in the RR documentation or in Dan's > book. > Can anyone tell me where to look for instructions or examples? Thanks. Hope that helps... > -Paul > > > > > > > > You are very generous with empty lines ;-) Regards Klaus Major klaus at major-k.de www.major-k.de From rcozens at pon.net Fri Apr 2 07:52:19 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 2 Apr 2004 05:52:19 -0700 Subject: Clip2Gif In-Reply-To: References: Message-ID: >Does anyone know where the old Clip2Gif Mac freeware utility from Yves >Piquet can be currently obtained, his site is not active. Hi Ed, I have v0.7.2 on my iBook. If you can't find a download somewhere, write me privately. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From bleiler at buffalo.edu Fri Apr 2 09:28:10 2004 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 2 Apr 2004 09:28:10 -0500 Subject: Is there a way to recover the stack file from a classic MacStandalone In-Reply-To: References: Message-ID: Thanks for all the suggestions. The original build was from Metacard and there was no data folder or that idea would've saved me. I'll give Monte's a try. -- Tim Bleiler University at Buffalo From xbury.cs at clearstream.com Fri Apr 2 09:58:28 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 2 Apr 2004 16:58:28 +0200 Subject: fh and tracing Message-ID: Scott, I too am a FreeHand freak! Did you try changing the scale of your drawing to be traced? Eventually rotation may also help... But I still prefer the tracing in Photoshop... But in the end there is always some tweaking to do! On 02.04.2004 07:28:16 use-revolution-bounces wrote: >On 3/31/04 10:19 PM, "Meitnik at aol.com" wrote: > >>> I'm >>> familiar with Freehand's autotrace tool, but in my experience this usually >>> rounds out edges making for slightly distorted looking linework. >>> -- contact me off list. I might be able to help. Tracing was my baby when I >>> was testing fh 3./fog 4. at Altsys. > >That's pretty cool. I'm very much a Freehand guy. In any event, I have >never been able to accomplish pixel level accuracy when tracing a bitmap. >In other words, if I use a 72DPI image where you can see the jagged edges of >a curve or whatever, Freehand always seems to want to "help" by smoothing >out the jagged edges, regardless of the "tight" etc settings. On the other >hand, the autotrace tool in SuperCard used to trace a bitmap exactly, down >to the jagged curves. If you have any suggestions for getting Freehand to >trace bitmaps this way, I would dig on knowing how to do it. > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, Development & Design >----- >E: scott at tactilemedia.com >W: http://www.tactilemedia.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From jhurley at infostations.com Fri Apr 2 10:33:51 2004 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 2 Apr 2004 07:33:51 -0800 Subject: MouseLeave puzzle In-Reply-To: <20040402140258.610C993008A@mail.runrev.com> References: <20040402140258.610C993008A@mail.runrev.com> Message-ID: I have a field script: on mouseUP if there is no graphic "arrow" then set the style of the templateGraphic to "line" set the endarrow of the templateGraphic to true set the lineSize of the templateGraphic to 2 create graphic "arrow" end if put the mouseLoc into line 1 of tGraphicPoints put the clicktext into whatText switch whatText case "objective lens" put 869,217 into line 2 of tGraphicPoints break case "ocular lens" put 545,263 into line 2 of tGraphicPoints break case "focal point" put 435,327 into line 2 of tGraphicPoints break default put "" into line 2 of tGraphicPoints break end switch set the points of graphic "arrow" to tGraphicPoints --Draw the arrow wait 1 sec end mouseUp on mouseLeave set the points of graphic "arrow" to "" end mouseLeave The puzzle is that the arrow shows for 1 second and then disappears, even when the mouse is never moved away from the clickText, much less out of the field. (The word pairs are linked.) Why is the "mouseLeave" message being send? Jim From klaus at major-k.de Fri Apr 2 10:46:12 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 2 Apr 2004 17:46:12 +0200 Subject: MouseLeave puzzle In-Reply-To: References: <20040402140258.610C993008A@mail.runrev.com> Message-ID: Hi Jim, > I have a field script: > > on mouseUP > > if there is no graphic "arrow" then ... put the mouseLoc into line 1 of tGraphicPoints ## !!! see below > ... > set the points of graphic "arrow" to tGraphicPoints --Draw the arrow > wait 1 sec > end mouseUp > > on mouseLeave > set the points of graphic "arrow" to "" > end mouseLeave > > The puzzle is that the arrow shows for 1 second and then disappears, > even when the mouse is never moved away from the clickText, much less > out of the field. (The word pairs are linked.) > > Why is the "mouseLeave" message being send? Quick guess: The new graphic appears UNDER the cursor and thus the field with the script is being left by the mouse and the mouseleave-script is being processed after 1 second... (?) Hope that helps... > Jim Regards Klaus Major klaus at major-k.de www.major-k.de From revolution at duncansoftware.com Fri Apr 2 10:47:34 2004 From: revolution at duncansoftware.com (Stu Duncan) Date: Fri, 2 Apr 2004 10:47:34 -0500 Subject: OT Backup Message-ID: <006c01c418c9$d4c61160$1402a8c0@Dell8250> I am about to start a project that will have massive amounts of video, stills, sound, etc. I need to reexamine my storage and backup systems because these projects go well beyond my current storage abilities. There are going to be terabytes of data. Currently I am thinking a RAID system with redundancy at work and a duplicate system in my home which would be accessed for backup via a cable connection. At the end of the day, hopefully, one button click backs everything up overnight, however a constant back up during the day would be even safer than risking the loss of a day's work. The main development will be occuring on Macs running OS X 10.3 however the end products will be Mac/Windows compliant and there will be 3+ Ghz Windows machines on the office network. What hardware would you suggest for this backup array and what software & OS to drive the system? Also needs to allow for expansion since these projects look to be ongoing. Thanks for your help Stu Duncan From bleiler at buffalo.edu Fri Apr 2 13:41:56 2004 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 2 Apr 2004 13:41:56 -0500 Subject: Cards in standalone are a different color than in development In-Reply-To: References: Message-ID: <6AF18670-84D5-11D8-8A59-000A959289AE@buffalo.edu> Hi, I can't figure this one out. I have a stack with several substacks. All of the substacks are supposed to have a white background. When the program is run in development all is fine. When I build a standalone some of the substacks are getting a grey background. The main stack has a white background. These stacks have been used several times before with unrelated modifications and built with Metacard and I've not had this problem. Any thoughts? --Tim Bleiler University at Buffalo From jhurley at infostations.com Fri Apr 2 14:11:43 2004 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 2 Apr 2004 11:11:43 -0800 Subject: MouseLeave puzzle In-Reply-To: <20040402170008.83F5A93008A@mail.runrev.com> References: <20040402170008.83F5A93008A@mail.runrev.com> Message-ID: >Jim Hurley wrote: (Snip) > > The puzzle is that the arrow shows for 1 second and then disappears, >> even when the mouse is never moved away from the clickText, much less >> out of the field. (The word pairs are linked.) >> >> Why is the "mouseLeave" message being send? > >Quick guess: >The new graphic appears UNDER the cursor and thus the field with the >script >is being left by the mouse and the mouseleave-script is being processed >after >1 second... (?) > >Hope that helps... > >> Jim > >Regards > >Klaus Major >klaus at major-k.de >www.major-k.de > Klaus, Thanks. That was it. You're so smart. Jim From martyknapp at comcast.net Fri Apr 2 14:48:35 2004 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 02 Apr 2004 11:48:35 -0800 Subject: PowerPoint-type presentation Message-ID: A friend has asked me to put together a PowerPoint-type presentation for him, but as I don't have PowerPoint, I was thinking about using Rev. It will be distributed on CD and needs to run on PCs and Macs. It would be nice if it would autoplay upon insertion. Does anyone have an example stack that would give me a jump start? Thanks, Marty Knapp From rodmc at runrev.com Fri Apr 2 14:50:57 2004 From: rodmc at runrev.com (Rod McCall) Date: Fri, 2 Apr 2004 20:50:57 +0100 Subject: Revolution 2.2 Released Message-ID: <0F5910B7-84DF-11D8-8CD8-000393882F80@runrev.com> Dear Revolution user, We are delighted to announce the release of Revolution 2.2, the latest version of our user-centric development environment for every major platform and users of all abilities. Revolution combines unrivaled support for databases, Internet protocols, multimedia, XML and more, with the most intuitive development environment available on the market today. This latest release of Revolution, the award winning software development environment provides improved appearance on Windows XP and Mac OS X, an all-new standalone builder, and more. Not only have we added dozens of new features but we've lowered the price of certain single and volume licences, with educational volume licences starting from as little as $2 per seat. What's more you can now customise your purchase to fit your exact requirements through a range of support, upgrade and documentation options. Revolution 2.2 offers enhancements for users on every major platform including: - Improved appearance on Windows XP with support for themes and large 48 bit icons - Improved appearance on Mac OS X including metal groups and the Panther tab style - New standalone application builder - Improvements to the database linked controls - Additions to the Transcript programming language - Enhanced performance and stability for the engine and development environment Not purchased Revolution yet? ------------------------------------------ Revolution has an intuitive graphical environment that makes it easy to lay out what you want to build. Its simple English-like Transcript language leaves you free to concentrate on solving problems instead of learning complicated programming languages. Revolution provides beginners and professionals with what they need to succeed?professional quality power in an accessible package. What's more with Revolution Studio and Enterprise you can write your software once and deliver it on every major platform (Windows, Linux, Macintosh and Unix) without the usual frustration you'd find with certain coffee-based developer tools! Which Version Should I choose? -------------------------------------------- Express: for the hobbyist, novice programmer and student priced at $149 it's got all you need and is affordable too! Revolution Studio: for developers and educators seeking more, available from $299 Revolution Enterprise: a complete enterprise-level solution, available from $899 For information on the features of each version and pricing options, or to download a trial visit . Existing users may be eligible for a free or reduced price upgrade, please consult our website for more information. Thank you for taking the time to read this message and we're sure that if you haven't already chosen Revolution for your software development needs you are missing out! Kind regards, Rod Dr Rod McCall ~ rodmc at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools E&OE From frank at backtalk.com Fri Apr 2 15:12:57 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 2 Apr 2004 21:12:57 +0100 Subject: Redeye removal, cropping, marching ants and maximum image size. Message-ID: <21C91425-84E2-11D8-8C3F-000A9580FCCE@backtalk.com> Four quick questions: 1) Is anyone doing redeye removal in Rev? If so, would you mind sharing how you are doing it? 2) Real time image cropping. I seem to remember someone posting code showing how to do cropping in real time, i.e. drag mouse and have inner rect shows at 100% blendLevel and outer rect shows at 50% blendLevel. Did anyone happen to save the snippet? 3) In Photoshop, MacPaint, even the RR IDE, when you select a rectangle it shows "marching ants" around the selection. Is there any way to get this effect in RR? Is there a "marching ants" command I'm overlooking? 4) What's the max image size? Is it something like 2000 x 2000? I've got some panoramas I'm trying to scale, and they're all coming out unusable (but at least it doesn't seem to crash when this happens). Thanks in advance, -- Frank From revolution at duncansoftware.com Fri Apr 2 15:31:11 2004 From: revolution at duncansoftware.com (Stu Duncan) Date: Fri, 2 Apr 2004 15:31:11 -0500 Subject: OT Backup References: <1d7.1da8664c.2d9f09d1@aol.com> Message-ID: <001501c418f1$717f9c70$1402a8c0@Dell8250> I meant via cable modem. I live 3 miles (5 km) away from the shop and yes I am concerned about the openess of the internet, ftp or whatever. I am also open to a better idea. We are hoping to avoid physically carrying a box of hard drives around each day. ----- Original Message ----- From: HyperChris at aol.com To: revolution at duncansoftware.com Sent: Friday, April 02, 2004 1:24 PM Subject: Fwd: use-revolution Digest, Vol 7, Issue 7 Do you mean a direct eithernet cable connection (i.e. part of your LAN because you live next door) or did you mean cable modem (i.e. through the internet?) In a message dated 4/2/04 9:02:13 AM, use-revolution-request at lists.runrev.com writes: accessed for backup via a cable connection From psahores at easynet.fr Fri Apr 2 15:54:06 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 2 Apr 2004 22:54:06 +0200 Subject: OT Backup In-Reply-To: <006c01c418c9$d4c61160$1402a8c0@Dell8250> References: <006c01c418c9$d4c61160$1402a8c0@Dell8250> Message-ID: Hello, In about this kind of stuff (streaming), i would yet prefer to use a splitted mirroring system than a RAID5 one. About the hardware possibles choices : XServeG5 as my prefered if you don't need to stream, via Helix, RealVideo or Win32 MP contains else Linux x86. Best, Pierre Le 2 avr. 04, ? 17:47, Stu Duncan a ?crit : > I am about to start a project that will have massive amounts of video, > stills, sound, etc. I need to reexamine my storage and backup systems > because these projects go well beyond my current storage abilities. > There > are going to be terabytes of data. Currently I am thinking a RAID > system > with redundancy at work and a duplicate system in my home which would > be > accessed for backup via a cable connection. At the end of the day, > hopefully, one button click backs everything up overnight, however a > constant back up during the day would be even safer than risking the > loss of > a day's work. The main development will be occuring on Macs running OS > X > 10.3 however the end products will be Mac/Windows compliant and there > will > be 3+ Ghz Windows machines on the office network. > > What hardware would you suggest for this backup array and what > software & OS > to drive the system? Also needs to allow for expansion since these > projects > look to be ongoing. > > Thanks for your help > > Stu Duncan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From 3mcgrath at adelphia.net Fri Apr 2 16:10:29 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 2 Apr 2004 16:10:29 -0500 Subject: PowerPoint-type presentation In-Reply-To: References: Message-ID: <2BB18AD2-84EA-11D8-B2FB-000A95DA60FA@adelphia.net> THe problem is you are very vague about what you want to do here. You say PowerPoint - type presentation but what exactly do you mean. I have exported Powerpoint to pngs and used them in my last CD. I have also exported Keynote presentations in Quicktime and used them in Rev. If you are not starting with powerpoint then you can do everything in REV from the start. You can use visual effects and go from Card to Card each card has your title, subtitle and text as well as graphics. Or you can add a REV animation and pause at a 'slide' run the animation etc. There are hundreds of things you can do. SO, What is it you want to do? What are you going to show? Will you put buttons in it for advancing from slide to slide? etc. Tom On Apr 2, 2004, at 2:48 PM, Marty Knapp wrote: > A friend has asked me to put together a PowerPoint-type presentation > for > him, but as I don't have PowerPoint, I was thinking about using Rev. > It will > be distributed on CD and needs to run on PCs and Macs. It would be > nice if > it would autoplay upon insertion. Does anyone have an example stack > that > would give me a jump start? > > Thanks, > > Marty Knapp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Fri Apr 2 16:13:29 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 2 Apr 2004 16:13:29 -0500 Subject: Redeye removal, cropping, marching ants and maximum image size. In-Reply-To: <21C91425-84E2-11D8-8C3F-000A9580FCCE@backtalk.com> References: <21C91425-84E2-11D8-8C3F-000A9580FCCE@backtalk.com> Message-ID: <96D9E364-84EA-11D8-B2FB-000A95DA60FA@adelphia.net> Redeye is definitely not in the scope of REV. IMHO. I would want more import options before I wanted REV to do what a dozen apps already can do just fine. Photoshop, Corel, Painter and dozens of others do this now. Real time cropping would be great. Max size increase would be great too. Tom On Apr 2, 2004, at 3:12 PM, Frank Leahy wrote: > Four quick questions: > > 1) Is anyone doing redeye removal in Rev? If so, would you mind > sharing how you are doing it? > > 2) Real time image cropping. I seem to remember someone posting code > showing how to do cropping in real time, i.e. drag mouse and have > inner rect shows at 100% blendLevel and outer rect shows at 50% > blendLevel. Did anyone happen to save the snippet? > > 3) In Photoshop, MacPaint, even the RR IDE, when you select a > rectangle it shows "marching ants" around the selection. Is there any > way to get this effect in RR? Is there a "marching ants" command I'm > overlooking? > > 4) What's the max image size? Is it something like 2000 x 2000? I've > got some panoramas I'm trying to scale, and they're all coming out > unusable (but at least it doesn't seem to crash when this happens). > > Thanks in advance, > -- Frank > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From martyknapp at comcast.net Fri Apr 2 16:24:45 2004 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 02 Apr 2004 13:24:45 -0800 Subject: PowerPoint-type presentation In-Reply-To: <2BB18AD2-84EA-11D8-B2FB-000A95DA60FA@adelphia.net> Message-ID: > THe problem is you are very vague about what you want to do here. You > say PowerPoint - type presentation but what exactly do you mean. > What are you going to show? Will you put buttons in it for advancing from slide to slide? etc. I would be putting together an automated "slide show" type presentation, where once it's started it will advance itself from slide to slide, with text over a background, voice over, etc. At this point, he's not wanting any user interaction. Most users will have PCs. I use a Mac and have never done anything with Rev on a PC, so am not sure about things like fonts, image types (PNG, JPEG, etc), or the sound track, which will be a simple narrative with possible some background music. I'm sorry if I'm a bit vague, at this point I'm just exploring my possibilities and I wasn't sure if Rev should be seriously considered for a project like this. Marty Knapp From 3mcgrath at adelphia.net Fri Apr 2 16:39:56 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 2 Apr 2004 16:39:56 -0500 Subject: PowerPoint-type presentation In-Reply-To: References: Message-ID: <48849F35-84EE-11D8-B2FB-000A95DA60FA@adelphia.net> I developed on Mac OSX for cross-platform deployment. I used PNG for images which worked great. I used .wav files for audio voice overs which were large but worked great. I used a timer function to go from card (slide) to card. The font I used was Arial but there are a few cross platform fonts that transfer well. Search this list for the list of fonts that go well. Do not use the default font in REV on the mac (Lucida ??) it does not work well. ALso keep your menu small and watch out for full screen since you don't know what that will mean for each user. Use a backdrop. REV can handle this stuff with it's eyes closed. A cake walk. Keep text in small text boxes for easy changes and ask questions on what you are trying to do on the list. I will help when I can. Throw in a couple of animations and look at some of the cool samples at the User contributions site at REV. Wild text, Odd shaped windows, timed events etc. It's all there. HTH Tom I'd show you my CD but it was over 450 MB and had over 400 Slides over 20 voiceovers 75 interactive buttons and printable pages. I did the REV part in three weeks and the longest part was getting the content from the client. Good luck On Apr 2, 2004, at 4:24 PM, Marty Knapp wrote: >> THe problem is you are very vague about what you want to do here. You >> say PowerPoint - type presentation but what exactly do you mean. > >> What are you going to show? Will you put buttons in it for advancing >> from > slide to slide? etc. > > I would be putting together an automated "slide show" type > presentation, > where once it's started it will advance itself from slide to slide, > with > text over a background, voice over, etc. At this point, he's not > wanting any > user interaction. Most users will have PCs. I use a Mac and have never > done > anything with Rev on a PC, so am not sure about things like fonts, > image > types (PNG, JPEG, etc), or the sound track, which will be a simple > narrative > with possible some background music. > > I'm sorry if I'm a bit vague, at this point I'm just exploring my > possibilities and I wasn't sure if Rev should be seriously considered > for a > project like this. > > > Marty Knapp > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From martyknapp at comcast.net Fri Apr 2 16:47:12 2004 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 02 Apr 2004 13:47:12 -0800 Subject: PowerPoint-type presentation In-Reply-To: <48849F35-84EE-11D8-B2FB-000A95DA60FA@adelphia.net> Message-ID: > REV can handle this stuff with it's eyes closed. A cake walk. > Keep text in small text boxes for easy changes and ask questions on > what you are trying to do on the list. I will help when I can. Thanks Tom, I appreciate your input. Marty From 3mcgrath at adelphia.net Fri Apr 2 17:08:06 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 2 Apr 2004 17:08:06 -0500 Subject: PowerPoint-type presentation In-Reply-To: References: Message-ID: <38096C38-84F2-11D8-B2FB-000A95DA60FA@adelphia.net> PS. The company only requested a Windows version of my CD BUT after I gave them Windows, OS9 and OSX they were very happy. I did not charge them extra and now they may get used to offering the Mac side of things (might help in us mac users not being left out). Also, check early for a couple of quirky things like the gray background thing that keeps showing up on the list and fonts and accent colors. But that was about it. In fact REV is the best at providing cross-platform apps more so than any other app I've seen. Good Luck Tom On Apr 2, 2004, at 4:47 PM, Marty Knapp wrote: >> REV can handle this stuff with it's eyes closed. A cake walk. >> Keep text in small text boxes for easy changes and ask questions on >> what you are trying to do on the list. I will help when I can. > > Thanks Tom, I appreciate your input. > > Marty > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From dsc at swcp.com Fri Apr 2 17:31:38 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Apr 2004 15:31:38 -0700 Subject: Redeye removal, cropping, marching ants and maximum image size. In-Reply-To: <21C91425-84E2-11D8-8C3F-000A9580FCCE@backtalk.com> Message-ID: <81A48028-84F5-11D8-B8F6-000A9567A3E6@swcp.com> On Friday, April 2, 2004, at 01:12 PM, Frank Leahy wrote: > 3) In Photoshop, MacPaint, even the RR IDE, when you select a > rectangle it shows "marching ants" around the selection. Is there any > way to get this effect in RR? Is there a "marching ants" command I'm > overlooking? Maybe you can put a rectangle where you want this and change the foreground pattern regularly to get the effect. Dar Scott From briany at qldlearning.com Fri Apr 2 17:52:12 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 2 Apr 2004 17:52:12 -0500 Subject: Redeye removal, cropping, marching ants and maximum image size. In-Reply-To: <21C91425-84E2-11D8-8C3F-000A9580FCCE@backtalk.com> Message-ID: <61369FBA-84F8-11D8-AACE-000393AA08D2@qldlearning.com> > 1) Is anyone doing redeye removal in Rev? If so, would you mind > sharing how you are doing it? I'm guessing the question here is going to be speed. If someone can find reference to the algorithm for this, it could be done with imageData, but it might be slow. Perhaps one of the GNU image manipulating libraries out there does this? If so, you could probably get binary versions and use shell() to manipulate files on disk? Barring either of those, it sounds like external territory. > 2) Real time image cropping. I seem to remember someone posting code > showing how to do cropping in real time, i.e. drag mouse and have > inner rect shows at 100% blendLevel and outer rect shows at 50% > blendLevel. Did anyone happen to save the snippet? It looks like this thread is related... http://lists.runrev.com/pipermail/use-revolution/2003-August/021551.html You might try searching the archives for everything to do with "crop"- just go to google and add "site:lists.runrev.com" to your query. With that said, you should be able to do something roughly like: global isCropping on mouseDown put TRUE into isCropping put the mouseLoc into startCorner show fld "translucent" end mouseDown on mouseUp put FALSE into isCropping crop this image to the rect of image "translucent" hide fld "translucent" end mouseUp on mouseMove x,y ## NOTE: this will only drag down and to the right, need some more logic here if (isCropping = TRUE) then set the rect of fld "translucent" to (startCorner&x&comma&y) end if end mouseMove > 3) In Photoshop, MacPaint, even the RR IDE, when you select a > rectangle it shows "marching ants" around the selection. Is there any > way to get this effect in RR? Is there a "marching ants" command I'm > overlooking? Try creating a rectangle and giving it a script like: on startMarching send "changePattern" to me in 250 milliseconds set the patternMsgID of me to it end startMarching on stopMarching cancel (the patternMsgID of me) end stopMarching on changePattern ## alternate the foreground pattern between even and odd "ant" patterns end changePattern > 4) What's the max image size? Is it something like 2000 x 2000? I've > got some panoramas I'm trying to scale, and they're all coming out > unusable (but at least it doesn't seem to crash when this happens). I believe so. I wonder... would it be useful to write a plugin that takes a very large image, tiles it, and then imports the tiles grouped together? That might be handy to some, even for images that don't exceed the maximum... - Brian From rodney at oceanbrowser.com Fri Apr 2 18:07:40 2004 From: rodney at oceanbrowser.com (Rodney Tamblyn) Date: Sat, 3 Apr 2004 11:07:40 +1200 Subject: Redeye removal, cropping, marching ants and maximum image size. In-Reply-To: <21C91425-84E2-11D8-8C3F-000A9580FCCE@backtalk.com> References: <21C91425-84E2-11D8-8C3F-000A9580FCCE@backtalk.com> Message-ID: <8A90F890-84FA-11D8-9501-003065F97100@oceanbrowser.com> > 3) In Photoshop, MacPaint, even the RR IDE, when you select a > rectangle it shows "marching ants" around the selection. Is there any > way to get this effect in RR? Is there a "marching ants" command I'm > overlooking? > May not be exactly what you are look for but you could try dynamically setting the "dashes" property of a graphic. Rodney From monte at sweattechnologies.com Fri Apr 2 18:35:24 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 3 Apr 2004 09:05:24 +0930 Subject: Cards in standalone are a different color than in development In-Reply-To: <6AF18670-84D5-11D8-8A59-000A959289AE@buffalo.edu> Message-ID: Hi What version of Revolution are you using? Cheers Monte > Hi, > > I can't figure this one out. I have a stack with several substacks. All > of the substacks are supposed to have a white background. When the > program is run in development all is fine. When I build a standalone > some of the substacks are getting a grey background. The main stack has > a white background. These stacks have been used several times before > with unrelated modifications and built with Metacard and I've not had > this problem. Any thoughts? > > --Tim Bleiler > University at Buffalo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Fri Apr 2 18:38:44 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Apr 2004 16:38:44 -0700 Subject: Redeye removal, cropping, marching ants and maximum image size. In-Reply-To: <8A90F890-84FA-11D8-9501-003065F97100@oceanbrowser.com> Message-ID: On Friday, April 2, 2004, at 04:07 PM, Rodney Tamblyn wrote: >> 3) In Photoshop, MacPaint, even the RR IDE, when you select a >> rectangle it shows "marching ants" around the selection. Is there >> any way to get this effect in RR? Is there a "marching ants" command >> I'm overlooking? >> > May not be exactly what you are look for but you could try dynamically > setting the "dashes" property of a graphic. That's what I was thinking of when I mentioned the pattern. I didn't see dashes on the property inspector and suspected I had dreamed it. IIRC, the "ants" will walk from upper left to lower right and not in a circle. I think the background is not transparent, either. This might take some experimenting. Dar Scott From kee at kagi.com Fri Apr 2 19:58:29 2004 From: kee at kagi.com (kee nethery) Date: Fri, 2 Apr 2004 16:58:29 -0800 Subject: OT Backup In-Reply-To: References: <006c01c418c9$d4c61160$1402a8c0@Dell8250> Message-ID: <05BD747B-850A-11D8-B32E-000A959B2940@kagi.com> >> What hardware would you suggest for this backup array and what >> software & OS >> to drive the system? Also needs to allow for expansion since these >> projects >> look to be ongoing. From what I hear, the Apple Xserve RAID box is a wonderful thing (even if you are not using macs). From what I've seen, it has all the reliability that you could hope for. It is essentially an external hard drive and you can hook it up to several servers simultaneously (including Xserves, Linux, Windows, etc). If you are going to have offsite backup, you are going to need a second server with an equal amount of disk storage. One at home and one elsewhere. Given the amount of data you'll be changing on a daily basis, the question you need to ask yourself is what is the purpose of the offsite storage. if your goal is to have the data survive a fire or theft, then you might want to consider installing your backup server in a neighbors home next door to you and just run a cable between your homes. They get free high speed internet access, you get a backup site. if your goal is to have others able to access the data even if your network connection goes down, then you need a colo. You probably do not need to have the offsite server as a RAID but it does need to be the same amount of disk space. Chances are you would need to see what is the maximum number of drives you can fit into one server and given the maximum drive size, see if that will meet your needs. If not, buy a second Xserve RAID. As for replication, if I was doing this, there is a unix utility that does file syncing (I forget what it is called) and when you change and close a file, it will automatically move it to the remote server. We use it on Macs and on Linux servers. Good luck. Terabytes are not cheap. Kee Nethery From chipp at chipp.com Fri Apr 2 22:41:58 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 02 Apr 2004 21:41:58 -0600 Subject: OT Backup In-Reply-To: <05BD747B-850A-11D8-B32E-000A959B2940@kagi.com> References: <006c01c418c9$d4c61160$1402a8c0@Dell8250> <05BD747B-850A-11D8-B32E-000A959B2940@kagi.com> Message-ID: <406E3286.2020201@chipp.com> We recently purchased a couple of Ximeta NetDisk 250Gb at Fry's for a couple hundred apiece and are using them to backup our servers at our datacenter. You can set them up to mirror each other if you like. Pretty affordable and they work with OSX, Windows and Linux. You can check them out at www.ximeta.com best, Chipp From soapdog at mac.com Fri Apr 2 22:53:18 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 3 Apr 2004 00:53:18 -0300 Subject: Revolution 2.2 Released In-Reply-To: <0F5910B7-84DF-11D8-8CD8-000393882F80@runrev.com> References: <0F5910B7-84DF-11D8-8CD8-000393882F80@runrev.com> Message-ID: <718BD539-8522-11D8-9533-0003936D012E@mac.com> Hi, congratulations on new version, and also the new site layout is very cool. It's elegant and simple, like revolution! Also I want to know if 2.2 will count as our free upgrade for studio users. Tanx Andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Sat Apr 3 00:44:05 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Apr 2004 21:44:05 -0800 Subject: [OT] feature backlash Message-ID: <406E4F25.2050807@fourthworld.com> I promised to restrain myself from OT posts last month and will reduce them going forward, but this one is a hoot too good to miss. There's a moral here for all of us about considering the implications of software feature design before we rush them to market.... -------------------- Word flaw a window into Microsoft You'd think the people who make Microsoft Word understand enough about the program to avoid embarrassing themselves with unintended disclosures of internal information. You'd be wrong. Michal Zalewski, a 23-year-old computer security specialist in Warsaw, Poland, pulled off a clever bit of online sleuthing last month. In a delicious piece of irony, he found about 500 Word documents on Microsoft's own Web site that hadn't been purged of revisions made during the editing process. My favorite: In a 2002 white paper refuting the value of the upstart Linux operating system, an anonymous Microsoft author wrote "Microsoft is an enduring company . . ." Apparently a cooler head then prevailed on the author to remove the second part of the sentence: "that's not going out of business (unlike many Linux vendors)." -------------------- The news story: The straight dope: :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From chrism at lumin.us Sat Apr 3 00:57:17 2004 From: chrism at lumin.us (Christopher Mitchell) Date: Fri, 2 Apr 2004 23:57:17 -0600 Subject: News: Retrolution 4 Released In-Reply-To: <406C7DBC.2020904@chipp.com> References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> <406C7DBC.2020904@chipp.com> Message-ID: I think Lisa did use Twiggy. Yours, Chris On Apr 1, 2004, at 2:38 PM, Chipp Walters wrote: > Bummer, I guess my old Lisa will have to wait for Retrolution 5. BTW, > anyone know where to purchase a replacement Twiggy drive? Oh, that's > right, Lisa didn't use Twiggy. > > -chipp > > Rod McCall wrote: > >> In response to customer requests we've decided to release Retrolution >> 4, please find the press release below. >> Best, >> Rod >> ----- >> Runtime Retrolution 4 Release >> Develop Software for Platforms Past and Present >> Edinburgh Scotland, April 1st 2004 >> Runtime Revolution today announces the release of Retrolution 4, the >> developer >> tool for computer platforms past and present. Retrolution includes >> support for >> a selection of platforms dating from the mid-1900's to the present >> day and >> covers most major graphic and chip architectures. >> Announcing the release, 92 year old Rt. unRev. Kevin Miller CEO of >> Runtime Revolution said "I can remember when the transistor was just >> a glint in the milkman's eye. Since then we've seen the advent of 4 >> bit computer systems through to the state of the art G5" While >> semi-drugged and undergoing a hip replacement >> operation, Miller added, "Retrolution's stacks and punched card >> development system now make it even easier for developers of all >> abilities to write software for platforms big and room sized!" >> Retrolution 4 adds support for the following platforms: >> *Atari 8-bit, including XL and XE >> *Apple I (Apple II coming soon) >> *Commodore Pet and C64 >> *LEO: Lyon's Electronic Office (support for certain bakery products >> only) >> *Atari ST >> *Acorn Atom and Archimedes (prior to RISC OS 3 only) >> *ENIAC >> *Dragon 64 >> *Oric 1, Atmos and Stratos >> *Sinclair ZX80, ZX81, Spectrum support to follow shortly. >> *Texas Instruments TI99/4A >> *Microsoft Windows 1 >> *Tandy Radioshack TRS-80 (green screen only) >> *Hanimex Pencil II >> *MicroBee >> *Heathkit EC-1 Analogue Valve Vacuum Computer >> *Seattle Computer Gazelle (Zebra and Giraffe support to follow) >> *Beattie Bunion 64 Colour Computer >> *Open University Hektor 2 >> *Dick Smith Cat >> Daffid Blanket of the UK Home Office Immigration Service said "We've >> been using >> punched cards since the year dot, This new release means we don't >> need to discard >> our state of the art IT systems which include ENIAC, MicroBee and >> LEO. Instead >> we can keep on using them and our trusty stack of punched cards." >> Retrolution 4 makes development easy by forcing the developer to >> program in >> binary and to manually punch the holes in the cards. This latest >> release adds a >> whole range of features including: >> *Multimedia support with up to 1 channel beep-based sound >> *3D graphics, monochrome wireframe with resolutions of up to 64 by 48 >> pixels >> *Ability to use compiled external libraries written in BASIC, 6502 >> and 6809 >> assembler >> *Support for upper and lowercase letters, except for the letter P >> *Support for all numbers from 0 to 9, except 6 >> *Databases up to 3 records in size, with one field >> *Secure data encryption protocols. Each letter is encoded using the >> next letter >> in the alphabet. Support for Z due in 2007, numbers in 2009 >> *Ability to build standalones in 14 days, allowing you to go on >> holiday while >> Retrolution gets on with the job >> *Sync with the Osborne 1 handheld computer >> Retrolution 4 is priced at $999.95 and is available on reel-to-reel >> tape, pre-programmed valve >> bank, cassette, punched card and 8 inch floppy disk from all good >> computer >> stores. >> For more information and a free download visit >> About Retrolution and Revolution >> Information on pricing, versions, and local distributors, as well as >> a free 30-day trial edition of Revolution for all supported >> platforms: Windows, Mac OS X, classic Mac OS, Linux and Unix, is >> available at >> . >> Runtime Revolution and Express do not support any of the platforms or >> features listed above. >> Runtime Revolution Ltd. >> Founded in 1997, Runtime Revolution focuses on bringing user-centric >> programming to all major platforms: Macintosh, Windows, Linux, and >> Unix. >> Products include Revolution, Revolution Express, and Ten Thumbs Typing >> Tutor. The company is based in Edinburgh, Scotland. For more >> information >> on Runtime Revolution, please visit the company on the web at >> . >> ### >> Contact >> Dr Rod McCall >> Runtime Revolution Ltd >> 91 Hanover Street >> Edinburgh >> EH2 1DJ >> email: rodmc at runrev.com >> telephone: +44 (0) 131 718 4333 >> fax:+44 (0) 131 718 4334 >> _______________________________________________ >> 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 Sat Apr 3 02:13:07 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 03 Apr 2004 01:13:07 -0600 Subject: News: Retrolution 4 Released In-Reply-To: References: <4BA6F6A0-83C5-11D8-AA7B-000393882F80@runrev.com> <406C7DBC.2020904@chipp.com> Message-ID: <406E6403.1050805@chipp.com> Christopher...I stand corrected. From: The original Lisa had dual 'Twiggy' 5-1/4" floppy drives, which were quite unreliable, and which was soon replaced by the Lisa 2. The Lisa 2 and Lisa 2/5 were essentially the same machine as the original Lisa with the exception that the dual 'Twiggy' floppy drives were replaced with a single 400k 3-1/2" floppy drive made by Sony to Apple's specifications. I'm remembering the Lisa 2 3-1/2" drives were not Twiggy drives. Turns out the Twiggy drives were famously unreliable. Interesting bit of folklore: http://www.folklore.org/StoryView.py?project=Macintosh&story=Hide_Under_This_Desk.txt best, Chipp Christopher Mitchell wrote: > I think Lisa did use Twiggy. > > Yours, > Chris > On Apr 1, 2004, at 2:38 PM, Chipp Walters wrote: > >> Bummer, I guess my old Lisa will have to wait for Retrolution 5. BTW, >> anyone know where to purchase a replacement Twiggy drive? Oh, that's >> right, Lisa didn't use Twiggy. >> >> -chipp >> >> Rod McCall wrote: >> >>> In response to customer requests we've decided to release Retrolution >>> 4, please find the press release below. >>> Best, >>> Rod >>> ----- >>> Runtime Retrolution 4 Release >>> Develop Software for Platforms Past and Present >>> Edinburgh Scotland, April 1st 2004 >>> Runtime Revolution today announces the release of Retrolution 4, the >>> developer >>> tool for computer platforms past and present. Retrolution includes >>> support for >>> a selection of platforms dating from the mid-1900's to the present >>> day and >>> covers most major graphic and chip architectures. >>> Announcing the release, 92 year old Rt. unRev. Kevin Miller CEO of >>> Runtime Revolution said "I can remember when the transistor was just >>> a glint in the milkman's eye. Since then we've seen the advent of 4 >>> bit computer systems through to the state of the art G5" While >>> semi-drugged and undergoing a hip replacement >>> operation, Miller added, "Retrolution's stacks and punched card >>> development system now make it even easier for developers of all >>> abilities to write software for platforms big and room sized!" >>> Retrolution 4 adds support for the following platforms: >>> *Atari 8-bit, including XL and XE >>> *Apple I (Apple II coming soon) >>> *Commodore Pet and C64 >>> *LEO: Lyon's Electronic Office (support for certain bakery products >>> only) >>> *Atari ST >>> *Acorn Atom and Archimedes (prior to RISC OS 3 only) >>> *ENIAC >>> *Dragon 64 >>> *Oric 1, Atmos and Stratos >>> *Sinclair ZX80, ZX81, Spectrum support to follow shortly. >>> *Texas Instruments TI99/4A >>> *Microsoft Windows 1 >>> *Tandy Radioshack TRS-80 (green screen only) >>> *Hanimex Pencil II >>> *MicroBee >>> *Heathkit EC-1 Analogue Valve Vacuum Computer >>> *Seattle Computer Gazelle (Zebra and Giraffe support to follow) >>> *Beattie Bunion 64 Colour Computer >>> *Open University Hektor 2 >>> *Dick Smith Cat >>> Daffid Blanket of the UK Home Office Immigration Service said "We've >>> been using >>> punched cards since the year dot, This new release means we don't >>> need to discard >>> our state of the art IT systems which include ENIAC, MicroBee and >>> LEO. Instead >>> we can keep on using them and our trusty stack of punched cards." >>> Retrolution 4 makes development easy by forcing the developer to >>> program in >>> binary and to manually punch the holes in the cards. This latest >>> release adds a >>> whole range of features including: >>> *Multimedia support with up to 1 channel beep-based sound >>> *3D graphics, monochrome wireframe with resolutions of up to 64 by 48 >>> pixels >>> *Ability to use compiled external libraries written in BASIC, 6502 >>> and 6809 >>> assembler >>> *Support for upper and lowercase letters, except for the letter P >>> *Support for all numbers from 0 to 9, except 6 >>> *Databases up to 3 records in size, with one field >>> *Secure data encryption protocols. Each letter is encoded using the >>> next letter >>> in the alphabet. Support for Z due in 2007, numbers in 2009 >>> *Ability to build standalones in 14 days, allowing you to go on >>> holiday while >>> Retrolution gets on with the job >>> *Sync with the Osborne 1 handheld computer >>> Retrolution 4 is priced at $999.95 and is available on reel-to-reel >>> tape, pre-programmed valve >>> bank, cassette, punched card and 8 inch floppy disk from all good >>> computer >>> stores. >>> For more information and a free download visit >>> About Retrolution and Revolution >>> Information on pricing, versions, and local distributors, as well as >>> a free 30-day trial edition of Revolution for all supported >>> platforms: Windows, Mac OS X, classic Mac OS, Linux and Unix, is >>> available at >>> . >>> Runtime Revolution and Express do not support any of the platforms or >>> features listed above. >>> Runtime Revolution Ltd. >>> Founded in 1997, Runtime Revolution focuses on bringing user-centric >>> programming to all major platforms: Macintosh, Windows, Linux, and Unix. >>> Products include Revolution, Revolution Express, and Ten Thumbs Typing >>> Tutor. The company is based in Edinburgh, Scotland. For more information >>> on Runtime Revolution, please visit the company on the web at >>> . >>> ### >>> Contact >>> Dr Rod McCall >>> Runtime Revolution Ltd >>> 91 Hanover Street >>> Edinburgh >>> EH2 1DJ >>> email: rodmc at runrev.com >>> telephone: +44 (0) 131 718 4333 >>> fax:+44 (0) 131 718 4334 >>> _______________________________________________ >>> 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 frank at backtalk.com Sat Apr 3 02:26:48 2004 From: frank at backtalk.com (Frank Leahy) Date: Sat, 3 Apr 2004 08:26:48 +0100 Subject: Redeye removal, cropping, marching ants and maximum image In-Reply-To: <20040403054347.B6ACC9300CF@mail.runrev.com> Message-ID: <450032D1-8540-11D8-85CA-000A9580FCCE@backtalk.com> On Saturday, April 3, 2004, at 06:43 AM, use-revolution-request at lists.runrev.com wrote: Thank you to everyone -- Thomas, Dar, Brian, Rodney, and Claude -- for your replies...I will let you all know what I wind up using. Best, -- Frank From ttasovac at princeton.edu Sat Apr 3 03:47:11 2004 From: ttasovac at princeton.edu (Toma Tasovac) Date: Sat, 3 Apr 2004 10:47:11 +0200 Subject: callbacks only work first time a player is used - workaround In-Reply-To: <20040401094407.GA14607@cauldron.local> References: <20040401094407.GA14607@cauldron.local> Message-ID: <7F39F455-854B-11D8-8913-000A95C45C8C@princeton.edu> Eric, this is already in Bugzilla (#112), Tuviah fixed it at some point, but then had to "un-fix" it because it broke something else... T. On Apr 1, 2004, at 11:44 AM, Eric Peden wrote: > I just filed a bug report for this, but thought I'd send it to the list > as well in case anyone else had run into the problem. > > Callbacks set on a player are only called the first time the movie is > played. I ran into the problem earlier today, and identified a > workaround: setting the callbacks property allows callbacks to be sent > again. However, if the movie is replayed, they stop again, so the fix > is > to reset them every chance you get: > > -- in the player's script > on [playPaused, playStopped, or currentTimeChanged] > set the callbacks of me to the callbacks of me > end > > You also have to perform this "reset" whenever you set the currentTime > of a player. > > The problem was first described here: > > http://lists.runrev.com/pipermail/use-revolution/2003-July/018539.html > > and the Bugzilla entry is: > > > http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? > id=1448 > > The poster linked to above was running OS X, but the problem has shown > up for us on Windows, too. Anyone else run into this? Any suggestions > for a more elegant way to reset the callbacks without intercepting a > bunch of messages? > > -- > eric > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Sat Apr 3 05:24:57 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 3 Apr 2004 02:24:57 -0800 Subject: [OT] feature backlash In-Reply-To: <406E4F25.2050807@fourthworld.com> References: <406E4F25.2050807@fourthworld.com> Message-ID: <13661046910.20040403022457@ahsoftware.net> Richard- Sometime in the mid-80s I developed an Apple II modem communications program for a small software house. Once the Apple //c came out I had to rework all the lowest-level routines for the new hardware. My source code was sprinkled with comments about needing to "take care of the f**king //c". This is source code, right? Never gets delivered to the end user. Imagine our surprise when a customer called in one day and complained that his 14-year-old son had crashed the program and there in the middle of his screen was a message about "the f**king //c". We scratched our collective heads and finally came up with a plausible explanation: I had allocated a 1k buffer for text storage, and the compiler apparently had just grabbed whatever was in memory at the time in the place where it wanted its buffer. Source code, comments, and all. -- -Mark Wieder mwieder at ahsoftware.net From dburgun at dsl.pipex.com Sat Apr 3 09:22:43 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 3 Apr 2004 15:22:43 +0100 Subject: RunRev/C/C++ Interface SDK? In-Reply-To: <1068547930.2836.12.camel@www.kmax.ici> References: <7E88EFAE-13ED-11D8-B884-0003937A97B8@genesearch.com.au> <1068547930.2836.12.camel@www.kmax.ici> Message-ID: Hi, I seem to remember being told that there is an SDK available to allow interfacing from RunRev to C/C++, could someone tell me where to download it from? Thanks in Advance Dave From gizmotron at earthlink.net Sat Apr 3 10:43:12 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 3 Apr 2004 07:43:12 -0800 Subject: new site layout [was] Re: Revolution 2.2 In-Reply-To: <718BD539-8522-11D8-9533-0003936D012E@mac.com> Message-ID: <9D1D2D68-8585-11D8-A085-000A95859272@earthlink.net> On Friday, April 2, 2004, at 07:53 PM, Andre Garzia wrote: > Hi, > > congratulations on new version, and also the new site layout is very > cool. It's elegant and simple, like revolution! > Tanx > Andre Nice going on the website changes. It loads faster and it's XHTML compliant... look at all this groovy extensibility:

Revolution 2.2 Now Available! Anyone can build a web crawler that extracts class="newsflash" items from it. Moving closer and closer to the Semantic-Web... mb From soapdog at mac.com Sat Apr 3 11:25:19 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 3 Apr 2004 13:25:19 -0300 Subject: new site layout [was] Re: Revolution 2.2 In-Reply-To: <9D1D2D68-8585-11D8-A085-000A95859272@earthlink.net> References: <9D1D2D68-8585-11D8-A085-000A95859272@earthlink.net> Message-ID: <7F4E3C81-858B-11D8-9533-0003936D012E@mac.com> On Apr 3, 2004, at 12:43 PM, Mark Brownell wrote: > Nice going on the website changes. It loads faster and it's XHTML > compliant... > > look at all this groovy extensibility: >
>
> Revolution 2.2 Now Available! > > Anyone can build a web crawler that extracts class="newsflash" items > from it. Moving closer and closer to the Semantic-Web... > > > mb I knew I should check site sources more oftem, we could make a plugin for the IDE that checks the site at some interval, it could pop a dialog as the news arrive? pretty easy and cool, would serve nice as a XML parsing example e plugin example. Cheers Andre > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From albrecht at act-net.com Sat Apr 3 11:29:39 2004 From: albrecht at act-net.com (A.C.T.) Date: Sat, 03 Apr 2004 18:29:39 +0200 Subject: Question about Linux Builder Requirements In-Reply-To: References: <4069CC75.7060400@act-net.com> Message-ID: <406EE673.3050203@act-net.com> Hi, thanks to Pierre for the reply. Unfortunately I am still waiting for support from RunRev - all I need are the exact specifications, under which circumstances the advertised "Linux standalone building" will work. I am sure one CAN build "Linux standalones", but they will only run within specific installations - and I need to know which specs have to be met. I can not ask customers to change their (working) desktop environment to "accidently" find a configuration that lets a Revolution application start. Usually an "application builder" asks the developer which libraries to link against, because there are too many different "flavors" of "Linux" on the market, one cannot build a "one fits all" standalone, so this - again - is no "rant" on RunRev, it is simply an inquiry for assistance, where the "documentation" lacks. I wondered if someone else on this list has run into problems creating standalones for Linux (outside his/her own Linux dev box) and how he/she/it solved the problems. Linux is said to be a "supported platform", so I think it should be clear, WHAT LINUX is meant by that line. Marc Albrecht A.C.T. / level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. 04765-830060 Fax. 04765-830064 From albrecht at act-net.com Sat Apr 3 11:31:52 2004 From: albrecht at act-net.com (A.C.T.) Date: Sat, 03 Apr 2004 18:31:52 +0200 Subject: new site layout [was] Re: Revolution 2.2 In-Reply-To: <7F4E3C81-858B-11D8-9533-0003936D012E@mac.com> References: <9D1D2D68-8585-11D8-A085-000A95859272@earthlink.net> <7F4E3C81-858B-11D8-9533-0003936D012E@mac.com> Message-ID: <406EE6F8.8020206@act-net.com> Hi, >> Anyone can build a web crawler that extracts class="newsflash" items >> from it. Moving closer and closer to the Semantic-Web... > I knew I should check site sources more oftem, we could make a plugin > for the IDE that checks the site at some interval, it could pop a dialog > as the news arrive? pretty easy and cool, would serve nice as a XML > parsing example e plugin example. The "standard" for newsfeeds is "RSS". It is a lot easier to parse a RSS feed than to load in a complete HTML page, looking for "DIV entries". Perhaps someone could put up a "Runrev-News-DIV-to-RSS-transceiver" to let the web community access the feed using everyday techniques ;-) Marc Albrecht A.C.T. / level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. 04765-830060 Fax. 04765-830064 From soapdog at mac.com Sat Apr 3 12:07:31 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 3 Apr 2004 14:07:31 -0300 Subject: How to change Database Query Builder connection info at runtime? Message-ID: <64E6588B-8591-11D8-9533-0003936D012E@mac.com> Hi Folks, I'll be deploying a simple DB app for an enterprize here at Brazil but they do not know where their mySQL server will be running, is there a way that I can change Database Query Builder connection info at runtime? this way I could just pop a dialog asking for the info at startup and all the queries would work... Cheers Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From johnrule at rcsprogramming.com Sat Apr 3 12:57:45 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Sat, 3 Apr 2004 09:57:45 -0800 Subject: Question about Linux Builder Requirements References: <20040403170007.29EBF9300F8@mail.runrev.com> Message-ID: <003c01c419a5$49902c20$9101000a@minipcxp> Marc, I have not used the Revolution builder, but I have used the latest MetaCard builder (same under the hood though). I am using RedHat 9 and Mandrake 9, and I have had very good success (not excellent however). Building the '.bin' file should result in a double clickable stand-alone, although I had to change the preferences for the file to 'executable' (or something to that effect). Here are my personal observations: - Some very strange window behavior...things that work on Mac and Windows don't work on Linux (some custom 'drag' handlers did not work, and decorations had a trick to it). - You need to watch your file names (Linux does not like 'Spaces'), but it seems to be OK with folders. Background does not work at all...well, the 'background' is in front of everything else (so it is basically not useful at all). - The 'defaultFolder' is not what you expect, so you just parse the current stack name to get the current directory. - Sockets work fine except for broadcasting (not related to Revolution). - No icon support for your stand-alone other than what Gnome or KDE provides. - Fonts are very minimal, and there doesn't seem to be support for TrueType. It is pretty impressive, but I wish it was better... It seems stable though ;-) JR > Date: Sat, 03 Apr 2004 18:29:39 +0200 > From: "A.C.T." > Subject: Re: Question about Linux Builder Requirements > To: How to use Revolution > Message-ID: <406EE673.3050203 at act-net.com> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Hi, > > thanks to Pierre for the reply. > > Unfortunately I am still waiting for support from RunRev - all I need > are the exact specifications, under which circumstances the advertised > "Linux standalone building" will work. I am sure one CAN build "Linux > standalones", but they will only run within specific installations - and > I need to know which specs have to be met. > I can not ask customers to change their (working) desktop environment to > "accidently" find a configuration that lets a Revolution application > start. Usually an "application builder" asks the developer which > libraries to link against, because there are too many different > "flavors" of "Linux" on the market, one cannot build a "one fits all" > standalone, so this - again - is no "rant" on RunRev, it is simply an > inquiry for assistance, where the "documentation" lacks. > > I wondered if someone else on this list has run into problems creating > standalones for Linux (outside his/her own Linux dev box) and how > he/she/it solved the problems. Linux is said to be a "supported > platform", so I think it should be clear, WHAT LINUX is meant by that line. > > Marc Albrecht > A.C.T. / level-2 > Glinder Str. 2 > 27432 Ebersdorf > Deutschland > Tel. 04765-830060 > Fax. 04765-830064 > From dburgun at dsl.pipex.com Sat Apr 3 13:13:34 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 3 Apr 2004 19:13:34 +0100 Subject: Multiple Language Support? In-Reply-To: References: Message-ID: Hi All, >Actually, I believe this is the correct address: > > http://www.oenolog.net/ftp/serendipity_downloader.htm I actually came to start to use this, but when I click on the above link, I now get a "Specified Server Could Not Be Found" dialog although I downloaded it ok before. Could someone let me know the correct URL please. Also I'm not really sure what I should be downloading, I would like an example of an App/Stack that has some controls and text in it that is dymanically setup into the correct language depending on a Preference Setting. Could someone point me to this? Many Thanks Dave From albrecht at act-net.com Sat Apr 3 13:25:31 2004 From: albrecht at act-net.com (A.C.T.) Date: Sat, 03 Apr 2004 17:25:31 -0100 Subject: Question about Linux Builder Requirements In-Reply-To: <003c01c419a5$49902c20$9101000a@minipcxp> References: <20040403170007.29EBF9300F8@mail.runrev.com> <003c01c419a5$49902c20$9101000a@minipcxp> Message-ID: <406F019B.4050200@act-net.com> Hi, John, thanks for your list, perhaps I can help - without having a "running Revolution application" on Linux yet - getting some issues solved: > - Some very strange window behavior...things that work on Mac and Windows > don't work on Linux (some custom 'drag' handlers did not work, and > decorations had a trick to it). That may be related to Windows and MacOS using a different windowing system than X, which is "client-server". I guess these issues would have to be solved on Revolution's site, but I can imagine it could be quite tricky. > - You need to watch your file names (Linux does not like 'Spaces'), but it > seems to be OK with folders. Unix (Linux) "loves" Spaces, but they have to be backslash-escaped if you use shell tools. I don't know how Revolution accesses files, if it uses system calls like "fopen" etc, spaces definately would be no problem. Perhaps there is a bug inside the filehandling in Revolution leading to a wrong escaping on Linux but the correct escaping on Mac and Windows. Information about how file access is being done inside the engine would help here. > - The 'defaultFolder' is not what you expect, so you just parse the current > stack name to get the current directory. I would expect the working directory to be the "Default Folder". WD depends on what is set as WD inside the shell session you are in. I can only guess here (I currently do not have a working Revolution app under Linux), but you could try doing a "cd your-default-directory" during startup of your stack, I would expect this to lead to the needed behaviour. > - Sockets work fine except for broadcasting (not related to Revolution). Broadcasting (always) depends on the network settings/network hardware setup. Broadcast has to be handled with care as it can lead to routing problems. One could do a tracking about networking setup being done by Revolution - or such information could be given by RunRev. > - No icon support for your stand-alone other than what Gnome or KDE > provides. This has to be resolved by RunRev. Windowing systems like Gnome and KDE do offer "personal" icons, perhaps there is a bug in the app builder? > - Fonts are very minimal, and there doesn't seem to be support for TrueType. This surely isn't a problem of Revolution/RunRev: Support for TrueType is offered through various libraries, but isn't a "native feature" of most windowing systems. It is possible that calls for font rendering inside the Revolution engine is not up-to-date but I would not call this a bug. In ancient times one always had to "render" the font required to native format ... > It seems stable though ;-) No doubt about that. I wish I could actually create RUNNING applications ;-) Mit freundlichen Gr??en, Marc Albrecht A.C.T. / Level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. (+49) (0)4765-830060 Fax. (+49) (0)4765-830064 From dburgun at dsl.pipex.com Sat Apr 3 13:32:24 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 3 Apr 2004 19:32:24 +0100 Subject: Multiple Language Support? Message-ID: Hi, Some more information: I tried: http://www.oenolog.com/ftp/serendipity_downloader.htm Which actually exists! I then get a page advertising: OenoLog 3.0 And I link that says "Download now", however when I click on this link (which points to ftp.serendipitysoftware.com), I get a "connection failure" dialog. Any help on this would be greatly appreciated. Thanks in Advance Dave Hi All, >Actually, I believe this is the correct address: > > http://www.oenolog.net/ftp/serendipity_downloader.htm I actually came to start to use this, but when I click on the above link, I now get a "Specified Server Could Not Be Found" dialog although I downloaded it ok before. Could someone let me know the correct URL please. Also I'm not really sure what I should be downloading, I would like an example of an App/Stack that has some controls and text in it that is dymanically setup into the correct language depending on a Preference Setting. Could someone point me to this? Many Thanks Dave From gizmotron at earthlink.net Sat Apr 3 13:41:18 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 3 Apr 2004 10:41:18 -0800 Subject: new site layout [was] Re: Revolution 2.2 In-Reply-To: <406EE6F8.8020206@act-net.com> Message-ID: <7EC05622-859E-11D8-885E-000A95859272@earthlink.net> On Saturday, April 3, 2004, at 08:31 AM, A.C.T. wrote: > The "standard" for newsfeeds is "RSS". It is a lot easier to parse a > RSS feed than to load in a complete HTML page, looking for "DIV > entries". Perhaps someone could put up a > "Runrev-News-DIV-to-RSS-transceiver" to let the web community access > the feed using everyday techniques ;-) Hi, The trick is to pull-parse the division tag-sets, ["
"], get the attributes that fit your query, select the div sets that fit and transform the fragmented SGML/HTML to read like proper Rev/HTMLText. A transformation process could create a well-formed XML/RSS document and post it on a server I guess. There isn't an extensible markup parser that can extract RSS from XHTML and the XHTML would not be compliant if it contained well-formed RSS. Some of it would even show up as badly placed text with your web browser. I've been adding extensible MTML, non-SGML compliant tag-sets to my HTML web pages for years without noticeable bad affects from most popular browsers. The rule with MTML is to not care what the w3 consortium is planning as long as it works for now. An MTML tag-set must start and end in the same document, anywhere that is. An MTML tag set can contain spaces that are reserved for attributes in proper SGML, XHTML, and XML. As long as your adding smart data gathering information to your web pages, and we haven't reached the smart browser stage yet, anyone can do just about anything they want these days. my2cents Mark From soapdog at mac.com Sat Apr 3 14:10:48 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 3 Apr 2004 16:10:48 -0300 Subject: problem downloading 2.2 win32 engine. Message-ID: <9DDA64CE-85A2-11D8-9533-0003936D012E@mac.com> Hi Folks, just instaled Rev 2.2 for MacOS X. Tried to build a new standalone for Win32, it asked to download new engine. It receives an error. Cannot download: error. I am on the net and I am able to surf it (I assume that Rev uses HTTP to download it's engine). Cheers Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From kkaufman at snet.net Sat Apr 3 14:34:30 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 3 Apr 2004 14:34:30 -0500 Subject: Rev 2.2/OSX QT player not visible Message-ID: Rev 2.2; Mac OS X 10.3.3; QT 6.5 Create new stack. Add new player to stack. Set source to audio file (tried both AIFF and mp3). Controller does not appear (even though player is set to show controller and is visible). Cannot start player via message box either. Now, open same stack in Rev 2.0. Add 2nd player to stack in same manner as above. 2nd player appears/functions as expected. Re-open stack in Rev 2.2. 1st player still does not appear or function. 2nd player functions as expected. What, if anything, am I doing wrong? -KK From kkaufman at snet.net Sat Apr 3 14:49:15 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 3 Apr 2004 14:49:15 -0500 Subject: Rev. 2.2/OS X - standalone error Message-ID: I am not able to build a standalone from the included stack "MIDIBuilder". I get the warning: "There was an error while saving the Standalone Application". When I dismiss the error notification I get the revErrorDisplay window, but there is no description of the error (its fields are empty). Subsequently, I created a *new* stack and was able to save it as a standalone without problems. -KK From janschenkel at yahoo.com Sat Apr 3 15:53:22 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 3 Apr 2004 12:53:22 -0800 (PST) Subject: How to change Database Query Builder connection info at runtime? In-Reply-To: <64E6588B-8591-11D8-9533-0003936D012E@mac.com> Message-ID: <20040403205322.9991.qmail@web60505.mail.yahoo.com> --- Andre Garzia wrote: > Hi Folks, > > I'll be deploying a simple DB app for an enterprize > here at Brazil but > they do not know where their mySQL server will be > running, is there a > way that I can change Database Query Builder > connection info at > runtime? this way I could just pop a dialog asking > for the info at > startup and all the queries would work... > > Cheers > Andre > Hi Andre, As I remembered looking into this before for someone, I dug up the relevant posts from the mailing list archive : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From ambassador at fourthworld.com Sat Apr 3 16:04:32 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Apr 2004 13:04:32 -0800 Subject: new site layout [was] Re: Revolution 2.2 In-Reply-To: <406EE6F8.8020206@act-net.com> References: <9D1D2D68-8585-11D8-A085-000A95859272@earthlink.net> <7F4E3C81-858B-11D8-9533-0003936D012E@mac.com> <406EE6F8.8020206@act-net.com> Message-ID: <406F26E0.6070809@fourthworld.com> A.C.T. wrote: > The "standard" for newsfeeds is "RSS". It is a lot easier to parse a RSS > feed than to load in a complete HTML page, looking for "DIV entries". > Perhaps someone could put up a "Runrev-News-DIV-to-RSS-transceiver" to > let the web community access the feed using everyday techniques ;-) A Rev-based RSS reader will be released as part of my Devolution toolkit tommorrow, 4/4/04. An RSS generator is being developed as a WebMerge plugin, and may become its own product. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From soapdog at mac.com Sat Apr 3 16:08:34 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 3 Apr 2004 18:08:34 -0300 Subject: How to change Database Query Builder connection info at runtime? In-Reply-To: <20040403205322.9991.qmail@web60505.mail.yahoo.com> References: <20040403205322.9991.qmail@web60505.mail.yahoo.com> Message-ID: <1172FFFB-85B3-11D8-9533-0003936D012E@mac.com> > Hi Andre, > > As I remembered looking into this before for someone, > I dug up the relevant posts from the mailing list > archive : > 026932.html> > 026982.html> > > Hope this helped, > > Jan Schenkel. Jan, Thank you very much! thats just what I needed!!! :D Cheers Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Sat Apr 3 16:09:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Apr 2004 13:09:53 -0800 Subject: Question about Linux Builder Requirements In-Reply-To: <003c01c419a5$49902c20$9101000a@minipcxp> References: <20040403170007.29EBF9300F8@mail.runrev.com> <003c01c419a5$49902c20$9101000a@minipcxp> Message-ID: <406F2821.4040204@fourthworld.com> John Rule wrote: > Marc, > > I have not used the Revolution builder, but I have used the latest MetaCard > builder (same under the hood though). I am using RedHat 9 and Mandrake 9, > and I have had very good success (not excellent however). Building the > '.bin' file should result in a double clickable stand-alone, although I had > to change the preferences for the file to 'executable' (or something to that > effect). Here are my personal observations: ... > - No icon support for your stand-alone other than what Gnome or KDE > provides. My very limited understanding of the various window managers is that each provides its own mechanism for the essential basics: - app icon - document icon - app/doc association - adding an item to the Start menu Questions: 1. How does one automate these basic essentials when making an installer for Linux? 2. Are these mechanisms really different from window manager to window manager? If so, have these various groups (GNOME, KDE, etc.) started work on a universal mechanism for these things? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From andre.rombauts at win.be Sat Apr 3 16:11:40 2004 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat, 3 Apr 2004 23:11:40 +0200 Subject: Multiple users server access In-Reply-To: <954A3C00-84AF-11D8-8C62-000A27B49A96@major-k.de> Message-ID: <200404032111.i33LAvB6031996@outmx001.isp.belgacom.be> Quoting help file "Any number of users can open and use a stack. However, if the stack is modified by more than one user, a problem arises, because when the stack file is opened, it is loaded into memory on the user's system. When the file is saved, that image in memory is saved. This means that if two users open the same stack, one user modifies and saves it, and then the other user saves the same stack, the first user's changes will be lost because they were not yet part of the stack when the second user opened it. One method of solving this problem is to create an empty file when the stack is opened, and remove it when the stack is closed. When the first user opens the stack, then, the file is created. An openStack handler can check whether the file already exists. If it does, the application can refuse to open the stack until the file is removed, indicating that the first user has finished." And what about if the session is 'broken'...? No way to close that file. Any other user will be prevented to access... :-( Andr? From ambassador at fourthworld.com Sat Apr 3 16:32:40 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Apr 2004 13:32:40 -0800 Subject: Call for URLs Message-ID: <406F2D78.9070800@fourthworld.com> I'm putting together a portal site for developers of multi-platform net-savvy desktop applications, and would like to feature as many Rev-based apps as possible. If you have a freely downloadable application (demo versions count) made with Rev that has key features involving Internet connectivity please send the URL and a bried description to me via email. Examples are e-books with online libraries (Sannyasin, I couldn't find your app on your site), chat apps, FTP tools, Web search tools, apps that connect to online databases (yes, Hemmingway is already on the list), peer-to-peer tools and games, player apps that download stacks, educational content servers, or anything else where the Internet is a key part of its functionality. I'll post the URL to this new page once I get it together, hopefully next week. Thanks in advance - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From soapdog at mac.com Sat Apr 3 16:37:24 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 3 Apr 2004 18:37:24 -0300 Subject: Multiple users server access In-Reply-To: <200404032111.i33LAvB6031996@outmx001.isp.belgacom.be> References: <200404032111.i33LAvB6031996@outmx001.isp.belgacom.be> Message-ID: <18A2DD18-85B7-11D8-9533-0003936D012E@mac.com> On Apr 3, 2004, at 6:11 PM, Andre Rombauts wrote: > And what about if the session is 'broken'...? No way to close that > file. Any > other user will be prevented to access... :-( > > Andr? you can create a expiration lock, like this, check the timestamp of the lock file, if it's too old, ignore it... you can work like this: every five minutes the stack thats running (the first user stack) will touch the lock file, this will modify it's timestap. The second user need only to query if the timestamp is more than five minutes old, this will mean that session for previous user was broken or that he left. Cheers -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From soapdog at mac.com Sat Apr 3 16:40:40 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 3 Apr 2004 18:40:40 -0300 Subject: Call for URLs In-Reply-To: <406F2D78.9070800@fourthworld.com> References: <406F2D78.9070800@fourthworld.com> Message-ID: <8D9F62F8-85B7-11D8-9533-0003936D012E@mac.com> On Apr 3, 2004, at 6:32 PM, Richard Gaskin wrote: > I'm putting together a portal site for developers of multi-platform > net-savvy desktop applications, and would like to feature as many > Rev-based apps as possible. > > If you have a freely downloadable application (demo versions count) > made with Rev that has key features involving Internet connectivity > please send the URL and a bried description to me via email. > > Examples are e-books with online libraries (Sannyasin, I couldn't find > your app on your site), chat apps, FTP tools, Web search tools, apps > that connect to online databases (yes, Hemmingway is already on the > list), peer-to-peer tools and games, player apps that download stacks, > educational content servers, or anything else where the Internet is a > key part of its functionality. > > I'll post the URL to this new page once I get it together, hopefully > next week. > > Thanks in advance - Richard, I can help you on that, I can say that all my apps are desktop net-savvy apps. I can participate with revHTTPd project which is an framework for deploying WebApps and network-savvy apps. I can also include my BRP project which stands for Blog Research Project that is a simple blog client and if I can speed up my development, I can settle for more apps. Also I am making couple articles on that too... Cheers Andre > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Sat Apr 3 16:49:22 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Apr 2004 13:49:22 -0800 Subject: Call for URLs In-Reply-To: <8D9F62F8-85B7-11D8-9533-0003936D012E@mac.com> References: <406F2D78.9070800@fourthworld.com> <8D9F62F8-85B7-11D8-9533-0003936D012E@mac.com> Message-ID: <406F3162.1070700@fourthworld.com> Andre Garzia wrote: > On Apr 3, 2004, at 6:32 PM, Richard Gaskin wrote: > >> I'm putting together a portal site for developers of multi-platform >> net-savvy desktop applications, and would like to feature as many >> Rev-based apps as possible. >> >> If you have a freely downloadable application (demo versions count) >> made with Rev that has key features involving Internet connectivity >> please send the URL and a bried description to me via email. > > I can help you on that, I can say that all my apps are desktop net-savvy > apps. I can participate with revHTTPd project which is an framework for > deploying WebApps and network-savvy apps. I can also include my BRP > project which stands for Blog Research Project that is a simple blog > client and if I can speed up my development, I can settle for more apps. Excellent. Looking forward to your email. > Also I am making couple articles on that too... Cool -- please send those URLs and I'll link to 'em from my site. And please consider adding them to the Open Directory page for Transcript at . -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rodney at oceanbrowser.com Sat Apr 3 17:01:24 2004 From: rodney at oceanbrowser.com (Rodney Tamblyn) Date: Sun, 4 Apr 2004 10:01:24 +1200 Subject: delete url calls url Message-ID: <72F27000-85BA-11D8-81B2-003065F97100@oceanbrowser.com> http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? id=1459 Calling "delete url " will call the url. This is not intuitive (or necessary) and in my case helps to explain why queries from my application to a php script that generated emails were generating multiple email messages. I was thrown off the track for a long time because php has a known issue with the php mail() command which can cause it to send multiple messages. Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From ambassador at fourthworld.com Sat Apr 3 17:13:55 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Apr 2004 14:13:55 -0800 Subject: dragging list items Message-ID: <406F3723.3060009@fourthworld.com> I'm about to build a window which has a list field, and I'd like to allow the user to Cmd-drag items in the list to re-order them. Also, because this list includes items that act as groups, I need to allow items to also be dropped on other items to add them as a member of that item (they'll appear indented below the item dropped on). Many moons ago I looked around for some examples, but the few I found at that time had either appearance or behavioral nuances that make them feel less like the re-ordering experience in other apps, and none that also had the ability to drop onto other items. Anyone have such a thing they'd be willing to share? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rodney at oceanbrowser.com Sat Apr 3 18:15:55 2004 From: rodney at oceanbrowser.com (Rodney Tamblyn) Date: Sun, 4 Apr 2004 11:15:55 +1200 Subject: OT Backup In-Reply-To: <006c01c418c9$d4c61160$1402a8c0@Dell8250> References: <006c01c418c9$d4c61160$1402a8c0@Dell8250> Message-ID: Stu, This might only be tangentially relevent, but you may want to consider using Firewire networking if you are shifting that amount of data around - this is supported in OSX.3 I use it regularly to shift files between Macs (e.g. PowerBook and desktop machines) and it works great. Rodney On 3/04/2004, at 3:47 AM, Stu Duncan wrote: > I am about to start a project that will have massive amounts of video, > stills, sound, etc. I need to reexamine my storage and backup systems > because these projects go well beyond my current storage abilities. > There > are going to be terabytes of data. Currently I am thinking a RAID > system > with redundancy at work and a duplicate system in my home which would > be > accessed for backup via a cable connection. At the end of the day, > hopefully, one button click backs everything up overnight, however a > constant back up during the day would be even safer than risking the > loss of > a day's work. The main development will be occuring on Macs running OS > X > 10.3 however the end products will be Mac/Windows compliant and there > will > be 3+ Ghz Windows machines on the office network. > > What hardware would you suggest for this backup array and what > software & OS > to drive the system? Also needs to allow for expansion since these > projects > look to be ongoing. > > Thanks for your help > > Stu Duncan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From jperryl at ecs.fullerton.edu Sat Apr 3 18:44:57 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 3 Apr 2004 15:44:57 -0800 (PST) Subject: Request for Rev-Made Logos (NOT Rev's) In-Reply-To: <8D9F62F8-85B7-11D8-9533-0003936D012E@mac.com> Message-ID: Hi all, As part of my tour/demo of Rev, I have a screen that says something like "Revolution helps you create customized software solutions" or some such thing and I wanted to have marching below it logos of actual products developed with Rev. These would need to be no bigger than about 1" x 3" Does anyone have any they wouldn't mind my using? Thanks, Judy From jhurley at infostations.com Sat Apr 3 19:42:42 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 3 Apr 2004 16:42:42 -0800 Subject: Getting a field name In-Reply-To: <20040403231430.4345A930124@mail.runrev.com> References: <20040403231430.4345A930124@mail.runrev.com> Message-ID: Here's my problem. A button handler in a palette stack reads: on mouseup answer "Click on the application field." with OK if it is empty then exit mouseUP wait until the mouseclick answer the clickstack --But I want the field name, not the stack name end mouseup What the user is suppose to do is click on the field in the application stack and the name of the field is revealed. The above handler produces the stack name, not the field name. Naturally I tried "the clickField" but that comes up empty. (clickField is set to empty after a mouseclick.) And "the target" gives the name of the button which originally received the message in the palette stack, not the field in the application stack. How do I get the name of the clicked field in the application stack revealed to the palette stack? Jim From monte at sweattechnologies.com Sat Apr 3 19:42:46 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 4 Apr 2004 10:12:46 +0930 Subject: Rev. 2.2/OS X - standalone error In-Reply-To: Message-ID: > I am not able to build a standalone from the included stack > "MIDIBuilder". > I get the warning: > "There was an error while saving the Standalone Application". > When I dismiss the error notification I get the revErrorDisplay window, > but there is no description of the error (its fields are empty). Good catch! This seems to be an issue with the inclusion searching feature in combination with the objects that are named using numbers (the piano keys). I was using the long name as object references for the search but have switched it to the long id for the next version. The simple fix until the next Rev release is to select inclusions rather than search for them if you are using numbers as object names but as this is a very rare thing to do I don't think it will come up too often. Not naming objects with numbers is the better way to go as this issue is a general problem with the way the engine reads a variable containing the long name and so will pop up in other places too. Cheers Monte From monte at sweattechnologies.com Sat Apr 3 19:47:36 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 4 Apr 2004 10:17:36 +0930 Subject: problem downloading 2.2 win32 engine. In-Reply-To: <9DDA64CE-85A2-11D8-9533-0003936D012E@mac.com> Message-ID: Hmm... seems the engines aren't linked into the correct url but they are on the FTP server. I'll inform Mark. Thanks for the report. Monte > Hi Folks, > > just instaled Rev 2.2 for MacOS X. Tried to build a new standalone for > Win32, it asked to download new engine. It receives an error. Cannot > download: error. I am on the net and I am able to surf it (I assume > that Rev uses HTTP to download it's engine). > > Cheers > Andre > -- > Andre Alves Garzia ? 2004 ? BRAZIL > http://studio.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Sat Apr 3 21:06:49 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 3 Apr 2004 18:06:49 -0800 Subject: Getting a field name Message-ID: >Here's my problem. A button handler in a palette stack reads: > >on mouseup > answer "Click on the application field." with OK > if it is empty then exit mouseUP > wait until the mouseclick > answer the clickstack --But I want the field name, not the stack name >end mouseup > >What the user is suppose to do is click on the field in the >application stack and the name of the field is revealed. The above >handler produces the stack name, not the field name. > >Naturally I tried "the clickField" but that comes up empty. >(clickField is set to empty after a mouseclick.) And "the target" >gives the name of the button which originally received the message >in the palette stack, not the field in the application stack. > >How do I get the name of the clicked field in the application >stack revealed to the palette stack? > >Jim Well, I found a way, but it is a kludge: on mouseup answer "Click on the field to use." with OK wait until the mouseclick put the clickloc into tLoc put the clickstack into tStackName repeat with i = 1 to the number of controls in tStackName if tloc is within the rect of control i of tStackName then put the name of control i of tStackName into theClickControl exit repeat end if end repeat put theClickControl into field theFieldName end mouseup (Assuming the controls don't overlap.) There must be a cleaner way. Jim From dsc at swcp.com Sat Apr 3 22:35:41 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Apr 2004 20:35:41 -0700 Subject: Getting a field name In-Reply-To: Message-ID: <25B8CF86-85E9-11D8-B68C-000A9567A3E6@swcp.com> On Saturday, April 3, 2004, at 07:06 PM, Jim Hurley wrote: > There must be a cleaner way. This might seem cleaner only to one with my warped way of thinking or one forced to elaborate on your need. Your button handler can set a special click mode global variable to true. Or something similar. A front script mouseUp handler can check that. If true it does something with the name of the target and clears the flag. Otherwise it simply passes on the mouseUp. It can look at the target and make sure it is a field. Dar Scott From kkaufman at snet.net Sat Apr 3 22:36:32 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 3 Apr 2004 22:36:32 -0500 Subject: Rev. 2.2/OS X - standalone error Message-ID: <43FA893F-85E9-11D8-8886-0003937052EC@snet.net> "...The simple fix until the next Rev release is to select inclusions rather than search for them..." That worked fine; thanks! -KK From MFItz53 at comcast.net Sat Apr 3 22:36:47 2004 From: MFItz53 at comcast.net (MFItz53 at comcast.net) Date: Sun, 04 Apr 2004 03:36:47 +0000 Subject: Newbie Question Message-ID: <040420040336.26629.406F82CF000978E6000068052200762302FFCCCA858BB6B9@comcast.net> Having just recently installed Rev 2.2, I am not able to use icons I have used in the past. 32x32,16 color .ico files. If 2.2 has altered something to prevent this, can anyone tell me what the new requirements would be? Also, I have been unable get any results from using the the allignment tools. I'm wondering if it is going to be something I need to live with while still using win98se. Thanks for any info concerning these issues. From jacque at hyperactivesw.com Sat Apr 3 22:41:45 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Apr 2004 21:41:45 -0600 Subject: Getting a field name In-Reply-To: References: Message-ID: <406F83F9.3020904@hyperactivesw.com> On 4/3/04 8:06 PM, Jim Hurley wrote: >> How do I get the name of the clicked field in the application stack >> revealed to the palette stack? Does "the long ID of the mousecontrol" work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kkaufman at snet.net Sat Apr 3 22:46:53 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 3 Apr 2004 22:46:53 -0500 Subject: Rev. 2.2/player controller bug on OS X standalones Message-ID: I see that the issue concerning audio player controller updates on OS X standalones has not yet been addressed. But I also note that if the mouse is held down on the volume control of the controller while the audio file is playing, the controller appears to update normally. I don't suppose there is any way to script this sort of [mouse] activity? Even if it were possible, would it then prevent any other sort of mouse function- thereby limiting the usefulness of the controller anyway? -KK From jacque at hyperactivesw.com Sat Apr 3 23:16:57 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Apr 2004 22:16:57 -0600 Subject: Rev. 2.2/player controller bug on OS X standalones In-Reply-To: References: Message-ID: <406F8C39.9080300@hyperactivesw.com> On 4/3/04 9:46 PM, Kurt Kaufman wrote: > I see that the issue concerning audio player controller updates on OS X > standalones has not yet been addressed. But I also note that if the > mouse is held down on the volume control of the controller while the > audio file is playing, the controller appears to update normally. > I don't suppose there is any way to script this sort of [mouse] > activity? Even if it were possible, would it then prevent any other > sort of mouse function- thereby limiting the usefulness of the > controller anyway? See the What's New file for a similar QT problem with a work-around. This has been in the engine for a while now. The short answer is to script anything that will force the player to redraw. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Sat Apr 3 23:56:19 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 3 Apr 2004 18:56:19 -1000 Subject: 2.2 Stand Alone ErrorReportDialog Broken Message-ID: <69915181-85F4-11D8-ACFB-000A959D0AC6@hindu.org> Did anyone successfully build a stand alone with 2.2 and use the Error Dialog? I tried... and there was an error in one of my scripts of an external stack that was opened by the standalone... the stand alone, on windows and mac OSX, generated the error dialog box, but would not close and, just hungp... if you hit close it would just blink and come back on the screen, so you get stuck in this modal.. are must force quit. Since this is a new feature and we don't see any docs on it, I assumed it was straight forward... but perhaps there is some finesse needed to properly implement the error dialog Report? I'll take that feature out for now... The standalone build config would imply it should "just work"... Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From dsc at swcp.com Sun Apr 4 00:15:20 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Apr 2004 22:15:20 -0700 Subject: MC 2.5 Message-ID: <1165DB6C-85F7-11D8-B68C-000A9567A3E6@swcp.com> I want to test some stacks against the engine in MetaCard 2.5. Ideas? Dar Scott From dsc at swcp.com Sun Apr 4 04:02:21 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Apr 2004 01:02:21 -0700 Subject: MC 2.5 In-Reply-To: <1165DB6C-85F7-11D8-B68C-000A9567A3E6@swcp.com> Message-ID: <6671BC22-860E-11D8-A119-000A9567A3E6@swcp.com> On Saturday, April 3, 2004, at 10:15 PM, Dar Scott wrote: > I want to test some stacks against the engine in MetaCard 2.5. Ideas? I found a similar engine that came with an earlier version of Revolution. Dar From dcragg at lacscentre.co.uk Sun Apr 4 04:53:16 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 4 Apr 2004 09:53:16 +0100 Subject: delete url calls url In-Reply-To: <72F27000-85BA-11D8-81B2-003065F97100@oceanbrowser.com> References: <72F27000-85BA-11D8-81B2-003065F97100@oceanbrowser.com> Message-ID: At 10:01 am +1200 4/4/04, Rodney Tamblyn wrote: >http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=1459 > >Calling "delete url " will call the url. This is not intuitive >(or necessary) and in my case helps to explain why queries from my >application to a php script that generated emails were generating >multiple email messages. I was thrown off the track for a long time >because php has a known issue with the php mail() command which can >cause it to send multiple messages. I'm not seeing this. What kind of url are you trying to delete? (http, ftp, file, etc) Unless you are using delete with a php or cgi script. (e.g. delete url "http://whatever.com/cgi-bin/myscript.cgi). In this case, the script will do whatever it does, irrespective of the request method (GET,POST,DELETE,etc.). If the script should handle delete requests, it needs to check for the request method and act accordingly. In a cgi script, the $REQUEST_METHOD environment varaible has this information. Not sure about php, but I guess there's an easy way to get it. But in general, most http servers don't support DELETE (for good reasons), and it's only nominally supported in libUrl as it has never been tested. (Generally it's used with libUrl for ftp urls.) If it's a file url, then it's a different issue (engine) and I'll do some buck-passing. :) Cheers Dave From wouter.abraham at pi.be Sun Apr 4 05:12:42 2004 From: wouter.abraham at pi.be (Wouter) Date: Sun, 4 Apr 2004 11:12:42 +0200 Subject: Getting a field name In-Reply-To: <20040404051504.8A5C093013D@mail.runrev.com> References: <20040404051504.8A5C093013D@mail.runrev.com> Message-ID: <3AA337A8-8618-11D8-ACB3-003065CC999E@pi.be> On 04 Apr 2004, at 07:15, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Sat, 3 Apr 2004 18:06:49 -0800 > From: Jim Hurley > Subject: Re: Getting a field name > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > snip > Well, I found a way, but it is a kludge: > > on mouseup > answer "Click on the field to use." with OK > wait until the mouseclick > put the clickloc into tLoc > put the clickstack into tStackName > repeat with i = 1 to the number of controls in tStackName > if tloc is within the rect of control i of tStackName then > put the name of control i of tStackName into theClickControl > exit repeat > end if > end repeat > put theClickControl into field theFieldName > end mouseup > > > (Assuming the controls don't overlap.) > > There must be a cleaner way. > Your idea is not really a kludge. But instead of : > repeat with i = 1 to the number of controls in tStackName you can: on mouseup answer "Click on the application field." with OK if it is empty then exit mouseUP --set the hilite of me to true put "" into tAnswer wait until the mouseclick repeat with i = 1 to the number of flds on this cd if the mouseloc is within the rect of field i then put the long name of fld i into tAnswer end repeat if tAnswer is "" then put "no field clicked" into tAnswer --set the hilite of me to false answer tAnswer end mouseup To be able to use the target or the mousecontrol, you have to do it differently. Greetings, WA From albrecht at act-net.com Sun Apr 4 05:16:15 2004 From: albrecht at act-net.com (A.C.T.) Date: Sun, 04 Apr 2004 09:16:15 +0000 Subject: Multiple users server access In-Reply-To: <200404032111.i33LAvB6031996@outmx001.isp.belgacom.be> References: <200404032111.i33LAvB6031996@outmx001.isp.belgacom.be> Message-ID: <406FD25F.5040009@act-net.com> Hi, Andre, >> One method of solving this problem is to create an empty file when the stack >> is opened ... > And what about if the session is 'broken'...? No way to close that file. Any > other user will be prevented to access... :-( Actually there is another standard (sorry to insist in standards, my feeling is: One should use them, if they are available) for this: CVS. Don't save directly to the "original server site file" (something you NEVER EVER SHOULD DO, remember the problems Quark Xpress always had with users working on files that are located on server volumes) but use a CVS layer to access the repository. You don't even have to use CVS (if you do not like Open Source), there are various versioning software solutions. The general answer is: Use a layer that seperates incoming data from stored data and incooperates changes through a "diff mechanism". If users that cooperate on a single file have to be notified about changes in the original repository file you could simply put a small handler before the safe process that asks CVS (or whatever you use) whether changes have been made already. Mit freundlichen Gr??en, Marc Albrecht A.C.T. / Level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. (+49) (0)4765-830060 Fax. (+49) (0)4765-830064 From albrecht at act-net.com Sun Apr 4 05:26:08 2004 From: albrecht at act-net.com (A.C.T.) Date: Sun, 04 Apr 2004 09:26:08 +0000 Subject: Question about Linux Builder Requirements In-Reply-To: <406F2821.4040204@fourthworld.com> References: <20040403170007.29EBF9300F8@mail.runrev.com> <003c01c419a5$49902c20$9101000a@minipcxp> <406F2821.4040204@fourthworld.com> Message-ID: <406FD4B0.4080400@act-net.com> Moin, Richard, > My very limited understanding of the various window managers is that > each provides its own mechanism for the essential basics: > > 1. How does one automate these basic essentials when making an installer > for Linux? Short answer: The same way various libraries should be linked against (see my inquiry for help at the very beginning: What libraries have to be present?). Usually an application builder asks the developer which library version to link against. It would be the same task here: Ask the developer which window manager to support and create an installation script for the desired target. > 2. Are these mechanisms really different from window manager to window > manager? If so, have these various groups (GNOME, KDE, etc.) started > work on a universal mechanism for these things? They propably have had some cooperation somewhere somewhen. But as you may know "cooperative development" is somewhat hard to find in the open source world when dealing with "products in competition" :-( Marc Albrecht A.C.T. / Level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. (+49) (0)4765-830060 Fax. (+49) (0)4765-830064 From claus at dreischer.de Sun Apr 4 06:46:56 2004 From: claus at dreischer.de (Claus Dreischer) Date: Sun, 4 Apr 2004 12:46:56 +0200 Subject: Newbie Question In-Reply-To: <040420040336.26629.406F82CF000978E6000068052200762302FFCCCA858BB6B9@comca st.net> References: <040420040336.26629.406F82CF000978E6000068052200762302FFCCCA858BB6B9@comca st.net> Message-ID: >Having just recently installed Rev 2.2, I am not able to use icons I >have used in the past. 32x32,16 color .ico files. > If 2.2 has altered something to prevent this, can anyone tell me >what the new requirements would be? You now need an icon-file with 9 icons in it: 16 * 16, XP 32 * 32, XP 48 * 48, XP 16 * 16, 256 colors 32 * 32, 256 colors 48 * 48, 256 colors 16 * 16, 16 colors 32 * 32, 16 colors 48 * 48, 16 colors Reagrds, Claus. From briany at qldlearning.com Sun Apr 4 05:54:41 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 4 Apr 2004 05:54:41 -0400 Subject: delete url calls url In-Reply-To: <72F27000-85BA-11D8-81B2-003065F97100@oceanbrowser.com> Message-ID: <1798BA94-861E-11D8-B032-000393AA08D2@qldlearning.com> > Calling "delete url " will call the url. This is not intuitive > (or necessary) and in my case helps to explain why queries from my > application to a php script that generated emails were generating > multiple email messages. I was thrown off the track for a long time > because php has a known issue with the php mail() command which can > cause it to send multiple messages. I'm guessing what you are finding confusing is you don't want to "delete" over http protocol. What are you actually trying to delete? The CGI file itself? If so, I think you want FTP, not HTTP. Or, if it's local, plain ol' FILE. I suppose there _is_ a delete request method for HTTP, but that would still rely on your CGI script to do the actual deleting and/or dangerous server permissions... HTH, Brian From b.xavier at internet.lu Sun Apr 4 06:11:02 2004 From: b.xavier at internet.lu (MisterX) Date: Sun, 4 Apr 2004 12:11:02 +0200 Subject: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA In-Reply-To: <406FD4B0.4080400@act-net.com> Message-ID: Yes, do panic! I have a bug 1222 regarding the geometry manager... Well, since 2.2, the GM crashed RR, has completely resized my fields in the wrong place (162 controls in the discrete browser I dont wish to script in a resizestack handler!) I am stopping all discrete browser releases I had just implemented the HTML table renderer and fixed most of the html to RR-subhtml translation hick ups. Make sure you keep copies of the session.log files after any crash!!! It's documented but you could miss it. (Revolution\components\save\sessionlog.txt) X now completely demotivated! From klaus at major-k.de Sun Apr 4 06:33:31 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Apr 2004 12:33:31 +0200 Subject: Getting a field name In-Reply-To: References: Message-ID: <84B0B80F-8623-11D8-815A-000A27B49A96@major-k.de> Hi Jim, >> Here's my problem. A button handler in a palette stack reads: >> >> on mouseup >> answer "Click on the application field." with OK >> if it is empty then exit mouseUP >> wait until the mouseclick >> answer the clickstack --But I want the field name, not the stack >> name >> end mouseup >> ... > (Assuming the controls don't overlap.) > > There must be a cleaner way. Try: ... answer the mousecontrol ## ;-) ... and/or check "the mousecontrol" before asking. Hope that helps... > Jim Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Sun Apr 4 06:46:21 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Apr 2004 12:46:21 +0200 Subject: Newbie Question In-Reply-To: References: <040420040336.26629.406F82CF000978E6000068052200762302FFCCCA858BB6B9@comca st.net> Message-ID: <4FA68252-8625-11D8-815A-000A27B49A96@major-k.de> Hi Claus, >> Having just recently installed Rev 2.2, I am not able to use icons I >> have used in the past. 32x32,16 color .ico files. >> If 2.2 has altered something to prevent this, can anyone tell me >> what the new requirements would be? > > You now need an icon-file with 9 icons in it: > > 16 * 16, XP > 32 * 32, XP > 48 * 48, XP > 16 * 16, 256 colors > 32 * 32, 256 colors > 48 * 48, 256 colors > 16 * 16, 16 colors > 32 * 32, 16 colors > 48 * 48, 16 colors > > Reagrds, > Claus. Cool, thanks a lot for this info.... (I presume XP stands for 32 bit color depth?) And a big "thank you" goes to RR, since at last in the "File" menu we now have 2 menu-items called "Move Substack to File"... Now we can be even more productive... ;-) Have a lazy sunday... Regards Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Sun Apr 4 06:48:10 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 4 Apr 2004 12:48:10 +0200 Subject: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA In-Reply-To: References: Message-ID: <90A44718-8625-11D8-A5B6-000A95C61E96@easynet.fr> Hi Xavier, Try, as a workaround, to save your stack with a as small as possible rectsize. Perhaps will this do the trick when you, or a script, will dynamically resize your stack to a largest rectsize. Hope this will help, Best, Pierre Le 4 avr. 04, ? 12:11, MisterX a ?crit : > Yes, do panic! > > I have a bug 1222 regarding the geometry manager... > > Well, since 2.2, the GM crashed RR, has completely > resized my fields in the wrong place (162 controls > in the discrete browser I dont wish to script in a > resizestack handler!) > > I am stopping all discrete browser releases > > I had just implemented the HTML table renderer and > fixed most of the html to RR-subhtml translation > hick ups. > > Make sure you keep copies of the session.log files > after any crash!!! It's documented but you could > miss it. (Revolution\components\save\sessionlog.txt) > > X now completely demotivated! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From klaus at major-k.de Sun Apr 4 06:49:43 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Apr 2004 12:49:43 +0200 Subject: Rev 2.2/OSX QT player not visible In-Reply-To: References: Message-ID: Hi Kurt, > Rev 2.2; Mac OS X 10.3.3; QT 6.5 > > Create new stack. > Add new player to stack. > Set source to audio file (tried both AIFF and mp3). > Controller does not appear (even though player is set to show > controller and is visible). > Cannot start player via message box either. Hmmm, works here for me with any QT compatible audio/video file: Rev 2.2; Mac OS X 10.3.3; QT 6.5 > ... > What, if anything, am I doing wrong? > -KK Must be something else, but i have no idea... Regards Klaus Major klaus at major-k.de www.major-k.de From wouter.abraham at pi.be Sun Apr 4 09:11:17 2004 From: wouter.abraham at pi.be (Wouter) Date: Sun, 4 Apr 2004 15:11:17 +0200 Subject: Getting a field name In-Reply-To: <20040404104650.E1D469300C7@mail.runrev.com> References: <20040404104650.E1D469300C7@mail.runrev.com> Message-ID: <8EF78D85-8639-11D8-ACB3-003065CC999E@pi.be> On 04 Apr 2004, at 12:46, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Sun, 4 Apr 2004 12:33:31 +0200 > From: Klaus Major > Subject: Re: Getting a field name > To: How to use Revolution > Message-ID: <84B0B80F-8623-11D8-815A-000A27B49A96 at major-k.de> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Hi Jim, > >>> Here's my problem. A button handler in a palette stack reads: >>> >>> on mouseup >>> answer "Click on the application field." with OK >>> if it is empty then exit mouseUP >>> wait until the mouseclick >>> answer the clickstack --But I want the field name, not the stack >>> name >>> end mouseup >>> ... >> (Assuming the controls don't overlap.) >> >> There must be a cleaner way. > > Try: > > ... > answer the mousecontrol > ## ;-) > ... > > and/or check "the mousecontrol" before asking. > > Hope that helps... > >> Jim > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > Using it as suggested is not going to be reliable as it will be empty most of the time. (on my computer anyway) Check it with this: on mouseup answer "Click on the application field." with OK if it is empty then exit mouseUP wait until the mouseclick if the mousecontrol <> "" then answer the name of me &cr& the name of the mousecontrol else answer the name of me &cr& "mousecontrol is empty" end mouseup A working possibility is: on mouseup if not the uCheckit of me and not the hilite of me then answer "Click on the application field." with OK if it is empty then exit mouseUP set the ucheckit of me to true set the hilite of me to true checkforclickedfield else ### bug??? if commented out the hilite color stays on (Mac OS X 10.3.3) lock screen set the uCheckit of me to false set the hilite of me to false end if end mouseup on checkForClickedField if the mouse is down then if the mousecontrol is not "" and "field"&"e is in the name of the mousecontrol then set the uCheckit of me to false set the hilite of me to false answer the name of the mousecontrol end if end if if the uCheckit of me then send checkforclickedfield to me in 50 millisecs end checkForClickedField But if the length of the script is a kludge then this is even a greater kludge :^) Greetings, WA From rcozens at pon.net Sun Apr 4 10:09:49 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 4 Apr 2004 07:09:49 -0700 Subject: Multiple Language Support? In-Reply-To: References: Message-ID: Hi Dave, >>Actually, I believe this is the correct address: >> >> http://www.oenolog.net/ftp/serendipity_downloader.htm > > >I actually came to start to use this, but when I click on the above >link, I now get a "Specified Server Could Not Be Found" dialog >although I downloaded it ok before. Oh dear, I'm still waiting for confirmation from my new domain registry that my renewal was processed successfully. If they have screwed me up again..... > >Also I'm not really sure what I should be downloading, I would like >an example of an App/Stack that has some controls and text in it >that is dymanically setup into the correct language depending on a >Preference Setting. Anyway, Serendipity Library does not use profiles or preferences. It simply supports a menuItem that allows the user to select and load a language translation text file. Note this makes the Library user translatable as well as multi-lingual. Now to contact Domain Registry of America........... -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dburgun at dsl.pipex.com Sun Apr 4 10:20:48 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 4 Apr 2004 15:20:48 +0100 Subject: Multiple Language Support? In-Reply-To: References: Message-ID: Hi, Ahhh, I thought it was funny that I couldn't open the link, good luck with the registry, a friend of mine had a domain for over 3 years and had it up for renewal, then they screwed it up and he nearly lost it! Hope all is ok for you. Please let me know the correct URL once you have sorted it out! Thanks a lot, All the Best Dave >Hi Dave, > >>>Actually, I believe this is the correct address: >>> >>> http://www.oenolog.net/ftp/serendipity_downloader.htm >> >> >>I actually came to start to use this, but when I click on the above >>link, I now get a "Specified Server Could Not Be Found" dialog >>although I downloaded it ok before. > >Oh dear, I'm still waiting for confirmation from my new domain >registry that my renewal was processed successfully. If they have >screwed me up again..... > >> >>Also I'm not really sure what I should be downloading, I would like >>an example of an App/Stack that has some controls and text in it >>that is dymanically setup into the correct language depending on a >>Preference Setting. > >Anyway, Serendipity Library does not use profiles or preferences. >It simply supports a menuItem that allows the user to select and >load a language translation text file. Note this makes the Library >user translatable as well as multi-lingual. > >Now to contact Domain Registry of America........... >-- > >Rob Cozens >CCW, Serendipity Software Company >http://www.oenolog.net/who.htm > >"And I, which was two fooles, do so grow three; >Who are a little wise, the best fooles bee." > >from "The Triple Foole" by John Donne (1572-1631) >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From claus at dreischer.de Sun Apr 4 11:29:37 2004 From: claus at dreischer.de (Claus Dreischer) Date: Sun, 4 Apr 2004 17:29:37 +0200 Subject: Newbie Question In-Reply-To: <4FA68252-8625-11D8-815A-000A27B49A96@major-k.de> References: <040420040336.26629.406F82CF000978E6000068052200762302FFCCCA858BB6B9@comc a st.net> <4FA68252-8625-11D8-815A-000A27B49A96@major-k.de> Message-ID: >Hi Claus, Hi Klaus, ... >Cool, thanks a lot for this info.... >(I presume XP stands for 32 bit color depth?) I guess so. All the Icon Editors i tryed, refer to this type of icon as "XP" >Have a lazy sunday... Don't worry about that ;-) (Just got back from lunch ...) >Regards > >Klaus Major Regards, Claus. From soapdog at mac.com Sun Apr 4 10:34:26 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 4 Apr 2004 11:34:26 -0300 Subject: delete url calls url In-Reply-To: <1798BA94-861E-11D8-B032-000393AA08D2@qldlearning.com> References: <1798BA94-861E-11D8-B032-000393AA08D2@qldlearning.com> Message-ID: <2CB7E1CA-8645-11D8-9533-0003936D012E@mac.com> On Apr 4, 2004, at 6:54 AM, Brian Yennie wrote: > I'm guessing what you are finding confusing is you don't want to > "delete" over http protocol. > What are you actually trying to delete? The CGI file itself? If so, I > think you want FTP, not HTTP. Or, if it's local, plain ol' FILE. > > I suppose there _is_ a delete request method for HTTP, but that would > still rely on your CGI script to do the actual deleting and/or > dangerous server permissions... > > HTH, > Brian I think that delete url is supposed to send the DELETE method on an HTTP request, like GET, POST and PUT. You can check a nice page called 'http made easy' just google for it, it will have plenty info on http methods, delete is not used very much but sometimes it's implemented for custom cgi behaviour, for example ATOM Blogging API will have and endpoint (the cgi) which is /blogs/post, if you POST something a new entry is added, if you GET you will receive the post list with all entries, if you DELETE you will delete some post. Thats pretty cool for you can make your CGI more elegant and simple. Cheers Andre > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From jhurley at infostations.com Sun Apr 4 10:37:05 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 4 Apr 2004 07:37:05 -0700 Subject: Getting a field name In-Reply-To: <20040404104650.988049300BB@mail.runrev.com> References: <20040404104650.988049300BB@mail.runrev.com> Message-ID: Jackie, Wouter, and Klaus Thanks for the thoughts. One by one I am discovering RR capabilities. (Has everyone but me received their copy of the printed documentation?) But I can't quite find a way to make "the mouseControl" work. When I click on a button on a card with two controls, the answer I get is "control 39." God knows where that number comes from. It appears that the mousecontrol is returning something relating to the original palette stack, not the application stack where the mouse is clicked. It is not possible to get "the mouseControl of stack "myStack." (MouseConrol will not accept "of stack .....". Maybe that would be a nice feature to add.) I can make do with searching the rects to see which one the mouseloc is in. (Even if there is overlap among the controls, one can search for *all* controls in which the mouse is located, and then choose the one with the higher level.) Jim From rcozens at pon.net Sun Apr 4 10:42:29 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 4 Apr 2004 07:42:29 -0700 Subject: Multiple Language Support? In-Reply-To: References: Message-ID: >Please let me know the correct URL once you have sorted it out! Will do, David. DROA has live people I can talk to today; Network Solutions gives me only an eMail support address on weekends. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From klaus at major-k.de Sun Apr 4 10:42:48 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Apr 2004 16:42:48 +0200 Subject: Getting a field name In-Reply-To: References: <20040404104650.988049300BB@mail.runrev.com> Message-ID: <57715BFA-8646-11D8-815A-000A27B49A96@major-k.de> Hi Jim, > Jackie, Wouter, and Klaus > > Thanks for the thoughts. One by one I am discovering RR capabilities. > (Has everyone but me received their copy of the printed > documentation?) > > But I can't quite find a way to make "the mouseControl" work. When I > click on a button on a card with two controls, the answer I get is > "control 39." God knows where that number comes from. > > It appears that the mousecontrol is returning something relating to > the original palette stack, not the application stack where the mouse > is clicked. It is not possible to get "the mouseControl of stack > "myStack." (MouseConrol will not accept "of stack .....". Maybe that > would be a nice feature to add.) > > I can make do with searching the rects to see which one the mouseloc > is in. (Even if there is overlap among the controls, one can search > for *all* controls in which the mouse is located, and then choose the > one with the higher level.) well, the bare "mousecontrol" was just a hint... ;-) "put the long id of the mousecontrol" returns something like: button id 1054 of card id 1011 of stack "/Users/klaus/Documents/WIN BAK/festivalstart.rev" Does that look more meaningful for you? ;-) Or use "the long name of the mousecontrol" etc... > Jim Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Sun Apr 4 10:48:25 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Apr 2004 08:48:25 -0600 Subject: Getting a field name In-Reply-To: <25B8CF86-85E9-11D8-B68C-000A9567A3E6@swcp.com> Message-ID: <209BEE74-8647-11D8-837B-000A9567A3E6@swcp.com> On Saturday, April 3, 2004, at 08:35 PM, Dar Scott wrote: > A front script mouseUp handler can check that. If your fields are all derived from one, it might be easier to put the special mode check in the mouse handlers of the script of that one instead of using a front script. Dar Scott From rcozens at pon.net Sun Apr 4 10:47:10 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 4 Apr 2004 07:47:10 -0700 Subject: [OT] Multiple Language Support? Message-ID: >Now to contact Domain Registry of America. FYI, DROA are the good guys; it's Network Solutions that is blocking DROA's renewal action. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dburgun at dsl.pipex.com Sun Apr 4 11:04:24 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 4 Apr 2004 16:04:24 +0100 Subject: Help with Library Object - "Little Arrows MacOS Standard" In-Reply-To: <57715BFA-8646-11D8-815A-000A27B49A96@major-k.de> References: <20040404104650.988049300BB@mail.runrev.com> <57715BFA-8646-11D8-815A-000A27B49A96@major-k.de> Message-ID: Hi, I have added the "Little Arrows MacOS Standard" Object from the Object Library and now I'm trying to get it to work! I have set the "cTargetField" custom property to "FieldPageNumber". I have created a field that just contains a "0" and have given it the name "FieldPageNumber" and custom properties of "cMin" (0) and cMac (999). However when I run the Stack, I get the following error: Type: Fatal error in left operand Object: Little Arrows Line: if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField) ............. Hint: FieldPageNumber So it looks like it's not picking on the Page Number field name correctly. Any ideas? This is the first time I've used a Library Object and it's probably something I am doing wrong. Thanks in Advance Dave From jacque at hyperactivesw.com Sun Apr 4 12:04:59 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Apr 2004 11:04:59 -0500 Subject: Manuals shipments [was; Re: Getting a field name] In-Reply-To: References: <20040404104650.988049300BB@mail.runrev.com> Message-ID: <4070322B.9080304@hyperactivesw.com> On 4/4/04 9:37 AM, Jim Hurley wrote: > Thanks for the thoughts. One by one I am discovering RR capabilities. > (Has everyone but me received their copy of the printed documentation?) Yes. Except for those orders which have come in over the last few days, all manuals have all been sent out. If you haven't received yours, please contact support at support at runrev.com. If you can include a copy of your online order form in your support request, that will help a lot to track what's gone wrong. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley at infostations.com Sun Apr 4 12:05:29 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 4 Apr 2004 09:05:29 -0700 Subject: Getting a field name In-Reply-To: <20040404150403.702859300F4@mail.runrev.com> References: <20040404150403.702859300F4@mail.runrev.com> Message-ID: > >Message: 10 >Date: Sun, 4 Apr 2004 08:48:25 -0600 >From: Dar Scott >Subject: Re: Getting a field name >To: How to use Revolution >Message-ID: <209BEE74-8647-11D8-837B-000A9567A3E6 at swcp.com> >Content-Type: text/plain; charset=US-ASCII; format=flowed > > >On Saturday, April 3, 2004, at 08:35 PM, Dar Scott wrote: > >> A front script mouseUp handler can check that. > >If your fields are all derived from one, it might be easier to put the >special mode check in the mouse handlers of the script of that one >instead of using a front script. > >Dar Scott > Dar, I'm not sure I follow. My palette stack is a utility (plugin) which I call out whenever I want to introduce links in an application stack --see: From the message box: go url "http://home.infostations.net/jhurley/PointerPalette.rev" The button which accomplishes this is titled: "Get stack and field names" Once the plugin has done its work, by selecting the text links and the objects to which the pointer should point, (a hand with a pointing finger-eight left or right) the application stack stands alone. I wouldn't want to put scripts into the application stack except those necessary to handle the links. But I may be missing your point altogether. This issue to being able to select the application stack and field names from a button in the plugin is a frill which make the plugin just a little easier to apply. Jim From jhurley at infostations.com Sun Apr 4 12:10:07 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 4 Apr 2004 09:10:07 -0700 Subject: Getting a field name In-Reply-To: <20040404150403.702859300F4@mail.runrev.com> References: <20040404150403.702859300F4@mail.runrev.com> Message-ID: Klaus wrote: well, the bare "mousecontrol" was just a hint... ;-) "put the long id of the mousecontrol" returns something like: button id 1054 of card id 1011 of stack "/Users/klaus/Documents/WIN BAK/festivalstart.rev" Does that look more meaningful for you? ;-) Or use "the long name of the mousecontrol" etc... Regards Klaus Major klaus at major-k.de www.major-k.de Klaus, I still can't get past the issue of the stack to which mouseControl seems to apply. It always seems to apply to the plugin stack which initiated the request. I can't find a way to get it to apply to the application stack in which the mouse is clicked. :-( What I think is needed is to to be able to solicit the "mouseControl of stack ....", to be able to direct the mouseControl function to the stack of interest not the stack of the original target. I believe that Wouter found the same problem. Jim From jhurley at infostations.com Sun Apr 4 12:19:33 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 4 Apr 2004 09:19:33 -0700 Subject: Getting a field name In-Reply-To: <20040404150403.702859300F4@mail.runrev.com> References: <20040404150403.702859300F4@mail.runrev.com> Message-ID: WA, Thanks for the thought, but I haven't been able to get any information from the mouseControl function which does not apply to the original target stack, rather than the application stack in which the mouse is clicked. :-( I have something that works (looking at the field rects and the mouseloc). Not pretty, but whose looking. I just thought there was a simple RR function which I was overlooking. That, of course, may sill be true. Jim From klaus at major-k.de Sun Apr 4 12:26:18 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Apr 2004 18:26:18 +0200 Subject: Getting a field name In-Reply-To: References: <20040404150403.702859300F4@mail.runrev.com> Message-ID: Hi Jim, > ... > Klaus, > ... > What I think is needed is to to be able to solicit the "mouseControl > of stack ....", > to be able to direct the mouseControl function to the stack of > interest not the stack > of the original target. > I believe that Wouter found the same problem. Sorry, looks like i misunderstood your problem... But someone suggested the use of a frontscript, which might be a good idea... Just guessing: Create a button "XYZ" in your palette with this script: on mouseup global the_last_clicked_object put the long name of the mousecontrol into the_last_clicked_object end mouseup And then add this to your handler: >>> on mouseup >>> answer "Click on the application field." with OK >>> if it is empty then exit mouseUP insert script of button "XYZ" into front >>> wait until the mouseclick global the_last_clicked_object ## do whatever you wnat with it... remove script of btn "XYZ" from front >>> end mouseup Well, as i said, this is a quick thought, not tested, but sounds logical to me ;-) > Jim Regards Klaus Major klaus at major-k.de www.major-k.de From dburgun at dsl.pipex.com Sun Apr 4 12:39:19 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 4 Apr 2004 17:39:19 +0100 Subject: How do I use a Tabbed Button??? Message-ID: Hi, I have created a "Tabbed Button" and I'm now trying to figure out how to use it! I can't seem to find any information on this anywhere, could someone point me in the right direction please? I just want a number of tabs running across the top of the window with a number of controls in each Tab. When the user presses a Tab, I want those controls to become active. Also how can I draw a "Group Box", I would like something like this: +--Group1 Name------------------------------------+ | | | | | | | | +-------------------------------------------------+ +--Group2 Name------------------------------------+ | | | | | | +-------------------------------------------------+ +--Group3 Name------------------------------------+ | | | | | | +-------------------------------------------------+ All in the same "Tab". Thanks in Advance Dave From mwieder at ahsoftware.net Sun Apr 4 13:45:42 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 4 Apr 2004 10:45:42 -0700 Subject: 04/04/04 Party Time! In-Reply-To: <20040404150403.163E49300E5@mail.runrev.com> References: <20040404150403.163E49300E5@mail.runrev.com> Message-ID: <511082947.20040404104542@ahsoftware.net> Just wanted to send a shout out to Richard Gaskin congratulating Fourth World on ten years of operation today. http://www.fourthworld.com/ -- -Mark Wieder mwieder at ahsoftware.net From klaus at major-k.de Sun Apr 4 13:50:32 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Apr 2004 19:50:32 +0200 Subject: How do I use a Tabbed Button??? In-Reply-To: References: Message-ID: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> Hi David, > Hi, > > I have created a "Tabbed Button" and I'm now trying to figure out how > to use it! :-) > I can't seem to find any information on this anywhere, could someone > point me in the right direction please? It is somewhere in the dox, but i did not find it yet ;-) > I just want a number of tabs running across the top of the window with > a number of controls in each Tab. > When the user presses a Tab, I want those controls to become active. > > Also how can I draw a "Group Box", I would like something like this: What do you mean with "group box"? Probably not "the showborder" of groups?! > +--Group1 Name------------------------------------+ > ... > All in the same "Tab". Sorry, don't get this one... Anyway, the basic message for dealing with tabbed buttons is: on menuPick newTab,oldTab -- do something end menuPick Tabbed buttons receive these 2 arguments with the "menupick" message... (...and ONLY tabbed buttons!) So if i understand you right, your TABS are supposed to enable/disable the appropriate groups? Then you should name your groups after your tabs (or vice versa :-) and script your button: on menupick newTab, oldTAb lock screen ## just in case you have LOTS of controls in your groups ;-) disable group oldTab enable grp newTab unlock screen end menupick That will do the trick... Drop a line in case i misunderstood you completely ;-) Hope that helps... > Thanks in Advance > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From johnrule at rcsprogramming.com Sat Apr 3 18:28:55 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Sat, 3 Apr 2004 15:28:55 -0800 Subject: Question about Linux Builder Requirements References: <20040403210430.B77909300E0@mail.runrev.com> Message-ID: <000e01c419d3$d0bc1f00$9101000a@minipcxp> Marc, > That may be related to Windows and MacOS using a different windowing > system than X, which is "client-server". No, it was related to a 'mouseMove' handler that just didn't work in Linux. I was able to work around it though... > I would expect the working directory to be the "Default Folder". No, it returns the current 'login' user folder (for me it is '/root'...it should be '/root/MetaCard/'). This was the same in Mandrake RedHat, KDE and Gnome. > Broadcasting (always) depends on the network settings/network hardware setup. Not 'Global' broadcasting for Linux. Handlers that I use on Windows and Mac work fine for 'Global' broadcasting...they do not work on Linux because Linux does not allow 'Global' broadcasting. Apparently (more like supposedly) you must re-compile the kernel with low level modifications. > Unix (Linux) "loves" Spaces, but they have to be backslash-escaped if > you use shell tools. My comments are centered around the understanding that I am working from the RunRev environment...Linux itself may 'love' spaces, but the RunRev (MC 2.5 engine) file dialog does not (returns an error). The only work around is to NOT have spaces in your file names...folder names with spaces works fine. > [Support for TrueType] This surely isn't a problem of Revolution/RunRev: Yes, it definitely is. TrueType fonts that I have installed myself show up in other application like OpenOffice, Gimp, etc. (and some 'do' show up in the font menu for the RunRev/MC engine), but they have no affect on text in RunRev/MC other than 'italic' style (and 'italic' selects 'plain' for the TrueType font selected). They work fine in all other apps... > It is possible that calls for font rendering inside the Revolution engine is not up-to-date but would not call this a bug. I never called it a bug... I am not sure why you have responded to this since you have not even been able to run your stand-alones in Linux yet...were you basing your comments on general Linux experience, or just 'theory'? JR > Date: Sat, 03 Apr 2004 17:25:31 -0100 > From: "A.C.T." > Subject: Re: Question about Linux Builder Requirements > To: How to use Revolution > Message-ID: <406F019B.4050200 at act-net.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, John, > > thanks for your list, perhaps I can help - without having a "running > Revolution application" on Linux yet - getting some issues solved: > > > - Some very strange window behavior...things that work on Mac and Windows > > don't work on Linux (some custom 'drag' handlers did not work, and > > decorations had a trick to it). > > That may be related to Windows and MacOS using a different windowing > system than X, which is "client-server". I guess these issues would have > to be solved on Revolution's site, but I can imagine it could be quite > tricky. > > > - You need to watch your file names (Linux does not like 'Spaces'), but it > > seems to be OK with folders. > > Unix (Linux) "loves" Spaces, but they have to be backslash-escaped if > you use shell tools. I don't know how Revolution accesses files, if it > uses system calls like "fopen" etc, spaces definately would be no > problem. Perhaps there is a bug inside the filehandling in Revolution > leading to a wrong escaping on Linux but the correct escaping on Mac and > Windows. Information about how file access is being done inside the > engine would help here. > > > - The 'defaultFolder' is not what you expect, so you just parse the current > > stack name to get the current directory. > > I would expect the working directory to be the "Default Folder". WD > depends on what is set as WD inside the shell session you are in. I can > only guess here (I currently do not have a working Revolution app under > Linux), but you could try doing a "cd your-default-directory" during > startup of your stack, I would expect this to lead to the needed behaviour . > > > - Sockets work fine except for broadcasting (not related to Revolution). > > Broadcasting (always) depends on the network settings/network hardware > setup. Broadcast has to be handled with care as it can lead to routing > problems. One could do a tracking about networking setup being done by > Revolution - or such information could be given by RunRev. > > > - No icon support for your stand-alone other than what Gnome or KDE > > provides. > > This has to be resolved by RunRev. Windowing systems like Gnome and KDE > do offer "personal" icons, perhaps there is a bug in the app builder? > > > - Fonts are very minimal, and there doesn't seem to be support for TrueType. > > This surely isn't a problem of Revolution/RunRev: Support for TrueType > is offered through various libraries, but isn't a "native feature" of > most windowing systems. It is possible that calls for font rendering > inside the Revolution engine is not up-to-date but I would not call this > a bug. In ancient times one always had to "render" the font required to > native format ... > > > It seems stable though ;-) > > No doubt about that. I wish I could actually create RUNNING applications ;-) > > Mit freundlichen Gr??en, > Marc Albrecht From dburgun at dsl.pipex.com Sun Apr 4 14:26:06 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 4 Apr 2004 19:26:06 +0100 Subject: How do I use a Tabbed Button??? In-Reply-To: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> References: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> Message-ID: Hi, Sorry, it is difficult to explain, I'll try harder: I have a number of "Tabs". When the user presses a Tab, I want the controls under that "Tab" to be displayed and the ones on the old Tab to disapear. So when the stack is first launched I want "Tab 1" to be displayed which contains (say) a couple of PopUp menus and some check boxes. When "Tab 2" is selected, I want the PopUps and Check Boxes in "Tab 1" to disapear and the controls defined for "Tab 2" to be displayed (maybe some Raidio Buttons and Text Fields"). Then as a purely visual thing, within each "Tab" I want to group together (just visually) certain controls. I'd like to be able to display a rectangle around each group with the title for that grouped displayed in the top line, like this: +---Tab1 Group1--------------------------+ | | | PopUp1 CheckBox CheckBox | | | +----------------------------------------+ +---Tab1 Group2--------------------------+ | | | Radio1 Radio2 Text CheckBox | | | +----------------------------------------+ Then the same for Tab2, Tab3, Tab4 etc. The kind of action I am looking for is like the Project Inspector Window in the CodeWarrior IDE. When you click the "Arrributes" Tab you see the controls for that Tab and the screen is visually split into three groups, when you click the "Targets" tab the display switches to the controls for that Tab. Maybe this isn't the right control for doing this?? Thanks for you help, I am playing around with your code now. All the Best Dave >Hi David, > >>Hi, >> >>I have created a "Tabbed Button" and I'm now trying to figure out >>how to use it! > >:-) > >>I can't seem to find any information on this anywhere, could >>someone point me in the right direction please? > >It is somewhere in the dox, but i did not find it yet ;-) > >>I just want a number of tabs running across the top of the window >>with a number of controls in each Tab. >>When the user presses a Tab, I want those controls to become active. >> >>Also how can I draw a "Group Box", I would like something like this: > >What do you mean with "group box"? >Probably not "the showborder" of groups?! > >>+--Group1 Name------------------------------------+ >>... >>All in the same "Tab". > >Sorry, don't get this one... > > >Anyway, the basic message for dealing with tabbed buttons is: > >on menuPick newTab,oldTab > -- do something > end menuPick > >Tabbed buttons receive these 2 arguments with the "menupick" message... >(...and ONLY tabbed buttons!) > >So if i understand you right, your TABS are supposed to enable/disable >the appropriate groups? > >Then you should name your groups after your tabs (or vice versa :-) >and script your button: > >on menupick newTab, oldTAb > lock screen > ## just in case you have LOTS of controls in your groups ;-) > disable group oldTab > enable grp newTab > unlock screen >end menupick > >That will do the trick... > >Drop a line in case i misunderstood you completely ;-) > >Hope that helps... > From gbojsza at mac.com Sun Apr 4 14:32:59 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Sun, 4 Apr 2004 13:32:59 -0500 Subject: Copying data between fields Message-ID: <7FDD44CE-8666-11D8-A9DF-003065F00EF2@mac.com> Hi, I have a list field which has a couple of lines that I have "grayed" out while the rest are normal. I want to copy the lines from one field to another field and be able to keep the format of the lines that are "grayed" out. Is this possible? thanks, Glen From albrecht at act-net.com Sun Apr 4 14:36:50 2004 From: albrecht at act-net.com (A.C.T.) Date: Sun, 04 Apr 2004 20:36:50 +0200 Subject: Question about Linux Builder Requirements In-Reply-To: <000e01c419d3$d0bc1f00$9101000a@minipcxp> References: <20040403210430.B77909300E0@mail.runrev.com> <000e01c419d3$d0bc1f00$9101000a@minipcxp> Message-ID: <407055C2.4010305@act-net.com> Hi, John, > I am not sure why you have responded to this since you have not even > been able to run your stand-alones in Linux yet...were you basing your > comments on general Linux experience, or just 'theory'? sorry, I was trying to - eventually - narrow down the area where to look for solutions for your problems, while mine remain unresolved. My comments where based on my (limited) Linux experience and theory and the will to help. >>That may be related to Windows and MacOS using a different windowing >>system than X, which is "client-server". > > No, it was related to a 'mouseMove' handler that just didn't work in Linux. > I was able to work around it though... Maybe because in a client/server architecture like X you do not get every mouse move (which is handled on client side) if you (the application, to be precise) do not ask for it, but only messages from objects? That's what I meant: I tried to find an explanation for what you experienced, which might have helped you in finding a workaround. Fine that you do have a workaround! >>I would expect the working directory to be the "Default Folder". > > No, it returns the current 'login' user folder (for me it is '/root'...it > should be '/root/MetaCard/'). This was the same in Mandrake RedHat, KDE and > Gnome. I would expect the user's home directory TO BE HIS WORKING DIRECTORY, naturally. So your "No" actually means "Yes" and it is the natural behaviour of all UNIX flavors I know: Without setting a new working directory you do get your home directory. >>Unix (Linux) "loves" Spaces, but they have to be backslash-escaped if >>you use shell tools. > > > My comments are centered around the understanding that I am working from the > RunRev environment...Linux itself may 'love' spaces, but the RunRev (MC 2.5 > engine) file dialog does not (returns an error). The only work around is to > NOT have spaces in your file names...folder names with spaces works fine. Ok, that is a hint for me (as soon as I have working Linux apps built from Revolution) since my customers _do_ have spaces in filenames and there is no way around having them spaces in their filenames. I will have to find a way to either deal with that or forget using Revolution on Linux completely - thanks for pointing this out. >>[Support for TrueType] This surely isn't a problem of Revolution/RunRev: > > Yes, it definitely is. TrueType fonts that I have installed myself show up > in other application like OpenOffice, Gimp, etc. (and some 'do' show up in > the font menu for the RunRev/MC engine), but they have no affect on text in > RunRev/MC other than 'italic' style (and 'italic' selects 'plain' for the > TrueType font selected). They work fine in all other apps... To my knowledge KDE (as an example) uses freetype. Is freetype used by Revolution as well? Are there any environment variables to be set for Revolution to do (necessary) font name translations? Qt (as an example) is known to have such requirements, specific applications need to set env parameters to "activate" their TrueType awareness. My sentence above was targeted towards helping you tracking down the source of the problem. It is not said that Revolution has got a problem with TrueType, it is possible that you need to configure your system to actually LET it use TrueType. If there is any information about how Revolution accesses the system font rendering engine it should be more easy to switch TrueType rendering on. Other applications may "know" how to deal with the situation. There are issues with TrueType that many "older" rendering engines cannot deal with: TrueType fonts may use more space than their kerning tables tell the application, which has lead to severe rendering problems in the past. The advantages of TrueType (like antialiasing etc) is the "benefit" from these issues. So a (possible, not necessarily correct) explanation might be: TrueType rendering is switched off for "stability" reasons and you have to switch it on manually. >>It is possible that calls for font rendering inside the Revolution engine >> is not up-to-date but would not call this a bug. > > I never called it a bug... Again: Sorry, I simply tried to help tracking down where to look at, I did not mean to "teach" you something. Marc Albrecht A.C.T. / level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. 04765-830060 Fax. 04765-830064 From mwieder at ahsoftware.net Sun Apr 4 14:37:18 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 4 Apr 2004 11:37:18 -0700 Subject: 04/04/04 Party Time! Message-ID: <974179129.20040404113718@ahsoftware.net> Just wanted to send a shout out to Richard Gaskin congratulating Fourth World on ten years of operation today. http://www.fourthworld.com/ -- -Mark Wieder mwieder at ahsoftware.net From pgilmartin at ermventures.net Sun Apr 4 14:46:35 2004 From: pgilmartin at ermventures.net (Patrick Gilmartin) Date: Sun, 4 Apr 2004 11:46:35 -0700 Subject: How do I use a Tabbed Button??? References: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> Message-ID: <000e01c41a75$281977b0$0101a8c0@PJG> Hi, I can send you an attachment off list coverng all the areas that you cover in . Let me know if you want me to know by sending me an email offlist at pgilmartin at ermventures.net Patrick ----- Original Message ----- From: "David Burgun" To: "How to use Revolution" ; Sent: Sunday, April 04, 2004 11:26 AM Subject: Re: How do I use a Tabbed Button??? > Hi, > > Sorry, it is difficult to explain, I'll try harder: > > I have a number of "Tabs". When the user presses a Tab, I want the > controls under that "Tab" to be displayed and the ones on the old Tab > to disapear. So when the stack is first launched I want "Tab 1" to be > displayed which contains (say) a couple of PopUp menus and some check > boxes. When "Tab 2" is selected, I want the PopUps and Check Boxes in > "Tab 1" to disapear and the controls defined for "Tab 2" to be > displayed (maybe some Raidio Buttons and Text Fields"). > > Then as a purely visual thing, within each "Tab" I want to group > together (just visually) certain controls. I'd like to be able to > display a rectangle around each group with the title for that grouped > displayed in the top line, like this: > > > +---Tab1 Group1--------------------------+ > | | > | PopUp1 CheckBox CheckBox | > | | > +----------------------------------------+ > > +---Tab1 Group2--------------------------+ > | | > | Radio1 Radio2 Text CheckBox | > | | > +----------------------------------------+ > > Then the same for Tab2, Tab3, Tab4 etc. > > The kind of action I am looking for is like the Project Inspector > Window in the CodeWarrior IDE. When you click the "Arrributes" Tab > you see the controls for that Tab and the screen is visually split > into three groups, when you click the "Targets" tab the display > switches to the controls for that Tab. > > Maybe this isn't the right control for doing this?? > > Thanks for you help, I am playing around with your code now. > > All the Best > Dave > > > > > >Hi David, > > > >>Hi, > >> > >>I have created a "Tabbed Button" and I'm now trying to figure out > >>how to use it! > > > >:-) > > > >>I can't seem to find any information on this anywhere, could > >>someone point me in the right direction please? > > > >It is somewhere in the dox, but i did not find it yet ;-) > > > >>I just want a number of tabs running across the top of the window > >>with a number of controls in each Tab. > >>When the user presses a Tab, I want those controls to become active. > >> > >>Also how can I draw a "Group Box", I would like something like this: > > > >What do you mean with "group box"? > >Probably not "the showborder" of groups?! > > > >>+--Group1 Name------------------------------------+ > >>... > >>All in the same "Tab". > > > >Sorry, don't get this one... > > > > > >Anyway, the basic message for dealing with tabbed buttons is: > > > >on menuPick newTab,oldTab > > -- do something > > end menuPick > > > >Tabbed buttons receive these 2 arguments with the "menupick" message... > >(...and ONLY tabbed buttons!) > > > >So if i understand you right, your TABS are supposed to enable/disable > >the appropriate groups? > > > >Then you should name your groups after your tabs (or vice versa :-) > >and script your button: > > > >on menupick newTab, oldTAb > > lock screen > > ## just in case you have LOTS of controls in your groups ;-) > > disable group oldTab > > enable grp newTab > > unlock screen > >end menupick > > > >That will do the trick... > > > >Drop a line in case i misunderstood you completely ;-) > > > >Hope that helps... > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.648 / Virus Database: 415 - Release Date: 3/31/2004 From soapdog at mac.com Sun Apr 4 15:35:15 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 4 Apr 2004 16:35:15 -0300 Subject: 04/04/04 Party Time! In-Reply-To: <974179129.20040404113718@ahsoftware.net> References: <974179129.20040404113718@ahsoftware.net> Message-ID: <325DDCCC-866F-11D8-9533-0003936D012E@mac.com> On Apr 4, 2004, at 3:37 PM, Mark Wieder wrote: > Just wanted to send a shout out to Richard Gaskin congratulating > Fourth World on ten years of operation today. > > http://www.fourthworld.com/ > Fourth World is not only a company, it's an inspiration and a safe beacon to be aimed, once I tought I was frustrated thinkin is xTalk the way to go? I was afraid for it was to big a paradigm shift for me, I was a RB and C programmer, Revolution seemed something alien in the begining, but it was thru their 4W Articles like Beyond the Browser that I was able to win my first contract and create my own software house, it was seeing how people there made it right using Rev that I acquired the trust I have now in our beloved xTalk enviroment. I wish to Richard, 4W and all their friends and employees a happy decade birthday, and hope to see them in the next decade!!! send "a toast!" to Fourth World Cheers! Andre =) > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Sun Apr 4 17:39:13 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 14:39:13 -0700 Subject: Getting a field name In-Reply-To: References: <20040404150403.702859300F4@mail.runrev.com> Message-ID: <40708081.1050407@fourthworld.com> Jim Hurley wrote: > WA, > > Thanks for the thought, but I haven't been able to get any information > from the mouseControl function which does not apply to the original > target stack, rather than the application stack in which the mouse is > clicked. :-( I haven't seen the code so I'm just guessing here, but would it help to add something like: set the defaultStack to the topStack -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Apr 4 17:42:14 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 14:42:14 -0700 Subject: Rev 2.2/OSX QT player not visible In-Reply-To: References: Message-ID: <40708136.2070001@fourthworld.com> Klaus Major wrote: > Hi Kurt, > >> Rev 2.2; Mac OS X 10.3.3; QT 6.5 >> >> Create new stack. >> Add new player to stack. >> Set source to audio file (tried both AIFF and mp3). >> Controller does not appear (even though player is set to show >> controller and is visible). >> Cannot start player via message box either. > > > Hmmm, works here for me with any QT compatible audio/video file: > Rev 2.2; Mac OS X 10.3.3; QT 6.5 > >> ... >> What, if anything, am I doing wrong? >> -KK > > > Must be something else, but i have no idea... It would be useful to pin down the recipe. Here, with OS X 10.3.3 on a 1GHz PowerBook G4 I see the same issue Kurt reports. If any of you see this behavior please add your system info to the Bugzilla report, along with any other info that might be helpful for diagnosing this. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Apr 4 17:46:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 14:46:57 -0700 Subject: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA In-Reply-To: <90A44718-8625-11D8-A5B6-000A95C61E96@easynet.fr> References: <90A44718-8625-11D8-A5B6-000A95C61E96@easynet.fr> Message-ID: <40708251.2090608@fourthworld.com> Xavier wrote - > Well, since 2.2, the GM crashed RR, has completely > resized my fields in the wrong place (162 controls > in the discrete browser I dont wish to script in a > resizestack handler!) Just curious: how long did it take you to assign the Geometry Manager properties for those controls? And of the 162 controls, how many are repositioned/resized when the stack is resized? These are sincere questions, as I'm analyzing the relative merits of both resizeStack handlers and the GM under different circumstances, looking for the "sweet spot" for each to help me make recommendations for clients. I appreciated your feedback. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Sun Apr 4 18:29:09 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 4 Apr 2004 17:29:09 -0500 Subject: 04/04/04 Party Time! In-Reply-To: <974179129.20040404113718@ahsoftware.net> Message-ID: <009f01c41a94$42e914f0$6601a8c0@precision340> Happy birthday, Fourth World! 10 years in business is a long time in the software industry... Congrats! :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Wieder > Sent: Sunday, April 04, 2004 1:37 PM > To: How to use Revolution > Subject: 04/04/04 Party Time! > > > Just wanted to send a shout out to Richard Gaskin > congratulating Fourth World on ten years of operation today. > > http://www.fourthworld.com/ > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sun Apr 4 18:39:27 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 4 Apr 2004 17:39:27 -0500 Subject: Getting a field name In-Reply-To: Message-ID: <00a401c41a95$b39ee200$6601a8c0@precision340> Jim, How about this (answers the clicked field, but "cancels" if the next object clicked is not a field): -- script of palette button: on mouseUp global gClickedField put "" into gClickedField answer "Click on the application field." insert script of btn "clickTrapper" into front wait until gClickedField is not empty if gClickedField <> "***CANCEL***" then answer "The field clicked on was:" && gClickedField else -- something else was clicked on -- do what you want in this case end if end mouseUp -- script of btn "clickTrapper" on mouseUp global gClickedField if word 1 of the target is "field" then put the short name of the target into gClickedField else put "***CANCEL***" into gClickedField end if remove script of me from front end mouseUp HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Jim Hurley > Sent: Saturday, April 03, 2004 6:43 PM > To: use-revolution at lists.runrev.com > Subject: Getting a field name > > > Here's my problem. A button handler in a palette stack reads: > > on mouseup > answer "Click on the application field." with OK > if it is empty then exit mouseUP > wait until the mouseclick > answer the clickstack --But I want the field name, not the > stack name end mouseup > > What the user is suppose to do is click on the field in the > application stack and the name of the field is revealed. The above > handler produces the stack name, not the field name. > > Naturally I tried "the clickField" but that comes up empty. > (clickField is set to empty after a mouseclick.) And "the target" > gives the name of the button which originally received the message in > the palette stack, not the field in the application stack. > > How do I get the name of the clicked field in the application stack > revealed to the palette stack? > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From engleerica at yahoo.com Sun Apr 4 18:52:06 2004 From: engleerica at yahoo.com (Eric Engle) Date: Sun, 4 Apr 2004 15:52:06 -0700 (PDT) Subject: saving within a standalone? In-Reply-To: <20040404223030.AF5B4930128@mail.runrev.com> Message-ID: <20040404225206.73228.qmail@web60508.mail.yahoo.com> The metacard engine on windows would not allow a standalone to be modified and saved (for reasons I've never really understood). Anyway, I expect this is the case for revolution as well. In MC I would export the data as RTF. But again, the issue is popping up. I'm hoping that someday Rev will allow a standalone's contents to be changed by the user. I hope I'm wrong, correct me if I am. I've got a workaround strategy but would rather the end user had more dynamic control of the standalone. Ideas? __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From psahores at easynet.fr Sun Apr 4 19:00:57 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Mon, 5 Apr 2004 01:00:57 +0200 Subject: 04/04/04 Party Time! In-Reply-To: <974179129.20040404113718@ahsoftware.net> References: <974179129.20040404113718@ahsoftware.net> Message-ID: Congratulations and an Happy Birthday to you and yours, 4W, and many thanks to You, Richard, for all the help you provided over the years,.. for the one you, still, provide, "always and always", to the xtalk community. Kind Regards from Paris, Pierre Le 4 avr. 04, ? 20:37, Mark Wieder a ?crit : > Just wanted to send a shout out to Richard Gaskin congratulating > Fourth World on ten years of operation today. > > http://www.fourthworld.com/ > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From jperryl at ecs.fullerton.edu Sun Apr 4 19:25:30 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 4 Apr 2004 16:25:30 -0700 (PDT) Subject: How do I use a Tabbed Button??? In-Reply-To: Message-ID: Couldn't you just create a group out of the tabbed button set and then have the controls on different cards that are triggered by the tabs? Would this help at all? Judy On Sun, 4 Apr 2004, David Burgun wrote: > Hi, > > Sorry, it is difficult to explain, I'll try harder: > > I have a number of "Tabs". When the user presses a Tab, I want the > controls under that "Tab" to be displayed and the ones on the old Tab > to disapear. So when the stack is first launched I want "Tab 1" to be > displayed which contains (say) a couple of PopUp menus and some check > boxes. When "Tab 2" is selected, I want the PopUps and Check Boxes in > "Tab 1" to disapear and the controls defined for "Tab 2" to be > displayed (maybe some Raidio Buttons and Text Fields"). > > Then as a purely visual thing, within each "Tab" I want to group > together (just visually) certain controls. I'd like to be able to > display a rectangle around each group with the title for that grouped > displayed in the top line, like this: > > > +---Tab1 Group1--------------------------+ > | | > | PopUp1 CheckBox CheckBox | > | | > +----------------------------------------+ > > +---Tab1 Group2--------------------------+ > | | > | Radio1 Radio2 Text CheckBox | > | | > +----------------------------------------+ > > Then the same for Tab2, Tab3, Tab4 etc. > > The kind of action I am looking for is like the Project Inspector > Window in the CodeWarrior IDE. When you click the "Arrributes" Tab > you see the controls for that Tab and the screen is visually split > into three groups, when you click the "Targets" tab the display > switches to the controls for that Tab. > > Maybe this isn't the right control for doing this?? > > Thanks for you help, I am playing around with your code now. > > All the Best > Dave > > > > > >Hi David, > > > >>Hi, > >> > >>I have created a "Tabbed Button" and I'm now trying to figure out > >>how to use it! > > > >:-) > > > >>I can't seem to find any information on this anywhere, could > >>someone point me in the right direction please? > > > >It is somewhere in the dox, but i did not find it yet ;-) > > > >>I just want a number of tabs running across the top of the window > >>with a number of controls in each Tab. > >>When the user presses a Tab, I want those controls to become active. > >> > >>Also how can I draw a "Group Box", I would like something like this: > > > >What do you mean with "group box"? > >Probably not "the showborder" of groups?! > > > >>+--Group1 Name------------------------------------+ > >>... > >>All in the same "Tab". > > > >Sorry, don't get this one... > > > > > >Anyway, the basic message for dealing with tabbed buttons is: > > > >on menuPick newTab,oldTab > > -- do something > > end menuPick > > > >Tabbed buttons receive these 2 arguments with the "menupick" message... > >(...and ONLY tabbed buttons!) > > > >So if i understand you right, your TABS are supposed to enable/disable > >the appropriate groups? > > > >Then you should name your groups after your tabs (or vice versa :-) > >and script your button: > > > >on menupick newTab, oldTAb > > lock screen > > ## just in case you have LOTS of controls in your groups ;-) > > disable group oldTab > > enable grp newTab > > unlock screen > >end menupick > > > >That will do the trick... > > > >Drop a line in case i misunderstood you completely ;-) > > > >Hope that helps... > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Sun Apr 4 19:46:24 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 5 Apr 2004 09:16:24 +0930 Subject: 2.2 Stand Alone ErrorReportDialog Broken In-Reply-To: <69915181-85F4-11D8-ACFB-000A959D0AC6@hindu.org> Message-ID: Hmm... What was the error in the external stack. If it was one that might cause a new error as soon as the error dialog was closed then the result you had seems reasonable. FYI the script in the close button of the error dialog stack is as simple as you can get: on mouseUp close this stack end mouseUp So it's very unlikely that the error dialog is causing itself to re-appear. Cheers Monte > Did anyone successfully build a stand alone with 2.2 and use the Error > Dialog? > > I tried... and there was an error in one of my scripts of an external > stack that was opened by the standalone... the stand alone, on windows > and mac OSX, generated the error dialog box, but would not close and, > just hungp... if you hit close it would just blink and come back on the > screen, so you get stuck in this modal.. are must force quit. > > Since this is a new feature and we don't see any docs on it, I assumed > it was straight forward... but perhaps there is some finesse needed to > properly implement the error dialog Report? I'll take that feature out > for now... > > The standalone build config would imply it should "just work"... > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Sun Apr 4 20:52:53 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 04 Apr 2004 16:52:53 -0800 Subject: saving within a standalone? In-Reply-To: <20040404225206.73228.qmail@web60508.mail.yahoo.com> Message-ID: On 4/4/04 2:52 PM, "Eric Engle" wrote: > The metacard engine on windows would not allow a standalone to be modified and > saved (for reasons I've never really understood). Anyway, I expect this is the > case for revolution as well. In MC I would export the data as RTF. But again, > the issue is popping up. I'm hoping that someday Rev will allow a standalone's > contents to be changed by the user. I hope I'm wrong, correct me if I am. I've > got a workaround strategy but would rather the end user had more dynamic > control of the standalone. Ideas? If you haven't visited this issue in the archives already, here's a short answer: http://lists.runrev.com/pipermail/use-revolution/2002-July/006135.html And here's a much more detailed answer, courtesy of the ever helpful Richard Gaskin: http://lists.runrev.com/pipermail/use-revolution/2002-July/006149.html PS Props to fourthworld on their 10 year anniversary. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From monte at sweattechnologies.com Sun Apr 4 19:56:40 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 5 Apr 2004 09:26:40 +0930 Subject: Rev. 2.2/player controller bug on OS X standalones In-Reply-To: Message-ID: Is this a bug only in standalones and if so why? Cheers Monte > I see that the issue concerning audio player controller updates on OS X > standalones has not yet been addressed. But I also note that if the > mouse is held down on the volume control of the controller while the > audio file is playing, the controller appears to update normally. > I don't suppose there is any way to script this sort of [mouse] > activity? Even if it were possible, would it then prevent any other > sort of mouse function- thereby limiting the usefulness of the > controller anyway? > > -KK > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Sun Apr 4 20:31:54 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 4 Apr 2004 20:31:54 -0400 Subject: Rev. 2.2/player controller bug on OS X standalones Message-ID: "Is this a bug only in standalones and if so why?" Yes; only in OS X standalones and only in audio-only players. Why? I don't know; it was not a problem with Rev 1.1-built standalones. For details: http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? id=337 -Kurt From dsc at swcp.com Sun Apr 4 20:32:16 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Apr 2004 18:32:16 -0600 Subject: Copying data between fields In-Reply-To: <7FDD44CE-8666-11D8-A9DF-003065F00EF2@mac.com> Message-ID: On Sunday, April 4, 2004, at 12:32 PM, Glen Bojsza wrote: > I have a list field which has a couple of lines that I have "grayed" > out while the rest are normal. I want to copy the lines from one field > to another field and be able to keep the format of the lines that are > "grayed" out. Look at the htmlText property of the field and see if that looks parse-able and usable. If you can pull out the html for that section you can then set the htmlText of the other field with that. Watch for possibly going in and out of grey. Another approach would be to go through every character, look at its color and then copy that and then the style, font etc. over. Dar Scott From kkaufman at snet.net Sun Apr 4 20:36:48 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 4 Apr 2004 20:36:48 -0400 Subject: Rev 2.2/OSX QT player not visible Message-ID: <52D4C8AC-8699-11D8-9A34-0003937052EC@snet.net> Richard Gaskin wrote: "...It would be useful to pin down the recipe. Here, with OS X 10.3.3 on a 1GHz PowerBook G4 I see the same issue Kurt reports. If any of you see this behavior please add your system info to the Bugzilla report, along with any other info that might be helpful for diagnosing this. References: Message-ID: <4070B7CC.3040405@fourthworld.com> Kurt Kaufman wrote: > > "Is this a bug only in standalones and if so why?" > > Yes; only in OS X standalones and only in audio-only players. Why? I > don't know; it was not a problem with Rev 1.1-built standalones. > For details: > http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? > id=337 Actually, I sometimes see it when working in the IDE too. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Apr 4 21:45:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 18:45:06 -0700 Subject: saving within a standalone? In-Reply-To: <20040404225206.73228.qmail@web60508.mail.yahoo.com> References: <20040404225206.73228.qmail@web60508.mail.yahoo.com> Message-ID: <4070BA22.70309@fourthworld.com> Eric Engle wrote: > The metacard engine on windows would not allow a standalone to be modified and > saved (for reasons I've never really understood). Anyway, I expect this is the > case for revolution as well. In MC I would export the data as RTF. But again, > the issue is popping up. I'm hoping that someday Rev will allow a standalone's > contents to be changed by the user. I hope I'm wrong, correct me if I am. n It's not likely: Mac OS is the only platform where the OS makes that possible, and in OS X only in a limited way. All other platforms do not allow an executable to modify itself at runtime, effectively locking the file while it's running. The Rev engine enforces this OS convention for Mac OS for consistency. > I've got a workaround strategy but would rather the end user had more > dynamic control of the standalone. Ideas? While it may seem "normal" to save data in an execuitable if you come from a HyperCard or SuperCard background, if you step back to look at other apps you'll find that almost none do this other than those made with HyperCard and SuperCard. Separating the user's data from the executable is not just a requirement for other OSes, but has merit on its own. It makes updating the application simpler, and provides a more consistent experience with nearly all other applications the user has experience with. There are many ways to store data externally, and they vary in complexity to the degree that you also separate data from the user interface. But in its simplest form it's a snap: just clone out the stack holding the user's data into a separate stack file, and store it in the Preferences folder or some other place the app can find it easily to open it at startup. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gbojsza at mac.com Sun Apr 4 21:47:11 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Sun, 4 Apr 2004 20:47:11 -0500 Subject: Copying data between fields In-Reply-To: Message-ID: <27D33C12-86A3-11D8-A9DF-003065F00EF2@mac.com> I have tried looping through the lines and setting the textcolor (this works fine) but I'm trying to figure out how the Edit Copy Objects and Edit Paste Objects works...this does exactly what I want. But how can I script those menu commands? On Sunday, April 4, 2004, at 07:32 PM, Dar Scott wrote: > > On Sunday, April 4, 2004, at 12:32 PM, Glen Bojsza wrote: > >> I have a list field which has a couple of lines that I have "grayed" >> out while the rest are normal. I want to copy the lines from one >> field to another field and be able to keep the format of the lines >> that are "grayed" out. > > Look at the htmlText property of the field and see if that looks > parse-able and usable. If you can pull out the html for that section > you can then set the htmlText of the other field with that. Watch for > possibly going in and out of grey. > > Another approach would be to go through every character, look at its > color and then copy that and then the style, font etc. over. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Sun Apr 4 22:18:04 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Sun, 4 Apr 2004 22:18:04 EDT Subject: saving within a standalone? Message-ID: <105.433fd3ec.2da21bdc@aol.com> sez engleerica at yahoo.com: >The metacard engine on windows would not allow a standalone to be modified >and saved (for reasons I've never really understood). Anyway, I expect this >is the case for revolution as well. In MC I would export the data as RTF. But >again, the issue is popping up. I'm hoping that someday Rev will allow a standalone's >contents to be changed by the user. Forget it -- ain't never gonna happen. The Mac OS allows a running app to modify itself, yes, but neither Windoze nor Linux/Unix do, and I rather suspect that Mac OS X doesn't either. You're gonna have to fake it. Fortunately, this is not difficult. While the standalone proper cannot modify itself, any stacks that are run by the standalone *can* modify themselves. Thus, let your standalone be a glorified "splash screen", and let it open up the stack which is your *real* app. From monte at sweattechnologies.com Sun Apr 4 22:24:43 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 5 Apr 2004 11:54:43 +0930 Subject: Rev. 2.2/player controller bug on OS X standalones In-Reply-To: <4070B7CC.3040405@fourthworld.com> Message-ID: > > > > "Is this a bug only in standalones and if so why?" > > > > Yes; only in OS X standalones and only in audio-only players. Why? I > > don't know; it was not a problem with Rev 1.1-built standalones. > > For details: > > http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? > > id=337 > > Actually, I sometimes see it when working in the IDE too. In MC or Rev? It maybe the Rev IDE is setting some global property or something??? Cheers Monte From ambassador at fourthworld.com Sun Apr 4 22:44:19 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 19:44:19 -0700 Subject: Rev. 2.2/player controller bug on OS X standalones In-Reply-To: References: Message-ID: <4070C803.2090802@fourthworld.com> Monte Goulding wrote: >>>"Is this a bug only in standalones and if so why?" >>> >>>Yes; only in OS X standalones and only in audio-only players. Why? I >>>don't know; it was not a problem with Rev 1.1-built standalones. >>>For details: >>>http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? >>>id=337 >> >>Actually, I sometimes see it when working in the IDE too. > > In MC or Rev? It maybe the Rev IDE is setting some global property or > something??? Given my aberrant habits, unless I specify it's safe to assume I'm using the MC IDE. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Apr 4 22:50:46 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 19:50:46 -0700 Subject: 04/04/04 Party Time! In-Reply-To: <325DDCCC-866F-11D8-9533-0003936D012E@mac.com> References: <974179129.20040404113718@ahsoftware.net> <325DDCCC-866F-11D8-9533-0003936D012E@mac.com> Message-ID: <4070C986.6010600@fourthworld.com> Andre Garzia wrote: > On Apr 4, 2004, at 3:37 PM, Mark Wieder wrote: > >> Just wanted to send a shout out to Richard Gaskin congratulating >> Fourth World on ten years of operation today. >> >> http://www.fourthworld.com/ >> > Fourth World is not only a company, it's an inspiration and a safe > beacon to be aimed, once I tought I was frustrated thinkin is xTalk the > way to go? I was afraid for it was to big a paradigm shift for me, I was > a RB and C programmer, Revolution seemed something alien in the > begining, but it was thru their 4W Articles like Beyond the Browser that > I was able to win my first contract and create my own software house, it > was seeing how people there made it right using Rev that I acquired the > trust I have now in our beloved xTalk enviroment. I wish to Richard, 4W > and all their friends and employees a happy decade birthday, and hope to > see them in the next decade!!! > > send "a toast!" to Fourth World > > Cheers! > Andre =) Many thanks to Mark, Ken, Pierre, Andre, and those who've sent 4W birthday wishes via email (I even got a birthday card for Fourth World in yesterday's snail mail ). You folks and the others in the developer community are the ones most deserving of a toast today. Thanks to you I have the best job in my career, and I haven't needed to change my business card in more than a decade. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Sun Apr 4 22:54:35 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 5 Apr 2004 12:24:35 +0930 Subject: Rev. 2.2/player controller bug on OS X standalones In-Reply-To: <4070C803.2090802@fourthworld.com> Message-ID: > >>>"Is this a bug only in standalones and if so why?" > >>> > >>>Yes; only in OS X standalones and only in audio-only players. Why? I > >>>don't know; it was not a problem with Rev 1.1-built standalones. > >>>For details: > >>>http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? > >>>id=337 > >> > >>Actually, I sometimes see it when working in the IDE too. > > > > In MC or Rev? It maybe the Rev IDE is setting some global property or > > something??? > > Given my aberrant habits, unless I specify it's safe to assume I'm using > the MC IDE. That's what I thought ;-) So my logic that the Rev IDE maye be setting some global is reasonable??? Any thoughts as to what global may cause this? Cheers Monte From ambassador at fourthworld.com Sun Apr 4 23:23:00 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 20:23:00 -0700 Subject: Rev. 2.2/player controller bug on OS X standalones In-Reply-To: References: Message-ID: <4070D114.1040806@fourthworld.com> Monte Goulding wrote: >>>>>"Is this a bug only in standalones and if so why?" >>>>> >>>>>Yes; only in OS X standalones and only in audio-only players. Why? I >>>>>don't know; it was not a problem with Rev 1.1-built standalones. >>>>>For details: >>>>>http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? >>>>>id=337 >... So my logic that the Rev IDE maye be setting some > global is reasonable??? Any thoughts as to what global may cause this? I haven't verified it there, but if your results are consistently good in the Rev IDE it seems we're on our way to narrowing it down. Does it still work in Rev with the "Suspend IDE" option turned on? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Mon Apr 5 00:02:48 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 5 Apr 2004 13:32:48 +0930 Subject: Rev. 2.2/player controller bug on OS X standalones In-Reply-To: <4070D114.1040806@fourthworld.com> Message-ID: > I haven't verified it there, but if your results are consistently good > in the Rev IDE it seems we're on our way to narrowing it down. > > Does it still work in Rev with the "Suspend IDE" option turned on? AHA!... interestingly no. Hmm... very odd. There doesn't seem to be much in revFronScript or revBackScript that would change how a player behaves. Maybe one of the handled messages causes the screen to refresh though??? Cheers Monte From revlists at canelasoftware.com Mon Apr 5 00:07:28 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Sun, 4 Apr 2004 21:07:28 -0700 Subject: Call for URLs In-Reply-To: <406F2D78.9070800@fourthworld.com> References: <406F2D78.9070800@fourthworld.com> Message-ID: On Apr 3, 2004, at 1:32 PM, Richard Gaskin wrote: > I'm putting together a portal site for developers of multi-platform > net-savvy desktop applications, and would like to feature as many > Rev-based apps as possible. Hi Richard, Happy B-Day to Fourth World. May you never have to change that business card. I posted a simple chat stack in RevNet called Chatter Box. I wrote it years ago, but it has been updated to work with the current versions of Rev and MC. If you need it to be in standalone form, just let me know. -- Best regards, Mark Talluto 1536 W. 25th St. #278 San Pedro, CA 90732 tel: (310) 547-4718 fax: (310) 547-5213 http://www.canelasoftware.com From b.xavier at internet.lu Mon Apr 5 01:20:06 2004 From: b.xavier at internet.lu (MisterX) Date: Mon, 5 Apr 2004 07:20:06 +0200 Subject: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA In-Reply-To: <40708251.2090608@fourthworld.com> Message-ID: Richard, Roughly one third - roughly 60 controls. I spent around 1 to 3 hours adjusting the offsets! Note a big missing feature in the GM is the lack of offset to an object by x pixels. And choosing an object to offset to with the GM can be rather hard given the long long menu of controls - and the req. naming of all your controls to find it in that list! Compared to the script editor which is rather complex, and which I scripted by hand, it took half the time to do with the GM. The Script editor has only 98 controls of which around 60 are moveable. The hand script is rather large and complex! You have to figure out a rule (top right to bot left, or similar). Also count in the report time and the figuring out of bug 1222 - about 1/2 hour to an hour. I tried in vain to find the non-working mechanism. It may be easier now seeing all the bug reports in the session.log file. -- Economics of GM vs hand scripted: I would say that beyond 100 controls in a stack, the GM is much more performant. Below 100, the reliability vs time to script of the hand scripted geometry is superior but only on a single stack basis. One awesome trick to limit the scripting is to keep controls into a group. Resize the group and resize its children to the group. This saves you about 1/2 of the time in the scripting. Trick number two - depending on stack structure - like my discrete browser in the occurence is best scripted with a general resizestack script that resizes the groups and sends a message to each group to resize "itself". By itself, I mean that each group has it's own resizestack handler to which you send the message at the end of the resizestack handler. This limits the number of resizes operations based on the "view" and speeds things up a lot. Although I have a GUI ready to implement yet another GM, I haven't had the time to script it... Pierre, the trick didn't do it... - > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Sunday, April 04, 2004 23:47 > To: How to use Revolution > Subject: Re: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA > > > Xavier wrote - > > Well, since 2.2, the GM crashed RR, has completely > > resized my fields in the wrong place (162 controls > > in the discrete browser I dont wish to script in a > > resizestack handler!) > > Just curious: how long did it take you to assign the Geometry Manager > properties for those controls? > > And of the 162 controls, how many are repositioned/resized when the > stack is resized? > > These are sincere questions, as I'm analyzing the relative merits of > both resizeStack handlers and the GM under different circumstances, > looking for the "sweet spot" for each to help me make recommendations > for clients. I appreciated your feedback. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Mon Apr 5 02:29:09 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Apr 2004 00:29:09 -0600 Subject: Getting a field name In-Reply-To: <00a401c41a95$b39ee200$6601a8c0@precision340> Message-ID: <8BA3191E-86CA-11D8-9852-000A9567A3E6@swcp.com> On Sunday, April 4, 2004, at 04:39 PM, Ken Ray wrote: > > insert script of btn "clickTrapper" into front After I suggested a flag, I thought of this, too. Good idea. Dar From ambassador at fourthworld.com Mon Apr 5 02:39:44 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Apr 2004 23:39:44 -0700 Subject: Call for URLs In-Reply-To: References: <406F2D78.9070800@fourthworld.com> Message-ID: <4070FF30.3070307@fourthworld.com> Mark Talluto wrote: > > On Apr 3, 2004, at 1:32 PM, Richard Gaskin wrote: > >> I'm putting together a portal site for developers of multi-platform >> net-savvy desktop applications, and would like to feature as many >> Rev-based apps as possible. > > I posted a simple chat stack in RevNet called Chatter Box. I wrote it > years ago, but it has been updated to work with the current versions of > Rev and MC. > > > > If you need it to be in standalone form, just let me know. Thank you for the URL. Developer tools and examples are useful, and I'll have a page for that. But what I'm hoping to find are examples of shipping end-user products that make use of Rev's Internet capabilities. What I've found thus far are: - Chipp Walters' Hemmingway - Himalayan Academy Player - SmartDog - BeSharp - WebMerge Any others? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rodney at oceanbrowser.com Mon Apr 5 03:04:18 2004 From: rodney at oceanbrowser.com (Rodney Tamblyn) Date: Mon, 5 Apr 2004 19:04:18 +1200 Subject: delete url calls url In-Reply-To: <2CB7E1CA-8645-11D8-9533-0003936D012E@mac.com> References: <1798BA94-861E-11D8-B032-000393AA08D2@qldlearning.com> <2CB7E1CA-8645-11D8-9533-0003936D012E@mac.com> Message-ID: <74DDE9F6-86CF-11D8-92C0-003065F97100@oceanbrowser.com> Sorry guys, I made a mistake. I should have been using unload URL. The mistake came about because previously in the scripting I had been calling delete local xyz and delete global abc. I wanted to delete the URL from the cache, and I mistakenly extended the logic to delete url, without considering that it might actually try to issue a delete command to the http server. The web server treated it as a GET which was why I was seeing two calls to my script (which was generating email messages). R. From andre.rombauts at win.be Mon Apr 5 05:02:20 2004 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon, 5 Apr 2004 11:02:20 +0200 Subject: Getting server time from a client stack accessing it In-Reply-To: <4070FF30.3070307@fourthworld.com> Message-ID: <200404050901.i3591YdV029508@outmx005.isp.belgacom.be> Anyone having a good way of getting a server time? I thought of using .asp or .php files run on the server to generate a file that could be read by the Runrev stack but the application could possibly run with server that have not enabled Asp or Php for the user... :-( Andr? From ambassador at fourthworld.com Mon Apr 5 05:17:24 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Apr 2004 02:17:24 -0700 Subject: Getting server time from a client stack accessing it In-Reply-To: <200404050901.i3591YdV029508@outmx005.isp.belgacom.be> References: <200404050901.i3591YdV029508@outmx005.isp.belgacom.be> Message-ID: <40712424.6090208@fourthworld.com> Andre Rombauts wrote: > Anyone having a good way of getting a server time? If this is in a Transcript CGI, wouldn't calling "get the time" do it? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From andre.rombauts at win.be Mon Apr 5 05:34:49 2004 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon, 5 Apr 2004 11:34:49 +0200 Subject: Getting server time from a client stack accessing it In-Reply-To: <40712424.6090208@fourthworld.com> Message-ID: <200404050934.i359Y4S2015406@outmx008.isp.belgacom.be> Of course, if the runrev engine is put on the server and rights given to run it. Not obvious for some ISP. Andr? > -----Message d'origine----- > De : use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] De la part > de Richard Gaskin > Envoy? : lundi 5 avril 2004 11:17 > ? : How to use Revolution > Objet : Re: Getting server time from a client stack accessing it > > Andre Rombauts wrote: > > > Anyone having a good way of getting a server time? > > If this is in a Transcript CGI, wouldn't calling "get the time" do it? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From briany at qldlearning.com Mon Apr 5 05:54:34 2004 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 5 Apr 2004 05:54:34 -0400 Subject: Getting server time from a client stack accessing it In-Reply-To: <200404050901.i3591YdV029508@outmx005.isp.belgacom.be> Message-ID: <3E1C03F2-86E7-11D8-B032-000393AA08D2@qldlearning.com> I assume you mean the Rev stack is on a client machine and not on the server itself? Do you need to have the exact time the server is set to, or just the _correct_ time? If the latter, you might try looking into Network Time Protocol - here's a link: http://web.abnormal.com/~thogard/ntp/ If the former, you'll have to make some sort of requirement on the ISP, or possibly write a CGI in a couple of different languages if your aim is to support all ISPs. > Anyone having a good way of getting a server time? I thought of using > .asp > or .php files run on the server to generate a file that could be read > by the > Runrev stack but the application could possibly run with server that > have > not enabled Asp or Php for the user... :-( From davecalk at surfbest.net Mon Apr 5 06:38:17 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 05 Apr 2004 10:38:17 -0000 Subject: Another Area For Document Development In-Reply-To: <20040404223030.789DB930126@mail.runrev.com> Message-ID: <2199F42A-68DA-11D7-A70E-000393BEF9D0@surfbest.net> On Sunday, April 4, 2004, at 03:30 PM, use-revolution-request at lists.runrev.com wrote: > Subject: Re: How do I use a Tabbed Button??? > To: "How to use Revolution" > Message-ID: <000e01c41a75$281977b0$0101a8c0 at PJG> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I can send you an attachment off list coverng all the areas that you > cover > in . Let me know if you want me to know by sending me an email > offlist at > pgilmartin at ermventures.net > > Hi Guys, The above question is one other example of areas where the documentation is kind of lacking. The documentation is excellent when it comes to the textual aspects of the individual elements of RR. There is not much information on how to put the elements together into useable programs. Let me give examples of what I mean. When you enter "Tab Button" into the Document Search Engine, no such entry is found. This shows a basic problem. Why is a very common data selection method like this not even mentioned. A simple discussion about how to implement "Tab Buttons" should be addressed in the documents. There are many broad topics that are common to most programs. How to implement them with RR should be something that is addressed in the documents. Using simple tutorials for the most common usages of program interfaces as well as for the most common types of programs RR is aimed at is a must. The documents should give step by step examples with screen shots, etc. for these most basic elements; elements RR can able to run circles around other programing tools. Topics that should be in the documents: Using tap buttons, developing a simple database, developing simple web management / browser, using images, etc. Doing a search on these topics will reveal "nothing found" in many instances, to simple one card definitions in others. There is very little information that will help beginners to begin developing programs that deal with these common interfaces / application. The tools are there in Rev to create these interfaces and applications fairly simply. Part of the problem is that there is so much highly detailed information in the documents about the elements of the engine, the tools that we use to make it work, but there is not nearly as much information about how to put those elements together to make it do something that we want. (develop a database, access / transmit data over the web, etc.) That is why so many people are asking these same questions over and over again on this forum. (By the way, you guys are great about sharing information with folks and attempting to answer / solve peoples questions.) Giving examples on how to do these common things with Rev will do several things. 1. It will helps people to help themselves. They will have samples which they can work through and experiment with. It gives them terms that they then can look up in the dictionary, etc. How many questions do you see on how to build a menu? Not many. 2. It would help keep the old pros from burning out here on the this forum. They don't have to keep answering the same type of question over and over again. This can become frustrating because new folks are always come in. I am truly amazed by how hard you guys work at helping others solve their code issues. This is rare and is an example of how dedicated people are to seeing RR succeed. 3. It would free up a great deal of time and energy toward being able to explore more complex issues of getting Rev to work in other areas. It would allow more thought to go into wanted / needed features. It would also help develop working solutions, not only for problem areas within the rev environment, but for new market areas for which RR applications could be the ideal solution. Having to spend less time helping users figure out how to do the typical things that programs and interfaces do would help this forum delve a lot deeper into RR. That's good for all of us. The documentation as it is right now is like having an excellent dictionary that defines all of the words. There are descriptions of nouns, verbs, and pronouns, and how they work, and you can find a bit of information on how to put the sentences together, but there is very little is information provided on how to actually write the story. What are the common elements that every story writer needs in order to be able to develop his ideas? I'm not asking the write my story, but I do need to see examples of the most common elements that every writer uses to create a masterpiece. If you give examples / tutorials in these broadly used areas you will give people the tools to use Revolution to solve their own problems. By the examples you give, they can see their own programs. Then they can apply those techniques to their own applications. By reading the documents, I can see that the tools are there to create and my database, I just don't see how to put them together. Having the documentation deal with these common elements will make them much stronger as well as will make using them much easier to do. The documents still will need to add to the visual, and kinesthetic aspects in order to be truly powerful. I am not asking the documentation to get into advanced levels and details which apply to these areas. Advanced design issues can and should be addressed in books like Dans ebooks, and on various web sites. I have listed several areas that I feel would be beneficial to most new users as they are learning how to apply RR to there projects. Adding these to the documentation would give most people a starting place, which they can then adapt their specific applications. Using tap buttons, developing a simple database, developing simple web management / browser, using images... These are topics that I think need to be addressed in the documents. People should not have to ask the forum about how to add and work with tab buttons. Thoughts? What other areas / topics should be addressed in the documents? I'll post this to both lists, because I think it is relevant to both groups. Dave Calkins From davecalk at surfbest.net Mon Apr 5 06:38:20 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 05 Apr 2004 10:38:20 -0000 Subject: Another Area For Document Development In-Reply-To: <20040404223030.789DB930126@mail.runrev.com> Message-ID: >>> Hi, >>> >>> I have created a "Tabbed Button" and I'm now trying to figure out >>> how to use it! >> >> :-) >> >>> I can't seem to find any information on this anywhere, could >>> someone point me in the right direction please? >> >> It is somewhere in the dox, but i did not find it yet ;-) >> >>> I just want a number of tabs running across the top of the window >>> with a number of controls in each Tab. > Subject: Re: How do I use a Tabbed Button??? > To: "How to use Revolution" > Message-ID: <000e01c41a75$281977b0$0101a8c0 at PJG> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I can send you an attachment off list coverng all the areas that you > cover > in . Let me know if you want me to know by sending me an email > offlist at > pgilmartin at ermventures.net > > Hi Guys, I have been thinking about this one for a while too, sorry to harp about the documentation again, but this is another area that I feel is kind of weak. The above question highlights the one other major area where the documentation is very weak. The documentation is excellent when it comes to the textual aspects of the individual elements that make up the transcript programing language. What it is missing is information about how to take those elements and put them together, to be able to see how to develop the more common elements that are found in most programs. The documents need to discuss and show how to take all of the individual details or elements that are found in the present documents and be able to see how to put them together into some of the more common program elements or interfaces. Let me give examples of what I mean. I did a search for "Tab Button" in the Document Search Engine, no such entry was found. This shows part of the basic problem. Why is a very common data selection method like this not even mentioned. A simple discussion about how to implement "Tab Buttons" should be addressed in the documents. There are many broad topics that are common to most programs. How to implement them with RR should be something that is addressed in the documents. Using simple tutorials for the most common usages of program interfaces as well as for the most common types of programs RR is aimed at is a must. They should give step by step examples with screen shots, etc. for these most basic elements; elements RR can able to run circles around other programing tools. The following are elements or topics the documentation should address. New Rev programers need to see examples of how to implement the following in RR.... Using tap buttons, developing a simple database structure (not a stack), accessing that simple database, developing a simple web management / browser, using images, using arrays, the list could go on. Doing a search on each of these topics will reveal "nothing found" in many instances, to at most a simple one card definition. There is very little information that will help beginners to begin developing programs that deal with these common interfaces and applications. The tools are there in Rev to create these interfaces and applications fairly simply. Part of the problem is that there is so much highly detailed information in the documents about the elements of the engine, the tools that we use to make a program work, but there is hardly any information about how to take those elements and put them together to make them do something that we want. (develop a database, access / transmit data over the web, etc.) That is why so many people are asking these same questions over and over again on this forum. (By the way, you guys are great about sharing information with folks and attempting to answer / solve peoples questions.) Giving examples on how to do these common things with Rev will do several things. 1. It will helps people to help themselves. They will have samples which they can work through and experiment with. It gives them terms that they then can look up in the dictionary, etc. They can see how the elements, (field, variables, properties, etc.) work together to access a database. How many questions do you see on how to build a menu? Not many because folks can work through the tutorial and play with it and develop an understanding of how it works in rev. Then they apply it to there own applications. 2. It would help keep the old pros from burning out here on the this forum. They don't have to keep answering the same type of question over and over again. This can become frustrating because new folks are always come in. There is nothing in the docs to compare their own work to and so they ask for guidance here. I am truly amazed by how hard you guys work at helping others solve their code issues. This is rare and is an example of how dedicated people are to seeing RR succeed. 3. It would free up a great deal of time and energy toward being able to explore more complex issues of getting Rev to work in other areas. It would allow more thought to go into wanted / needed features. It would also help develop working solutions, not only for problem areas within the rev environment, but for new market areas for which RR applications could be the ideal solution. Having to spend less time helping users figure out how to do the typical things that interfaces and / or applications do would greatly help this forum delve a lot deeper into RR. That's good for all of us. The documentation as it is right now is like having an excellent dictionary that defines all of the words. There are descriptions of nouns, verbs, and pronouns, there are examples of how they work, and you can even find a bit of information on how to put the sentences together, but there is very little is information provided on how to actually write the story. What are the common elements that every story writer needs in order to be able to develop his ideas? I'm not asking the write my story, but I do need to see examples of the most common elements that every writer uses to create a masterpiece. If you give examples / tutorials in these broadly used areas you will give people the tools to use Revolution to solve their own problems. By the going through the examples that you given in the docs, they will be able to learn the techniques they need and will see how to apply them to their own applications. By reading the documents as they presently are, I can see the vast tools that are in Rev to create a database, I just can't see how actually to put them together to make it work. Having these common examples in the documentation will help me and every other RR user see how deal with these issues in on our own; it will help make each of us stronger programers; as well as will help make this forum much stronger in the long run. The documents still will need to add to the visual, and kinesthetic aspects in order to be truly powerful tool for everyone. I am not asking the documentation to get into advanced levels and details which apply to these areas. Advanced design issues can and should be addressed on this forum, in books like Dans ebooks, and on various web sites. I have listed several areas that I feel would be beneficial to most new users as they are learning how to apply RR to there projects. Adding these to the documentation would give most people a starting place, which they can then adapt their specific applications. Using tap buttons, developing a simple database, developing simple web management / browser, using images, using arrays.... These are topics that I think need to be addressed in the documents. People should not have to ask the forum general questions about how to add and work with tab buttons. Thoughts? What other general areas and topics should be addressed in the documents? I'll post this to both lists, because I think it is relevant to both groups. Dave Calkins From engleerica at yahoo.com Mon Apr 5 09:19:29 2004 From: engleerica at yahoo.com (Eric Engle) Date: Mon, 5 Apr 2004 06:19:29 -0700 (PDT) Subject: standalone back to stack? In-Reply-To: <20040405103852.483ED93013E@mail.runrev.com> Message-ID: <20040405131929.57211.qmail@web60507.mail.yahoo.com> I have some MC executables I wrote; is there any way to split a stack off from a metacard executable and read it as a stack in revolution? Suggestions? __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From jhurley at infostations.com Mon Apr 5 10:22:29 2004 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 5 Apr 2004 07:22:29 -0700 Subject: Getting a field name In-Reply-To: <20040405013503.BB31793014E@mail.runrev.com> References: <20040405013503.BB31793014E@mail.runrev.com> Message-ID: Ken Ray wrote: >Jim, > >How about this (answers the clicked field, but "cancels" if the next object >clicked is not a field): > >-- script of palette button: > >on mouseUp > global gClickedField > put "" into gClickedField > answer "Click on the application field." > insert script of btn "clickTrapper" into front > wait until gClickedField is not empty > if gClickedField <> "***CANCEL***" then > answer "The field clicked on was:" && gClickedField > else > -- something else was clicked on > -- do what you want in this case > end if >end mouseUp > >-- script of btn "clickTrapper" > >on mouseUp > global gClickedField > if word 1 of the target is "field" then > put the short name of the target into gClickedField > else > put "***CANCEL***" into gClickedField > end if > remove script of me from front >end mouseUp > > >HTH, > >Ken Ray Ken, Thanks for the suggestion. I tried it but got stuck in an endless wait. I don't see why that should have happened. I put a "beep" into the first line of the second "mouseUp" handler, but I never heard a peep (beep) from it. So why doesn't that front script receive the message? This is new territory for me. Jim -------------------------------------- Richard Gaskin wrote: > >I haven't seen the code so I'm just guessing here, but would it help to >add something like: > > set the defaultStack to the topStack > >-- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com Richard, Good thought! I had hopes for this suggestion. But once again mouseControl came up empty. That is the handler: on mouseup set the defaultStack to the topstack answer "Click on the field to use." with OK set the defaultStack to the topstack wait until the mouseclick set the defaultStack to the topstack put the mouseControl into tFieldName end mouseUP reveals an empty "theFieldName" . (As you see, I left no stone unturned in setting the default stack. I tried various and sundry combinations of the above..) I do have a work-around that works--As W. C. Fields said, when he bumped into Mae West: "Pardon my redundancy." on mouseup answer "Click on the field to use." with "OK" or "Cancel" if it is "Cancel" then exit mouseUP wait until the mouseclick put the clickloc into tLoc put the clickstack into tStackName put the number of fields in tStackName into tNum repeat with i = 1 to tNum if tloc is within the rect of field i of tStackName then put the name of field i of tStackName into tClickField exit repeat end if end repeat --and the rest is bookkeeping. end mouseup From dsc at swcp.com Mon Apr 5 10:56:36 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Apr 2004 08:56:36 -0600 Subject: Getting a field name In-Reply-To: Message-ID: <6F6954E2-8711-11D8-B689-000A9567A3E6@swcp.com> On Monday, April 5, 2004, at 08:22 AM, Jim Hurley wrote: > Thanks for the suggestion. I tried it but got stuck in an endless > wait. I don't see why that should have happened. Add 'with messages' to this line: > > wait until gClickedField is not empty Alternately, you can drop that and do the work (the part after the wait) in the frontscript mouseup. (In the front script mouseUp, you alternately can pass the mouseUp instead of putting the cancel message in the field. This allows you to get to a field with some clicks.) Dar Scott From yvescoppe at skynet.be Mon Apr 5 11:34:50 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 5 Apr 2004 17:34:50 +0200 Subject: Stack "askList" and Rev 2.2 Message-ID: Hi, I don't remember who wrote the stack "asklist"... I use it as substack of one of my main stack On Mac OS X10.3.3 with Rev 2.2 if I use : function askList tChoices,tCaption,windowTitle set the label of stack "AskList" to windowTitle put tChoices into field "ChoiceList" of stack "AskList" put tCaption into field "Caption" of stack "AskList" modal stack "AskList" --Opening a modal stack will cause this script to wait here until it is closed. return the selectedChoice of btn "OK" of stack "AskList" end askList OK BUT if I use sheet stack "AskList" and not modal stack "AskList" it causes rev to quit and return to the finder this was not the case with the previous versions of Rev, but well since Rev 2.2 .... Any idea ?? Thank you very much Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Mon Apr 5 11:49:15 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 5 Apr 2004 17:49:15 +0200 Subject: Sheet stack and Modal wih Rev 2.2 Message-ID: Hi, On Mac OS X10.3.3 with Rev 2.2 I have a window stack toplevel a btn which calls a substack as sheet in the new (sheet) window another btn calls a new window as modal this last modal window doens't appear It did well with previous version of Rev, not since Rev 2.2 What happens ? Greetings. Yves COPPE yvescoppe at skynet.be From b.xavier at internet.lu Mon Apr 5 12:27:53 2004 From: b.xavier at internet.lu (MisterX) Date: Mon, 5 Apr 2004 18:27:53 +0200 Subject: Stack "askList" and Rev 2.2 In-Reply-To: Message-ID: what's the session.log to say? > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Yves COPPE > Sent: Monday, April 05, 2004 17:35 > To: Use Rev > Subject: Stack "askList" and Rev 2.2 > > > Hi, > > I don't remember who wrote the stack "asklist"... > > > I use it as substack of one of my main stack > > On Mac OS X10.3.3 with Rev 2.2 > > if I use : > > function askList tChoices,tCaption,windowTitle > set the label of stack "AskList" to windowTitle > put tChoices into field "ChoiceList" of stack "AskList" > put tCaption into field "Caption" of stack "AskList" > modal stack "AskList" > --Opening a modal stack will cause this script to wait here until it > is closed. > return the selectedChoice of btn "OK" of stack "AskList" > end askList > > OK > > BUT > > if I use > sheet stack "AskList" and not modal stack "AskList" > > > it causes rev to quit and return to the finder > this was not the case with the previous versions of Rev, but well since > Rev 2.2 .... > > > > Any idea ?? > > Thank you very much > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From frank at backtalk.com Mon Apr 5 12:17:25 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 5 Apr 2004 17:17:25 +0100 Subject: Getting server time from a client stack accessing it In-Reply-To: <20040405103852.483ED93013E@mail.runrev.com> Message-ID: On Monday, April 5, 2004, at 11:38 AM, use-revolution-request at lists.runrev.com wrote: > Date: Mon, 5 Apr 2004 11:02:20 +0200 > From: "Andre Rombauts" > Subject: Getting server time from a client stack accessing it > To: "'How to use Revolution'" > Message-ID: <200404050901.i3591YdV029508 at outmx005.isp.belgacom.be> > Content-Type: text/plain; charset="iso-8859-1" > > Anyone having a good way of getting a server time? I thought of using > .asp > or .php files run on the server to generate a file that could be read > by the > Runrev stack but the application could possibly run with server that > have > not enabled Asp or Php for the user... :-( > > Andr? > Andre, Most servers return the current server time in the Date: HTTP header, so you should be able to ask for any page on the server to get the time. The date is formatted in a standard "Internet" time (see the RR docs). The response headers will look like this: HTTP/1.1 200 OK\r\n Server: foo\r\n Date: Mon, 05 Apr 2004 16:59:24 GMT\r\n ...\r\n \r\n -- Frank p.s. Do you return the Date: header in your http server? From dburgun at dsl.pipex.com Mon Apr 5 12:28:20 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 5 Apr 2004 17:28:20 +0100 Subject: Basic Stack/Card Question In-Reply-To: References: Message-ID: Hi, This is probably a very silly question, but as I'm a relative newbie and am trying to get my head around some of the RR concepts I thought I'd just ask this basic question here: I have a Stack (window) that is setup so that there are some controls that are constant within the window, and some that are on "Tabs" within the window. When the user selects a tab, I want the constant controls to remain where they are BUT the controls for that Tab to be displayed. I had thought that I could use a seperate Card for each "Tab", but it seems that a card covers the whole area of the Stack (window). Is this correct? If so, what is the best way to acheive what I want? Here is a simple diagram of what I want: +-------------------------------------------+ | Stack X | +-------------------------------------------+ | ConstCtrl1 ConstCtrl2 ConstCtrl3 | | | | Tab1 Tab2 Tab3 Tab4 | | | | Tab1Ctrl1 Tab1Ctrt2 Tab1Ctrl3 | | | | | +-------------------------------------------+ With the "Tab1" Tab selected. +-------------------------------------------+ | Stack X | +-------------------------------------------+ | ConstCtrl1 ConstCtrl2 ConstCtrl3 | | | | Tab1 Tab2 Tab3 Tab4 | | | | Tab2Ctrl1 Tab2Ctrt2 Tab2Ctrl3 | | | | | +-------------------------------------------+ With the "Tab2" Tab selected. Can this be done with RR? Another way I was shown was to create a Group of Controls and then either Show or Hide them depending on which tab the user presses. I can see that this would work, but I'm confused as to how I would actually create them within the RR IDE, e.g. Controls from Tab1 would overlap on Tab2 and it wouldn't be at all easy to edit or control? Any suggestions/ideas more then welcome. Thanks a lot to all that helped with my Tabbed Button Question, I see how to handle it now, but still a bit shakey on how to actually implement it in practice!! All the Best Dave From davecalk at surfbest.net Mon Apr 5 12:32:47 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 05 Apr 2004 16:32:47 -0000 Subject: use-revolution Digest, Vol 7, Issue 21 In-Reply-To: <20040405103852.1479E93013D@mail.runrev.com> Message-ID: <538218E2-6916-11D7-9270-000393BEF9D0@surfbest.net> On Monday, April 5, 2004, at 03:38 AM, use-revolution-request at lists.runrev.com wrote: > > I'll post this to both lists, because I think it is relevant to both > groups. > Dave Calkins > Sorry this got double posted here. Dave Calkins From davecalk at surfbest.net Mon Apr 5 12:40:06 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 05 Apr 2004 16:40:06 -0000 Subject: Getting a field name In-Reply-To: <20040405160022.04A1993012D@mail.runrev.com> Message-ID: <58DAB0CF-6917-11D7-9270-000393BEF9D0@surfbest.net> On Monday, April 5, 2004, at 09:00 AM, use-revolution-request at lists.runrev.com wrote: > Subject: Re: Getting a field name > To: How to use Revolution > Message-ID: <6F6954E2-8711-11D8-B689-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Monday, April 5, 2004, at 08:22 AM, Jim Hurley wrote: > >> Thanks for the suggestion. I tried it but got stuck in an endless >> wait. I don't see why that should have happened. > > Add 'with messages' to this line: > >> >> wait until gClickedField is not empty > > Alternately, you can drop that and do the work (the part after the > wait) in the frontscript mouseup. > > (In the front script mouseUp, you alternately can pass the mouseUp > instead of putting the cancel message in the field. This allows you to > get to a field with some clicks.) > > Dar Scott > Maybe I missed something in the original, but how about using the target rather than a repeat structure. get the short name of the target Dave Calkins From dsc at swcp.com Mon Apr 5 12:40:50 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Apr 2004 10:40:50 -0600 Subject: Basic Stack/Card Question In-Reply-To: Message-ID: On Monday, April 5, 2004, at 10:28 AM, David Burgun wrote: > I had thought that I could use a seperate Card for each "Tab", but it > seems that a card covers the whole area of the Stack (window). Is this > correct? Look at the idea of a shared group containing the constCtrln. Place that group on each of the tab. See 'place' in the Transcript dictionary. Dar Scott From heather at runrev.com Mon Apr 5 12:59:44 2004 From: heather at runrev.com (Heather Nagey) Date: Mon, 05 Apr 2004 17:59:44 +0100 Subject: Important information for Professional, SBE and old Studio license holders Message-ID: Dear Listees, Renewals for Small Business Edition and Professional Edition Revolution will be discontinued from 15th April 2004. You can still buy these license type renewals from our store until that date with the old pricing, after that you will need to crossgrade your old style license to one of the new license types. Small Business cross grades to Studio, Professional cross grades to Enterprise. This means if you have a Small Business Edition bought more than a year ago, after 15th April you will need to buy the Studio renewal at the price of $199. If you have a Professional Edition more than a year old, you need the Enterprise renewal at $499. If you bought a Studio license before the release of 2.2, you can purchase an update pack for the "with license" price of $99 only until April 15th. After that date, you will need to buy the update pack at the appropriate rate for a purchase within a year of buying a license or outside a year if your Studio license is more than a year old. Store link: Beware of line wrap! If this link doesn't work for you, you can navigate to the correct page by going to our online store using the link in the navigation bar of any of our webpages, then choose "upgrades and crossgrades" from the menu on the left, then "older license renewals". Warm regards, Heather -- Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From sanke at hrz.uni-kassel.de Mon Apr 5 13:00:40 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 05 Apr 2004 19:00:40 +0200 Subject: Another Area For Document Development Message-ID: <407190B8.90407@hrz.uni-kassel.de> On Mon, 7 Apr 2003, Dave Calkins wrote: > (snip) > I did a search for "Tab Button" in the Document Search Engine, no such > entry was found. This shows part of the basic problem. Why is a very > common data selection method like this not even mentioned. A simple > discussion about how to implement "Tab Buttons" should be addressed in > the documents. You should have searched for "tabbed button" (singular), this yields 18 topics containing the searchstring. Using my "topsearch" plugin (see User Contributions), I find 14 hits on 12 cards of the Transcript Dictionary, 6 hits on 3 cards of stack "How To.." (revDocsHow), 2 hits on one card of the Glossary, indeed nothing in the Tutorials, and one hit in the Menu Reference. > (snip) > There are many broad topics that are common to most programs. How to > implement them with RR should be something that is addressed in the > documents. Using simple tutorials for the most common usages of program > interfaces as well as for the most common types of programs RR is aimed > at is a must. They should give step by step examples with screen shots, > etc. for these most basic elements; elements RR can able to run circles > around other programing tools. > (snip) The problem is - given the richness of the Metatalk/Transcript language - and the tremendous variety of applications you can create, that it is difficult to cover all "basic" problems in such "simple tutorials". They probably cannot even be treated exhaustively in publications like Dan Shafer?s book. While only Metacard was around, I criticized its documentation on several occasions, because in quite a number of cases the entries served rather as "hints" or "reminders" instead of being very practical examples how to use language and syntax. This changed with Revolution. I think the documentation is by far the best part of the new Revolution IDE, which I appreciate very much. You can see from my contributions to this and other lists that I criticize Revolution on a regular basis because the Rev IDE is in many cases not suited for the kind of stacks I happen to develop, because its speed problems and mutually interfering IDE elements. I prefer to work with the Metacard IDE most of the time, but I very often use the Revolution documentation at the same time. This does not mean that I would not agree with you on some of your proposals. The Revolution team have devoted a lot of effort to develop the documentation, add tutorials, make the docs searchable etc., and they are already heading in the direction of improvement you indicate, in so far they will most probably appreciate your critical recommendations, but this will take time. You have to take into account that Revolution is still in its early stages of development and has existed only for 10 months as an independent product since it acquired Metacard last year. Maybe we will eventually see both printed and included (as part of the IDE) versions of the Revolution documentation that come up to your expectations and will come free with the purchase of Revolution. The old Toolbook documentation, which was a free part of the product, comprised two very thick volumes, the "Open Script Reference" and the "User Manual" along with more printed parts of the documentation, which were rather comprehensive and self-explanatory. The best documentation I can remember was that of "HyperPad", the first Hypercard clone for the now extinct DOS-world from Brightbill&Roberts, that came also free with the program. In the three years in which I used HyperPad alongside with Hypercard I think I have only directed questions at Brightbill&Roberts two or three times - as their documentation indeed covered all necessary aspects and included step-by-step practical examples for all parts of the PadTalk language and the HyperPad environment (but in retrospection it could well be that I did not yet have too many essential questions to ask back in 1990). Regards, Wilhelm Sanke From klaus at major-k.de Mon Apr 5 13:04:10 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 5 Apr 2004 19:04:10 +0200 Subject: Basic Stack/Card Question In-Reply-To: References: Message-ID: <41AB4A68-8723-11D8-B200-000A27B49A96@major-k.de> Hi David, i sent this mail yesterday evening, but it looks like it vanished in the haze somehow... > Hi, > > Sorry, it is difficult to explain, I'll try harder: > I have a number of "Tabs". When the user presses a Tab, I want the > controls under that "Tab" to be displayed and the ones on the old Tab > to disapear. Ahhh, that was my first thought, sorry... Well in THIS case you simply script on menupick newTab, oldTab ?? lock screen ?? ## just in case you have LOTS of controls in your groups ;-) ?? hide group oldTab ?? show grp newTab ?? unlock screen end menupick Click the tabs several times to get a "start-position", et voila... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Mon Apr 5 13:06:19 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 5 Apr 2004 19:06:19 +0200 Subject: Getting a field name In-Reply-To: References: <20040404150403.702859300F4@mail.runrev.com> Message-ID: <8EA85714-8723-11D8-B200-000A27B49A96@major-k.de> Hi Jim, this mail also did not make it yesterday evening, somehow...??? Molto misterioso :-) > ... > Klaus, > ... > What I think is needed is to to be able to solicit the "mouseControl > of stack ....", > to be able to direct the mouseControl function to the stack of > interest not the stack > of the original target. > I believe that Wouter found the same problem. Sorry, looks like i misunderstood your problem... But someone suggested the use of a frontscript, which might be a good idea... Just guessing: Create a button "XYZ" in your palette with this script: on mouseup global the_last_clicked_object put the long name of the mousecontrol into the_last_clicked_object end mouseup And then add this to your handler: >>> on mouseup >>> answer "Click on the application field." with OK >>> if it is empty then exit mouseUP insert script of button "XYZ" into front >>> wait until the mouseclick global the_last_clicked_object ## do whatever you wnat with it... remove script of btn "XYZ" from front >>> end mouseup Well, as i said, this is a quick thought, not tested, but sounds logical to me ;-) > Jim Regards Klaus Major klaus at major-k.de www.major-k.de From jperryl at ecs.fullerton.edu Mon Apr 5 13:07:44 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 5 Apr 2004 10:07:44 -0700 (PDT) Subject: Another Area For Document Development In-Reply-To: <2199F42A-68DA-11D7-A70E-000393BEF9D0@surfbest.net> Message-ID: FWIW, this is one of the areas I'm trying to tackle in my project. The solution I'm considering currently (which is geared strictly towards nonprogrammers) is to provide sample stacks with sample scripted goodies (ala Hypercard's 'Sample buttons' & 'Sample fields' stacks). I'm leaning towards this method for the following reasons: 1. People hate reading manuals/documentation (it can be confusing and frustrating for the very reasons you outlined even IF typing in 'tab buttons' revealed anything). 2. The documentation isn't visual, so even providing a cookbook script doesn't tell you how to go about implementing it in a meaningful way (especially if you are a nonprogrammer). 3. Sample stacks put the items in both a visual and contextual frame of reference. People can look at the item, look at the script, and observe the output without having to look at a page of code and then try copy-pasting or typing things in and hoping one got everything together where it was supposed to be). 4. Sample stacks provide for code reuse and modification -- the latter encourages the new programmer to experiment with the scaffolding of keeping the original goodie intact. Thoughts? Judy On Mon, 7 Apr 2003, Dave Calkins wrote: > Using tap buttons, developing a simple database, developing simple web > management / browser, using images... These are topics that I think > need to be addressed in the documents. People should not have to ask > the forum about how to add and work with tab buttons. > > Thoughts? From b.xavier at internet.lu Mon Apr 5 14:04:18 2004 From: b.xavier at internet.lu (MisterX) Date: Mon, 5 Apr 2004 20:04:18 +0200 Subject: 2.2 Geometry In-Reply-To: Message-ID: Before I have to take RR apart, does anyone know if there's an easy way to turn off the Geometry manager globally? x) From dburgun at dsl.pipex.com Mon Apr 5 13:53:47 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 5 Apr 2004 18:53:47 +0100 Subject: Basic Stack/Card Question In-Reply-To: References: Message-ID: Hi, >Look at the idea of a shared group containing the constCtrln. Place >that group on each of the tab. See 'place' in the Transcript >dictionary. Thanks this works, I implemented it like this: In the Stack Script, I added the lines: on preOpenStack place background GroupConstant on card CardTab2 place background GroupConstant on card CardTab3 end preOpenStack The "GroupConstant" group is defined on CardTab1 (The first card). In the Object Script for "GroupConstant" I added: on menuPick theNewTab theOldTab switch theNewTab case "Tab 1" go card CardTab1 break case "Tab 2" go card CardTab2 break case "Tab 3" go card CardTab3 break end menuPick This all works fine, the problem I have now is that when I re-run the Stack, I get an error since the group is already included in Cards "CardTab1" and "CardTab2". How to do I supress this? Thanks a lot for your help Dave From dburgun at dsl.pipex.com Mon Apr 5 13:55:32 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 5 Apr 2004 18:55:32 +0100 Subject: Basic Stack/Card Question In-Reply-To: <41AB4A68-8723-11D8-B200-000A27B49A96@major-k.de> References: <41AB4A68-8723-11D8-B200-000A27B49A96@major-k.de> Message-ID: Hi Klaus, I saw this and was trying to make it work, but I can't figure out how to actually create the groups in the IDE. For instance the controls for "Tab1" will be in the same postion as for "Tab2". How do I get around this? Thanks a lot for all your help All the Best Dave >Hi David, > >i sent this mail yesterday evening, but it looks like it vanished in >the haze somehow... > >>Hi, >> >>Sorry, it is difficult to explain, I'll try harder: >>I have a number of "Tabs". When the user presses a Tab, I want the >>controls under that "Tab" to be displayed and the ones on the old >>Tab to disapear. > >Ahhh, that was my first thought, sorry... > >Well in THIS case you simply script > >on menupick newTab, oldTab > lock screen > ## just in case you have LOTS of controls in your groups ;-) > hide group oldTab > show grp newTab > unlock screen > end menupick > >Click the tabs several times to get a "start-position", et voila... > > >Regards > >Klaus Major >klaus at major-k.de >www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Mon Apr 5 14:08:22 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 5 Apr 2004 20:08:22 +0200 Subject: Basic Stack/Card Question In-Reply-To: References: <41AB4A68-8723-11D8-B200-000A27B49A96@major-k.de> Message-ID: <399A847E-872C-11D8-B200-000A27B49A96@major-k.de> Hi David, > Hi Klaus, > > I saw this and was trying to make it work, but I can't figure out how > to actually > create the groups in the IDE. For instance the controls for "Tab1" > will be in the > same postion as for "Tab2". How do I get around this? No problem... 1. create all the objects for your first group... 2. select them all and, well, "goup" them :-) with CMD-G or menu -> Object -> Group Selected... 3. Then hide that group with the "Application Overview" so you can work on the other groups... Repeat step 1 to 3 for all the groups you need... Then you can show/hide one after another and place them where you like... Then click your tabs a couple of times to see it in action and create a "starting point"... That's it :-) > Thanks a lot for all your help > All the Best > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Mon Apr 5 14:24:43 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Apr 2004 12:24:43 -0600 Subject: Basic Stack/Card Question In-Reply-To: Message-ID: <82AFF8FE-872E-11D8-B689-000A9567A3E6@swcp.com> On Monday, April 5, 2004, at 11:53 AM, David Burgun wrote: > This all works fine, the problem I have now is that when I re-run the > Stack, I get an error since the group is already included in Cards > "CardTab1" and "CardTab2". How to do I supress this? You only need to place once during development. I misled you by pointing to the 'place' command instead of the IDE menu items Object-->Remove and Object-->Place. I think at this point, you just need to remove the code in the preOpenStack. Dar Scott From dburgun at dsl.pipex.com Mon Apr 5 14:30:21 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 5 Apr 2004 19:30:21 +0100 Subject: Basic Stack/Card Question In-Reply-To: <399A847E-872C-11D8-B200-000A27B49A96@major-k.de> References: <41AB4A68-8723-11D8-B200-000A27B49A96@major-k.de> <399A847E-872C-11D8-B200-000A27B49A96@major-k.de> Message-ID: Hi Again, Sorry if I am being dense but what is the "Application Overview" ? Do you mean the "Application Browser" ? Actually I just tried it and it's SOOOOOO obvious that I feel embarrassed. I just didn't "Get It", I understand now. Ok, I now have two ways to do this, one using a separate card with a "common" group that is placed on each card (assuming there is a way around the error that is shown when the stack is run other than the first time. And this way! Not sure which is the best way to go?! Thanks So Much for Your Help Everyone, I feel that I have learned quite a lot, at least the way the whole thing works seems much clearer to me now. Dave >Hi David, > >>Hi Klaus, >> >>I saw this and was trying to make it work, but I can't figure out >>how to actually >>create the groups in the IDE. For instance the controls for "Tab1" >>will be in the >>same postion as for "Tab2". How do I get around this? > >No problem... > >1. create all the objects for your first group... >2. select them all and, well, "goup" them :-) with CMD-G or >menu -> Object -> Group Selected... > >3. Then hide that group with the "Application Overview" so you can >work on the other groups... > >Repeat step 1 to 3 for all the groups you need... > >Then you can show/hide one after another and place them where you like... > >Then click your tabs a couple of times to see it in action and >create a "starting point"... > >That's it :-) > >>Thanks a lot for all your help >>All the Best >>Dave > >Regards > >Klaus Major >klaus at major-k.de >www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Apr 5 14:33:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Apr 2004 11:33:20 -0700 Subject: Another Area For Document Development In-Reply-To: References: Message-ID: <4071A670.1000801@fourthworld.com> Judy Perry wrote: > FWIW, this is one of the areas I'm trying to tackle in my project. The > solution I'm considering currently (which is geared strictly towards > nonprogrammers) is to provide sample stacks with sample scripted goodies > (ala Hypercard's 'Sample buttons' & 'Sample fields' stacks). I'm leaning > towards this method for the following reasons: > > 1. People hate reading manuals/documentation (it can be confusing and > frustrating for the very reasons you outlined even IF typing in 'tab > buttons' revealed anything). > > 2. The documentation isn't visual, so even providing a cookbook script > doesn't tell you how to go about implementing it in a meaningful way > (especially if you are a nonprogrammer). > > 3. Sample stacks put the items in both a visual and contextual frame of > reference. People can look at the item, look at the script, and observe > the output without having to look at a page of code and then try > copy-pasting or typing things in and hoping one got everything together > where it was supposed to be). > > 4. Sample stacks provide for code reuse and modification -- the latter > encourages the new programmer to experiment with the scaffolding of > keeping the original goodie intact. > > Thoughts? Maybe there are few sample stacks because are just less interesting to make. If RevNet is any index of this, note that the Tutorials category in the Stacks section is by far the most sparsely populated. In contrast, there are a lot of libraries and tools available through RevNet. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dburgun at dsl.pipex.com Mon Apr 5 14:43:27 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 5 Apr 2004 19:43:27 +0100 Subject: Basic Stack/Card Question In-Reply-To: <82AFF8FE-872E-11D8-B689-000A9567A3E6@swcp.com> References: <82AFF8FE-872E-11D8-B689-000A9567A3E6@swcp.com> Message-ID: Hi, Ahhh, thanks I hadn't spotted these Menu Commands! Actually I can't seem to get the "Place" command to High Light. I just copied and pasted the Group from one stack into another and it now appears on all cards I create, is this because the "Behave like a Background" Checkbox is on? If it were off, would I have to use the Place Command? Cheers Dave >On Monday, April 5, 2004, at 11:53 AM, David Burgun wrote: > >>This all works fine, the problem I have now is that when I re-run >>the Stack, I get an error since the group is already included in >>Cards "CardTab1" and "CardTab2". How to do I supress this? > >You only need to place once during development. > >I misled you by pointing to the 'place' command instead of the IDE >menu items Object-->Remove and Object-->Place. > >I think at this point, you just need to remove the code in the preOpenStack. > >Dar Scott > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Mon Apr 5 15:06:07 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 5 Apr 2004 12:06:07 -0700 (PDT) Subject: Another Area For Document Development In-Reply-To: <4071A670.1000801@fourthworld.com> Message-ID: Right, but, again, I'd guess that most folks perusing RevNet aren't total programming newbies. I don't find example stacks boring to make... but I'd probably find documentation not fun... still, the fun factor or lack thereof isn't necessarily an indicator of importance, is it? David with his tabs question -- if there were a buttons example stack that he could have taken apart, perhaps he wouldn't have needed 5 or so emails to the group... Not that the number is significant, but an absolute novice probably would have just given up in frustration and gone back to PowerPoint after the first two... Judy On Mon, 5 Apr 2004, Richard Gaskin wrote: > Maybe there are few sample stacks because are just less interesting to > make. If RevNet is any index of this, note that the Tutorials category > in the Stacks section is by far the most sparsely populated. > > In contrast, there are a lot of libraries and tools available through > RevNet. From dsc at swcp.com Mon Apr 5 15:08:40 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Apr 2004 13:08:40 -0600 Subject: Basic Stack/Card Question In-Reply-To: Message-ID: On Monday, April 5, 2004, at 12:43 PM, David Burgun wrote: > I just copied and pasted the Group from one stack into another and it > now appears on all cards I create, is this because the "Behave like a > Background" Checkbox is on? If it were off, would I have to use the > Place Command? Yes. It is set automatically. You can turn it off. Such a group is placed on a new card if it is on the current card. The "Behave like a Background" also affects the message path. The card and all controls not a group or in a group will see the shared group behind the card in the message path. If that is not what you want, you can turn it off, it is not really needed for sharing. Dar Scott From 3mcgrath at adelphia.net Mon Apr 5 15:09:58 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 5 Apr 2004 15:09:58 -0400 Subject: Another Area For Document Development In-Reply-To: References: Message-ID: Actually, for me I want and prefer both documented searchable documents (electronic) and printed documents to peruse through and or flip through when I am not sure of the name or concept I am looking for. I also download as many sample stacks as possible to see how others have treated a specific topic or question. However each of these has faults as well. If you don't know the exact word/phrase you want then electronic docs don't help. If you know exactly what you want then printed docs are slower than the electronic and can be a bit bulky to use. (You can't take them on the road.) Stacks are not easily searchable and must include more code than what will solve the problem you are looking for in order to work (good and bad here). A combination of all three is what I use and what I look for. I tear apart peoples code to see how they do it. I read the printed docs in a browsing way to get ideas on more than one topic and also to see that topic in its entirety. I use the electronic docs to quickly look up the exact syntax for an item and see related items quickly right from within REV. I think more descriptive samples in all of these is a good thing. I want to see more than two possible examples for each code. If it can be used with get and put than I want to see one of each etc. AND stop using the word itself to describe the word. If I don't know what the word means then using it in the example is not going to help. FWIW Tom On Apr 5, 2004, at 1:07 PM, Judy Perry wrote: > 1. People hate reading manuals/documentation (it can be confusing and > frustrating for the very reasons you outlined even IF typing in 'tab > buttons' revealed anything). > > 2. The documentation isn't visual, so even providing a cookbook script > doesn't tell you how to go about implementing it in a meaningful way > (especially if you are a nonprogrammer). > > 3. Sample stacks put the items in both a visual and contextual frame > of > reference. People can look at the item, look at the script, and > observe > the output without having to look at a page of code and then try > copy-pasting or typing things in and hoping one got everything together > where it was supposed to be). > > 4. Sample stacks provide for code reuse and modification -- the latter > encourages the new programmer to experiment with the scaffolding of > keeping the original goodie intact. > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From klaus at major-k.de Mon Apr 5 15:14:51 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 5 Apr 2004 21:14:51 +0200 Subject: Basic Stack/Card Question In-Reply-To: References: <82AFF8FE-872E-11D8-B689-000A9567A3E6@swcp.com> Message-ID: <83976EC0-8735-11D8-B200-000A27B49A96@major-k.de> Hi David, > Hi, > > Ahhh, thanks I hadn't spotted these Menu Commands! > Actually I can't seem to get the "Place" command to High Light. This will be available when on a card where the goup is not placed yet... > I just copied and pasted the Group from one stack into another "place"-ing a group on another card is ONLY available in the SAME stack! > and it now appears on all cards I create, is this because the "Behave > like a Background" Checkbox is on? Yes > If it were off, would I have to use the Place Command? Yes You got it :-) And all that can also be done by script: Hint: I use a lot of shortcuts like bg for background etc... ...just too lazy :-) ... place bg "name of group here" onto cd "name of card here" ... remove bg "name of group here" from cd "name of card here" ... Why do i use "bg" here instead of "grp" (for group), you might ask...? Well, "goups" are counted relative to cards and "backgrounds" relative to stacks!? It is a little confusing first, but i try to explain it "understandably" :-) Basically goups and backgrounds are the same! You have 2 different groups "A" and "B" in your stack... And you are on a card where only one group "A" is placed... Here you can: hide group "A" -> will work But: hide grp "B" will create an error -> can't find background or something... But 2 :-) On the same card you can: show bg "A" -> will work And: hide bg "B" -> not on this card, but will hide the group (!) "B", wherever it is... Another example: put the number of groups -> will return the number of all groups on the current card... put the num of bgs -> will return the number of ALL groups in the current stack... Hope that helps... > Cheers > Dave Regards Klaus Major klaus at major-k.de www.major-k.de P.S. To add a tiny bit of confusion: This has nothing to do with "backgroundbehaviour", which is just a property of groups/backgrounds :-D If in doubt, just use "bg" ;-) From chipp at chipp.com Mon Apr 5 15:19:02 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 05 Apr 2004 14:19:02 -0500 Subject: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA In-Reply-To: References: Message-ID: <4071B126.2070003@chipp.com> After playing around with GM for quite awhile, I've decided it works best for smaller projects where only a few things get resized/changed. I created a larger project (~50 controls) which some of the controls were cloned at runtime. GM worked fine in the IDE, but didn't work correctly in the runtime. I decided to write my own Layout Manager, which I'll be releasing sometime soon as a plugin. Also, Layout Manager will create the correct profiles for Mac,Win,Linux which capture the control's resize behavior, rect and position, along with setting certain stack props as well. LM will do all this with a custom prop set: altLayout (not using regular profiles prop set). The reason I wrote this plugin is: 1) It creates resize handler scripts which can then be edited (unlike GM which when it doesn't work, you can't fix) 2) It *also* manages geometry for Mac, PC and *other* which is important. For instance, the tab control takes up a lot more space horizontally on Macs than on PCs. 3) It combines (IMO) the sweet spots of GeoMgr and Profiles in a way that neither GM or Profiles can do currently. best, Chipp From SimPLsol at aol.com Mon Apr 5 15:32:10 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Mon, 5 Apr 2004 15:32:10 EDT Subject: Another Area For Document Development Message-ID: <1d0.1dbc0a0a.2da30e3a@aol.com> Judy, Richard, The value of sample stacks varies with the user. Experienced users, even those who came to Revolution with HyperCard experience, have less need of sample stacks. New users, who might otherwise give up on Revolution, may be "hooked" by some good samples and accompanying tutorials. It was the sample stacks in HyperCard that got me started. I added a "Birthday" field to the Addresses stack. Sixteen years later I have a 43 stack integrated, multi-user business system that sells for up to $70,000. It all started with a sample. Paul Looney From wouter.abraham at pi.be Mon Apr 5 15:38:07 2004 From: wouter.abraham at pi.be (Wouter) Date: Mon, 5 Apr 2004 21:38:07 +0200 Subject: 2.2 Geometry In-Reply-To: <20040405190827.DA146930151@mail.runrev.com> References: <20040405190827.DA146930151@mail.runrev.com> Message-ID: On 05 Apr 2004, at 21:08, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Mon, 5 Apr 2004 20:04:18 +0200 > From: "MisterX" > Subject: 2.2 Geometry > To: "How to use Revolution" > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > Before I have to take RR apart, > does anyone know if there's an > easy way to turn off the Geometry > manager globally? > > x) > Did you try to remove the the RevGeometryBack backscript from within the messagebox? (The button with this backscript can be found in the revLibrarystack.) If removing gives positive results then it narrows down the problem. (On the other hand, I ran in similar problems long ago in HC - time. And made a little handler which recorded the settings of all controls once they had their final size and location into a button which could restore every control if needed. It was also useful in trying out different layouts. I transposed this to mc/rev. If you are interested...) Greetings, WA From ambassador at fourthworld.com Mon Apr 5 16:10:11 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Apr 2004 13:10:11 -0700 Subject: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA In-Reply-To: <4071B126.2070003@chipp.com> References: <4071B126.2070003@chipp.com> Message-ID: <4071BD23.8020908@fourthworld.com> Chipp Walters wrote: > After playing around with GM for quite awhile, I've decided it works > best for smaller projects where only a few things get resized/changed. > > I created a larger project (~50 controls) which some of the controls > were cloned at runtime. GM worked fine in the IDE, but didn't work > correctly in the runtime. I decided to write my own Layout Manager, > which I'll be releasing sometime soon as a plugin. > ... > It creates resize handler scripts which can then be edited (unlike GM > which when it doesn't work, you can't fix) Scripting is good. Automated scripting can be even better. :) Thanks, Chipp. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gwp at accommodata.com Mon Apr 5 16:34:09 2004 From: gwp at accommodata.com (Gregg) Date: Mon, 05 Apr 2004 16:34:09 -0400 Subject: Another Area For Document Development References: <20040405190827.9D16F93014C@mail.runrev.com> Message-ID: <4071C280.8975FA7A@accommodata.com> Judy (among others) is quite right about the help that example stacks would be. But not just for new programmers. I've been programming for over 30 years, on mamy different systems, languages, and on a wide varietly of tasks, and I find Rev very slow to learn because the documentation per se is verbose, repetitive, and lacks such simple examples. How many hours have you spent with just a graphic learning what changing each of the properties actually changes? How baffled were you that the terminology used in the documentation does not coincide completely with the correct names of the properties? Or the realization that the Object Inspector does not allow inspection of all of an objects properties? Or that the Object Inspector's labels are inconsistent with the property names? I would like to see an Object Inspector which shows a generic object of the type (for normal, focusable, disabled, highlighted, &c.), and as each property is changed, the generic objects reflect this . Having had such a palette would have saved me enormous time and frustration. I can write one now, but I've got work to do. (Maybe when my load lightens...). From davecalk at surfbest.net Mon Apr 5 17:31:37 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 05 Apr 2004 21:31:37 -0000 Subject: use-revolution Digest, Vol 7, Issue 23 In-Reply-To: <20040405170604.8D06D930152@mail.runrev.com> Message-ID: <11D0141A-6940-11D7-8AC1-000393BEF9D0@surfbest.net> On Monday, April 5, 2004, at 10:06 AM, use-revolution-request at lists.runrev.com wrote: > > You should have searched for "tabbed button" (singular), this yields 18 > topics containing the searchstring. Using my "topsearch" plugin (see > User Contributions), I find 14 hits on 12 cards of the Transcript > Dictionary, 6 hits on 3 cards of stack "How To.." (revDocsHow), 2 hits > on one card of the Glossary, indeed nothing in the Tutorials, and one > hit in the Menu Reference. Actually I did search under "tabbed button" and the information you mention is what I referred to as the "simple one card definitions". "How to disable a tab in a tabbed button" etc. I entered the "Tab button" (a common name that should be found by the search engine) and used that as an example because that is the same mistake that we have seen time and time again over the past two years. I should have mentioned it in my post when I wrote it, but I was writing it at 2:00 in the morning. As one examines the information found on a search for "Tabbed Button" my point becomes very clear. The only information listed are the individual elements that makes up the controls needed to use a tabbed button. There is no post that one can go to that actually shows you how to integrate and use the elements in an application. Even having a reference to a cookbook that shows you how it looks and works would greatly reduce the number of questions. It won't eliminate all questions, but then the responses are easy. "Take a look in the cookbook to see how it works." > >> (snip) >> There are many broad topics that are common to most programs. How to >> implement them with RR should be something that is addressed in the >> documents. Using simple tutorials for the most common usages of >> program >> interfaces as well as for the most common types of programs RR is >> aimed >> at is a must. They should give step by step examples with screen >> shots, >> etc. for these most basic elements; elements RR can able to run >> circles >> around other programing tools. >> (snip) > > > The problem is - given the richness of the Metatalk/Transcript language > - and the tremendous variety of applications you can create, that it is > difficult to cover all "basic" problems in such "simple tutorials". Elements of that are true, the Metatalk/Transcript language are vast. I will disagree with the implied thought that because the language is vast, the documentation can't or shouldn't cover certain basics. My statement didn't suggest that the docs address "all" the basic problems that can come up because of this vastness of the language. Your statements partially make the point that my post was trying to address. Take a look at the most common themes of questions asked over the past two years. They most often fall into several categories. Developing and working with a database, using arrays, developing simple web management / browser features, using images.... > They probably cannot even be treated exhaustively in publications like > Dan > Shafer?s book. That is also why I stated that the docs emphasis should not be (and is not) aimed at advanced programing levels. They should touch upon the basics though. > > This changed with Revolution. I think the documentation is by far the > best part of the new Revolution IDE, which I appreciate very much. I agree that the documentation provides a great deal of information. They are much better in the volume or amount of information that they cover than most other platforms. My point was that there are only four actual topics found the tutorials. We occasionally see questions dealing with property profiles, but the lack of questions in these areas indicate that when you have tutorials, even ones that don't have a visual reference, they seem to work. Most of the cookbook section does not address any of these common programing concerns either. > > This does not mean that I would not agree with you on some of your > proposals. The Revolution team have devoted a lot of effort to develop > the documentation, add tutorials, Actually the categories found in the tutorials have not changed in two years. The getting started section, Menu builded, animation builder, geometry management, property profiles, and an independent study were found way back then. Where is a tutorial showing how to use the various features the "Application Builder?", etc. (by the way in 2.2 "Application Builder" returns only one reference to the AP and it is just a statement in the "Rev for experienced programers" section stating that the "Application Builder exists. Just another example of the glaring need. > make the docs searchable etc., and > they are already heading in the direction of improvement you indicate, > in so far they will most probably appreciate your critical > recommendations, but this will take time. Agreed, the ability to search the docs was a vast improvement. Kevin's reassurances about correcting the visual and kinesthetic aspects of the docs are very positive, and yes these things will take some time. I think they could speed things ups in many ways. They could utilize people on this list and the improve-rev list. There are many who could create a simple tutorials or cookbook additions that could be included in the docs. These could be and I think should be sought out by the rev team. If the rev resources are stretched to tight. These people could be rewarded for their contributions with rev licenses, resource help for their projects, what-ever. There are a number of folks who are attempting to make up for some of these deficiencies by creating web site references and resources that others can use to help them learn some of these things. Thats great. It is slightly self serving in that the more people that learn and use rev the longer and more productive the rev engine can become. For the most part I think that these actually tend to be a labor of love. They are an outside resource, but the can't actually make the documents better unless their work is incorporated into the documents themselves. > You have to take into account > that Revolution is still in its early stages of development and has > existed only for 10 months as an independent product since it acquired > Metacard last year. > I will disagree here. The fact that Metacard has been brought in house has not actually changed Rev much in this area. Yes, it has given Rev more security and control over the engine which is forward looking and long term in scope, but the actual changes are with regard to the documentation have been because of this minimal. Rev has been in development for several years. This is an on going aspect of programing languages. They either continue to grow and develop, meeting the needs of their programers, or they die a slow and painful death. I believe that RR has what it takes to grow, develop, and take market share from other languages. > Maybe we will eventually see both printed and included (as part of the > IDE) versions of the Revolution documentation that come up to your > expectations and will come free with the purchase of Revolution. > That would be nice but I'm not going to hold my breath. > > Regards, > > Wilhelm Sanke > > I know the the improve-rev list is specifically geared toward the professional programer and is where you are supposed to post suggestions for improving rev. I have posted the to that list as well. Because this list is where most new users are, why not use this list to develop the tutorial categories that folks think should be added. Dave Calkins From frank at backtalk.com Mon Apr 5 18:19:18 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 5 Apr 2004 23:19:18 +0100 Subject: Layout Manager In-Reply-To: <20040405213151.83E0A93006C@mail.runrev.com> Message-ID: <4809A0F9-874F-11D8-85CA-000A9580FCCE@backtalk.com> On Monday, April 5, 2004, at 10:31 PM, use-revolution-request at lists.runrev.com wrote: > > After playing around with GM for quite awhile, I've decided it works > best for smaller projects where only a few things get resized/changed. > > I created a larger project (~50 controls) which some of the controls > were cloned at runtime. GM worked fine in the IDE, but didn't work > correctly in the runtime. I decided to write my own Layout Manager, > which I'll be releasing sometime soon as a plugin. > > Also, Layout Manager will create the correct profiles for Mac,Win,Linux > which capture the control's resize behavior, rect and position, along > with setting certain stack props as well. LM will do all this with a > custom prop set: altLayout (not using regular profiles prop set). > > Chipp, If you haven't already, it's worth taking a look at how RealBasic handles layout (you can probably get a demo key to test it out) -- I only used RB for a short while before deciding to use RR instead, but my sense was that its GM was much simpler in concept and much more straightforward. When I first tried the GM in RR (which I have never actually used because I couldn't get it to work consistently) was that it was way too complicated, as though the developer never sat back and said "hmmm, I wonder if this is more complicated than I need?" -- Frank From davecalk at surfbest.net Mon Apr 5 18:36:00 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 05 Apr 2004 22:36:00 -0000 Subject: Another Area For Document Development In-Reply-To: <20040405190827.79FA193005D@mail.runrev.com> Message-ID: <15E7FB6F-6949-11D7-8AC1-000393BEF9D0@surfbest.net> > Subject: Re: Another Area For Document Development > > FWIW, this is one of the areas I'm trying to tackle in my project. The > solution I'm considering currently (which is geared strictly towards > nonprogrammers) is to provide sample stacks with sample scripted > goodies > (ala Hypercard's 'Sample buttons' & 'Sample fields' stacks). I'm > leaning > towards this method for the following reasons: > > 1. People hate reading manuals/documentation (it can be confusing and > frustrating for the very reasons you outlined... > 2. The documentation isn't visual, so even providing a cookbook script > doesn't tell you how to go about implementing it in a meaningful way > (especially if you are a nonprogrammer). > 3. Sample stacks put the items in both a visual and contextual frame > of > reference. People can look at the item, look at the script, and > observe > the output without having to look at a page of code and then try > copy-pasting or typing things in and hoping one got everything together > where it was supposed to be). > > 4. Sample stacks provide for code reuse and modification -... > Thoughts? > > Judy Hi Judy, Sounds like a great addition. Again it is aimed at the new programer. (We were all new at one time. Actually we usually are new quite a few times, because RR is rarely the first language a person has used. The learning process just comes faster if we have been through the process a few times.) > > Maybe there are few sample stacks because are just less interesting to > make. If RevNet is any index of this, note that the Tutorials category > in the Stacks section is by far the most sparsely populated. > True, the advanced programer will need tutorials a lot less, but even we benefit from them, it just less time for us to go through them. > In contrast, there are a lot of libraries and tools available through > RevNet. > Yes, but many newbies go "what's a library?" Searching the docs in 2.2 reveals 398 matches. He has to get down to #202 before he finds out what a library is. He does this by following the description Under the Heading "How to create a library": A library is a set of custom commands and custom functions for a specific application or a specific area of functionality. For example, if you?re writing an image-transformation application, you might want to collect your transformation handlers in one place, where you can easily use any of them from any script in your application. To create a code library, place the handlers you want to re-use in any object that?s available in your stack, then use the insert script command to add that object to the message path, as in the following example: insert script of group "MyLib" into back Handlers in that object?s script are now accessible to any other handler in Revolution. > -- > Richard Gaskin > Fourth World Media Corporation > _ > Right, but, again, I'd guess that most folks perusing RevNet aren't > total > programming newbies. > Yep, that's the point. > I don't find example stacks boring to make... but I'd probably find > documentation not fun... still, the fun factor or lack thereof isn't > necessarily an indicator of importance, is it? > Nope, but the "fun" that new people have in trying to work through these issues without a guide is an indicator of it's importance. > David with his tabs question -- if there were a buttons example stack > that > he could have taken apart, perhaps he wouldn't have needed 5 or so > emails to the group... Not that the number is significant, but an > absolute > novice probably would have just given up in frustration and gone back > to > PowerPoint after the first two... > > Judy People learn by example. Seeing an example of it , reading about it, taking it apart, seeing how it compares with what I want it to do. The examples don't have to be full featured programs, but they do need to be starting places which will get people going on the right track. Dave Calkins From davecalk at surfbest.net Mon Apr 5 18:46:23 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 05 Apr 2004 22:46:23 -0000 Subject: Another Area For Document Development In-Reply-To: <20040405213149.56431930172@mail.runrev.com> Message-ID: <7D132D49-694A-11D7-8AC1-000393BEF9D0@surfbest.net> > > A combination of all three is what I use and what I look for. I tear > apart peoples code to see how they do it. I read the printed docs in a > browsing way to get ideas on more than one topic and also to see that > topic in its entirety. I use the electronic docs to quickly look up the > exact syntax for an item and see related items quickly right from > within REV. > That is how most people learn, it is balanced. It makes it much easer to grasp the concepts. > I think more descriptive samples in all of these is a good thing. I > want to see more than two possible examples for each code. If it can be > used with get and put than I want to see one of each etc. > Most of the documentation that we have today deals with individual examples, but the examples are not in any context. At least the Cookbook provides some context of how the script behaves within the context of a script. > AND stop using the word itself to describe the word. If I don't know > what the word means then using it in the example is not going to help. > Yes Dave Calkins From mwieder at ahsoftware.net Mon Apr 5 19:06:12 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 5 Apr 2004 16:06:12 -0700 Subject: Manuals shipments In-Reply-To: <4070322B.9080304@hyperactivesw.com> References: <20040404104650.988049300BB@mail.runrev.com> <4070322B.9080304@hyperactivesw.com> Message-ID: <14320872753.20040405160612@ahsoftware.net> Jacque- Sunday, April 4, 2004, 9:04:59 AM, you wrote: JLG> On 4/4/04 9:37 AM, Jim Hurley wrote: >> Thanks for the thoughts. One by one I am discovering RR capabilities. >> (Has everyone but me received their copy of the printed documentation?) JLG> Yes. Except for those orders which have come in over the last few days, JLG> all manuals have all been sent out. If you haven't received yours, JLG> please contact support at support at runrev.com. If you can include a copy JLG> of your online order form in your support request, that will help a lot JLG> to track what's gone wrong. ...and patience helps here, too... my set just arrived today. -- -Mark Wieder mwieder at ahsoftware.net From davecalk at surfbest.net Mon Apr 5 19:13:31 2004 From: davecalk at surfbest.net (Dave Calkins) Date: Mon, 5 Apr 2004 16:13:31 -0700 Subject: Date Issue In-Reply-To: <20040405170604.8D06D930152@mail.runrev.com> Message-ID: Sorry Guys, I have been doing a bunch of dated text entry from last year. What I forgot about was how my last year's data can impact the order that messages are cashed in most email servers. It can really screw up the order that they are viewed in. I get the digest version so I don't see it here. I'll try to remember to change the data before I post to minimized that problem. Sorry in advance if I forget. Thanks for your understanding, Dave Calkins From monte at sweattechnologies.com Mon Apr 5 19:33:22 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 6 Apr 2004 09:03:22 +0930 Subject: standalone back to stack? In-Reply-To: <20040405131929.57211.qmail@web60507.mail.yahoo.com> Message-ID: Hi Eric Here's some code I posted a few days ago: on mouseUp answer file "Standalone" if it is "cancel" then exit to top put url ("binfile:"&it) into tStack repeat forever put offset("#!/bin/sh",char 10 to -1 of tStack) into tOff if tOff = 0 then exit repeat put char tOff+9 to -1 of tStack into tStack end repeat ask file "Stack" if it is "cancel" then exit to top put tStack into url ("binfile:"&it) end mouseUp Cheers Monte > > I have some MC executables I wrote; is there any way to split a > stack off from > a metacard executable and read it as a stack in revolution? Suggestions? From 3mcgrath at adelphia.net Mon Apr 5 15:14:20 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 5 Apr 2004 15:14:20 -0400 Subject: Another Area For Document Development In-Reply-To: References: Message-ID: <70FA88EA-8735-11D8-B793-000A95DA60FA@adelphia.net> AHHH, Powerpoint again. HHMMPF. WELLLL HHMMM On Apr 5, 2004, at 3:06 PM, Judy Perry wrote: > Not that the number is significant, but an absolute > novice probably would have just given up in frustration and gone back > to > PowerPoint after the first two... > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From monte at sweattechnologies.com Mon Apr 5 20:23:42 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 6 Apr 2004 09:53:42 +0930 Subject: Geometry Management In-Reply-To: <4071B126.2070003@chipp.com> Message-ID: Hi Chipp > The reason I wrote this plugin is: > > 1) It creates resize handler scripts which can then be edited (unlike GM > which when it doesn't work, you can't fix) > 2) It *also* manages geometry for Mac, PC and *other* which is > important. For instance, the tab control takes up a lot more space > horizontally on Macs than on PCs. > 3) It combines (IMO) the sweet spots of GeoMgr and Profiles in a way > that neither GM or Profiles can do currently. I still think that custom property based geometry management is the way to go because if it's done right you can edit those properties via script. There's a few two flaws in the Rev implementation that can be overcome by simplifying things: - the custom property set is too complicated to edit directly via script or via opening up the property set and hand editing if you need to - it doesn't handle relayering well if you are resizing or moving some objects relative to others (things like grouping objects become a nightmare) Both of these can be overcome with a simpler model and one that is aided by the way the engine loops over controls. When I tackled the issue I decided the simplest way to do things was to resize/position everything relative to it's owner. So to create a resizable panel all one needed to do was group objects and create a button that altered the geometry properties of the panel then call resizeStack. If I had my time again I'd now use the merge function at the core of my geometry manager. Each object would have a custom property (could be a set to handle platforms) that would contain a metge string like this: [[item 1 of tOwnerRect+5,item 2 of tOwnerRect+5,item 3 of tOwnerRect-5,item 4 of tOwnerRect-5]] Then all you need to do is get the rect of the owner and do the merge and set the rect of the object. Simple. To make things nice you could have a setProp handler that translated a string like: 5,5,-5,-5 into the merge string. Or just let people set the whole thing because then they could do what they wanted: [[item 1 of tOwnerRect+5,item 2 of tOwnerRect+5,the top of btn "x"-5,the left of btn "y"-5]] Let's say you want an object to be positioned relative to the bottom left of it's owner you just do that like this: [[item 3 of tOwnerRect-25,item 4 of tOwnerRect-45,item 3 of tOwnerRect-5,item 4 of tOwnerRect-5]] Anyway... these later ideas are mostly theory as I didn't implement mine this way. It's probably worth an investigation though. Cheers Monte From erikhans08 at yahoo.com Mon Apr 5 21:22:52 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 5 Apr 2004 18:22:52 -0700 (PDT) Subject: Important information for Professional, SBE and old Studio license holders In-Reply-To: Message-ID: <20040406012252.78530.qmail@web61107.mail.yahoo.com> --- Heather Nagey wrote: hello, i can't decipher the upgrade page. what do i need to do to upgrade these licenses? thanks, Erik Hansen >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dear Erik Hansen, Re: New code for your purchase of Professional Cross Grade from MetaCard -- 1 copy Thanks for purchasing Revolution. Due to the changes in the licensing system we have modified your license as follows: Student/Teacher, K12, Standard, SBE -> Commercial Studio (specially modified so you can develop and build on all platforms) All pro licenses, All other educational licenses -> Commercial Enterprise >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > Renewals for Small Business Edition and > Professional Edition Revolution will > be discontinued from 15th April 2004. You can > still buy these license type > renewals from our store until that date with > the old pricing, after that you > will need to crossgrade your old style license > to one of the new license > types. Small Business cross grades to Studio, > Professional cross grades to > Enterprise. This means if you have a Small > Business Edition bought more than > a year ago, after 15th April you will need to > buy the Studio renewal at the > price of $199. If you have a Professional > Edition more than a year old, you > need the Enterprise renewal at $499. > > If you bought a Studio license before the > release of 2.2, you can purchase > an update pack for the "with license" price of > $99 only until April 15th. > After that date, you will need to buy the > update pack at the appropriate > rate for a purchase within a year of buying a > license or outside a year if > your Studio license is more than a year old. > > Store link: > > &Category_Code=OLSR> > > Beware of line wrap! If this link doesn't work > for you, you can navigate to > the correct page by going to our online store > using the link in the > navigation bar of any of our webpages, then > choose "upgrades and > crossgrades" from the menu on the left, then > "older license renewals". > > Warm regards, > > Heather > > > -- > Heather Nagey ~ heather at runrev.com ~ > http://www.runrev.com/ > Runtime Revolution - User-Centric Development > Tools > Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 > ~~~ Check our web site for new Revolution > editions & special offers ~~~ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From erikhans08 at yahoo.com Mon Apr 5 21:36:50 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 5 Apr 2004 18:36:50 -0700 (PDT) Subject: OOPS, thought i was contacting only In-Reply-To: <20040406012252.78530.qmail@web61107.mail.yahoo.com> Message-ID: <20040406013650.42716.qmail@web61104.mail.yahoo.com> --- Erik Hansen wrote: > --- Heather Nagey wrote: > > hello, > i can't decipher the upgrade page. > what do i need to do to upgrade these licenses? > > thanks, > > Erik Hansen > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > Dear Erik Hansen, > > Re: New code for your purchase of > Professional > Cross Grade from > MetaCard -- 1 copy > > Thanks for purchasing Revolution. Due to the > changes in the licensing > system we have modified your license as > follows: > > > Student/Teacher, K12, Standard, SBE -> > Commercial > Studio (specially > modified > so you can develop and build on all platforms) > > All pro licenses, All other educational > licenses > -> Commercial Enterprise > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > Renewals for Small Business Edition and > > Professional Edition Revolution will > > be discontinued from 15th April 2004. You can > > still buy these license type > > renewals from our store until that date with > > the old pricing, after that you > > will need to crossgrade your old style > license > > to one of the new license > > types. Small Business cross grades to Studio, > > Professional cross grades to > > Enterprise. This means if you have a Small > > Business Edition bought more than > > a year ago, after 15th April you will need to > > buy the Studio renewal at the > > price of $199. If you have a Professional > > Edition more than a year old, you > > need the Enterprise renewal at $499. > > > > If you bought a Studio license before the > > release of 2.2, you can purchase > > an update pack for the "with license" price > of > > $99 only until April 15th. > > After that date, you will need to buy the > > update pack at the appropriate > > rate for a purchase within a year of buying a > > license or outside a year if > > your Studio license is more than a year old. > > > > Store link: > > > > > > &Category_Code=OLSR> > > > > Beware of line wrap! If this link doesn't > work > > for you, you can navigate to > > the correct page by going to our online store > > using the link in the > > navigation bar of any of our webpages, then > > choose "upgrades and > > crossgrades" from the menu on the left, then > > "older license renewals". > > > > Warm regards, > > > > Heather > > > > > > -- > > Heather Nagey ~ heather at runrev.com ~ > > http://www.runrev.com/ > > Runtime Revolution - User-Centric Development > > Tools > > Tel +44 (0) 131 7184333 Fax +44 (0) 845 > 4588487 > > ~~~ Check our web site for new Revolution > > editions & special offers ~~~ > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > ===== > erik at erikhansen.org > http://www.erikhansen.org > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From jacque at hyperactivesw.com Mon Apr 5 22:05:32 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Apr 2004 21:05:32 -0500 Subject: Another Area For Document Development In-Reply-To: <4071C280.8975FA7A@accommodata.com> References: <20040405190827.9D16F93014C@mail.runrev.com> <4071C280.8975FA7A@accommodata.com> Message-ID: <4072106C.6030401@hyperactivesw.com> On 4/5/04 3:34 PM, Gregg wrote: > Or that the Object Inspector's labels are inconsistent with the property > names? At least for this one, you can fix it by changing a setting in the preferences. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Mon Apr 5 22:33:50 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 05 Apr 2004 21:33:50 -0500 Subject: 2.2 Geometry In-Reply-To: References: Message-ID: <4072170E.3010906@chipp.com> X, Check out my AltCleanStack plugin at: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm It now has a checkbox to remove all the geometry manager props. -Chipp MisterX wrote: > Before I have to take RR apart, > does anyone know if there's an > easy way to turn off the Geometry > manager globally? > > x) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Apr 5 22:39:27 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 05 Apr 2004 21:39:27 -0500 Subject: Geometry Management In-Reply-To: References: Message-ID: <4072185F.3040401@chipp.com> Hi Monte, Layout Manager in fact does use a custom prop set. And, you of course can edit the propset. Also, you can edit the resizeStack script as well (which references the properties). The idea is to make Layout Manager a 'script helper' which isn't too complicated, but does the basic stuff well. And, it will work cross platform, which is something I don't think GM does that well -- meaning GM can't set different resize attributes for different platforms. best, Chipp Monte Goulding wrote: > Hi Chipp > > > I still think that custom property based geometry management is the way to > go because if it's done right you can edit those properties via script. > There's a few two flaws in the Rev implementation that can be overcome by > simplifying things: > - the custom property set is too complicated to edit directly via script or > via opening up the property set and hand editing if you need to > - it doesn't handle relayering well if you are resizing or moving some > objects relative to others (things like grouping objects become a nightmare) > > Both of these can be overcome with a simpler model and one that is aided by > the way the engine loops over controls. When I tackled the issue I decided > the simplest way to do things was to resize/position everything relative to > it's owner. So to create a resizable panel all one needed to do was group > objects and create a button that altered the geometry properties of the > panel then call resizeStack. > > If I had my time again I'd now use the merge function at the core of my > geometry manager. Each object would have a custom property (could be a set > to handle platforms) that would contain a metge string like this: > [[item 1 of tOwnerRect+5,item 2 of tOwnerRect+5,item 3 of tOwnerRect-5,item > 4 of tOwnerRect-5]] > > Then all you need to do is get the rect of the owner and do the merge and > set the rect of the object. Simple. > > To make things nice you could have a setProp handler that translated a > string like: > 5,5,-5,-5 into the merge string. Or just let people set the whole thing > because then they could do what they wanted: > [[item 1 of tOwnerRect+5,item 2 of tOwnerRect+5,the top of btn "x"-5,the > left of btn "y"-5]] > > Let's say you want an object to be positioned relative to the bottom left of > it's owner you just do that like this: > [[item 3 of tOwnerRect-25,item 4 of tOwnerRect-45,item 3 of > tOwnerRect-5,item 4 of tOwnerRect-5]] > > Anyway... these later ideas are mostly theory as I didn't implement mine > this way. It's probably worth an investigation though. > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Mon Apr 5 23:14:21 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 6 Apr 2004 12:44:21 +0930 Subject: Geometry Management In-Reply-To: <4072185F.3040401@chipp.com> Message-ID: > Hi Monte, > > Layout Manager in fact does use a custom prop set. And, you of course > can edit the propset. Also, you can edit the resizeStack script as well > (which references the properties). > > The idea is to make Layout Manager a 'script helper' which isn't too > complicated, but does the basic stuff well. And, it will work cross > platform, which is something I don't think GM does that well -- meaning > GM can't set different resize attributes for different platforms. Certainly sounds interesting. I'll be interested to see why you need both generate a script for each card/stack and set custom properties and undrer what circumstances this produces a better result than using a library script. Cheers Monte From sarahr at genesearch.com.au Mon Apr 5 23:46:38 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 6 Apr 2004 13:46:38 +1000 Subject: Copying data between fields In-Reply-To: <27D33C12-86A3-11D8-A9DF-003065F00EF2@mac.com> References: <27D33C12-86A3-11D8-A9DF-003065F00EF2@mac.com> Message-ID: <020D5DD0-877D-11D8-9A6E-0003937A97B8@genesearch.com.au> Answering what has now become two questions :-) 1. to copy lines from one field to another while preserving the styles, use this: set the htmlText of fld 2 to the htmlText of fld 1 2. To see how the Rev menus work, turn on Rev UI Elements in Lists from the View menu, open the Application Browser and look for revMenubar. You can check out the scripts from there. Cheers, Sarah On 5 Apr 2004, at 11:48 am, Glen Bojsza wrote: > I have tried looping through the lines and setting the textcolor (this > works fine) but I'm trying to figure out how the Edit Copy Objects and > Edit Paste Objects works...this does exactly what I want. > > But how can I script those menu commands? > >> >>> I have a list field which has a couple of lines that I have "grayed" >>> out while the rest are normal. I want to copy the lines from one >>> field to another field and be able to keep the format of the lines >>> that are "grayed" out. From b.xavier at internet.lu Tue Apr 6 00:41:51 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 6 Apr 2004 06:41:51 +0200 Subject: 2.2 Geometry In-Reply-To: Message-ID: WA Thanks, im working on my own set of geometry scripts now... Cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Wouter > Sent: Monday, April 05, 2004 21:38 > To: use-revolution at lists.runrev.com > Subject: Re: 2.2 Geometry > > > > On 05 Apr 2004, at 21:08, use-revolution-request at lists.runrev.com wrote: > > > Message: 2 > > Date: Mon, 5 Apr 2004 20:04:18 +0200 > > From: "MisterX" > > Subject: 2.2 Geometry > > To: "How to use Revolution" > > Message-ID: > > Content-Type: text/plain; charset="US-ASCII" > > > > > > Before I have to take RR apart, > > does anyone know if there's an > > easy way to turn off the Geometry > > manager globally? > > > > x) > > > > Did you try to remove the the RevGeometryBack backscript from within > the messagebox? (The button with this backscript can be found in the > revLibrarystack.) If removing gives positive results then it narrows > down the problem. > > (On the other hand, I ran in similar problems long ago in HC - time. > And made a little handler which recorded the settings of all controls > once they had their final size and location into a button which could > restore every control if needed. It was also useful in trying out > different layouts. I transposed this to mc/rev. If you are > interested...) > > Greetings, > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Tue Apr 6 00:52:09 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 6 Apr 2004 06:52:09 +0200 Subject: OOPS, thought i was contacting only In-Reply-To: <20040406013650.42716.qmail@web61104.mail.yahoo.com> Message-ID: > Subject: OOPS, thought i was contacting only A maillist with addresses in the CC is a sure recipee for embarassement - not the first time it happens! From ambassador at fourthworld.com Tue Apr 6 00:48:13 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Apr 2004 21:48:13 -0700 Subject: Another Area For Document Development In-Reply-To: References: Message-ID: <4072368D.7020201@fourthworld.com> Judy Perry wrote: > Right, but, again, I'd guess that most folks perusing RevNet aren't total > programming newbies. They wouldn't be if they took advantage of the goodies available through RevNet. :) > I don't find example stacks boring to make... but I'd probably find > documentation not fun... still, the fun factor or lack thereof isn't > necessarily an indicator of importance, is it? No, merely an indication of why more tutorials aren't coming from the developer community relative to the number of really great tools and libraries. I was looking at third parties because those are the only resources who don't affect feature development, bug fixes, and other resource requirements within RunRev. In a world of finite resources such as we live in, all efforts within an organization imply tradeoffs. While tutorials are important, their importance relative to the features they would displace differs depending on who you ask. In a world of finite resources that's a practical consideration, one which may help explain priorities to date. It may be worth noting that different personality types will require different levels of tutorials. Most here on this list have been able to reach competency with the learning materials currently available, while some who might want to learn the product will require more, and others still more, and some will never learn until the learning is delivered in the form of pill or something else that requires no active effort. :) Somewhere among all these personality types there's a point of diminishing returns. No matter how good the tutorials, there are only so many people in the gene pool with sufficient interest to do scripting, let alone learn it. It's possible to go broke chasing after other horses with a bucket of water who simply aren't thirsty. I agree we're not at the point of diminishing returns yet. But as we request RunRev to displace feature development in favor of supplimental learning tools we should be mindful of the implications, and choose an appropriate balance. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From b.xavier at internet.lu Tue Apr 6 01:12:31 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 6 Apr 2004 07:12:31 +0200 Subject: Geometry FIX In-Reply-To: Message-ID: In case it happens to you, here's a script that will put everything back in the stack. Well almost. Note: it may screw some things up too but it fixes more things that it screws them (like a certain geo thing)... enjoy Xavier on mouseup local d=4 # d controldelta put d into minw put the top of btn "view" + 24 + d into minh put the width of this stack - d into maxw put the height of this stack - 24 - d into maxh repeat with x = 1 to the number of controls put the parent of control x into xp if "group" is in xp then put the top of xp - d into minw put the left of xp - d into minh put the bottom of xp - d into maxw put the left of xp - d into maxh end if get the rect of control x put it into xr if item 1 of xr < minw then next repeat if item 2 of xr < minh then put minh into item 2 of xr if item 3 of xr > maxw then put maxw into item 3 of xr if item 4 of xr > maxh then put maxh into item 4 of xr if it is not xr then set the rect of control x to xr if the height of control x < 20 then set the height of control x to 20 set the top of control x to item 2 of xr end if if the width of control x < 20 then set the width of control x to 20 set the left of control x to item 1 of xr end if -- end repeat end mouseup From ambassador at fourthworld.com Tue Apr 6 01:35:34 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Apr 2004 22:35:34 -0700 Subject: Getting server time from a client stack accessing it In-Reply-To: <200404050934.i359Y4S2015406@outmx008.isp.belgacom.be> References: <200404050934.i359Y4S2015406@outmx008.isp.belgacom.be> Message-ID: <407241A6.2020409@fourthworld.com> Andre Rombauts wrote: >>>Anyone having a good way of getting a server time? >> >>If this is in a Transcript CGI, wouldn't calling "get the time" do it? > > Of course, if the runrev engine is put on the server and rights given > to run it. Not obvious for some ISP. I re-read your email after I sent that and realized it probably wasn't very helpful. I should learn to read before replying rather than after. ;) The time is available through Perl, yes? Would that be an option? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From janschenkel at yahoo.com Tue Apr 6 02:08:06 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 5 Apr 2004 23:08:06 -0700 (PDT) Subject: Basic Stack/Card Question In-Reply-To: Message-ID: <20040406060806.7072.qmail@web60503.mail.yahoo.com> --- David Burgun wrote: > Hi, > > This is probably a very silly question, but as I'm a > relative newbie > and am trying to get my head around some of the RR > concepts I thought > I'd just ask this basic question here: > > I have a Stack (window) that is setup so that there > are some controls > that are constant within the window, and some that > are on "Tabs" > within the window. When the user selects a tab, I > want the constant > controls to remain where they are BUT the controls > for that Tab to be > displayed. I had thought that I could use a seperate > Card for each > "Tab", but it seems that a card covers the whole > area of the Stack > (window). Is this correct? > > If so, what is the best way to acheive what I want? > Here is a simple > diagram of what I want: > > > +-------------------------------------------+ > | Stack X | > +-------------------------------------------+ > | ConstCtrl1 ConstCtrl2 ConstCtrl3 | > | | > | Tab1 Tab2 Tab3 Tab4 | > | | > | Tab1Ctrl1 Tab1Ctrt2 Tab1Ctrl3 | > | | > | | > +-------------------------------------------+ > > With the "Tab1" Tab selected. > > > > +-------------------------------------------+ > | Stack X | > +-------------------------------------------+ > | ConstCtrl1 ConstCtrl2 ConstCtrl3 | > | | > | Tab1 Tab2 Tab3 Tab4 | > | | > | Tab2Ctrl1 Tab2Ctrt2 Tab2Ctrl3 | > | | > | | > +-------------------------------------------+ > > With the "Tab2" Tab selected. > > Can this be done with RR? > > Another way I was shown was to create a Group of > Controls and then > either Show or Hide them depending on which tab the > user presses. I > can see that this would work, but I'm confused as to > how I would > actually create them within the RR IDE, e.g. > Controls from Tab1 would > overlap on Tab2 and it wouldn't be at all easy to > edit or control? > > Any suggestions/ideas more then welcome. > > Thanks a lot to all that helped with my Tabbed > Button Question, I > see how to handle it now, but still a bit shakey on > how to actually > implement it in practice!! > > All the Best > Dave > Hi Dave, My apologies for coming into this thread so late, but I just thought I'd point you to two example stacks by Shao Sean, available from the User Contributions section at the RunRev website. The first example uses show and hide of groups : The second exmple uses different cards : Being the tab=card type of developer myself, here's my advice : - put the tabbed button and any other control that you want to show on all cards, into a group - set the backgroundBehavior of this group to true, so that it will automatically be placed on a new card you create - since I usually have as many cards in my stack as there are tabs, the script of the tabbed button is -- on menuPick # the menuHistory of a tabbed button contains # the number of the selected item go card (the menuHistory of me) end menuPick -- - then I create as many card as I need, and add the appropriate controls to them - if I find I need an extra control needs to be shared among the different cards/tabs, I will edit the background group and add it there Hope this helped, Jan Schenkel. PS: for those wondering where the User Contributions ran off to in the new website structure : click on the 'Resources' button in the top button bar, then you'll find 'User Contributions' in the bar on the left-hand side. Or you can just bookmark : ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From norman at mrsystems.co.uk Tue Apr 6 04:11:36 2004 From: norman at mrsystems.co.uk (Norman Winn) Date: Tue, 6 Apr 2004 10:11:36 +0200 Subject: Hello from a Filemaker renegade Message-ID: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> Hello, I've just joined your list. I was one of those people hoping for great things from Filemaker 7. We got them - but it got slower. My main work is on a solution that represents data graphically. Already too slow so I am looking for alternatives. Tried Servoy a bit. Looks promising but still stuck with runtime payments. Good points: mimics FM, sets up an SQL db and the connection, a database person starts higher up the learning curve. I like the look of Javascript. Got a full response from support team on my problems. Bad points: Java problems under OS X. Still stuck with runtime payments. Didn't get drawn into coding. Downloaded RR and worked through the tutorial. Good points: Interface worked well. Free version lets me play as long as I like. Not so good (for me): I like concise languages. If they are verbose then they should need no, or little, commenting. The examples have so many comments I can't follow the logic. I have already experienced Applescript and find that its 'Englishness' soon descends into the arcane and opaque. Downloaded RealBasic, worked through the tutorial. Good points: Interface prettier. Found myself drawn into coding and experimenting almost immediately (used to love Delphi and would be there now if it ran on OS X). Lot's of database functions. Not so good: Still Carbon. Can't find aid for setting up SQL connections. Only get 10 days to play before committing. So, why am I here? First, a hunch. It seems like RR has something going for it. Second, I browsed the archives of this list and liked what I saw. If you could take the time to consider my questions it might have more influence than on just me. A lot of FM developers are hovering. Here are some questions: 1. The RR v RB comparison article is way out of date but suggests RB may be the best choice for heavy db work. Is this so? 2. I don't see much written on building front-ends to SQL in RR. Are they out there? Are there any tutorials on this? Is there a connection tutorial? 3. Are there functions, plug-ins, tool-sets to handle complex relationships, entity diagrams, data validation? 4. Icing on the cake? Has anyone already handled converting and documented it? Thank you for attention and for a lively, open forum, Norman Winn From xbury.cs at clearstream.com Tue Apr 6 04:22:24 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 6 Apr 2004 10:22:24 +0200 Subject: Hello from a Filemaker renegade Message-ID: Norman, >1. The RR v RB comparison article is way out of date but suggests RB >may be the best choice for heavy db work. Is this so? I've done some really heavy db work with HC, FMP, php sql. RR is up to par... Naturally, it's not FMP but given the events that FMP doesn't have it should be far more potent a solution... Web serving might be a bit more involved but not necessary as complicated as FMP. No java req. >2. I don't see much written on building front-ends to SQL in RR. Are >they out there? Are there any tutorials on this? Is there a connection >tutorial? I think making a stack browser should be pretty easy. I haven't tried but the connection is self explanatory. Others have more experience than me here. >3. Are there functions, plug-ins, tool-sets to handle complex >relationships, entity diagrams, data validation? Validation is a piece of cake in RR. plug-ins are somewhat obscure and can or not work - RR technical problem. Relationships are usually coded but making a GUI for it should be easy. RR's difference with FMP is that the data model is built directly in the interface compared to a separate GUI as in FM but nothing is stopping you from adopting the same model (eg same data, different views)... >4. Icing on the cake? Has anyone already handled converting and >documented it? I've converted parts of FMP databases to RR on numerous occasions but never documented it. A basic export, import should do... hope it helps. On 06.04.2004 10:11:36 use-revolution-bounces wrote: >Hello, > >I've just joined your list. I was one of those people hoping for great >things from Filemaker 7. We got them - but it got slower. My main work >is on a solution that represents data graphically. Already too slow so >I am looking for alternatives. > >Tried Servoy a bit. Looks promising but still stuck with runtime >payments. >Good points: mimics FM, sets up an SQL db and the connection, a >database person starts higher up the learning curve. I like the look of >Javascript. Got a full response from support team on my problems. >Bad points: Java problems under OS X. Still stuck with runtime >payments. Didn't get drawn into coding. > >Downloaded RR and worked through the tutorial. >Good points: Interface worked well. Free version lets me play as long >as I like. >Not so good (for me): I like concise languages. If they are verbose >then they should need no, or little, commenting. The examples have so >many comments I can't follow the logic. I have already experienced >Applescript and find that its 'Englishness' soon descends into the >arcane and opaque. > >Downloaded RealBasic, worked through the tutorial. >Good points: Interface prettier. Found myself drawn into coding and >experimenting almost immediately (used to love Delphi and would be >there now if it ran on OS X). Lot's of database functions. >Not so good: Still Carbon. Can't find aid for setting up SQL >connections. Only get 10 days to play before committing. > > >So, why am I here? First, a hunch. It seems like RR has something going >for it. Second, I browsed the archives of this list and liked what I >saw. > >If you could take the time to consider my questions it might have more >influence than on just me. A lot of FM developers are hovering. > >Here are some questions: > >1. The RR v RB comparison article is way out of date but suggests RB >may be the best choice for heavy db work. Is this so? > >2. I don't see much written on building front-ends to SQL in RR. Are >they out there? Are there any tutorials on this? Is there a connection >tutorial? > >3. Are there functions, plug-ins, tool-sets to handle complex >relationships, entity diagrams, data validation? > >4. Icing on the cake? Has anyone already handled converting and >documented it? > > >Thank you for attention and for a lively, open forum, > >Norman Winn > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From ambassador at fourthworld.com Tue Apr 6 04:42:39 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Apr 2004 01:42:39 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> References: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> Message-ID: <40726D7F.3090300@fourthworld.com> Norman Winn wrote: > Downloaded RR and worked through the tutorial. > ...I like concise languages. If they are verbose then > they should need no, or little, commenting. The examples have so many > comments I can't follow the logic. That's good feedback, thank you. The original version was more sparsely commented, but some considered it too sparse. Seems my last post on personality types and tutorials was more timely than I'd anticipated; it's hard to craft a tutorial for all personality types. A note on verbosity: while Transcript and other xTalks are sometimes referred to as "verbose", when comparing the number of tokens needed for a given task xTalks often compare favorably, sometimes by an order of magnitude or more. How many lines to create an alias file in BASIC? In Transcript it's one: create alias "hd/folder/myalias" to file "hd/folder/myfile" Same with reading a file: put url ("file:hd/folder/myfile") into tMyVar And download and running a stack via HTTP: go stack url "http://www.fourthworld.com/mystack.rev" And many more. I don't do enough work with MySQL yet to help with your first three questions, but on this one I might have something for you: ... > 4. Icing on the cake? Has anyone already handled converting and > documented it? Better: there's a popular tool for porting from FMP to MySQL called FM Migrator: Better still: it was made with Revolution. :) For an example of interfacing Rev with MySQL over the Internet, see Ken Ray's excellent Revzilla, a Rev-based front-end to BugZilla. You can grab it at: > Thank you for attention and for a lively, open forum, Welcome to the crew. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Apr 6 04:44:39 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Apr 2004 01:44:39 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: References: Message-ID: <40726DF7.3070003@fourthworld.com> xbury.cs at clearstream.com wrote: > plug-ins are somewhat obscure and can or not work - RR technical problem. Which plugins are giving you trouble? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From xbury.cs at clearstream.com Tue Apr 6 04:57:55 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 6 Apr 2004 10:57:55 +0200 Subject: Hello from a Filemaker renegade Message-ID: Richard, Rather the plug-in architecture is giving me trouble... The reveditscript and revselectedobjectchange to be specific... Creating a stack with those messages and putting them into the plug-ins folder, setting up the messages if not detected by the PI settings works OK. But having them work is a mistery. The revExample works fine you might say... So since I couldn't make my stacks work, I ported them to a revexample copy. - wouldn't work. Trying to replace the revexample scripts with mine had limited success but RR started crashing non-stop... I've asked on numerous occasions with no success. Entered bug reports and still am waiting with no solution in sight (see bug 34 which was commented yesterday by Geoff as not-important... Otherwise search for bugs with "plug" in their title... ANY solution is highly anticipated as I have a 3 plug-ins that are really cool which will help you in particular avoid the dreaded "section" menu in the revproperty palette... A second tool is to replace the script editor which keeps getting on my nerves with it's many faults which I've resolved in my own editor, and last but not least, I have a FruityToolbar with all the options missing in the RevMenuBar which I would like to release... And I got more coming... cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Richard Gaskin Sent by: use-revolution-bounces at lists.runrev.com 06.04.2004 10:44 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: Hello from a Filemaker renegade . xbury.cs at clearstream.com wrote: > plug-ins are somewhat obscure and can or not work - RR technical problem. Which plugins are giving you trouble? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From chipp at chipp.com Tue Apr 6 04:57:07 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 06 Apr 2004 03:57:07 -0500 Subject: Hello from a Filemaker renegade In-Reply-To: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> References: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> Message-ID: <407270E3.8040101@chipp.com> Hi Norman! First of all, welcome to our User Group. I hope you find the answers you are looking for. I run a company which makes enterprise web apps for Fortune 1000 companies. We pretty much use RR exclusively for our client-side web app development, be it Microsoft or Linux. You might want to check out an article on our Altuit Revolution website about one of our products: Hemingway. Be sure and read the part at the bottom about multi-tier. http://www.altuit.com/webs/altuit2/RunRevCaseStudies/Hemingway.htm Revolution (called RunRev, Rev or RR) is actually a combination of two products: the Rev IDE and the MetaCard engine. Of course, the company Runtime Revolution owns both of these, but looking at it this way may help you understand it more. The Rev IDE is an evolving product. Currently, it's at version 2.2. The engine development is also evolving as well. It was created over 10 years ago by Scott Raney, who recently sold it to the RR folks. Raney is still involved in programming it. Generally, one may find a few idiosyncrasies in the IDE. No deal killers at all, but a few annoying bugs here and there. Typically, the engine is found to be most robust with fewer bugs and a good support team. Many of us professional developers code our own plugins for Rev which do various things. A quick post to this list usually gets answers from a knowing individual regarding whether something is a bug or not...also there is an online bug tracking system at RunRev. For the hardcore, there's also the Open Source MetaCard IDE which also works with the engine. It's pretty sparse and doesn't have the bells and whistles the Rev IDE does, but it also is a more robust IDE as well. Each programmer has his/her own style. Some chose to use the integral database features of RR (the cards, fields, etc..as in the old HyperCard product). Others choose to hook up directly to MySQL or other ODBC DB via built in connectors. I believe there's even a SQLlite connector being written. Then there are those (like myself) who prefer a multi-tier approach. All approaches are valid and it's amazing what people can do. In fact, one individual here (Rob Cozens) has even built a 'SQL-like' DB inside of Rev. It's free -- like many resources are in this community. Frankly, I haven't come across anything I can't do with this program. I built a pretty cool button generator you can download if you like at www.buttongadget.com. It's all coded in native transcript, so you can get an idea of some of the possibilities of the product. Good luck and hope to see you around :-) best, Chipp Walters, Aluit,inc From andre.rombauts at win.be Tue Apr 6 05:18:40 2004 From: andre.rombauts at win.be (Andre Rombauts) Date: Tue, 6 Apr 2004 11:18:40 +0200 Subject: CGI Engine doc Message-ID: <200404060917.i369Ht7u011006@outmx014.isp.belgacom.be> I can hardly find any info on using Revolution as a CGI engine... Is it sucjh a secret? :-) I would need info about installing on a W2K server. Thanks! Andr? From ambassador at fourthworld.com Tue Apr 6 06:15:13 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Apr 2004 03:15:13 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: References: Message-ID: <40728331.4010906@fourthworld.com> xbury.cs at clearstream.com wrote: > Rather the plug-in architecture is giving me trouble... > The reveditscript and revselectedobjectchange to be specific... ... > Trying to replace the revexample scripts with mine had limited success but > RR started crashing non-stop... Hard crashes are extremely rare in my experience, so it's hard to guess what could be happening there without seeing the code causing the trouble. > I've asked on numerous occasions with no success. Entered bug reports and > still am waiting with no solution in sight (see bug 34 which was commented > yesterday by Geoff as not-important... My guess is that it's been prioritized low because the number of affected users would be two, you and the fella who reported the bug. ;) Most folks are either using messages directly (more on that below) or are so busy shipping applications that they don't have time to write their own script editor. > ANY solution is highly anticipated... The answer can be found on Peter Gabriel's first solo album: "When things get so big, I don't trust them at all. You want some control, you gotta keep it small. D.I.Y." The revEditScript message is not built into the engine. Where does it come from? Find where the IDE gets its messages and you have the key to replacing IDE components.... There are two aproaches to catching messages in plugins, which I'll call the engine method and the Rev method. The engine method uses the messages coming from the engine itself. In this case the message you're looking for is "editScript". You can insert a frontScript that traps that message to trigger any behavior you want, such as cloning a custom script editor window, even before the target gets it. You can trap any native message in a frontScript, as my Umbrellaman utility does for logging events (in RevNet). The Rev method seems to be an effort to save you the step of inserting your own frontScript by providing a dispatcher. This dispatcher traps the engine's messages and does an explicit "send" to all objects subscribed for them, such as plugins set up to receive them. While I appreciate the effort that went into a point-and-click method for setting that up, I tend to prefer working as close to the engine as possible, using native engine messages as opposed to an extra layer that mirrors the native messages. I don't mind writing a couple extra lines of code, and I think frontScripts are powerful enough to be well worth taking the time to learn to use them effectively. In your plugin's preOpenStack or libraryStack handler you just include: insert script of btn "MyPluginsFrontScript" into front In a button in your plugin containing the frontScript, you write: on editScript clone stack "MyScriptEditor" --- load script stuff into the cloned stack here end editScript Whenever you encounter a messsage prefixed with "rev" that isn't giving you what you want, just look past it for the engine message that triggers it and you're on your way to total control over your environment. For more on working with frontScripts, backScripts, and libraries see: . -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Apr 6 06:21:43 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Apr 2004 03:21:43 -0700 Subject: CGI Engine doc In-Reply-To: <200404060917.i369Ht7u011006@outmx014.isp.belgacom.be> References: <200404060917.i369Ht7u011006@outmx014.isp.belgacom.be> Message-ID: <407284B7.4000909@fourthworld.com> Andre Rombauts wrote: > I can hardly find any info on using Revolution as a CGI engine... Is it > such a secret? :-) Shhh...... if you promise not to tell anyone, here's the secret formula: 1. Put a copy of the engine in your cgi-bin. 2. Set the permissions to 755. 3. Your scripts will need to have the path to the engine in the first line as you would do with Perl, and the entry point is a startup handler. 4. Enjoy. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dburgun at dsl.pipex.com Tue Apr 6 06:45:19 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 11:45:19 +0100 Subject: [OT] - Peter Gabriel as a Programmer!!!!! In-Reply-To: <40728331.4010906@fourthworld.com> References: <40728331.4010906@fourthworld.com> Message-ID: >The answer can be found on Peter Gabriel's first solo album: > > "When things get so big, I don't trust them at all. > You want some control, you gotta keep it small. > D.I.Y." Good Grief! I didn't realize that PG was a Programmer!!!!! Amazing - off the buy the album! All the Best Dave From rev at virtualamnesia.com Tue Apr 6 07:10:14 2004 From: rev at virtualamnesia.com (Mark O'Neill) Date: Tue, 6 Apr 2004 12:10:14 +0100 Subject: I'm thinking of using Rev, can anyone advise? Message-ID: Hi There, I am a Delphi programmer, and due to user pressure I'm forced(!) to port my Windows application to the Mac platform. I have looked at various alternatives, including CodeWarrior, Python and Java, but Rev seems the most logical as it produces stand-alone executables "out of the box". However, I have downloaded the demo and am a bit unnerved at the apparent simplicity of the language(!), so I thought I'd post my question here to see if the application that I want to design is possible to complete in Rev. I hope you can help. THE APPLICATION =============== In essence, I want to create a word processor kind of a program that can handle specific paragraph attributes such as Keep Together, Keep With Previous etc. along with: 1. Page Break control (where the page break can be shown visibly on the page and deleted if necessary) 2. Paragraphs can have different "styles" - including different margin indentations per style. Bold, Italic etc. 3. Print Preview - although, if a WYSIWYG editor is possible to code in Rev, this is not really required. 4. Print. 5. Save as TXT, RTF, HTML and PDF. 6. Find & Replace. 7. Multiple UNDO / REDO. I also need a list box which contains a navigation control that can jump to specific bookmarks within the document. The list box items really need to have "Owner Draw" properties so that I can display custom icons next to the list names, and if possible create a tree-noded list. OK, sorry for the huge message, but I want to make sure that this is at all possible before investing both time, effort and money into Rev, and if anyone has attempted to write an editor in Rev previously, I'd really like to know how you got on. Thanks for your help. All the best, Mark. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004 From dburgun at dsl.pipex.com Tue Apr 6 07:41:56 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 12:41:56 +0100 Subject: A Newbie's Feedback on Documentation and In-Reply-To: <40726D7F.3090300@fourthworld.com> References: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> <40726D7F.3090300@fourthworld.com> Message-ID: Hi, Just got a couple of spare minutes so I thought I'd share my thoughts on my RunRev experience so far........ I have read the thread on "Document Development" with interest and basically I think that there is a need for some documentation on how to put things together in RunRev. For instance, I looked at the documentation for the "Tabbed Button" which once you understand how the rest of the controls have to be placed is fine. The problem is that when you select the "Tabbed Button" control, you get what apprears to be a "Pane" underneath the actual Tabs the user clicks on. I assumed that what I needed to do is to make the Tabbed Area as big as I needed to contain the controls I wanted to associate with that Tab and by adding other controls within this area would associate them with that "Tab", so that they would be displayed when the user clicked that Tab. Having placed some controls on the first Tab, I then spent the best part of an hour trying to figure out how to make the IDE select subsequent tabs. It was only after getting help from this list I realized how the "Tabbed Button" control actually worked (many thanks to all who helped). Once I knew this, the documentation did actually hint at this way of doing it, but no where did it actually explain how the control *should/could* be usefully used. Basically the list saved me a lot of time and energy but it would have been better IMHO if this had been spelt out beforehand in the docs for the Tabbed Button. Sample Stacks are a good way of showing different ways of handling the same problem, but by their nature they don't really give you an overview of how the initial developer intended the control to be used. I think that a book on GUI Interface Elements would be really usefull, this book would concentrate just on getting the controls to work together and not on any specific task and would have no real logic programming behind it. Just my twopenneth! Dave From dburgun at dsl.pipex.com Tue Apr 6 07:52:20 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 12:52:20 +0100 Subject: RunRev 2.2 and 2.1.2 Printing Crash In-Reply-To: <407284B7.4000909@fourthworld.com> References: <200404060917.i369Ht7u011006@outmx014.isp.belgacom.be> <407284B7.4000909@fourthworld.com> Message-ID: Hi, Whenever I try to print a Stack Script using RunRev 2.1.2 or 2.2, I get an: "Application has unexpectedly quit - Error type 2" This happens under MacOS 9.2 and 10.2.8. Does anyone have any idea of what the problem is and how to get around/fix it? Other App print just fine. Thanks Dave From xbury.cs at clearstream.com Tue Apr 6 07:53:37 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 6 Apr 2004 13:53:37 +0200 Subject: I'm thinking of using Rev, can anyone advise? Message-ID: Mark, Other than the preview and the pdf export which can be coded separately and included in your app, it's all possible. You would have to implement multple undo's yourself but it's easy. My ClipperX application does already most of the features you want... http://monsieurx.com/modules.php?name=News&file=article&sid=86 The one thing you cannot do is paragraphs with different indents/tabs within one field. cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 "Mark O'Neill" Sent by: use-revolution-bounces at lists.runrev.com 06.04.2004 13:10 Please respond to How to use Revolution To: cc: Subject: I'm thinking of using Rev, can anyone advise? . Hi There, I am a Delphi programmer, and due to user pressure I'm forced(!) to port my Windows application to the Mac platform. I have looked at various alternatives, including CodeWarrior, Python and Java, but Rev seems the most logical as it produces stand-alone executables "out of the box". However, I have downloaded the demo and am a bit unnerved at the apparent simplicity of the language(!), so I thought I'd post my question here to see if the application that I want to design is possible to complete in Rev. I hope you can help. THE APPLICATION =============== In essence, I want to create a word processor kind of a program that can handle specific paragraph attributes such as Keep Together, Keep With Previous etc. along with: 1. Page Break control (where the page break can be shown visibly on the page and deleted if necessary) 2. Paragraphs can have different "styles" - including different margin indentations per style. Bold, Italic etc. 3. Print Preview - although, if a WYSIWYG editor is possible to code in Rev, this is not really required. 4. Print. 5. Save as TXT, RTF, HTML and PDF. 6. Find & Replace. 7. Multiple UNDO / REDO. I also need a list box which contains a navigation control that can jump to specific bookmarks within the document. The list box items really need to have "Owner Draw" properties so that I can display custom icons next to the list names, and if possible create a tree-noded list. OK, sorry for the huge message, but I want to make sure that this is at all possible before investing both time, effort and money into Rev, and if anyone has attempted to write an editor in Rev previously, I'd really like to know how you got on. Thanks for your help. All the best, Mark. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rev at virtualamnesia.com Tue Apr 6 08:17:47 2004 From: rev at virtualamnesia.com (Mark O'Neill) Date: Tue, 6 Apr 2004 13:17:47 +0100 Subject: I'm thinking of using Rev, can anyone advise? In-Reply-To: Message-ID: Hi Xavier, Thanks for your response. | Other than the preview and the pdf export which can | be coded separately and included in your app, it's all | possible. By "coded yourself", do you mean code in the Rev Language, or write a C++ dll to handle the calls? | You would have to implement multple undo's | yourself but it's easy. Well, that's good to hear. :-) How did you implement the multiple UNDO may I ask? Did you just sick all changes into a dynamic array? | My ClipperX application does already most of the features you want... | http://monsieurx.com/modules.php?name=News&file=article&sid=86 Hey, it looks nice! | The one thing you cannot do is paragraphs with different indents/tabs | within one field. Do you mean that all paragraphs must have the same indents? Damn. OK, how about a work around... Can Rev display HTML tables? if so, I suppose I could use nested tables to obtain the same effect? Thanks for your feedback. I appreciate it. Mark. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004 From dburgun at dsl.pipex.com Tue Apr 6 08:22:58 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 13:22:58 +0100 Subject: I'm thinking of using Rev, can anyone advise? In-Reply-To: References: Message-ID: >| Other than the preview and the pdf export which can >| be coded separately and included in your app, it's all >| possible. > >By "coded yourself", do you mean code in the >Rev Language, or write a C++ dll to handle >the calls? They are called Shared Libraries on the Mac and as far as I am aware you will need to use the "Externals" SDK to interface to C/C++. I am waiting for some response on some problems I am experiencing using the SDK, but if it turns out that you need to interface to C/C++ then I could probably save you some time and effort in getting going. You need need CodeWarrior in order to compile/generate the code. Let me know if and when you get there and I'd be happy to help. All the Best Dave From andre.rombauts at win.be Tue Apr 6 08:27:44 2004 From: andre.rombauts at win.be (Andre Rombauts) Date: Tue, 6 Apr 2004 14:27:44 +0200 Subject: Getting server time from a client stack accessing it In-Reply-To: Message-ID: <200404061227.i36CRj5Z014986@outmx017.isp.belgacom.be> Great tip Frank, indeed! Thanks. It is working fine... Here is the script I made. The mouseUp is a button handler being invoked after typing a server URL under the form www.name.domain. The server headers contain the Internet time but without the UTC + offset, thus the function adds +0000 to set it correctly the GMT time returned. Once more an example of how easy it is to 'create' with Run Rev! ===== on mouseUp put empty into field "fDate" put getServerTime (the text of field "inputURL") into varDate convert varDate from internet date and time to system date and time put varDate into field "fDate" end mouseUp function getServerTime serverURL put "http://" & serverURL into varURL get URL varURL put libURLLastRHHeaders() into varDate set itemDelimiter to space return item 2 to 6 of line lineOffset("Date:",varDate) of varDate & " +0000" end getServerTime ===== > Most servers return the current server time in the Date: HTTP > header, so you should be able to ask for any page on the > server to get the time. The date is formatted in a standard > "Internet" time (see the RR docs). > > The response headers will look like this: > > HTTP/1.1 200 OK\r\n > Server: foo\r\n > Date: Mon, 05 Apr 2004 16:59:24 GMT\r\n > ...\r\n > \r\n > > > -- Frank From rev at virtualamnesia.com Tue Apr 6 08:29:51 2004 From: rev at virtualamnesia.com (Mark O'Neill) Date: Tue, 6 Apr 2004 13:29:51 +0100 Subject: I'm thinking of using Rev, can anyone advise? In-Reply-To: Message-ID: | Let me know if and when you get there and I'd be happy to help. Wow, thanks Dave! That's extremely kind of you. Mark. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004 From dburgun at dsl.pipex.com Tue Apr 6 08:30:58 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 13:30:58 +0100 Subject: RunRev and SourceSafe In-Reply-To: <200404060917.i369Ht7u011006@outmx014.isp.belgacom.be> References: <200404060917.i369Ht7u011006@outmx014.isp.belgacom.be> Message-ID: Hi, Has anyone had any experience of using RunRev and SourceSafe? My company uses SourceSafe and I have to check my work into the database, but before I do I would like to know if there are any problems with this. Also what form of CheckOut behavour should I use? Does RR use CKID resources, does it hurt to have a CKID in a RR stack? Or should I use the MacOS File lock method. Any advice appreciated. Cheers Dave From gwp at accommodata.com Tue Apr 6 08:36:57 2004 From: gwp at accommodata.com (Gregg) Date: Tue, 06 Apr 2004 08:36:57 -0400 Subject: Another Area For Document Development References: <20040406045810.152C793019C@mail.runrev.com> Message-ID: <4072A466.EBB0036F@accommodata.com> Jacque wrote: > > Or that the Object Inspector's labels are inconsistent with the property > > names? > > At least for this one, you can fix it by changing a setting in the > preferences. Thanks for that illumination. This is true for "Basic Properties" and some of the others. However it is not true for "Colors & Patterns". The inconsistencies (and the incompleteness) make the Object Inspector untrustworthy, or confusing at best. From xbury.cs at clearstream.com Tue Apr 6 10:04:29 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 6 Apr 2004 16:04:29 +0200 Subject: I'm thinking of using Rev, can anyone advise? Message-ID: On 06.04.2004 14:17:47 use-revolution-bounces wrote: >Hi Xavier, > >Thanks for your response. RR users are revolutionary in terms of being helpful! ;) >| Other than the preview and the pdf export which can >| be coded separately and included in your app, it's all >| possible. > >By "coded yourself", do you mean code in the >Rev Language, or write a C++ dll to handle >the calls? you could script this in transcript maybe. Taking a screenshot for the preview seems dubitable though. Translating to a pdf, I couldn't tell you but just the codecs in use in pdfs should be processor intensive... That's best done in an external. >| You would have to implement multple undo's >| yourself but it's easy. > >Well, that's good to hear. :-) > >How did you implement the multiple UNDO may >I ask? Did you just sick all changes into >a dynamic array? That would the way. You can make them even persistent via custom properties. The best and lightest way might be to record field open/close instead of typing though. Eventually a timed message to record changes might be very efficient but might miss a few keystrokes (trivial!) >| My ClipperX application does already most of the features you want... >| http://monsieurx.com/modules.php?name=News&file=article&sid=86 > >Hey, it looks nice! You haven't seen the new web browser im making! >| The one thing you cannot do is paragraphs with different indents/tabs >| within one field. >Do you mean that all paragraphs must have >the same indents? Damn. You could "simulate" different indents... But the user might edit them... >OK, how about a work around... Can Rev display >HTML tables? if so, I suppose I could >use nested tables to obtain the same effect? Yes and no. my new browser is the first I know that handles HTML tables in RR. It does it via the tabstops which are set according to the width of the tables. This requires tabs which your user can edit. However, if you look at the script editor, the annoying indentation routine prevents you from editing the indent... So it's possible to implement... And for my next html trick: >Thanks for your feedback. I appreciate it. > >Mark. > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004 > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rev at virtualamnesia.com Tue Apr 6 10:18:24 2004 From: rev at virtualamnesia.com (Mark O'Neill) Date: Tue, 6 Apr 2004 15:18:24 +0100 Subject: I'm thinking of using Rev, can anyone advise? In-Reply-To: Message-ID: Hi There!, | RR users are revolutionary in terms of being helpful! ;) I see! Thanks again for your feedback. Mark. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004 From dburgun at dsl.pipex.com Tue Apr 6 10:25:31 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 15:25:31 +0100 Subject: RunRev IDE Controls are weird??!! In-Reply-To: References: Message-ID: Hi, I have noticed this before, but now it is really bugging me! I am using the Menu Builder, I create a new Menubar and then start to populate the file menu: I Press the "New" button, an line appears that says "Item 1", I select this and type "Open", I then hit press the "New" button again and it changes the item I have just entered ("Open") back into "Item 1" again? Why is this? How do I tell the IDE that I want what I just typed entered into the field? Also when I am changing property values, (say the size of a button), I change it, then hit Command+S to save the changes and instead of saving the new value, it saves the old value? Is this correct? Seems very weird to me! I have never seen this type of interaction on MacOS or Windows before? What gives? Thanks a lot Dave From b.xavier at internet.lu Tue Apr 6 11:04:03 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 6 Apr 2004 17:04:03 +0200 Subject: Geometry FIX Version 2 - back to how it was... In-Reply-To: Message-ID: Got to love backups! Here's how to restore your controls to their previous size. A backup is required... Now is the time to enter the bug in bugzilla... on mouseup put the short name of this stack into cstack repeat with x = 1 to the number of controls in this stack set cursor to busy put x put the short name of control x into cname put the short id of control x into cid put the rect of control x into crect set the defaultstack to "discretebrowser 1.5" if there is a control id cid and \ the short name of control id cid is cname then put the rect of control id cid into nrect set the defaultstack to cstack if crect is not nrect and nrect is not empty then set the rect of control x to nrect end if put empty into nrect end repeat end mouseup From trevor at mangomultimedia.com Tue Apr 6 10:57:48 2004 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Apr 2004 08:57:48 -0600 Subject: [ANN] EnhancedQT 0.5.4 - Now OS 9 compatible Message-ID: Version 0.5.4 of the EnhancedQT external is now available. New features: * OS 9 compatible * qtQTVRGetHotSpotComment - get the comment associated with a Hot Spot. * qtGetMovieDimensions - get dimensions of a QT compatible file without opening it in a player object. The CodeWarrior 9 project files have been added to the source code. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From rcozens at pon.net Tue Apr 6 11:08:55 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 6 Apr 2004 08:08:55 -0700 Subject: RunRev IDE Controls are weird??!! In-Reply-To: References: Message-ID: >I Press the "New" button, an line appears that says "Item 1", I >select this and type "Open", I then hit press the "New" button again >and it changes the item I have just entered ("Open") back into "Item >1" again? Why is this? How do I tell the IDE that I want what I just >typed entered into the field? Press the key while in the menuItem name field, David. > >Also when I am changing property values, (say the size of a button), >I change it, then hit Command+S to save the changes and instead of >saving the new value, it saves the old value? I'm not sure about this one. Did you close the control's property palette before saving? If not, try doing so. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From revlist at cableone.net Tue Apr 6 11:30:58 2004 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 6 Apr 2004 09:30:58 -0600 Subject: new standalone application builder Message-ID: <000701c41bec$29372c50$64fea8c0@chris1> I need help. I'm not sure if I'm just not doing something correctly or what, but I can't get this to work. I had it working with the last release candidate of version 2.2, but it's not working now. I open my mainstack (which is a login screen) and then select Standalone Application Settings from the File menu. The App builder opens to the first screen. When I click the Stacks button, it opens one of the other stacks I refer to (called StoryOptions), which generates an error because some value is not getting set correctly because that stack is normally opened in a completely different way from within my application. So I click Ignore on the error dialog, and the Stacks screen appears in the app builder, with two stacks in the list: Untitled 1.rev and RunRev/docs tool.rev, which have nothing to do with my application. And if I try to remove them, I get a message telling me I can't remove the main stack from the list. And if I try to add my main stack (RNLogin.rev) to the list, nothing happens. Am I doing something wrong, or have I hit a major bug in the app builder? This to me is a major thing, since I can't even build my standalone. Anyone have any thoughts or suggestions? Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 4/5/2004 From dburgun at dsl.pipex.com Tue Apr 6 11:38:01 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 16:38:01 +0100 Subject: How do I use a Tabbed Button??? In-Reply-To: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> References: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> Message-ID: Hi All, Well I got my Tabbed Button Stack up and running! Many thanks to all those who helped! In the end I decided to use seperate cards and a shared background object - works fine - Except (why is there always *something*??!!): One of the fields that is in the Common Group is a Numeric Text Field with a number associated with it. The user can change this field by typing into it or they can increment/decrement it using an Arrow control. However, each Card has it's own value for this field, so switching between tabs loses the value. For example, on tab 1 if the user sets the value to 5 and then selects tab 2, the value changes to blank. How can I maintain just one value for this field? I am using a Library Object to increment/decrement the field and this calls the closeField handler for the field in question. Could I do something there. Will this work if the user types in a number? I was thinking that I could copy the current value into a Global, and then in the preOpenCard handler move the Global onto the field. But this won't work the first time. I suppose I could set up the Global in the preOpenStack handler. One other thing is that this is a Numeric Only field, and if the user tries to enter non-numeric characters into it, I want to beep and throw away the bad characters. Not sure what the best way to do this is? I am playing around now! All the Best Dave From soapdog at mac.com Tue Apr 6 11:42:37 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 6 Apr 2004 12:42:37 -0300 Subject: Hello from a Filemaker renegade In-Reply-To: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> References: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> Message-ID: <077AB9D8-87E1-11D8-B1A5-0003936D012E@mac.com> On Apr 6, 2004, at 5:11 AM, Norman Winn wrote: > Here are some questions: > > 1. The RR v RB comparison article is way out of date but suggests RB > may be the best choice for heavy db work. Is this so? Hi Norman, I think I can answer a couple questions for I worked with both solutions and with DBs. The two solutions are able to use many DBs, but I should point some advantages of Rev here: * A simple and elegant API, you use the same API no matter what the RDBMS you're using, this is cool for you can migrate your db from MySQL to Valentina and change nothing of your code (except the part on OpenConnection where you will put valentina instead of MySQL). There's no fuss on record pointers and strange things that REALBasic inherited from those old RAD tools (like delphi, VB and so on...) * Database Query Builder, if you didn't look for the documentation on this then PLEASE LOOK. It's a very fast way to code DB solutions and with the aid of some 'undocumented' functions (for handling query changes at runtime, and conection parameters at runtime) you can code complete DB solutions with minimal coding. Database Query Builder will take care of the query, the conection and glueing data to controls. There's nothing like this for RB. > > 2. I don't see much written on building front-ends to SQL in RR. Are > they out there? Are there any tutorials on this? Is there a connection > tutorial? That's pretty easy, at my homepage (http://www.soapdog.org) under Projects there's a project called the DataJR, it's mainly a collections of DB and logic that end up being a complete contact management, project management and intranet solution. Heavy use of SQL, Database Query Builder and undocumented goodies. Code cannot be released to public yet for I am under contract but I'll work a public version very soon. > > 3. Are there functions, plug-ins, tool-sets to handle complex > relationships, entity diagrams, data validation? Can't help on that for I do not understand what you're meaning... =/ > > 4. Icing on the cake? Has anyone already handled converting and > documented it? I think I can cookup a little tutorial example for the next week, what about it? Cheers Andre > > > Thank you for attention and for a lively, open forum, > > Norman Winn > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From soapdog at mac.com Tue Apr 6 11:47:58 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 6 Apr 2004 12:47:58 -0300 Subject: [ANN] EnhancedQT 0.5.4 - Now OS 9 compatible In-Reply-To: References: Message-ID: That's a blessing!!! I am into film school so I am making use of this external for some in-house, I mean, in-school programms, I plan to release a silly editor soon as an example with source code. cheers, nice external! Andre On Apr 6, 2004, at 11:57 AM, Trevor DeVore wrote: > Version 0.5.4 of the EnhancedQT external is now available. New > features: > > * OS 9 compatible > * qtQTVRGetHotSpotComment - get the comment associated with a Hot Spot. > * qtGetMovieDimensions - get dimensions of a QT compatible file > without opening it in a player object. > > The CodeWarrior 9 project files have been added to the source code. > > > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From klaus at major-k.de Tue Apr 6 12:00:04 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 6 Apr 2004 18:00:04 +0200 Subject: How do I use a Tabbed Button??? In-Reply-To: References: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> Message-ID: <77A670D4-87E3-11D8-8498-000A27B49A96@major-k.de> Hi David, > Hi All, > > Well I got my Tabbed Button Stack up and running! Many thanks to all > those who helped! > > In the end I decided to use seperate cards and a shared background > object - works fine - Except (why is there always *something*??!!): > > One of the fields that is in the Common Group is a Numeric Text Field > with a number associated with it. The user can change this field by > typing into it or they can increment/decrement it using an Arrow > control. However, each Card has it's own value for this field, so > switching between tabs loses the value. > > For example, on tab 1 if the user sets the value to 5 and then selects > tab 2, the value changes to blank. > > How can I maintain just one value for this field? Set the "sharedtext" of that field to true :-) > I am using a Library Object to increment/decrement the field and this > calls the closeField handler for the field in question. Could I do > something there. Will this work if the user types in a number? Depends on what is in the "closefield" handler... > I was thinking that I could copy the current value into a Global, and > then in the preOpenCard handler move the Global onto the field. But > this won't work the first time. I suppose I could set up the Global in > the preOpenStack handler. On preopencard you could simply: ... put fld "name of field of the other card" of cd x into fld "name of field on this card" ## the number or name of the other card... ## no need for globals :-) > One other thing is that this is a Numeric Only field, and if the user > tries to enter non-numeric characters into it, I want to beep and > throw away the bad characters. Put this into the fields script... This will limit the input to numbers only :-) on keydown the_key if the_key is a number then pass keydown ## a number will be entered... else beep end if end keydown There is a bug in version < 2.2 that will let umlauts and accented chars through yet... But Mac OS X only... > Not sure what the best way to do this is? I am playing around now! Hope that helps... > All the Best > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From jhurley at infostations.com Tue Apr 6 12:15:26 2004 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 6 Apr 2004 09:15:26 -0700 Subject: Getting a field name Message-ID: Ken Ray, The two scripts below are those you suggested as a method to solve my "get the field name" question. Thanks you for these. They are easy to follow, and worked well. (It only needed the "with messages" addition.) Except for the first run after opening the file. I find on that first run that the target (justToCheckItsValue below) turns out to be: button "Disclosure Triangle" whatever that is--I did click on a field and the target should have been a field. I imagine this "Disclosure Triangle" is some hidden RR button. Since it reports something not a field, the answer comes up "Not a field. Try again." On all subsequent runs it works flawlessly. Any idea where that "Disclosure triangle" comes from or how to get rid of it? Handler in Test button on mouseUP global gClickedField put "" into gClickedField answer "Click on the application field." insert script of btn "clickTrapper" into front wait until gClickedField is not empty with messages if gClickedField <> "***CANCEL***" then answer "The field clicked on was:" && gClickedField else answer "Not a field. Try again." with "OK" end if end mouseUp Handler in "clickTrapper" button on mouseUp global gClickedField put the target into justToCheckItsValue if word 1 of the target is "field" then put the short name of the target into gClickedField put gClickedField else put "***CANCEL***" into gClickedField end if remove script of me from front end mouseUp I tried putting in a "put the target into throwMeAway" after the first mouseUp just to see if I might "purge" the target function, but to no avail. Jim From andre.rombauts at win.be Tue Apr 6 12:26:54 2004 From: andre.rombauts at win.be (Andre Rombauts) Date: Tue, 6 Apr 2004 18:26:54 +0200 Subject: CGI Engine doc In-Reply-To: <407284B7.4000909@fourthworld.com> Message-ID: <200404061626.i36GQtgJ015392@outmx006.isp.belgacom.be> I found a ressource, a little bit more comprehensive... http://www.hyperactivesw.com/downloads/IntroRevCGIs.zip Andr? > -----Message d'origine----- > De : use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] De la part > de Richard Gaskin > Envoy? : mardi 6 avril 2004 12:22 > ? : How to use Revolution > Objet : Re: CGI Engine doc > > Andre Rombauts wrote: > > > I can hardly find any info on using Revolution as a CGI > engine... Is > > it such a secret? :-) > > Shhh...... if you promise not to tell anyone, here's the > secret formula: > > 1. Put a copy of the engine in your cgi-bin. > 2. Set the permissions to 755. > 3. Your scripts will need to have the path to the engine in > the first line as you would do with Perl, and the entry > point is a startup handler. > 4. Enjoy. From dburgun at dsl.pipex.com Tue Apr 6 12:33:07 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 6 Apr 2004 17:33:07 +0100 Subject: How do I use a Tabbed Button??? In-Reply-To: <77A670D4-87E3-11D8-8498-000A27B49A96@major-k.de> References: <918E6754-8660-11D8-815A-000A27B49A96@major-k.de> <77A670D4-87E3-11D8-8498-000A27B49A96@major-k.de> Message-ID: >>How can I maintain just one value for this field? > >Set the "sharedtext" of that field to true :-) !!!!!FANTASTIC!!!!! >on keydown the_key > if the_key is a number then > pass keydown ## a number will be entered... > else > beep > end if >end keydown > Thanks, I had just about come to this conclusion while reading thru the docs! Bye for Now Dave From bfr at nwlink.com Tue Apr 6 13:12:56 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Tue, 06 Apr 2004 10:12:56 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: <077AB9D8-87E1-11D8-B1A5-0003936D012E@mac.com> Message-ID: >> 3. Are there functions, plug-ins, tool-sets to handle complex >> relationships, entity diagrams, data validation? > > Can't help on that for I do not understand what you're meaning... =/ Those are all very basic database terms. The fact that they are unfamiliar and do not appear much in Rev database discussions suggests that the state of affairs in Rev database management is not very robust. From psahores at easynet.fr Tue Apr 6 13:59:55 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 6 Apr 2004 19:59:55 +0200 Subject: Hello from a Filemaker renegade In-Reply-To: <407270E3.8040101@chipp.com> References: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> <407270E3.8040101@chipp.com> Message-ID: <35BCC6D6-87F4-11D8-9563-000A95C61E96@easynet.fr> Hello Norman ! Take all the responses you got there together and just gohead ! In about "n-tier" apps, on both the client and server sides, Rev can feet all what we can need in about CGI, critical-state Web applications servers, ERP or Media streaming solutions. At this point, my below proposal is probably off-topic but, else, don't hesite to ask for more if you want to serve datas over the internet in setting up an Apache+Revolution+PostgreSQL server-sided solution. Be welcome and have fun :) Best, Pierre Le 6 avr. 04, ? 10:57, Chipp Walters a ?crit : --snip-- > > Each programmer has his/her own style. Some chose to use the integral > database features of RR (the cards, fields, etc..as in the old > HyperCard product). Others choose to hook up directly to MySQL or > other ODBC DB via built in connectors. I believe there's even a > SQLlite connector being written. Then there are those (like myself) > who prefer a multi-tier approach. All approaches are valid and it's > amazing what people can do. In fact, one individual here (Rob Cozens) > has even built a 'SQL-like' DB inside of Rev. It's free -- like many > resources are in this community. > > Frankly, I haven't come across anything I can't do with this program. > I built a pretty cool button generator you can download if you like at > www.buttongadget.com. It's all coded in native transcript, so you can > get an idea of some of the possibilities of the product. > > Good luck and hope to see you around :-) > > best, > > Chipp Walters, Aluit,inc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From sduncan at ihorizons.net Fri Apr 2 10:45:03 2004 From: sduncan at ihorizons.net (Stuart Duncan) Date: Fri, 2 Apr 2004 10:45:03 -0500 Subject: OT Backup Storage Message-ID: <005601c418c9$77c0e580$1402a8c0@Dell8250> I am about to start a project that will have massive amounts of video, stills, sound, etc. I need to reexamine my storage and backup systems because these projects go well beyond my current storage abilities. There are going to be terabytes of data. Currently I am thinking a RAID system with redundancy at work and a duplicate system in my home which would be accessed for backup via a cable connection. At the end of the day, hopefully, one button click backs everything up overnight, however a constant back up during the day would be even safer than risking the loss of a day's work. The main development will be occuring on Macs running OS X 10.3 however the end products will be Mac/Windows compliant and there will be 3+ Ghz Windows machines on the office network. What hardware would you suggest for this backup array and what software & OS to drive the system? Also needs to allow for expansion since these projects look to be ongoing. Thanks for your help Stu Duncan From steven_zins at yahoo.com Fri Apr 2 22:15:14 2004 From: steven_zins at yahoo.com (Steven Zins) Date: Fri, 2 Apr 2004 19:15:14 -0800 (PST) Subject: wait for 1.2 seconds with messages -- twice hangs Message-ID: <20040403031514.85770.qmail@web13503.mail.yahoo.com> It appears that when two "wait for N seconds with messages" statements are used, one handler blocks the other. The following code is in a card script: on test0 -- cause other two handlers to start after this one ends send test1 to me in 0 seconds send test2 to me in 0 seconds end test0 on test1 repeat forever put test1&return after field "Log" of group "grp" wait for 1 seconds with messages end repeat end test1 on test2 repeat forever put test2&return after field "Log" of group "grp" wait for 1 seconds with messages end repeat end test2 The result of sending a message to test0 is: test1 test2 test2 test2 test2 test2 ... If I then set a breakpoint in the test2 handler to stop the loop and then press abort, the test1 handler resumes functioning. I am running Runtime Revolution 2.1.2 on Windows 2000. I am using the debug environment but Suspend Development Tools doesn't improve matters. Am I doing something wrong? Should this work with test1 and test2 on different cards? Different stacks? A stand-alone application? Must I chop my code up to into pieces and use "send .. in N seconds" in order to get a time delay? Speculation: "wait for N seconds with messages" allows other handlers to respond to messages but does not allow a handler to resume after a wait. Any help is appreciated. Steven Zins Steven_Zins at yahoo.com __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From rev at virtualamnesia.com Tue Apr 6 14:23:25 2004 From: rev at virtualamnesia.com (Mark O'Neill) Date: Tue, 6 Apr 2004 19:23:25 +0100 Subject: OK, I'm still not entirely sure...! In-Reply-To: <20040403031514.85770.qmail@web13503.mail.yahoo.com> Message-ID: Hi Guys, Further to my recent post, (Subject: I'm thinking of using Rev, can anyone advise?) I have taken a look at RealBasic. Now, in my mind, they both offer a cross-platform solution, although RB seems to allow you to get "closer to the code" so to speak. I have only really "played" with the two - Rev and RB, so can anyone give me an unbiased account of the pros and cons of both? Thanks for your help, Mark. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004 From psahores at easynet.fr Tue Apr 6 14:39:24 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 6 Apr 2004 20:39:24 +0200 Subject: [ANN] EnhancedQT 0.5.4 - Now OS 9 compatible In-Reply-To: References: Message-ID: Many, many thanks for all of this so usefull code, Trevor ! Best Regards, Pierre Le 6 avr. 04, ? 16:57, Trevor DeVore a ?crit : > Version 0.5.4 of the EnhancedQT external is now available. New > features: > > * OS 9 compatible > * qtQTVRGetHotSpotComment - get the comment associated with a Hot Spot. > * qtGetMovieDimensions - get dimensions of a QT compatible file > without opening it in a player object. > > The CodeWarrior 9 project files have been added to the source code. > > > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From rcozens at pon.net Tue Apr 6 14:48:30 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 6 Apr 2004 11:48:30 -0700 Subject: OK, I'm still not entirely sure...! In-Reply-To: References: Message-ID: >I have only really "played" with the two - Rev and >RB, so can anyone give me an unbiased account of the >pros and cons of both? Hi Mark, I am totally ignorant of RB's capabilities & how productive a developer can be using them; howver I have over a decade of experience with the basic xTalks format and syntax that underlie Revolution & Transcript. I don't have your original post in my archives; so I don't know what kinds of applications you want to create. If you care to repost that information here or to me privately, I can give you my estimation of Revolution's strong and weak points as regards your specific focus. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From bill at bluewatermaritime.com Tue Apr 6 15:07:18 2004 From: bill at bluewatermaritime.com (Bill Humphrey) Date: Tue, 06 Apr 2004 15:07:18 -0400 Subject: REPORTS USING PDF FORMAT Message-ID: Has anyone built an application that imports PDF's that can be used as backgrounds for reports and printed in the same quality? It would need to be easy to make a new report using a new or modified PDF. From gizmotron at earthlink.net Tue Apr 6 15:24:28 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 6 Apr 2004 12:24:28 -0700 Subject: OK, I'm still not entirely sure...! In-Reply-To: Message-ID: <05BA5EEA-8800-11D8-BF89-000A95859272@earthlink.net> On Tuesday, April 6, 2004, at 11:23 AM, Mark O'Neill wrote: > I have only really "played" with the two - Rev and > RB, so can anyone give me an unbiased account of the > pros and cons of both? > > Thanks for your help, > > Mark Hi Mark, I can't give you an unbiased account of RB because they blew away all their credibility back in RB version 3.0 in regards to being able to build a cross-platform standalone application for me. Now on the other hand RunRev is built cross-platform with its own engine. How's that for an example of what you can do with RunRev? When I create a standalone on Windows I do it using RunRev on Windows. This is the best way to see what it will really look and act like while creating and building applications. I ended up not liking RB, so in all fairness to that I can't give an account of RB 5 or higher. I can tell you that if you want a powerful database system you can create your own SQL calls that work with the Valentina datebase plug-in. You might also want to look at Valentina because they are also working on a version that works on a server. Mark Brownell From dsc at swcp.com Tue Apr 6 15:35:29 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Apr 2004 13:35:29 -0600 Subject: wait for 1.2 seconds with messages -- twice hangs In-Reply-To: <20040403031514.85770.qmail@web13503.mail.yahoo.com> Message-ID: <9000FDD0-8801-11D8-A8E4-000A9567A3E6@swcp.com> On Friday, April 2, 2004, at 08:15 PM, Steven Zins wrote: > Speculation: "wait for N seconds with messages" allows other handlers > to respond to messages but does not allow a handler to resume after a > wait. Many of us have had to do the same test when we first tried to do several things at once with Revolution. This is not a multi-"threading" situation in which execution can switch back and forth between handlers. Your test2 is started in the wait in test1 but does not return and thus test1 cannot continue; its wait does not complete. I rarely use wait with messages and then only for a single big task I have trouble breaking up with 'send'. In most cases, I use 'send'. See my Message Mechanics Primer at my web site on using that for "multi-tasking" types of situations. You can make your apps walk and chew gum at the same time. Dar Scott -- **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From gizmotron at earthlink.net Tue Apr 6 15:46:26 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 6 Apr 2004 12:46:26 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: Message-ID: <170EF976-8803-11D8-BF89-000A95859272@earthlink.net> On Tuesday, April 6, 2004, at 10:12 AM, Bruce Robertson wrote: >>> 3. Are there functions, plug-ins, tool-sets to handle complex >>> relationships, entity diagrams, data validation? >> >> Can't help on that for I do not understand what you're meaning... =/ > > Those are all very basic database terms. The fact that they are > unfamiliar > and do not appear much in Rev database discussions suggests that the > state > of affairs in Rev database management is not very robust. Hi, There are basic functions but there are much more powerful ways to work with RR as the front end with powerful databases as the back end. I prefer using SQL calls directly to the Valentina database using my own custom cursor calls. This requires a familiarity with Valentina. I create my own validation systems for the needs of the data being processed and the user. If I wanted to use Filemaker on the internet I would probably use Lasso or Filemaker's own smaller markup language. I use Valentina for speed, XML handling, and for the freedom to customize a standalone application. I started using Valentina with Director; it's a dream with RR compared to that. RR is the best I could find for the front end and Valentina is the best for the back end for my needs. just my2cents... Mark From lestond at lpsoftware.com Tue Apr 6 16:19:26 2004 From: lestond at lpsoftware.com (Leston Drake) Date: Tue, 06 Apr 2004 14:19:26 -0600 Subject: directing a function call Message-ID: <5.1.1.6.0.20040406141557.015dddc8@mail.xmission.com> Hi all, In a "stacksInUse" stack script, I need to call a function. And I want to target the main stack, so that it first looks for the handler for the function in the main stack, then in the stacksInUse, in order as normal. I tried something like put the myFunction() of this stack into myVar but it didn't like that. Anyone know the proper syntax for this? TIA, Leston From dsc at swcp.com Tue Apr 6 16:38:50 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Apr 2004 14:38:50 -0600 Subject: directing a function call In-Reply-To: <5.1.1.6.0.20040406141557.015dddc8@mail.xmission.com> Message-ID: <6900D60B-880A-11D8-A8E4-000A9567A3E6@swcp.com> On Tuesday, April 6, 2004, at 02:19 PM, Leston Drake wrote: > I need to call a function. And I want to target the main stack, The value() function allows you to specify an object. Read the fine print. You might also consider whether a property is the right model. If so, you might want to use a getProp handler and get a property of the main stack. Also you can get values back from send (sans in-time). Put a command handler in the main stack script and have it return a value. In the caller script you can look at 'the result'. In most cases the target changes, so watch for that. If none of the above seems right, look at 'call'. Dar Scott From lestond at lpsoftware.com Tue Apr 6 17:19:51 2004 From: lestond at lpsoftware.com (Leston Drake) Date: Tue, 06 Apr 2004 15:19:51 -0600 Subject: directing a function call In-Reply-To: <6900D60B-880A-11D8-A8E4-000A9567A3E6@swcp.com> References: <5.1.1.6.0.20040406141557.015dddc8@mail.xmission.com> Message-ID: <5.1.1.6.0.20040406151723.01602fd8@mail.xmission.com> Dar, Thanks for the tips. What do you mean by a "command handler"? I tried send "myEvent" to this stack put the result into myResult in the myEvent handler, I had something like return "myValue" but the result is empty. So I probably misunderstood. Thanks. --Leston At 02:38 PM 4/6/2004, Dar Scott wrote: >On Tuesday, April 6, 2004, at 02:19 PM, Leston Drake wrote: > >>I need to call a function. And I want to target the main stack, > >The value() function allows you to specify an object. Read the fine print. > >You might also consider whether a property is the right model. If so, you >might want to use a getProp handler and get a property of the main stack. > >Also you can get values back from send (sans in-time). Put a command >handler in the main stack script and have it return a value. In the >caller script you can look at 'the result'. > >In most cases the target changes, so watch for that. > >If none of the above seems right, look at 'call'. > >Dar Scott > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Apr 6 17:29:01 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Apr 2004 15:29:01 -0600 Subject: directing a function call In-Reply-To: <5.1.1.6.0.20040406151723.01602fd8@mail.xmission.com> Message-ID: <6C04EB56-8811-11D8-A8E4-000A9567A3E6@swcp.com> On Tuesday, April 6, 2004, at 03:19 PM, Leston Drake wrote: > I tried > send "myEvent" to this stack > put the result into myResult > > in the myEvent handler, I had something like > return "myValue" > > but the result is empty. So I probably misunderstood. That looks right. I tried this Button "tester" script: on mouseUp send "myEvent" to button "tested" put the result end mouseUp Button "tested" script: on myEvent return "myValue" end myEvent That works. Are arrays involved? Dar Scott From briany at qldlearning.com Tue Apr 6 17:33:35 2004 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 6 Apr 2004 17:33:35 -0400 Subject: Hello from a Filemaker renegade In-Reply-To: Message-ID: <0F925C57-8812-11D8-B032-000393AA08D2@qldlearning.com> > Those are all very basic database terms. The fact that they are > unfamiliar > and do not appear much in Rev database discussions suggests that the > state > of affairs in Rev database management is not very robust. Bruce, There are scores of tools for managing your database schema and relationships in various database back-ends (MySQL, Postgres, Oracle, ODBC, Valentina...). But they aren't a part of the Rev environment- that's often the difference between using a multi-tiered database independent tool and one like FileMaker or Access who's entire purpose is to build database apps. Do have a feeling of what backend you are going to use? If so, maybe we could point you to the appropriate tools. There's everything from free browser based tools to extra-expensive "professional" suites with UML and SQL generators, etc. As for data validation, it may not be built-in to special database controls, but it's pretty easy to script: For example (off the top of my head): ## in your stack script function validateNumber tValue, tMin, tMax if (tValue is a number) AND (tValue >= tMin) AND (tValue <= tMax) then return TRUE return FALSE end validateNumber ## in your field script on closeField if not validateNumber(the text of me, 1, 100) then select char 1 to -1 of me answer error "Please enter a number between 1 and 100" else pass closeField end if end closeField HTH! Brian From sanke at hrz.uni-kassel.de Tue Apr 6 17:41:37 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 06 Apr 2004 23:41:37 +0200 Subject: Another Area For Document Development Message-ID: <40732411.8010402@hrz.uni-kassel.de> In reply to the post of Dave Calkins on Mon, 7 Apr 2003: Hello Dave, found your detailed replies to my lengthy post - if only under subject "use-revolution Digest" and quoting me as "use-revolution at lists.runrev.com". Although I sympathize with Revolution from a critical distance and defended the documentation as the better part of the IDE, I naturally still feel as a person as distinct from and surely not in total symbiosis with Revolution. I had written in my post "This does not mean that I would not agree with you on some of your proposals." and I had also expressed the expectation that the Rev team were in a state of mind to accept the direction of your proposals. Part of the discussion following your first post dealt with sample stacks, an aspect I certainly had neglected in my reply. Actually, we make ample use of tutorials and sample stacks in our courses, i.e. in our multimedia workshops at our university which are open for students from all departments, the majority of enrolling students coming from informatics/economy and social sciences. The tutorials and sample stacks are adapted to the presumed needs of these students, part of which have only the minimum requirement of feeling at least familiar with a text processing application, others may come with some knowledge of Powerpoint, Visual Basic, Javascript, HTML etc. This means we need to design our own samples especially directed at this audience. There are three places in the course where sample stacks are used as additional material: At the beginning we show sample stacks to motivate and give an idea of what can be achieved with Metacard/Revolution. Some of the stacks we use at this point are examples developed by students in earlier courses. Then, accompanying the first assignments, a number of sample stacks are introduced (or made accessible for free use) that cover basic principles and illustrate simpler tasks - like modification of textchunks, changing object properties, animated icons, using backgrounds and menus, adding pop-up annotations with the help of a glossary card, developing a simple word (vocabulary) trainer, matching and drag-and-drop exercises, using polygons over images to create sensitive areas, using and combining visual effects, using modal dialogs, cursors and graphic buttons, read from and write to external files, connect to the net and download stacks etc. The last category are sample stacks that are geared nearer to the field of study or interest of the individual student, as each student has to complete a project from his special field until the end of the semester or shortly after that. The students develop their specific ideas which are assessed in group or personal discussions about which seems feasible - according to the individual level of competence and the possibilities of the xtalk language. At this stage we offer proposals for design and algorithms, may produce sample scripts and small stacks showing a possible direction of development, snippets of code and stacks they can exploit and further develop or integrate into their final product.- What you probably have in mind are sample stacks and tutorials from category two. As complements of the documentation they would indeed be helpful and they may be urgently needed by persons learning on their own. The task remains to determine which "basics" really need to be covered and how and by whom they could be collected or produced. I think, as a first basic collection we need about 30 sample stacks? Regards, Wilhelm Sanke From sarahr at genesearch.com.au Tue Apr 6 18:14:10 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 7 Apr 2004 08:14:10 +1000 Subject: Hello from a Filemaker renegade In-Reply-To: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> References: <06692F13-87A2-11D8-85B5-003065CD9A80@mrsystems.co.uk> Message-ID: On 6 Apr 2004, at 6:12 pm, Norman Winn wrote: > 2. I don't see much written on building front-ends to SQL in RR. Are > they out there? Are there any tutorials on this? Is there a connection > tutorial? > Hi Norman, At my web site , you can download the stack I created while teaching myself how to use MySQL with Revolution: MySQLtests.rev.gz Although it doesn't use all the latest database commands, it does show you how to open a connection, do queries, add, edit or delete tables & records. The Database Query Builder provides you with a wizard-like way to access external databases, but there are built-in commands for doing it all yourself as well. Anyway, it wil give you an idea of how to start testing. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From lestond at lpsoftware.com Tue Apr 6 18:34:08 2004 From: lestond at lpsoftware.com (Leston Drake) Date: Tue, 06 Apr 2004 16:34:08 -0600 Subject: directing a function call In-Reply-To: <6C04EB56-8811-11D8-A8E4-000A9567A3E6@swcp.com> References: <5.1.1.6.0.20040406151723.01602fd8@mail.xmission.com> Message-ID: <5.1.1.6.0.20040406163149.01618620@mail.xmission.com> You're right. It does work. Somehow I didn't test it properly. Thanks again. --Leston At 03:29 PM 4/6/2004, you wrote: >On Tuesday, April 6, 2004, at 03:19 PM, Leston Drake wrote: > >>I tried >>send "myEvent" to this stack >>put the result into myResult >> >>in the myEvent handler, I had something like >>return "myValue" >> >>but the result is empty. So I probably misunderstood. > >That looks right. > >I tried this > >Button "tester" script: >on mouseUp > send "myEvent" to button "tested" > put the result >end mouseUp > >Button "tested" script: >on myEvent > return "myValue" >end myEvent > >That works. > >Are arrays involved? > >Dar Scott > > > >_______________________________________________ >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 Apr 6 18:35:38 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 7 Apr 2004 08:35:38 +1000 Subject: Getting server time from a client stack accessing it In-Reply-To: <200404061227.i36CRj5Z014986@outmx017.isp.belgacom.be> References: <200404061227.i36CRj5Z014986@outmx017.isp.belgacom.be> Message-ID: Hi Andre, Neat tip from Frank and a good script to implement it, but your script always returns GMT. This may have been what you were after, but here is a version that gives local time and also checks that the headers contain a date. function getServerTime serverURL -- get the URL & read the headers put "http://" & serverURL into varURL get URL varURL put libURLLastRHHeaders() into varDate -- check if the headers contain a date put lineOffset("Date:",varDate) into tLineNum if tLineNum = 0 then return empty -- get just the date information in GMT put word 2 to 6 of line tLineNum of varDate & " +0000" into tDate convert tDate from internet date and time to dateItems -- now get your local internet date & read the time zone put last word of the internet date into tZone -- separate it into hours & minutes and add to the GMT date time put char 1 of tZone & char -2 to -1 of tZone into tZoneMins delete char -2 to -1 of tZone add tZone to item 4 of tDate add tZoneMins to item 5 of tDate -- convert back to the required format & return it convert tDate to system date and time return tDate end getServerTime Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 6 Apr 2004, at 10:28 pm, Andre Rombauts wrote: > Great tip Frank, indeed! Thanks. It is working fine... Here is the > script I > made. The mouseUp is a button handler being invoked after typing a > server > URL under the form www.name.domain. The server headers contain the > Internet > time but without the UTC + offset, thus the function adds +0000 to set > it > correctly the GMT time returned. > > Once more an example of how easy it is to 'create' with Run Rev! > > ===== > > on mouseUp > put empty into field "fDate" > put getServerTime (the text of field "inputURL") into varDate > convert varDate from internet date and time to system date and time > put varDate into field "fDate" > end mouseUp > > function getServerTime serverURL > put "http://" & serverURL into varURL > get URL varURL > put libURLLastRHHeaders() into varDate > set itemDelimiter to space > return item 2 to 6 of line lineOffset("Date:",varDate) of varDate & " > +0000" > end getServerTime > > ===== > >> Most servers return the current server time in the Date: HTTP >> header, so you should be able to ask for any page on the >> server to get the time. The date is formatted in a standard >> "Internet" time (see the RR docs). >> >> The response headers will look like this: >> >> HTTP/1.1 200 OK\r\n >> Server: foo\r\n >> Date: Mon, 05 Apr 2004 16:59:24 GMT\r\n >> ...\r\n >> \r\n >> >> >> -- Frank > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From psahores at easynet.fr Tue Apr 6 19:34:42 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 7 Apr 2004 01:34:42 +0200 Subject: Hello from a Filemaker renegade In-Reply-To: References: Message-ID: Le 6 avr. 04, ? 19:12, Bruce Robertson a ?crit : >>> 3. Are there functions, plug-ins, tool-sets to handle complex >>> relationships, entity diagrams, data validation? >> >> Can't help on that for I do not understand what you're meaning... =/ > > Those are all very basic database terms. The fact that they are > unfamiliar > and do not appear much in Rev database discussions suggests that the > state > of affairs in Rev database management is not very robust. Hum, Perhaps that from a strict technical point of view, it will always seems more academic to "develop" networked apps in coding basic core java or, more seriously, in using dedicated framrworks alike VP-UML, Eclipse, Struts, Tile, Ant, XDoclet and tools like JBoss, TomCat, JSP's and EJB 2.0, AndroMDA, Oracle and so on,... to get apps growing in shared CVS repertories, as coded, along months, by 10 to 20 developpers teams..., to get, to the end, apps that are going to run 60 times slower than the ones that a designer will create and build, in the same time, in using an Ultra High Level Langage, alike Revolution... If you can get your project up in thinking it before starting to code it, you will find lots of interesting things in learning how to get the best from tools alike Metacard, Revolution (or, even, but in a lessly mesure, by using PHP and Rebol). Else, it's probably best to choose the low level technical way. It's not because the XP programming paradigm is natively supported by Rev that anyone can see it nor need to get the best from it... Revolution is, as VHLL, core engine, IDE and framework, a developpement tool built to let us manage and handle the more powerfull projects we can think, including all the possibillities of the object-relational mapping paradigm. But, sure that, just as an example, to drive and manage, under Unix, PostgreSQL, Sybase ASE 12.5 or others ACID compliant datawarehouse back-ends trough MC or Rev, it will need more than just time and work... Hope this can help, -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From 3mcgrath at adelphia.net Tue Apr 6 19:44:34 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 6 Apr 2004 19:44:34 -0400 Subject: new standalone application builder In-Reply-To: <000701c41bec$29372c50$64fea8c0@chris1> References: <000701c41bec$29372c50$64fea8c0@chris1> Message-ID: <5B589B82-8824-11D8-B793-000A95DA60FA@adelphia.net> I have a similar problem. My stack now has two substacks called "ask dialog" . I didn't put them there and I don't even use an "ask" dialog in my stack. I can remove them but they just come back. One time I got the 'can't remove the main stack'. It must be a bug. Tom On Apr 6, 2004, at 11:30 AM, Chris Sheffield wrote: > I need help. I'm not sure if I'm just not doing something correctly or > what, but I can't get this to work. I had it working with the last > release > candidate of version 2.2, but it's not working now. I open my > mainstack > (which is a login screen) and then select Standalone Application > Settings > from the File menu. The App builder opens to the first screen. When I > click the Stacks button, it opens one of the other stacks I refer to > (called > StoryOptions), which generates an error because some value is not > getting > set correctly because that stack is normally opened in a completely > different way from within my application. So I click Ignore on the > error > dialog, and the Stacks screen appears in the app builder, with two > stacks in > the list: Untitled 1.rev and RunRev/docs tool.rev, which have nothing > to do > with my application. And if I try to remove them, I get a message > telling > me I can't remove the main stack from the list. And if I try to add > my main > stack (RNLogin.rev) to the list, nothing happens. > > Am I doing something wrong, or have I hit a major bug in the app > builder? > This to me is a major thing, since I can't even build my standalone. > Anyone > have any thoughts or suggestions? > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.651 / Virus Database: 417 - Release Date: 4/5/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From monte at sweattechnologies.com Tue Apr 6 19:48:30 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 7 Apr 2004 09:18:30 +0930 Subject: new standalone application builder In-Reply-To: <000701c41bec$29372c50$64fea8c0@chris1> Message-ID: > I need help. I'm not sure if I'm just not doing something correctly or > what, but I can't get this to work. I had it working with the > last release > candidate of version 2.2, but it's not working now. I open my mainstack > (which is a login screen) and then select Standalone Application Settings > from the File menu. The App builder opens to the first screen. When I > click the Stacks button, it opens one of the other stacks I refer > to (called > StoryOptions), which generates an error because some value is not getting > set correctly because that stack is normally opened in a completely > different way from within my application. Hmmm... it shouldn't be opening your stack here. I've recently fixed another issue relating to stackFiles being set in a way that caused an infinite loop but this doesn't sound like that. I'd like to see your stacks if possible as it will make it much quicker for me to hunt this one down and provide a temporary solution. Cheers Monte From monte at sweattechnologies.com Tue Apr 6 20:06:34 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 7 Apr 2004 09:36:34 +0930 Subject: new standalone application builder In-Reply-To: <5B589B82-8824-11D8-B793-000A95DA60FA@adelphia.net> Message-ID: > I have a similar problem. My stack now has two substacks called "ask > dialog" . I didn't put them there and I don't even use an "ask" dialog > in my stack. I can remove them but they just come back. One time I got > the 'can't remove the main stack'. > > It must be a bug. That doesn't sound like the same bug. Again the fastest way to get this fixed is to send me the stacks. Is it possible that this is a stack you tested with one of the older versions of the standalone builder? It's possible that you just need to delete these substacks. The way to do it is: delete stack "ask dialog" -- keep doing this in the message box until you get an error Then save your stack and quit rev reopen and see if you get the same issue Cheers Monte From squance at elkvalley.net Wed Apr 7 00:25:05 2004 From: squance at elkvalley.net (David Squance) Date: Tue, 6 Apr 2004 22:25:05 -0600 Subject: Shading in Windows In-Reply-To: <406778B5.7070901@fourthworld.com> References: <003601c41493$68570d20$b000a8c0@mshome.net> <003601c41493$68570d20$b000a8c0@mshome.net> Message-ID: Hi, I've been looking at a project which I want to release for Windows (developed with OS X) using the windows look and feel. There are several scrolling fields on one card which are empty or partially so part of the time. The scroll bar area under windows is a rather dark grey, though it looks quite nice in the OS X environment. Is there some way of changing the background of the scroll bar so that it is appears white in windows? Thanks, Dave From katir at hindu.org Wed Apr 7 00:49:04 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue, 6 Apr 2004 18:49:04 -1000 Subject: CGI failure Intermittent -- "Can't Open File" Message-ID: This one is a hair puller....possibly OT because it may have nothing to do with REV, but I can't diagnose if the issue is Rev CGI that is receiving the POST, the Rev Application that is sending the POST, a permissions problem on the server, an Apache config problem or an OSX Server file system problem. I have a sinking feeling is the latter, which will be hard to tackle. Simply stated: the CGI accepts incoming data from a POST and writes it to a file sometimes and sometimes it says it can't open the file. No pattern... CONTEXT: OSX server running Apache with a little "intranet" web site Darwin version Rev engine 2.1.2 installed and functioning nicely The remote app is running from a 2.2. standalone player, and does this: on upLoadToKauai put fld "user" of stack "prefs" into tUser put "_remotestaff=" & urlEncode(tUser) into tUploadData put "&_project=" & urlEncode("gita") after tUploadData put "&_fileName=" & urlEncode(gFileName) after tUploadData put "&_transcript=" & urlEncode (gDataToUpload) after tUploadData put "http://user:pass at our.kauai.server.org/cgi-bin/ uploadGitaTranscript.cgi" into tURL POST tUploadData to url tURL put it into fld "feedBack" show fld "FeedBack" with visual effect dissolve show btn "Close" with visual effect dissolve end upLoadToKauai the CGI (truncated a bit for email purposes:) goes like this: on startup if $REQUEST_METHOD is "POST" then read from stdin until empty put urlDecode (it) into tDataIn split tDataIn by "&" and "=" put tDataIn["_remotestaff"] into tUser put tDataIn["_project"] into tProject put tDataIn["_transcript"] into tTranscript put tDataIn["_fileName"] into tfileName put url "file:transcriptionTeam.txt" into tAuthenticate if (tUser is among the lines of tAuthenticate) then # set up a file path to the incoming transcription # it will just be a small xml file switch tProject case "taka" put "/taka/New-Not Yet Posted/" into tLocalDestination break case "gita" put "/gita/new_incoming/" into tLocalDestination break end switch put ("../remote-team/" & tUser & tLocalDestination & tFileName) into tFilePath # next: open, write data and close the file ## !! but here is the problem: ## this attempt to write a file fails intermittently... # sometimes apache writes the file # other times it returns "can't open file" to the result put tTranscript into url ("file:" & tFilePath) ## fails intermittently put the Result & cr & cr into tResponse # sometimes empty some times "can't open file" ## send stuff back to the user to confirm, along with the result end start up What is happening is when then the user clicks the button in the remote rev app, to trigger the upload to Kauai it may return result: "can't open file" then he clicks again and this time gets no result and the file is written. I thought it might be something in our fire wall, but I'm getting the same sporadic results over our LAN... whether I open the application in Rev IDE or open in from my new standalone HA Stack Player, I am also unable to discern any pattern as to when and why it can't open file... click 4 times, a file is written 4 times, on the fifth POST you get "can't open file" quit everything, go to the server, delete the file book the remote app again, upload and on first attempt, "can't open file" second attempt, file is written, third click, file is written, forth attempt, "can't open file" = no pattern. Windows and Mac versions both display same behavior. Any clues as to how to debug this? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From soapdog at mac.com Wed Apr 7 00:52:15 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 7 Apr 2004 01:52:15 -0300 Subject: Hello from a Filemaker renegade In-Reply-To: References: Message-ID: <57869A98-884F-11D8-B1A5-0003936D012E@mac.com> On Apr 6, 2004, at 2:12 PM, Bruce Robertson wrote: > Those are all very basic database terms. The fact that they are > unfamiliar > and do not appear much in Rev database discussions suggests that the > state > of affairs in Rev database management is not very robust. > > oops, let me explain, first, I am a native portuguese speaking person, so it's commom for me not to understand things. Second, I was trying to understand if you want to program (meaning code) your relationships, or if you want to design them visually.... I think, I might be wrong, but any relationship can be expressed by means of clever designed SQL and tables, like equijoins and the like... when you talk about data validation, well, engine will complain of bad data, and the rest, you're supposed to program... I am just trying to understand what you're trying to do.. I have no experience with FMP, just SQL databases from MS SQL to MySQL... Cheers -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From katir at hindu.org Wed Apr 7 01:01:02 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue, 6 Apr 2004 19:01:02 -1000 Subject: graph functions Message-ID: <9188996E-8850-11D8-8052-000A959D0AC6@hindu.org> Anyone have any xTalk visual graphing functions already cooked up? I'm looked for something where you set up a visual object that has numeric values on the y axis (vertical- numerical values) and dates on the x axis (horizontal - dates). and then from a given set of integer pairs it will create add a "moving" line that charts visually the changes.... two functions are envisioned: one that takes a lot of data and creates the line over time all at once, and another that reads data from input daily and just adds to the graph. 10 9 8 7 6 4 3 2 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 etc I'm guess this wheel was invented long ago. But it seems esoteric... one one have to build a bit map from numeric input... TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Apr 7 01:27:11 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue, 6 Apr 2004 19:27:11 -1000 Subject: Building C ++ Plug ins Message-ID: <384B8556-8854-11D8-8052-000A959D0AC6@hindu.org> Well, we may have converted a high end financial analyst who is helping us with educational materials, to xTalk... He was told that to advance in his field he now needed to learn C++ to write his own financial analysis programs. 1 hour with Revolution and he was blown away. "That would have taken me days and days!" ;-) Anyway, he's up and running with the evaluation 30 test and will be no doubt joining the Rev family soon. So, while I'm recruiting him to help with young peoples presentations and tools, he's also interested in being able to pipe data into C++ programs and get back the results... I suspect the algorithm in the C++ code is probably even more easily implemented in xTalk; but he wants to collaborate some other code nerd young financial analysts in that world, and also not have to re-write his C program (or theirs) in xTalk in which he is, obviously a newbie: The option to take isC program and make it a plug in seems too obvious an opportunity... But, I couldn't find any docs on building C plus plug ins... or piping data out and back into a C++ external Basic concept (obviously) would to put theReformattedData into [some pipe into the C++ program-plugin] put it into fld "BestStockOptions" # where "it" contains stnOut from the C Plug in/external Is this hard? Where are the tutorials for this? We know lots of C++ code wizards and code outsource some tough things to them and plug them into my stacks... even if it could be done in Rev itself... Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From dsc at swcp.com Wed Apr 7 01:54:22 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Apr 2004 23:54:22 -0600 Subject: Building C ++ Plug ins In-Reply-To: <384B8556-8854-11D8-8052-000A959D0AC6@hindu.org> Message-ID: <04A9E551-8858-11D8-A8E4-000A9567A3E6@swcp.com> I have created externals that glue to C++ libraries with Visual C++ (Windows). So, it can be done. An alternative to externals might be to run the C++ app from the Revolution shell() and use files as the I/O. Dar Scott From b.xavier at internet.lu Wed Apr 7 02:15:08 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 7 Apr 2004 08:15:08 +0200 Subject: graph functions In-Reply-To: <9188996E-8850-11D8-8052-000A959D0AC6@hindu.org> Message-ID: Sannyasin check out Ken Simons Graph and Table stack http://www2.rhul.ac.uk/~uhss021/technical.html cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Sannyasin > Sivakatirswami > Sent: Wednesday, April 07, 2004 07:01 > To: use-revolution at lists.runrev.com > Subject: graph functions > > > Anyone have any xTalk visual graphing functions already cooked up? > > I'm looked for something where you set up a visual object that has > numeric values on the y axis (vertical- numerical values) > and dates on the x axis (horizontal - dates). and then from a given set > of integer pairs it will create add a "moving" line that charts > visually the changes.... two functions are envisioned: one that takes a > lot of data and creates the line over time all at once, and another > that reads data from input daily and just adds to the graph. > > 10 > 9 > 8 > 7 > 6 > 4 > 3 > 2 > 1 > 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 etc > > I'm guess this wheel was invented long ago. But it seems esoteric... > one one have to build a bit map from numeric input... > > TIA > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ian at azurevision.co.uk Wed Apr 7 03:06:01 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Wed, 7 Apr 2004 08:06:01 +0100 Subject: Snapshots crashing 2.2 IDE & standalones Message-ID: <074F051F-8862-11D8-96EA-0003935A2896@azurevision.co.uk> This is in bugzilla #1457, but as it crashes the IDE with no warning I thought it was worth mentioning on the list as well, due to the possibilities of data loss... ====================================== the syntax: export snapshot from rect of window (the windowId of this stack) to... makes RR 2.2 unexpectifly quit, while working fine in 2.2RC2. Workaround is (thanks Kevin): put globalLoc(),globalLoc() into tRect export snapshot from rect tRect to... ---------- Posted by RevZilla 1.1.2 ------- Additional Comment #1 From Ian Wood 2004-04-06 20:48 ------- This happens with both import and export snapshot, and seems to be the 'of windowID' bit that is causing the problem, just doing 'import snapshot' and using the crosshairs is fine. The given workaround just gives an 'Expression: double binary operator' error when run on 2.2, and doesn't help much when taking a snapshot of a particular object anyway. Try: put (left of this stack + left of player 1),(top of this stack + top of player 1),(left of this stack + width of player 1 + left of player 1),(top of this stack + top of player 1 + height of player 1) into tRect Replacing 'player 1' with the name of your object. ====================================== Ian From dcragg at lacscentre.co.uk Wed Apr 7 03:23:48 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 7 Apr 2004 08:23:48 +0100 Subject: CGI failure Intermittent -- "Can't Open File" In-Reply-To: References: Message-ID: At 6:49 pm -1000 6/4/04, Sannyasin Sivakatirswami wrote: >Simply stated: the CGI accepts incoming data from a POST and writes >it to a file sometimes and sometimes it says it can't open the file. >No pattern... > >CONTEXT: > >the CGI (truncated a bit for email purposes:) goes like this: > >on startup > >if $REQUEST_METHOD is "POST" then >read from stdin until empty > put urlDecode (it) into tDataIn > split tDataIn by "&" and "=" > put tDataIn["_remotestaff"] into tUser > put tDataIn["_project"] into tProject > put tDataIn["_transcript"] into tTranscript > put tDataIn["_fileName"] into tfileName >put url "file:transcriptionTeam.txt" into tAuthenticate >if (tUser is among the lines of tAuthenticate) then > # set up a file path to the incoming transcription > # it will just be a small xml file > switch tProject > case "taka" > put "/taka/New-Not Yet Posted/" into tLocalDestination > break > case "gita" > put "/gita/new_incoming/" into tLocalDestination > break > end switch > put ("../remote-team/" & tUser & tLocalDestination & tFileName) >into tFilePath > > # next: open, write data and close the file >## !! but here is the problem: >## this attempt to write a file fails intermittently... ># sometimes apache writes the file ># other times it returns "can't open file" to the result > >put tTranscript into url ("file:" & tFilePath) ## fails intermittently > >put the Result & cr & cr into tResponse # sometimes empty some times >"can't open file" > >## send stuff back to the user to confirm, along with the result > >end start up > >What is happening is when then the user clicks the button in the >remote rev app, to trigger the upload to Kauai it may return result: >"can't open file" then he clicks again and this time gets no result >and the file is written. One thing you might want to check first is that the CGI is reading in all the data. repeat while length(tDatain) >= $CONTENT_LENGTH read from stdin for $CONTENT_LENGTH put it after tDatain end repeat I can't say for sure, but looking quickly at your code, it seems you might get the error you described if the tUser variable was in fact empty and the tAuthenticate variable contained an empty line. You could check this by returning tFilePath when you get an error to see if the file path is the one you expect. Cheers Dave From b.xavier at internet.lu Wed Apr 7 03:49:33 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 7 Apr 2004 09:49:33 +0200 Subject: ANN: DiscreteBrowser 1.6 preview released In-Reply-To: <074F051F-8862-11D8-96EA-0003935A2896@azurevision.co.uk> Message-ID: Hi everyone, After lots of work, tinkering and reviewing here is the "preview" release of the discrete browser 1.6 beta 1. Some bugs remain but Im sure you can live with them! Download this small 60KB browser here A reviewed web page will be there tonite if and after I fix the missing features... Any suggestions, bug reports, ideas are welcome as usual. Cheers Xavier From psahores at easynet.fr Wed Apr 7 04:20:45 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 7 Apr 2004 10:20:45 +0200 Subject: ANN: DiscreteBrowser 1.6 preview released In-Reply-To: References: Message-ID: <77FD0188-886C-11D8-9563-000A95C61E96@easynet.fr> WOAAAAAAAW... What a piece of code, Xavier ! Thanks for sharing it there. Warm Regards, Pierre Le 7 avr. 04, ? 09:49, MisterX a ?crit : > Hi everyone, > > After lots of work, tinkering and reviewing here is the > "preview" release of the discrete browser 1.6 beta 1. > > Some bugs remain but Im sure you can live with them! > > Download this small 60KB browser here > > > A reviewed web page will be there tonite if and after I fix the > missing features... > > Any suggestions, bug reports, ideas are welcome as usual. > > Cheers > Xavier > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From xbury.cs at clearstream.com Wed Apr 7 04:49:59 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 7 Apr 2004 10:49:59 +0200 Subject: ANN: DiscreteBrowser 1.6 preview released Message-ID: On 07.04.2004 10:20:45 use-revolution-bounces wrote: >WOAAAAAAAW... > >What a piece of code, Xavier ! Thanks Pierre, but I just noticed that slashdot is not rendered ok... ;(( Some more tweaking required! ;) and I got a few more surprises coming... Has anyone got a image to textart converter ? =) >Thanks for sharing it there. > >Warm Regards, > >Pierre > >Le 7 avr. 04, ? 09:49, MisterX a ?crit : > >> Hi everyone, >> >> After lots of work, tinkering and reviewing here is the >> "preview" release of the discrete browser 1.6 beta 1. >> >> Some bugs remain but Im sure you can live with them! >> >> Download this small 60KB browser here >> >> >> A reviewed web page will be there tonite if and after I fix the >> missing features... >> >> Any suggestions, bug reports, ideas are welcome as usual. >> >> Cheers >> Xavier >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From nnoydb at excite.com Wed Apr 7 04:52:15 2004 From: nnoydb at excite.com (Kevin) Date: Wed, 7 Apr 2004 04:52:15 -0400 (EDT) Subject: Relative Paths Message-ID: <20040407085215.71CE9BF81@xprdmailfe13.nwk.excite.com> I am a bit confused. How does one create applications that can be used in the IDE on multiple platforms without relative paths. When I add a satck file to the the stackFiles property (in the property explorer) the fully qualified path is used. When I copy the stack to another platform the path (something like "/Users/me/src/transcript/common/xxx.rev") will not function. Please someone explain how this is supposed to work? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Wed Apr 7 05:02:11 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Apr 2004 11:02:11 +0200 Subject: graph functions In-Reply-To: <9188996E-8850-11D8-8052-000A959D0AC6@hindu.org> References: <9188996E-8850-11D8-8052-000A959D0AC6@hindu.org> Message-ID: <41AA1834-8872-11D8-A728-000A27B49A96@major-k.de> Hi Swami, > Anyone have any xTalk visual graphing functions already cooked up? > > I'm looked for something where you set up a visual object that has > numeric values on the y axis (vertical- numerical values) > and dates on the x axis (horizontal - dates). and then from a given > set of integer pairs it will create add a "moving" line that charts > visually the changes.... two functions are envisioned: one that takes > a lot of data and creates the line over time all at once, and another > that reads data from input daily and just adds to the graph. > > 10 > 9 > 8 > 7 > 6 > 4 > 3 > 2 > 1 > 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 etc > > I'm guess this wheel was invented long ago. But it seems esoteric... > one one have to build a bit map from numeric input... I also have a tiny (and very simple) plotter-stack on my site http://www.major-k.de/xtalk.html Look for "plottertest..." Maybe that will get you started. > TIA > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org Regards Klaus Major klaus at major-k.de www.major-k.de From dburgun at dsl.pipex.com Wed Apr 7 05:32:53 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 7 Apr 2004 10:32:53 +0100 Subject: Progress Bar? In-Reply-To: <41AA1834-8872-11D8-A728-000A27B49A96@major-k.de> References: <9188996E-8850-11D8-8052-000A959D0AC6@hindu.org> <41AA1834-8872-11D8-A728-000A27B49A96@major-k.de> Message-ID: Hi, What is the best way to implement a a Progress Bar in RunRev? The way I'd like to do it, it have something that looks at the amount of progress and updates the bar accordingly every so often. Thanks a lot Dave From xbury.cs at clearstream.com Wed Apr 7 05:38:57 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 7 Apr 2004 11:38:57 +0200 Subject: Progress Bar? Message-ID: David, set the endvalue of scrollbar "progress" to 100 set the startvalue of scrollbar "progress" to 0 set the thumbposition of scrollbar "progress" to 0 repeat with x = 1 to 100 set the thumbposition of scrollbar "progress" to x end repeat something like that... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 David Burgun Sent by: use-revolution-bounces at lists.runrev.com 07.04.2004 11:32 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Progress Bar? . Hi, What is the best way to implement a a Progress Bar in RunRev? The way I'd like to do it, it have something that looks at the amount of progress and updates the bar accordingly every so often. Thanks a lot Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From dburgun at dsl.pipex.com Wed Apr 7 05:40:02 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 7 Apr 2004 10:40:02 +0100 Subject: Custom Properties and Syntax Question Message-ID: Hi, I'm having a problem address Custom Properties. I have the following script on a Text Field: on closeField if the text of the field FieldPageNumber > 99 then put 99 into field the FieldPageNumber beep end if end closeField Which works fine, however I would like to make it more flexible and do something like: on closeField if the text of field me is > cMaxValue then put cMaxValue into field the FieldPageNumber beep end if (Where cMaxValue is a Custom Property of the current Field) But I get Errors, so my question is, how to I address CustomProperties and how do I address the current field? Thanks a lot Dave From engleerica at yahoo.com Wed Apr 7 05:44:15 2004 From: engleerica at yahoo.com (Eric Engle) Date: Wed, 7 Apr 2004 02:44:15 -0700 (PDT) Subject: autoformatting question In-Reply-To: <20040407085204.5C52D9301D1@mail.runrev.com> Message-ID: <20040407094415.7823.qmail@web60505.mail.yahoo.com> I have a question about the auto-formatting function. Is there any way to use a cmd-key to get the script to autformat? Going to the menu all the time is a pain but no cmd key is listed to do this useful task. Also I just noticed: no home stack?! hm. Before I go screw up my UI and try to hack at the runrev menubar someone tell me if there is a home stack. No navigator palette either. And I'm having some trouble accessing scripts at the card level in imported metacard stacks. I can get around this by using MC to open the script and copying and pasting but I was hoping for better. Plus I'm not seeing "copy card" "paste card" commands in the menu and sometimes the RR menubar's navigation menu doesn't work. Anyway I can work around these other problems. But if there is a command key that auto-formats scripts please tell me. If home and the nav palette are hidden but there also please tell me. Thanks! __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From klaus at major-k.de Wed Apr 7 05:56:34 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Apr 2004 11:56:34 +0200 Subject: Custom Properties and Syntax Question In-Reply-To: References: Message-ID: Hi David, > Hi, > > I'm having a problem address Custom Properties. I have the following > script on a Text Field: > ... > Which works fine, however I would like to make it more flexible and do > something like: > > on closeField > if the text of field me is > cMaxValue then > put cMaxValue into field the FieldPageNumber > beep > end if > > (Where cMaxValue is a Custom Property of the current Field) > But I get Errors, so my question is, how to I address CustomProperties > and how do I address the current field? Do this: on closeField if me > the cMaxValue of me then put the cMaxValue of me into field the FieldPageNumber beep end if end closefield Note the shortcut "me", which resolves to the content of that field (Hey, it's me! ;-) and "the cMaxValue of me" since the field is the "owner" of that customprop... Customprops always have to be referred to with: THE name_of_cp OF name_of_owner Hope that helps... > Thanks a lot > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From xbury.cs at clearstream.com Wed Apr 7 05:58:07 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 7 Apr 2004 11:58:07 +0200 Subject: autoformatting question Message-ID: On 07.04.2004 11:44:15 use-revolution-bounces wrote: >I have a question about the auto-formatting function. Is there any way to use a >cmd-key to get the script to autformat? Going to the menu all the time is a >pain but no cmd key is listed to do this useful task. use the returnkey preferably after the line... (make sure there is a return after or you will have erroneous autocompletion) returnkey before the line is not reliable (repeat statements eg). naturally if the plug-in messages would work, these errors would be a thing of the past ;)) >Also I just noticed: no home stack?! hm. Before I go screw up my UI and try to >hack at the runrev menubar someone tell me if there is a home stack. No >navigator palette either. And I'm having some trouble accessing scripts at the >card level in imported metacard stacks. I can get around this by using MC to >open the script and copying and pasting but I was hoping for better. Plus I'm >not seeing "copy card" "paste card" commands in the menu and sometimes the RR >menubar's navigation menu doesn't work. This is not hypercard... This is RR! There is no home stack. But nothing is stopping you from making one ;) Same for the navbar... >Anyway I can work around these other problems. But if there is a command key >that auto-formats scripts please tell me. If home and the nav palette are >hidden but there also please tell me. Thanks! Considering the complexity of a navigator... ;) For card script editing, consider using the application browser, there are shortcuts mentioned in the preferences. cheers Xavier Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From dburgun at dsl.pipex.com Wed Apr 7 06:00:48 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 7 Apr 2004 11:00:48 +0100 Subject: Custom Properties and Syntax Question In-Reply-To: References: Message-ID: >>(Where cMaxValue is a Custom Property of the current Field) >>But I get Errors, so my question is, how to I address >>CustomProperties and how do I address the current field? > >Do this: > >on closeField > if me > the cMaxValue of me then > put the cMaxValue of me into field the FieldPageNumber > beep > end if >end closefield > >Note the shortcut "me", which resolves to the content of that field >(Hey, it's me! ;-) >and "the cMaxValue of me" since the field is the "owner" of that customprop... > >Customprops always have to be referred to with: > >THE name_of_cp OF name_of_owner > >Hope that helps... > Yes, that helps a lot. So would this work? > put the cMaxValue of me into me To replace the contents "FieldPageNumber" ? Thanks Again Dave From martin at materiaprima.fsnet.co.uk Wed Apr 7 06:04:39 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 07 Apr 2004 11:04:39 +0100 Subject: autoformatting question In-Reply-To: <20040407094415.7823.qmail@web60505.mail.yahoo.com> References: <20040407085204.5C52D9301D1@mail.runrev.com> Message-ID: >Anyway I can work around these other problems. But if there is a command key >that auto-formats scripts please tell me. If home and the nav palette are >hidden but there also please tell me. Thanks! > Eric, Pressing the tab key reformats the current handler HTH Martin From klaus at major-k.de Wed Apr 7 06:12:53 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Apr 2004 12:12:53 +0200 Subject: Custom Properties and Syntax Question In-Reply-To: References: Message-ID: <21EF34F0-887C-11D8-A728-000A27B49A96@major-k.de> Hi David, >>> ... >> THE name_of_cp OF name_of_owner >> Hope that helps... > Yes, that helps a lot. So would this work? Why don't you try? I promise that your computer will NOT explode! ;-) (At least not when testing this code-snippet...) >> put the cMaxValue of me into me > To replace the contents "FieldPageNumber" ? Yes :-) Hope that helps... > Thanks Again > Dave Regards Klaus Major klaus at major-k.de www.major-k.de P.S. Take a chance ;-) From dburgun at dsl.pipex.com Wed Apr 7 06:30:24 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 7 Apr 2004 11:30:24 +0100 Subject: Custom Properties and Syntax Question In-Reply-To: <21EF34F0-887C-11D8-A728-000A27B49A96@major-k.de> References: <21EF34F0-887C-11D8-A728-000A27B49A96@major-k.de> Message-ID: >Hi David, > >>>>... >>>THE name_of_cp OF name_of_owner >>>Hope that helps... >>Yes, that helps a lot. So would this work? > >Why don't you try? > >I promise that your computer will NOT explode! ;-) >(At least not when testing this code-snippet...) I did try it but got an error, when I looked closer I saw I had mis-typed it! I still have a problem with when I can edit scripts or not. I edited this while in Browse mode of the IDE and it didn't take until I came back into "pointer mode". It's working fine now. All the Best Dave From malte.brill at t-online.de Wed Apr 7 08:17:13 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 07 Apr 2004 14:17:13 +0200 Subject: re. [ANN] EnhancedQT 0.5.4 - Now OS 9 compatible In-Reply-To: <20040407045159.2AD869301A8@mail.runrev.com> Message-ID: Hi Trevor, could you please add a make a donatin - paypal button to your site? Even though I only have had a quick look yet I feel I?d like to send you some money for your efforts and support your work as your code will defenetly support mine. Thank you so much! Malte From jhurley at infostations.com Wed Apr 7 08:56:15 2004 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 7 Apr 2004 05:56:15 -0700 Subject: graph functions In-Reply-To: <20040407085204.5C52D9301D1@mail.runrev.com> References: <20040407085204.5C52D9301D1@mail.runrev.com> Message-ID: Sannyasin, You can probably imagine what I will suggest: Turtle Graphics. Just as a *rough* start, the code would be as simple as on mouseUP put field 1 into dayOneData put field 2 into dayTwoData drawAxes startTurtle "dayOne" tell "dayOne" plot dayOnedata startTurtle "dayTwo" tell "dayTwo" plot dayTwoData end mouseUP on plot data repeat with i = 1 to the number of lines in data setxy line i of data end repeat end plot on drawAxes startTurtle "xAxis" tell "xAxis" repeat with i = 1 to 10 setx 20*i label 20*i end repeat --Similarly for yAxis end drawAxes If Ken's or Klaus's stacks don't work for you, try the tools in go url "http://home.infostations.net/jhurley/TellTurtles.rev" The virtue of this variation on the traditional TG is that it allows you to create as many drawing objects as you need, each independent of the other. If you don't want to see the graph line being drawn, just lock the screen--that does speed things up considerably. Jim From 3mcgrath at adelphia.net Wed Apr 7 09:09:50 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 7 Apr 2004 09:09:50 -0400 Subject: new standalone application builder In-Reply-To: References: Message-ID: I tried this four or five times in the message box and 'finally' was able to get rid of the "ask dialog". Thank you. P.S. I still would call that a bug though. - With a work around that I would not have thought of though. Thanks Tom On Apr 6, 2004, at 8:06 PM, Monte Goulding wrote: > delete stack "ask dialog" -- keep doing this in the message box until > you > get an error > Then save your stack and quit rev > reopen and see if you get the same issue > > Cheers > > Monte Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From m.mackenzie at sasktel.net Wed Apr 7 09:32:07 2004 From: m.mackenzie at sasktel.net (Mark MacKenzie) Date: Wed, 07 Apr 2004 07:32:07 -0600 Subject: Empty a list of globals Message-ID: <407402D7.9070608@sasktel.net> Hit a bit of a stumper for me. At preopencard time I need to clear a bunch of globals. I created the following handler and it doesn't seem to clear the globals involved. In a succeeding handler they keep their previous values. Am I doing something fundamentally wrong? preOpenCard put "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBulletLotCustom" into gGlobalsToEmpty repeat with x = 1 to the number of items of gGlobalsToEmpty put empty into item x of gGlobalsToEmpty end repeat end preOpenCard When faced with a series of globals to reset to zero or empty how do you do it with a minimum of scripting? Mark MacKenzie From xbury.cs at clearstream.com Wed Apr 7 09:36:09 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 7 Apr 2004 15:36:09 +0200 Subject: Empty a list of globals Message-ID: Mark, try this... repeat with x = 1 to the number of items of gGlobalsToEmpty do "put empty into" && item x of gGlobalsToEmpty end repeat ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Mark MacKenzie Sent by: use-revolution-bounces at lists.runrev.com 07.04.2004 15:32 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Empty a list of globals . Hit a bit of a stumper for me. At preopencard time I need to clear a bunch of globals. I created the following handler and it doesn't seem to clear the globals involved. In a succeeding handler they keep their previous values. Am I doing something fundamentally wrong? preOpenCard put "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBulletLotCustom" into gGlobalsToEmpty repeat with x = 1 to the number of items of gGlobalsToEmpty put empty into item x of gGlobalsToEmpty end repeat end preOpenCard When faced with a series of globals to reset to zero or empty how do you do it with a minimum of scripting? Mark MacKenzie _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From soapdog at mac.com Wed Apr 7 09:41:38 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 7 Apr 2004 10:41:38 -0300 Subject: Building C ++ Plug ins In-Reply-To: <04A9E551-8858-11D8-A8E4-000A9567A3E6@swcp.com> References: <04A9E551-8858-11D8-A8E4-000A9567A3E6@swcp.com> Message-ID: <4B35DEA0-8899-11D8-B1A5-0003936D012E@mac.com> On Apr 7, 2004, at 2:54 AM, Dar Scott wrote: > I have created externals that glue to C++ libraries with Visual C++ > (Windows). So, it can be done. > > An alternative to externals might be to run the C++ app from the > Revolution shell() and use files as the I/O. I used this second approach in a contract. I created a Objective-C/Cocoa command line app, and used Shell function to interface with it. Sometimes you just need to use ObjC to tap into some frameworks... =) Cheers Andre > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From jbv.silences at Club-Internet.fr Wed Apr 7 11:03:02 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Wed, 07 Apr 2004 17:03:02 +0200 Subject: Manipulation of jpg data Message-ID: <40741825.E109894@Club-Internet.fr> Hi there, I have a project and am wondering if it's feasable. Basically, I'd like to manipulate jpeg data in variables and then save these data as files. I'm mostly planing to open various small jpg files, rearranging the content into 1 single file and then save that content to disk as jpeg. I've done that numerous times in MC or Rev using the imagedata property and the export cmd. But this time I need to do that on a server with the cgi engine, and therefore can't use imagedata. I guess this can be done, but would like to know if anyone has any experience / tips / suggestion on this matter... Thanks, JB From xbury.cs at clearstream.com Wed Apr 7 11:06:04 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 7 Apr 2004 17:06:04 +0200 Subject: Manipulation of jpg data Message-ID: JB Why not have a separate MC/RR instance running on your server and periodically do a check for data to process? When the files are detected or present you process them with RR. I have a few background application services that do this at work. Works like a charm! cheers Xavier On 07.04.2004 17:03:02 use-revolution-bounces wrote: >Hi there, > >I have a project and am wondering if it's feasable. > >Basically, I'd like to manipulate jpeg data in variables >and then save these data as files. >I'm mostly planing to open various small jpg files, >rearranging the content into 1 single file and then save >that content to disk as jpeg. >I've done that numerous times in MC or Rev using >the imagedata property and the export cmd. >But this time I need to do that on a server with the cgi engine, >and therefore can't use imagedata. > >I guess this can be done, but would like to know if >anyone has any experience / tips / suggestion on this >matter... > >Thanks, >JB > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From albrecht at act-net.com Wed Apr 7 11:16:50 2004 From: albrecht at act-net.com (A.C.T.) Date: Wed, 07 Apr 2004 15:16:50 +0000 Subject: Studio license for sale Message-ID: <40741B62.3030402@act-net.com> Hi, my studio license (about 1 month old, no update rigth lost) is for sale. If anyone is interested in buying it from me I would be happy to receive a (private) email. Marc Albrecht A.C.T. / Level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. (+49) (0)4765-830060 Fax. (+49) (0)4765-830064 From jbv.silences at Club-Internet.fr Wed Apr 7 11:23:44 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Wed, 07 Apr 2004 17:23:44 +0200 Subject: Manipulation of jpg data References: Message-ID: <40741D00.18FAE133@Club-Internet.fr> Xavier, Thanks for the suggestion. It actually crossed my mind, but I have the feeling that a simpler solution exists, especially because the original files I want to re-arrange into a new, bigger file are rather small (10 x 10 pixels), and they already exist. And also because new files will have to be created on the fly, upon cgi requests from a browser... So I can store the content of the original samll files on disk, each file containing a serie of pixel values. Then I open the needed files, organize the content in a variable and save the result as a new jpg file. In fact, what I need is a good jpeg compression algo that I can implement in Transcript. I'm presently doing a google search, but found only jpeg compression theory stuff so far... JB > JB > > Why not have a separate MC/RR instance running on your > server and periodically do a check for data to process? > > When the files are detected or present you process > them with RR. I have a few background application > services that do this at work. Works like a charm! From xbury.cs at clearstream.com Wed Apr 7 11:31:08 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 7 Apr 2004 17:31:08 +0200 Subject: Manipulation of jpg data Message-ID: JB If you httpd/rr-cgi is not too loaded, this is fine, but it's wiser to send the work off the server IMOHO. If it is a Mac server, you can also use applescripts to tell the RR engine to do the work... BTW, there's a big of code regarding image manipulations in the externals kit if that helps... google "jpeg source code" for code ! or http://www.ijg.org/files cheers Xavier On 07.04.2004 17:23:44 use-revolution-bounces wrote: >Xavier, > >Thanks for the suggestion. >It actually crossed my mind, but I have the feeling that a >simpler solution exists, especially because the original >files I want to re-arrange into a new, bigger file are rather >small (10 x 10 pixels), and they already exist. >And also because new files will have to be created on the >fly, upon cgi requests from a browser... >So I can store the content of the original samll files on disk, >each file containing a serie of pixel values. Then I open the >needed files, organize the content in a variable and save the >result as a new jpg file. > >In fact, what I need is a good jpeg compression algo that >I can implement in Transcript. >I'm presently doing a google search, but found only jpeg >compression theory stuff so far... >JB > >> JB >> >> Why not have a separate MC/RR instance running on your >> server and periodically do a check for data to process? >> >> When the files are detected or present you process >> them with RR. I have a few background application >> services that do this at work. Works like a charm! > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From FlexibleLearning at aol.com Wed Apr 7 11:34:45 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 7 Apr 2004 11:34:45 EDT Subject: Graph functions Message-ID: <12c.3ede6a0d.2da57995@aol.com> Well timed, Swami... Just uploaded a new version of ChartMaker (ie. one that ain't broke after changes made in 2.5) www.flexibleLearning.com/xtalk.htm and click on chartMaker. Sound like it will do what you want apart from the moving lines. So perhaps it isn't what you need. Anyway, you can always have a look. /H > >Anyone have any xTalk visual graphing functions already cooked up? > > > >I'm looked for something where you set up a visual object that has > >numeric values on the y axis (vertical- numerical values) > >and dates on the x axis (horizontal - dates). and then from a given > >set of integer pairs it will create add a "moving" line that charts > >visually the changes.... two functions are envisioned: one that takes > >a lot of data and creates the line over time all at once, and another > >that reads data from input daily and just adds to the graph. _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: mailto:h at flexibleLearning.com Web: www.flexibleLearning.com From FlexibleLearning at aol.com Wed Apr 7 11:53:09 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 7 Apr 2004 11:53:09 EDT Subject: Empty a list of globals Message-ID: delete global myGlobal or repeat for each line L in myListOfGlobals delete global L end repeat etc. /H From eric.chatonet at wanadoo.fr Wed Apr 7 12:00:40 2004 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Wed, 7 Apr 2004 18:00:40 +0200 Subject: Empty a list of globals In-Reply-To: <20040407153431.E522F9301E8@mail.runrev.com> References: <20040407153431.E522F9301E8@mail.runrev.com> Message-ID: Le 7 avr. 04, ? 17:34, Mark MacKenzie a ?crit : > Hit a bit of a stumper for me. > > At preopencard time I need to clear a bunch of globals. I created the > following handler and it doesn't seem to clear the globals involved. > In > a succeeding handler they keep their previous values. Am I doing > something fundamentally wrong? > > preOpenCard > put > "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBullet > LotCustom" > into gGlobalsToEmpty > repeat with x = 1 to the number of items of gGlobalsToEmpty > put empty into item x of gGlobalsToEmpty > end repeat > end preOpenCard > > When faced with a series of globals to reset to zero or empty how do > you > do it with a minimum of scripting? > > Mark MacKenzie > Hi Mark, You have to declare global variables : on preOpenCard local tGlobalsToEmpty, tGlobalName ----- put "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBulletL otCustom" into tGlobalsToEmpty repeat for each item tGlobalName in tGlobalsToEmpty do "global" && tGlobalName do "put empty into" && tGlobalName end repeat end preOpenCard You can also declare your globals outside the handler at the top of the script and forget nominal declaration in the preOpencard handler: global gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBulletLo tCustom ----- on preOpencard local tGlobalsToEmpty, tGlobalName ----- put "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBulletL otCustom" into tGlobalsToEmpty repeat for each item tGlobalName in tGlobalsToEmpty do "put empty into" && tGlobalName end repeat end preOpenCard Hope this helps, Amicalement, ?ric Chatonet 24, Boulevard de Port-Royal 75005 Paris From sanke at hrz.uni-kassel.de Wed Apr 7 12:23:11 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 07 Apr 2004 18:23:11 +0200 Subject: autoformatting question Message-ID: <40742AEF.5060908@hrz.uni-kassel.de> On Wed, 7 Apr 2004, Eric Engle wrote: > (snip) > Also I just noticed: no home stack?! hm. Before I go screw up my UI > and try to > hack at the runrev menubar someone tell me if there is a home stack. There is a password-protected home stack alias stack "license.rev". You can access it from the Application Browser (first check "Revolution UI Elements in Lists" of menubutton "View" of the MenuBar) where it appears as the first stack as "home" along with its substacks. You can look at all control properties, but not at the scripts. > No navigator palette either. You can use the right and left arrow keys of the keyboard instead. > And I'm having some trouble accessing scripts at the > card level in imported metacard stacks. No trouble here with imported MC stacks, neither on Windows nor with MacOS. There is a menuitem "cardscript" under "Object". Or click at the card and then on the "Script" icon of the Menubar. Regards, Wilhelm Sanke From kray at sonsothunder.com Wed Apr 7 12:26:27 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Apr 2004 11:26:27 -0500 Subject: Relative Paths In-Reply-To: <20040407085215.71CE9BF81@xprdmailfe13.nwk.excite.com> Message-ID: Kevin, Why do you need to add stacks to the stackFiles property? I've been using MC/Rev for years and never needed to do this to open other stacks. When you open a stack in the IDE, it automatically defaults to the path where the executable lies, and only changes when you set "the directory" (or the "defaultFolder"). All relative paths are from ther e. Does this help? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > From: "Kevin" > Reply-To: nnoydb at excite.com, How to use Revolution > > Date: Wed, 7 Apr 2004 04:52:15 -0400 (EDT) > To: use-revolution at runrev.com > Subject: Relative Paths > > > > I am a bit confused. How does one create applications that can be used in the > IDE on multiple platforms without relative paths. When I add a satck file to > the the stackFiles property (in the property explorer) the fully qualified > path is used. When I copy the stack to another platform the path (something > like "/Users/me/src/transcript/common/xxx.rev") will not function. Please > someone explain how this is supposed to work? > > > Kevin > > > -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- > Disclaimer: > > Any resemblance between the above views and those of my > employer, my terminal, or the view out my window are purely > coincidental. > Any resemblance between the above and my own views is non-deterministic. > > The question of the existence of views in the absence of anyone to hold > them > is left as an exercise for the reader. The question of the existence of > the reader > is left as an exercise for the second god coefficient. > (A discussion of non-orthogonal, non-integral polytheism is beyond the > scope of this article.) > > > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Wed Apr 7 12:28:17 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Apr 2004 11:28:17 -0500 Subject: RunRev and SourceSafe In-Reply-To: Message-ID: Dave, I have experience using both, but not together... :-) There shouldn't be a problem using SourceSafe on stacks AFAIK, but keep in mind that you have to check things in and out at the stack level - substacks aren't "checkout-able". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > From: David Burgun > Reply-To: How to use Revolution > Date: Tue, 6 Apr 2004 13:30:58 +0100 > To: How to use Revolution > Subject: RunRev and SourceSafe > > Hi, > > Has anyone had any experience of using RunRev and SourceSafe? My > company uses SourceSafe and I have to check my work into the > database, but before I do I would like to know if there are any > problems with this. > > Also what form of CheckOut behavour should I use? Does RR use CKID > resources, does it hurt to have a CKID in a RR stack? Or should I use > the MacOS File lock method. > > Any advice appreciated. > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Apr 7 13:15:24 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Apr 2004 10:15:24 -0700 Subject: Studio license for sale In-Reply-To: <40741B62.3030402@act-net.com> References: <40741B62.3030402@act-net.com> Message-ID: <4074372C.2020004@fourthworld.com> A.C.T. wrote: > my studio license (about 1 month old, no update rigth lost) is for sale. > If anyone is interested in buying it from me I would be happy to receive > a (private) email. Is the license transferrable? That would be very rare for a software license. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From davis.phil at comcast.net Wed Apr 7 13:16:36 2004 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 7 Apr 2004 10:16:36 -0700 Subject: Relative Paths References: Message-ID: <000b01c41cc4$17ce4ba0$9d7ba8c0@RON7XP> Also... If you decide you want to use stackfiles anyway, you can use relative paths in there instead of absolute paths. This requires that you build your own 'stackfile setter', but it will give you stackfile functionality with app folder location independence. Also, 'the stackfiles' can be the property of other than the app mainstack, as long as the stack containing the stackfiles is open when stackfile content is referenced, and those stackfile paths start at the directory of the main app (the executable). HTH - Phil Davis ----- Original Message ----- From: "Ken Ray" To: Sent: Wednesday, April 07, 2004 9:26 AM Subject: Re: Relative Paths > Kevin, > > Why do you need to add stacks to the stackFiles property? I've been using > MC/Rev for years and never needed to do this to open other stacks. When you > open a stack in the IDE, it automatically defaults to the path where the > executable lies, and only changes when you set "the directory" (or the > "defaultFolder"). All relative paths are from ther > e. > > Does this help? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > From: "Kevin" > > Reply-To: nnoydb at excite.com, How to use Revolution > > > > Date: Wed, 7 Apr 2004 04:52:15 -0400 (EDT) > > To: use-revolution at runrev.com > > Subject: Relative Paths > > > > > > > > I am a bit confused. How does one create applications that can be used in the > > IDE on multiple platforms without relative paths. When I add a satck file to > > the the stackFiles property (in the property explorer) the fully qualified > > path is used. When I copy the stack to another platform the path (something > > like "/Users/me/src/transcript/common/xxx.rev") will not function. Please > > someone explain how this is supposed to work? > > > > > > Kevin > > > > > > -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- > > Disclaimer: > > > > Any resemblance between the above views and those of my > > employer, my terminal, or the view out my window are purely > > coincidental. > > Any resemblance between the above and my own views is non-deterministic. > > > > The question of the existence of views in the absence of anyone to hold > > them > > is left as an exercise for the reader. The question of the existence of > > the reader > > is left as an exercise for the second god coefficient. > > (A discussion of non-orthogonal, non-integral polytheism is beyond the > > scope of this article.) > > > > > > > > _______________________________________________ > > Join Excite! - http://www.excite.com > > The most personalized portal on the Web! > > _______________________________________________ > > 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 albrecht at act-net.com Wed Apr 7 13:31:15 2004 From: albrecht at act-net.com (A.C.T.) Date: Wed, 07 Apr 2004 19:31:15 +0200 Subject: Studio license for sale In-Reply-To: <4074372C.2020004@fourthworld.com> References: <40741B62.3030402@act-net.com> <4074372C.2020004@fourthworld.com> Message-ID: <40743AE3.4010309@act-net.com> Hi, Richard, > Is the license transferrable? That would be very rare for a software > license. Before I "trolled" this list again (sorry, couldn't resist) I asked RunRev whether I may sell it. Yes, I may. This is common for software licenses, as European lawcourts have made it clear that Microsoft can not forbid people to resell their Windows license. If Microsoft cannot, how could someone else ;-) The license was bought on March, 8th 2004. So it is "brand new", bought for Version 2.1.2 and, according to the license text, usable for one bugfix (erm, upgrade). Marc Albrecht A.C.T. / level-2 Glinder Str. 2 27432 Ebersdorf Deutschland Tel. 04765-830060 Fax. 04765-830064 From nnoydb at excite.com Wed Apr 7 13:38:08 2004 From: nnoydb at excite.com (Kevin) Date: Wed, 7 Apr 2004 13:38:08 -0400 (EDT) Subject: Relative Paths Message-ID: <20040407173808.07A6429A0C@xprdmailfe21.nwk.excite.com> I use source control and develop/test my Revolution application in different IDEs (Windows, OS X, Linux, Sun Solaris, AIX). I maintain and application/projects library directory tree similar to below. SRC TRANSCRIPT COMMON ALGO MATH.REV (CONTAINS EXPMOVAVG, SCALE?) FINANCIAL INDICATORS.REV (CONTAINS MACD, PTP?) DATABASE EARNINGS.REV (CONTAINS INTERFACE TO EARNINGS DB) HLCV.REV (CONTAINS INTERFACE TO HLCV DB) ANALYZER ANALYZER.REV (A APPLICATION) This type of project/application/library management is common in large development projects. The constructs of module inclusion provided in Runtime Revolution do not seem to allow this source management technique. I realized you are quite experienced in developing products using Runtime Revolution. I may not properly understand the construct Runtime Revolution provides I would appreciate a education if you have the time. However, I have seen very few postings from developers involved in large projects. My application is extremely large and requires reusable interfaces for any number of applications. I see no simple way if implementing this with the given constructs. NOTE: Every popular language C,C++,Visual Basic? has some form of file inclusion by way of relative paths. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Wed 04/07, Ken Ray < kray at sonsothunder.com > wrote: From: Ken Ray [mailto: kray at sonsothunder.com] To: use-revolution at lists.runrev.com Date: Wed, 07 Apr 2004 11:26:27 -0500 Subject: Re: Relative Paths Kevin,

Why do you need to add stacks to the stackFiles property? I've been using
MC/Rev for years and never needed to do this to open other stacks. When you
open a stack in the IDE, it automatically defaults to the path where the
executable lies, and only changes when you set "the directory" (or the
"defaultFolder"). All relative paths are from ther
e.

Does this help?

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/


> From: "Kevin"
> Reply-To: nnoydb at excite.com, How to use Revolution
>
> Date: Wed, 7 Apr 2004 04:52:15 -0400 (EDT)
> To: use-revolution at runrev.com
> Subject: Relative Paths
>
>
>
> I am a bit confused. How does one create applications that can be used in the
> IDE on multiple platforms without relative paths. When I add a satck file to
> the the stackFiles property (in the property explorer) the fully qualified
> path is used. When I copy the stack to another platform the path (something
> like "/Users/me/src/transcript/common/xxx.rev") will not function. Please
> someone explain how this is supposed to work?
>
>
> Kevin
>
>
> -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
> Disclaimer:
>
> Any resemblance between the above views and those of my
> employer, my terminal, or the view out my window are purely
> coincidental.
> Any resemblance between the above and my own views is non-deterministic.
>
> The question of the existence of views in the absence of anyone to hold
> them
> is left as an exercise for the reader. The question of the existence of
> the reader
> is left as an exercise for the second god coefficient.
> (A discussion of non-orthogonal, non-integral polytheism is beyond the
> scope of this article.)
>
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> _______________________________________________
> 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
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From psahores at easynet.fr Wed Apr 7 13:56:46 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 7 Apr 2004 19:56:46 +0200 Subject: You Welcome, Eric ! In-Reply-To: References: <20040407153431.E522F9301E8@mail.runrev.com> Message-ID: Hi Eric, Hi List, Just a word to let All know that, Eric used to publish, there in France (some times ago, yet !), lots of very usefull HyperCard/Talk related press papers, books, stacks and cd-roms... Be warmly Welcome Eric. It's cool to see you there, just at the right place to meet lots of kindly xtalker(in)s :) Bests, Pierre Le 7 avr. 04, ? 18:00, ?ric Chatonet a ?crit : > Le 7 avr. 04, ? 17:34, Mark MacKenzie a ?crit : > >> Hit a bit of a stumper for me. >> >> At preopencard time I need to clear a bunch of globals. I created the >> following handler and it doesn't seem to clear the globals involved. >> In >> a succeeding handler they keep their previous values. Am I doing >> something fundamentally wrong? >> >> preOpenCard >> put >> "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBulle >> tLotCustom" >> into gGlobalsToEmpty >> repeat with x = 1 to the number of items of gGlobalsToEmpty >> put empty into item x of gGlobalsToEmpty >> end repeat >> end preOpenCard >> >> When faced with a series of globals to reset to zero or empty how do >> you >> do it with a minimum of scripting? >> >> Mark MacKenzie >> > > Hi Mark, > You have to declare global variables : > > on preOpenCard > local tGlobalsToEmpty, tGlobalName > ----- > put > "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBullet > LotCustom" into tGlobalsToEmpty > repeat for each item tGlobalName in tGlobalsToEmpty > do "global" && tGlobalName > do "put empty into" && tGlobalName > end repeat > end preOpenCard > > You can also declare your globals outside the handler at the top of > the script and forget nominal declaration in the preOpencard handler: > > global > gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBulletL > otCustom > ----- > on preOpencard > local tGlobalsToEmpty, tGlobalName > ----- > put > "gBulletCalibre,gBulletDesign,gBulletSizedDiam,gBulletNomWeight,gBullet > LotCustom" into tGlobalsToEmpty > repeat for each item tGlobalName in tGlobalsToEmpty > do "put empty into" && tGlobalName > end repeat > end preOpenCard > > Hope this helps, > Amicalement, > > ?ric Chatonet > 24, Boulevard de Port-Royal > 75005 Paris_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From kray at sonsothunder.com Wed Apr 7 14:01:22 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Apr 2004 13:01:22 -0500 Subject: Relative Paths In-Reply-To: <20040407173808.07A6429A0C@xprdmailfe21.nwk.excite.com> Message-ID: > SRC > TRANSCRIPT > COMMON > ALGO > MATH.REV (CONTAINS EXPMOVAVG, SCALE?) > FINANCIAL > INDICATORS.REV (CONTAINS MACD, PTP?) > DATABASE > EARNINGS.REV (CONTAINS INTERFACE TO EARNINGS DB) > HLCV.REV (CONTAINS INTERFACE TO HLCV DB) > > ANALYZER > ANALYZER.REV (A APPLICATION) Based on the tree above, there was a space before ANALYZER.REV, so for my example I'm assuming it's inside the ANALYZER folder at the same level as the FINANCIAL folder, as in: > ANALYZER > ANALYZER.REV (A APPLICATION) If your application "ANALYZER.REV" is running and needs to get access to INDICATORS.REV (let's say you want to open it), then all you need to do is to say: open stack "../financial/indicators.rev" Since there is no preceding "/" or volume identifier (like "C:" as in Windows), Rev assumes that this is a relative path to the current working directory. The "../" functions like in URL paths and goes "up" a level. The CWD is initially defined as the location of the running Revolution engine, but may be redefined by setting "the directory" (or "the defaultFolder"). Now when a stack is running as a standalone app, "the directory" is the location of the standalone. When it is running as a stack in the Rev IDE, "the directory" is the location of the Revolution application. For development purposes, it makes sense to always make "the directory" correspond to where the initial stack is because eventually that stack will become a standalone itself and so "the directory" will be in the same relative location. To do this, I have this handler I run on preOpenStack of the stack that will become my standalone application: on preOpenStack set the directory to MyFolder() end preOpenStack function MyFolder put the filename of this stack into tPath set the itemDel to "/" if (the platform = "MacOS") and isOSX() and (the environment <> "development") then delete item -4 to -1 of tPath return tPath else return item 1 to -2 of tPath end if end MyFolder function isOSX set the itemDel to "." return (item 1 of the systemVersion >=10) end isOSX This way, even if the stack is running in the IDE, "the directory" is set to the folder where the stack is, and all relative paths will be calculated from that location. And when the stack becomes a standalone application, nothing changes and all is well. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > From: "Kevin" > Reply-To: nnoydb at excite.com, How to use Revolution > > Date: Wed, 7 Apr 2004 13:38:08 -0400 (EDT) > To: use-revolution at lists.runrev.com > Subject: Re: Relative Paths > > > I use source control and develop/test my Revolution application in different > IDEs (Windows, OS X, Linux, Sun Solaris, AIX). I maintain and > application/projects library directory tree similar to below. > > SRC > TRANSCRIPT > COMMON > ALGO > MATH.REV (CONTAINS EXPMOVAVG, SCALE?) > FINANCIAL > INDICATORS.REV (CONTAINS MACD, PTP?) > DATABASE > EARNINGS.REV (CONTAINS INTERFACE TO EARNINGS DB) > HLCV.REV (CONTAINS INTERFACE TO HLCV DB) > > ANALYZER > ANALYZER.REV (A APPLICATION) > > This type of project/application/library management is common in large > development projects. The constructs of module inclusion provided in Runtime > Revolution do not seem to allow this source management technique. I realized > you are quite experienced in developing products using Runtime Revolution. I > may not properly understand the construct Runtime Revolution provides I would > appreciate a education if you have the time. However, I have seen very few > postings from developers involved in large projects. My application is > extremely large and requires reusable interfaces for any number of > applications. I see no simple way if implementing this with the given > constructs. > > > NOTE: Every popular language C,C++,Visual Basic? has some form of file > inclusion by way of relative paths. > > Kevin > > > > -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- > Disclaimer: > > Any resemblance between the above views and those of my > employer, my terminal, or the view out my window are purely > coincidental. > Any resemblance between the above and my own views is non-deterministic. > > The question of the existence of views in the absence of anyone to hold > them > is left as an exercise for the reader. The question of the existence of > the reader > is left as an exercise for the second god coefficient. > (A discussion of non-orthogonal, non-integral polytheism is beyond the > scope of this article.) > > > > --- On Wed 04/07, Ken Ray < kray at sonsothunder.com > wrote: > From: Ken Ray [mailto: kray at sonsothunder.com] > To: use-revolution at lists.runrev.com > Date: Wed, 07 Apr 2004 11:26:27 -0500 > Subject: Re: Relative Paths > > Kevin,

Why do you need to add stacks to the stackFiles property? I've > been using
MC/Rev for years and never needed to do this to open other > stacks. When you
open a stack in the IDE, it automatically defaults to the > path where the
executable lies, and only changes when you set "the > directory" (or the
"defaultFolder"). All relative paths are from > ther
e.

Does this help?

Ken Ray
Sons of Thunder > Software
Email: kray at sonsothunder.com
Web Site: > http://www.sonsothunder.com/


> From: "Kevin" >
> Reply-To: nnoydb at excite.com, How to use > Revolution
>
> Date: Wed, 7 Apr 2004 > 04:52:15 -0400 (EDT)
> To: use-revolution at runrev.com
> Subject: > Relative Paths
>
>
>
> I am a bit confused. How does one > create applications that can be used in the
> IDE on multiple platforms > without relative paths. When I add a satck file to
> the the stackFiles p > roperty (in the property explorer) the fully qualified
> path is used. > When I copy the stack to another platform the path (something
> like > "/Users/me/src/transcript/common/xxx.rev") will not function. Please
> > someone explain how this is supposed to work?
>
>
> Kevin
> >
>
> -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
> Disclaimer:
> >
> Any resemblance between the above views and those of my
> employer, > my terminal, or the view out my window are purely
> coincidental.
> Any > resemblance between the above and my own views is non-deterministic.
> >
> The question of the existence of views in the absence of anyone to > hold
> them
> is left as an exercise for the reader. The question of the > existence of
> the reader
> is left as an exercise for the second god > coefficient.
> (A discussion of non-orthogonal, non-integral polytheism is > beyond the
> scope of this article.)
>
>
>
> _______________ > ________________________________
> Join Excite! - > http://www.excite.com
> The most personalized portal on the Web!
> > _______________________________________________
> 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/lis > tinfo/use-revolution
> > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Apr 7 14:12:58 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Apr 2004 11:12:58 -0700 Subject: Studio license for sale In-Reply-To: <40743AE3.4010309@act-net.com> References: <40741B62.3030402@act-net.com> <4074372C.2020004@fourthworld.com> <40743AE3.4010309@act-net.com> Message-ID: <407444AA.4060800@fourthworld.com> A.C.T. wrote: > Before I "trolled" this list again (sorry, couldn't resist) Just curious: did someone throw the tired "troll" accusation your way? It's so overused across Internet discussions that in most cases I've come across it says far darker things about the accuser's inability to see fresh information as fresh than it does about the intentions of the accused. > I asked RunRev whether I may sell it. Yes, I may. > This is common for software licenses, as European lawcourts have made it > clear that Microsoft can not forbid people to resell their Windows > license. If Microsoft cannot, how could someone else ;-) Well, other companies aren't required to pay $603 million in penalties for crimes against the public, so the rules sometimes vary with Miocrosoft. ;) But seriously, thank you for the clarification. It's probably useful to know for US readers because the environment here in the States is far more litigious and restrictive. Your clarification will help potential buyers here feel more comfortable with a license agreement that opens by referring to itself as "non-transferrable" without also mentioning that such a restriction doesn't apply in the EU. > The license was bought on March, 8th 2004. So it is "brand new", bought > for Version 2.1.2 and, according to the license text, usable for one > bugfix (erm, upgrade). Sounds like a good deal. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Wed Apr 7 15:35:03 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 13:35:03 -0600 Subject: Studio license for sale In-Reply-To: <40743AE3.4010309@act-net.com> Message-ID: On Wednesday, April 7, 2004, at 11:31 AM, A.C.T. wrote: > Before I "trolled" this list again (sorry, couldn't resist) I asked > RunRev whether I may sell it. Yes, I may. This is also mentioned in a Rev license that I read recently. It is upfront and clear. > This is common for software licenses, as European lawcourts have made > it clear that Microsoft can not forbid people to resell their Windows > license. If Microsoft cannot, how could someone else ;-) Of course, businesses do not have to be threatened with stick to treat customers right. It is good business. Though the non-competition part seems open-ended (and that is mitigated in some ways, fortunately), the Revolution license is good for customers. At this point, we are also fortunate to be dealing with a company willing to consider specific concerns. That may not always be the case as the company grows, but it is a good sign. Dar Scott From gbojsza at mac.com Wed Apr 7 16:47:37 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Wed, 7 Apr 2004 15:47:37 -0500 Subject: Convergence using find? Message-ID: Hi, I was wondering if anyone has suggestions for converging to the nearest number ( if the desired number doesn't exist) in a sorted field? I have a field with 60,000 numbers sorted numerically and I have used the find command in combination with a repeat loop to converge to the nearest matching number. One question I have does anyone know the find algorithm being used (is it a Binary search where the field is constantly cut into half ...ie to search for a number between 1 and 1,000,000 that is in a sorted field this would take 7 loops to converge which is quite quick) Currently I am trying...this works but is there another way? on mouseUp put 20 into x repeat for the number of lines in fld "atest" find x in fld "atest" if the foundtext is empty then put x + 1 into x else put the foundline exit to top end if end repeat end mouseUp thanks, Glen From dsc at swcp.com Wed Apr 7 17:10:35 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 15:10:35 -0600 Subject: Convergence using find? In-Reply-To: Message-ID: <0371C519-88D8-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 02:47 PM, Glen Bojsza wrote: > I was wondering if anyone has suggestions for converging to the > nearest number ( if the desired number doesn't exist) in a sorted > field? Get the field. Use 'sort', then do a modified "binary search". The chunk 'line i' is expensive for long lists, so actually break up the data in the binary search. For the modified "binary search" maybe something like this would work: If there are < 3 lines in your list do something special (I'll leave that up to you). Otherwise, do this: Get the middle line. If the target is greater, then the best is in the latter lines including the middle one. If the target is less, then the best is in the earlier ones including the middle one. I don't like the counting lines part; you might be better to keep up with the line count or switch to arrays. I bet with some thought you can come up with a way to do only one line counting operation per cycle or recursion. Dar Scott From francois.cuneo at cuk.ch Wed Apr 7 17:12:48 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Wed, 07 Apr 2004 23:12:48 +0200 Subject: Menu itemp Quit on OSX In-Reply-To: Message-ID: Hello! One question about the menubar in OSX. I have understood that the "quit" item is on the application menu. But I have written "Quitter" and the menu is always "Quit Cuk Calcul Oral" Is it possible to obtain "Quitter Cuk Calcul Oral"? Thank you so much! Amicalement Fran?ois -------------------------------------------------------------------------- Fran?ois Cuneo Au Champ du Pr? 1353 Bofflens e-mail: mailto:francois.cuneo at cuk.ch Web Cuk New Technologies, programmes ?ducatifs pour Mac: http://www.cuk.ch Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles T?l: ++41 (024) 441.17.81 Fax: ++41 (024) 441.17.05 From gbojsza at mac.com Wed Apr 7 17:18:21 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Wed, 7 Apr 2004 16:18:21 -0500 Subject: Selecting a range within an array? Message-ID: <18FB869A-88D9-11D8-88FE-003065F00EF2@mac.com> Hi, I am trying to see how you can select a range from an array... The following does NOT work but is the logic of what I am attempting to do. on mouseUp put 5 into aTestScore[1,1] put 7 into aTestScore[2,1] put 33 into aTestScore[3,1] put line 2 to 3 of aTestScore into tOutput -- I want to create an array with 7 and 33 combine tOutput with return put tOutput into field "results" end mouseUp if I used just variables this would work but for the larger part of my project I will working with arrays. thanks, Glen From paul.springer at sensis.com Wed Apr 7 17:19:29 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Wed, 7 Apr 2004 17:19:29 -0400 Subject: HTML rendering in RR Message-ID: Hello, Does anyone have tips on how to render a functional, click-able web page inside a RR application? Or know of any RR product developers who sell such a thing? Thanks -Paul From dsc at swcp.com Wed Apr 7 17:21:21 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 15:21:21 -0600 Subject: Convergence using find? In-Reply-To: Message-ID: <8461A788-88D9-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 02:47 PM, Glen Bojsza wrote: > I was wondering if anyone has suggestions for converging to the > nearest number ( if the desired number doesn't exist) in a sorted > field? (In my earlier comment, I didn't notice this was already sorted.) I change my mind. It might be best to do a brute-force linear search for best. Assume the first one is the best so far. Use 'repeat for each line L in'. For each line, check to see if it is better. If it is, make that one the best so far. After the loop, you will have the best. The other method is better for constant time nth-thing access or split and might not be good for lines. Dar Scott From dsc at swcp.com Wed Apr 7 17:28:34 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 15:28:34 -0600 Subject: Convergence using find? In-Reply-To: Message-ID: <867FA4D7-88DA-11D8-93D6-000A9567A3E6@swcp.com> Or... Use sort with a special sorting function and then get the first line. sort lines of myList ascending numeric by abs((item 1 of each)-n) get line 1 of myList (I'm assuming item 1 is the number and other items are the data you need to go with the number.) I don't know if this would be faster than the brute-force loop. Dar Scott From scott at tactilemedia.com Wed Apr 7 17:31:18 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 07 Apr 2004 14:31:18 -0700 Subject: HTML rendering in RR In-Reply-To: Message-ID: On 4/7/04 2:19 PM, "Springer, Paul" wrote: > Does anyone have tips on how to render a functional, click-able web page > inside a RR application? Or know of any RR product developers who sell such > a thing? Windows only: http://www.altuit.com/webs/altuit2/RunRev/altBrowser.htm Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Wed Apr 7 17:36:56 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 15:36:56 -0600 Subject: Selecting a range within an array? In-Reply-To: <18FB869A-88D9-11D8-88FE-003065F00EF2@mac.com> Message-ID: On Wednesday, April 7, 2004, at 03:18 PM, Glen Bojsza wrote: > I am trying to see how you can select a range from an array... Build a new array by looping over the subscripts. Skip empty values in building the new array. This is good for non-sparse or a little bit sparse as in your example. If the array can be extremely sparse, don't do that, but loop over the keys of the input array: 'repeat for each line in the keys of...'. Dar Scott From katir at hindu.org Wed Apr 7 17:43:25 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 7 Apr 2004 11:43:25 -1000 Subject: Graph functions In-Reply-To: <12c.3ede6a0d.2da57995@aol.com> References: <12c.3ede6a0d.2da57995@aol.com> Message-ID: <9922D95C-88DC-11D8-8052-000A959D0AC6@hindu.org> Wow! Five responses to my query with sample stacks with open source code in less than 18 hours! incredible ;-) Thank you everyone... (Hugh, Xavier, Klaus, Jim and David) what a great support family! Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Apr 7, 2004, at 5:34 AM, FlexibleLearning at aol.com wrote: > Well timed, Swami... Just uploaded a new version of ChartMaker (ie. > one that > ain't broke after changes made in 2.5) From klaus at major-k.de Wed Apr 7 17:46:40 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Apr 2004 23:46:40 +0200 Subject: Menu itemp Quit on OSX In-Reply-To: References: Message-ID: <0D62ADCE-88DD-11D8-A728-000A27B49A96@major-k.de> Bon soir mon ami :-) > Hello! > > One question about the menubar in OSX. > > I have understood that the "quit" item is on the application menu. > > But I have written "Quitter" and the menu is always "Quit Cuk Calcul > Oral" > > Is it possible to obtain "Quitter Cuk Calcul Oral"? > > Thank you so much! There is an extremely cheap and effective trick on OS X ;-) Control-Click on the Revolution application... Select "Show contents" or whatever that may be in french to get INSIDE this folder in disguise... Then simply create an empty!!! folder called French.lproj here: Revolution/Contents/Resources/French.lproj This will at least translate the "Quit", "Preferences" and the menu "Help" into french... (in the IDE and your standalones :-) You will have to restart Rev... This folder will be part of your standalone, since all resources are copied from the Revolution application... This will work with many languages! Tested with: German.lproj French. lproj Italian. lproj Spanish. lproj NOT tested with: Scotsh.lproj :-D Hope that helps... > Amicalement > Fran?ois > ----------------------------------------------------------------------- > --- > > Fran?ois Cuneo > Au Champ du Pr? > 1353 Bofflens Regards Klaus Major klaus at major-k.de www.major-k.de From gbojsza at mac.com Wed Apr 7 18:32:41 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Wed, 7 Apr 2004 17:32:41 -0500 Subject: Selecting a range within an array? In-Reply-To: Message-ID: <7B047DAA-88E3-11D8-88FE-003065F00EF2@mac.com> Two things that I have noticed given: on mouseUp put 5 into ttt[1,1] put 7 into ttt[2,1] put 8 into ttt[3,1] put 9 into ttt[4,1] put keys of ttt end mouseUp the result of put keys of ttt 3,1 4,1 1,1 2,1 What constitutes this order? How can I empty an array? On Wednesday, April 7, 2004, at 04:36 PM, Dar Scott wrote: > > On Wednesday, April 7, 2004, at 03:18 PM, Glen Bojsza wrote: > >> I am trying to see how you can select a range from an array... > > Build a new array by looping over the subscripts. Skip empty values > in building the new array. This is good for non-sparse or a little > bit sparse as in your example. > > If the array can be extremely sparse, don't do that, but loop over the > keys of the input array: 'repeat for each line in the keys of...'. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Wed Apr 7 18:37:51 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 7 Apr 2004 12:37:51 -1000 Subject: CGI failure Intermittent -- "Can't Open File" In-Reply-To: References: Message-ID: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> Good intuitive sleuthing, David! OK I added the expected variable to tResponse being sent back and that's very helpful.. what is happening, in either mode of reading stndIn... is that the variable that should contain the incoming data is completely empty! but, *occasionally* it does work. Bottom line now seems to be: POST is failing completely on most occasions, either in the client side Rev App which is posting an empty string... or on the Darwin side server CGI interpreter which is failing to read anything at all from stnIn from the client side Rev App. a) it NEVER works if I use the "repeat while len() form b) it works But it does work *sometimes* Arghh! ;-) Whether I do either of these: repeat while length(tIncomingData) >= $CONTENT_LENGTH read from stdin for $CONTENT_LENGTH put it after tIncomingData end repeat put tIncomingData into tCheckRawData put urlDecode (tIncomingData) into tDataIn --[or:] --read from stdin until empty --put it into tCheckRawData -- put urlDecode (it) into tDataIn I get the same result can't open file /remote-team/ ## this shows that both the tUser and tFilename are empty I also added a data check to put the entire string of urlEncoded data into a variable to test at the end and return in the response like this: put the Result & cr & cr & tFilePath & cr & cr & tCheckRawData & cr & cr into tResponse If I use the "repeat while len..." etc style, tCheckRawData contains the literal variable "tIncomindData" which I assume means that tIncomindData is, as a container, empty. if I use the simple 'read from stnin until empty; put it into tCheckRawdata" the response line that should contains that data is completely empty. Conclusion at this point: POST is failing completely on most occasions, either in the client side Rev App which is posting an empty string... or on the Darwin side server CGI interpreter which is failing to read anything at all from stnIn from the client side Rev App. Arghh! ;-) Ok, what now? I'll move this whole scenario over to our virtual host site at mahiai.aloha.net where we have an old version of MC running on a solaris... then if it works there we kind of have it isolated to the current versions of Rev... OR OSX server version of Apache or Darwin? Any more suggestions? I REALLY need this to work as our server admin has turned off FTP and now this is the only way I can get data in from the outside. On Apr 6, 2004, at 9:23 PM, Dave Cragg wrote: > At 6:49 pm -1000 6/4/04, Sannyasin Sivakatirswami wrote: > >> Simply stated: the CGI accepts incoming data from a POST and writes >> it to a file sometimes and sometimes it says it can't open the file. >> No pattern... >> >> CONTEXT: > > >> >> the CGI (truncated a bit for email purposes:) goes like this: >> >> on startup >> >> if $REQUEST_METHOD is "POST" then >> read from stdin until empty >> put urlDecode (it) into tDataIn >> split tDataIn by "&" and "=" >> put tDataIn["_remotestaff"] into tUser >> put tDataIn["_project"] into tProject >> put tDataIn["_transcript"] into tTranscript >> put tDataIn["_fileName"] into tfileName >> put url "file:transcriptionTeam.txt" into tAuthenticate >> if (tUser is among the lines of tAuthenticate) then >> # set up a file path to the incoming transcription >> # it will just be a small xml file >> switch tProject >> case "taka" >> put "/taka/New-Not Yet Posted/" into tLocalDestination >> break >> case "gita" >> put "/gita/new_incoming/" into tLocalDestination >> break >> end switch >> put ("../remote-team/" & tUser & tLocalDestination & tFileName) >> into tFilePath >> >> # next: open, write data and close the file >> ## !! but here is the problem: >> ## this attempt to write a file fails intermittently... >> # sometimes apache writes the file >> # other times it returns "can't open file" to the result >> >> put tTranscript into url ("file:" & tFilePath) ## fails intermittently >> >> put the Result & cr & cr into tResponse # sometimes empty some times >> "can't open file" >> >> ## send stuff back to the user to confirm, along with the result >> >> end start up >> >> What is happening is when then the user clicks the button in the >> remote rev app, to trigger the upload to Kauai it may return result: >> "can't open file" then he clicks again and this time gets no result >> and the file is written. > > One thing you might want to check first is that the CGI is reading in > all the data. > > repeat while length(tDatain) >= $CONTENT_LENGTH > read from stdin for $CONTENT_LENGTH > put it after tDatain > end repeat > > I can't say for sure, but looking quickly at your code, it seems you > might get the error you described if the tUser variable was in fact > empty and the tAuthenticate variable contained an empty line. You > could check this by returning tFilePath when you get an error to see > if the file path is the one you expect. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Apr 7 18:39:55 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 16:39:55 -0600 Subject: Selecting a range within an array? In-Reply-To: <7B047DAA-88E3-11D8-88FE-003065F00EF2@mac.com> Message-ID: <7DEA12AE-88E4-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 04:32 PM, Glen Bojsza wrote: > 3,1 > 4,1 > 1,1 > 2,1 > > What constitutes this order? It is probably the flattening of the tree build with the insertions. When you iterate over this, test the items and see if they meet your subarray criteria. > > How can I empty an array? The value empty is equivalent to an empty array. put empty into a Dar Scott From briany at qldlearning.com Wed Apr 7 18:42:05 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 7 Apr 2004 18:42:05 -0400 Subject: CGI failure Intermittent -- "Can't Open File" In-Reply-To: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> Message-ID: > repeat while length(tIncomingData) >= $CONTENT_LENGTH > read from stdin for $CONTENT_LENGTH > put it after tIncomingData > end repeat I dunno if this is an email typo, but you want "<" in the above, so that it will loop _until_ you have $CONTENT_LENGTH bytes- as is, it's not going to execute at all... HTH, Brian From jacque at hyperactivesw.com Wed Apr 7 18:46:14 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 07 Apr 2004 17:46:14 -0500 Subject: Relative Paths In-Reply-To: <20040407085215.71CE9BF81@xprdmailfe13.nwk.excite.com> References: <20040407085215.71CE9BF81@xprdmailfe13.nwk.excite.com> Message-ID: <407484B6.2070603@hyperactivesw.com> On 4/7/04 3:52 AM, Kevin wrote: > > I am a bit confused. How does one create applications that can be > used in the IDE on multiple platforms without relative paths. When I > add a satck file to the the stackFiles property (in the property > explorer) the fully qualified path is used. When I copy the stack to > another platform the path (something like > "/Users/me/src/transcript/common/xxx.rev") will not function. Please > someone explain how this is supposed to work? You can use relative paths. Unfortunately the IDE doesn't have an interface to set them. You'll have to make your own. One way is to make a list of stackfiles in a field. For example, put this into a field named "stacks": mystack,/subDir/mystack.rev stackTwo,/subDir/stackTwo.rev stackThree,/otherDir/stackThree.rev Then from the message box: set the stackfiles of this stack to field "stacks". Ungainly, but it works. Note that, as Ken explained, all directories are relative to the current defaultfolder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Apr 7 19:22:41 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 08:52:41 +0930 Subject: Relative Paths In-Reply-To: <20040407085215.71CE9BF81@xprdmailfe13.nwk.excite.com> Message-ID: > > I am a bit confused. How does one create applications that can > be used in the IDE on multiple platforms without relative paths. > When I add a satck file to the the stackFiles property (in the > property explorer) the fully qualified path is used. When I copy > the stack to another platform the path (something like > "/Users/me/src/transcript/common/xxx.rev") will not function. > Please someone explain how this is supposed to work? > Hi Kevin This comes down to a simple feature request for the IDE when setting stackFiles to do something like this: set the itemDel to "/" put item 1 to -2 of the effective filename of this stack&"/" into tPath if char 1 to length(tPath) of tStackFile = tPath then delete char 1 to length(tPath) of tStackFile end if You might what to add this to bugzilla as an enhancement. Two things to note: 1 - the new standalone builder finds all referenced stackfiles and includes them in a build so using the stakcFiles propery is a good way to go. 2 - to launch substacks (using a stackFile reference) when you haven't launced the mainstack of a stackfile you need a stackFiles property that countains references to the substacks. Like this: - stackfile has mainstack m1 and substack s1 and is in a folder data and file sf.rev - application mainstack has stackfiles property like this: m1,data/sf.rev s1,data/sf.rev So perhaps the feature request should include both relative path and referencing of all stacks in the stackFile. Cheers Monte From sarahr at genesearch.com.au Wed Apr 7 19:26:21 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 8 Apr 2004 09:26:21 +1000 Subject: Close box in Windows XP Message-ID: Does anyone know how I can get rid of the close box in a stack window with Windows XP? In Mac OS X, I can set the decorations to "title,menu,maximize,minimize" which gives me exactly what I want with a close button visible but disabled. In Windows XP, no combination of settings seems to disable or hide the close box except if you remove "menu" from the decorations, which I don't want to do since it removes everything. Does any Windows expert out there know how I can hide the close box? I don't want to just trap the message and refuse to close the window as that would cause confusion, but I really don't want the users to be able to close a particular window unless they are quitting the entire application. TIA, Sarah From ambassador at fourthworld.com Wed Apr 7 19:32:40 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Apr 2004 16:32:40 -0700 Subject: Relative Paths In-Reply-To: <407484B6.2070603@hyperactivesw.com> References: <20040407085215.71CE9BF81@xprdmailfe13.nwk.excite.com> <407484B6.2070603@hyperactivesw.com> Message-ID: <40748F98.8060504@fourthworld.com> J. Landman Gay wrote: > You can use relative paths. Unfortunately the IDE doesn't have an > interface to set them. You'll have to make your own. Has that been Bugzilla'd? It sounds like a valuable feature enhancement request. > One way is to make a list of stackfiles in a field. For example, put > this into a field named "stacks": > > mystack,/subDir/mystack.rev > stackTwo,/subDir/stackTwo.rev > stackThree,/otherDir/stackThree.rev > > Then from the message box: > > set the stackfiles of this stack to field "stacks". > > Ungainly, but it works. > > Note that, as Ken explained, all directories are relative to the current > defaultfolder. There are two conventions at play: for stackFiles paths are relative to the stack that references them, while external media paths are relative to the defaultFolder. While the default folder is initialized to be the same as the location of the executable on all systems (except OS X, see next paragraph), the defaultFolder can be changed while the starting point for referencing stackFiles cannot. These differences are compounded by yet-another-Apple-anomaly: with OS X bundles the defaultFolder is initialized to the folder the *.app bundle is in, while stackFiles are relative to the executable within the bundle. So for OS X, unless you move your external stacks inside the bundle (altering the path from what it had been in development, altering the user experience across platforms, and thereby requiring forked documentation for your product) you'll need to prepend your stackFiles to accomodate Apple's break from convention: on startUp ResetStackFiles end startUp on ResetStackFiles get fld "MyStackFiles" if isOSX() then repeat with i = 1 to the number of lines of it put "../../" before item 2 of line i of it end repeat set the stackFiles of this stack to it end ResetStackFiles function isOSX set the itemDel to "." return (item 1 of the systemVersion >=10) end isOSX Given these factors, is having these two conventions more useful than confusing? Should we consider changing the stackFiles relative starting point in OS X to match that of all other platforms, and/or having both stackFiles and media references use the same logic? And other than moving all of your work into the Revolution application folder, what else can be done to simplify differences between the initial value of defaultFolder during development and its intial value in a standalone? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gbojsza at mac.com Wed Apr 7 19:59:54 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Wed, 7 Apr 2004 18:59:54 -0500 Subject: Selecting a range within an array? In-Reply-To: Message-ID: This doesn't seem efficient. If I already have a large array (in my case 1000000 rows and only 1 column) then if I want [50000,1] to [134000,1] into a new array looping seems like I'm not really taking advantage of what already exists in memory (in my case). Using a repeat loop with the array it takes 8 seconds. While using a variable and put (line 50 to 134000 of gte) into newgte takes 1 second I will need to do this a number of times( to 16 times ) based on the user's selection. So the array can take 108 seconds verses 16 seconds to get the requested update. I am stuck with arrays but I really would like to have a faster solution... unless there is something that I'm missing?? On Wednesday, April 7, 2004, at 04:36 PM, Dar Scott wrote: > > On Wednesday, April 7, 2004, at 03:18 PM, Glen Bojsza wrote: > >> I am trying to see how you can select a range from an array... > > Build a new array by looping over the subscripts. Skip empty values > in building the new array. This is good for non-sparse or a little > bit sparse as in your example. > > If the array can be extremely sparse, don't do that, but loop over the > keys of the input array: 'repeat for each line in the keys of...'. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Wed Apr 7 20:02:43 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 8 Apr 2004 10:02:43 +1000 Subject: graph functions In-Reply-To: <9188996E-8850-11D8-8052-000A959D0AC6@hindu.org> References: <9188996E-8850-11D8-8052-000A959D0AC6@hindu.org> Message-ID: <0F6B114D-88F0-11D8-BE4C-0003937A97B8@genesearch.com.au> > Anyone have any xTalk visual graphing functions already cooked up? > I have used Ken Simon's chart object, but it is too powerful for a lot of uses. I started experimenting with a simpler solution and came up with a really neat way to use Revolution and it's graphic objects. Say you had a set of data like this: 1,10 2,5 3,8 4,1 5,7 6,7 7,4 8,10 9,2 10,6 It all has to be integers so round them or multiply all the values by a factor of 10 until you get integers for every bit of data. Don't worry about scaling yet. Now create a graphic object and set it's style to polygon and set's it's points to the data set. This creates a tiny little chart somewhere on the screen. BUT, if you now change the size of the chart, the data points all scale automatically. I found the easiest way was to have a rectangular graphic object and just set the rect of my chart graphic to the rect of my background graphic. Now the only problem is that the chart is upside down, so I took the script from the revmenu stack for flipping a graphic object, and there it is. A really simple line chart. I have an example stack which I will put on my web page over the weekend, but if anyone wants it today, send me an email off list. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From monte at sweattechnologies.com Wed Apr 7 20:03:17 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 09:33:17 +0930 Subject: Relative Paths In-Reply-To: <40748F98.8060504@fourthworld.com> Message-ID: Hi Richard > So for OS X, unless you move your external stacks inside the bundle > (altering the path from what it had been in development, altering the > user experience across platforms, and thereby requiring forked > documentation for your product) you'll need to prepend your stackFiles > to accomodate Apple's break from convention: By having all external stacks inside your application bundle you are infact maintaining the same relative path across all platforms and you don't need to your stackFile altering script. The single clickable bundle is the expected user experience on OS X. I'm not sure how you would need to fork your documentation based on you application's files being inside the bundle. Generally these files need no user interaction. Certainly it's not appropriate to put files that need user interaction inside the bundle but neither is it appropriate to place them next to the application on most systems. PS The new standalone builder places everything inside the application bundle on OS X so you don't need to do anything special to handle paths. Just keep everything relative to your application mainstack and your set. Cheers Monte From briany at qldlearning.com Wed Apr 7 20:04:33 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 7 Apr 2004 20:04:33 -0400 Subject: Selecting a range within an array? In-Reply-To: Message-ID: <50A138D8-88F0-11D8-83EA-000393AA08D2@qldlearning.com> > This doesn't seem efficient. If I already have a large array (in my > case 1000000 rows and only 1 column) then if I want [50000,1] to > [134000,1] into a new array looping seems like I'm not really taking > advantage of what already exists in memory (in my case). > > ... > I am stuck with arrays but I really would like to have a faster > solution... unless there is something that I'm missing?? What exactly are you trying to do with a million rows in an array? It may be that this is a weakness of Rev's array being associative: they are not stored in numeric order under the hood, so it's not trivial to pull out a range... - Brian From monte at sweattechnologies.com Wed Apr 7 20:05:15 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 09:35:15 +0930 Subject: new standalone application builder In-Reply-To: Message-ID: > I tried this four or five times in the message box and 'finally' was > able to get rid of the "ask dialog". > > Thank you. > > P.S. I still would call that a bug though. - With a work around that I > would not have thought of though. > Yep... sure it's a bug. But I think it was one from a while back that is fixed now. Certainly if you can replicate this in 2.2 please let me know. Cheers Monte From gbojsza at mac.com Wed Apr 7 20:12:49 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Wed, 7 Apr 2004 19:12:49 -0500 Subject: Selecting a range within an array? In-Reply-To: <7DEA12AE-88E4-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: <781B8749-88F1-11D8-88FE-003065F00EF2@mac.com> After testing (remove from memory, empty array etc) the items do get called properly unfortunately I have to question how this would affect me using the keys property in future development?! On Wednesday, April 7, 2004, at 05:39 PM, Dar Scott wrote: > > On Wednesday, April 7, 2004, at 04:32 PM, Glen Bojsza wrote: > >> 3,1 >> 4,1 >> 1,1 >> 2,1 >> >> What constitutes this order? > > It is probably the flattening of the tree build with the insertions. > When you iterate over this, test the items and see if they meet your > subarray criteria. > >> >> How can I empty an array? > > The value empty is equivalent to an empty array. > > put empty into a > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gbojsza at mac.com Wed Apr 7 20:23:34 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Wed, 7 Apr 2004 19:23:34 -0500 Subject: Selecting a range within an array? In-Reply-To: <50A138D8-88F0-11D8-83EA-000393AA08D2@qldlearning.com> Message-ID: The arrays I am using are not complex in the sense of the size or being sparse (they are actually always completely filled). I am using the arrays in an application that requires a lot of simple manipulation...in this case I have an array that has a million rows that represent data points to be plotted for an entire time range. As a user wants to narrow down the time range that they have interest in I want to take the existing data points that are already in an array and grab the range the user is interested in and then do a re-plot. The idea is show the big picture and then you can "zoom in" to what interests you in the graph. Speed is important because the application is to be as "real time" as possible since the data has already been parsed and put in memory the user experience in moving from graph view to graph view needs to be smooth. (I'm competing against an existing java application). On Wednesday, April 7, 2004, at 07:04 PM, Brian Yennie wrote: >> This doesn't seem efficient. If I already have a large array (in my >> case 1000000 rows and only 1 column) then if I want [50000,1] to >> [134000,1] into a new array looping seems like I'm not really taking >> advantage of what already exists in memory (in my case). >> >> ... >> I am stuck with arrays but I really would like to have a faster >> solution... unless there is something that I'm missing?? > > What exactly are you trying to do with a million rows in an array? It > may be that this is a weakness of Rev's array being associative: they > are not stored in numeric order under the hood, so it's not trivial to > pull out a range... > > - Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Apr 7 20:30:49 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 18:30:49 -0600 Subject: Selecting a range within an array? In-Reply-To: Message-ID: On Wednesday, April 7, 2004, at 05:59 PM, Glen Bojsza wrote: > I am stuck with arrays but I really would like to have a faster > solution... unless there is something that I'm missing?? Well, if the array is not in the context of 2D arrays, then you don't need the second index. That might make calculating your key a little faster. Also, your example of the speed of lines only applies to 1D. If you were taking a sub matrix with specified min and max column and min and max row, you would have to take several chunks out. Even so, there can be an advantage to contiguous data for many types of sub matrices. Characters are even faster than lines. I have used packed numbers using encode/decodeBinary in strings as matrices. You might be more comfortable with a fixed number of characters. Another approach is to rethink this. Do you really need the sub array? Maybe what you need is the indexes into an array in a global variable or some other specifier. Dar Scott From dsc at swcp.com Wed Apr 7 20:32:16 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 18:32:16 -0600 Subject: Selecting a range within an array? In-Reply-To: <781B8749-88F1-11D8-88FE-003065F00EF2@mac.com> Message-ID: <2FD122E4-88F4-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 06:12 PM, Glen Bojsza wrote: > After testing (remove from memory, empty array etc) the items do get > called properly unfortunately I have to question how this would affect > me using the keys property in future development?! Don't assume anything about the order of keys. Dar Scott From gbojsza at mac.com Wed Apr 7 20:42:27 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Wed, 7 Apr 2004 19:42:27 -0500 Subject: Selecting a range within an array? In-Reply-To: Message-ID: <9BE3AC0A-88F5-11D8-88FE-003065F00EF2@mac.com> Dar, I think that you may be right...indexes into an array in a global variable should work. I'll go down this path to see where I end up. thanks! Glen On Wednesday, April 7, 2004, at 07:30 PM, Dar Scott wrote: > Another approach is to rethink this. Do you really need the sub > array? Maybe what you need is the indexes into an array in a global > variable or some other specifier. From ambassador at fourthworld.com Wed Apr 7 20:57:17 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Apr 2004 17:57:17 -0700 Subject: Relative Paths In-Reply-To: References: Message-ID: <4074A36D.80901@fourthworld.com> Monte Goulding wrote: >>So for OS X, unless you move your external stacks inside the bundle >>(altering the path from what it had been in development, altering the >>user experience across platforms, and thereby requiring forked >>documentation for your product) you'll need to prepend your stackFiles >>to accomodate Apple's break from convention: > > By having all external stacks inside your application bundle you are infact > maintaining the same relative path across all platforms and you don't need > to your stackFile altering script. Only from the perspective of the machine. For people, there are two fundamental metaphors driving the experience: files and folders. An OS X bundle is neither and both, an oddity that differs not only from the rest of the computing world but also from Apple's own legacy of nearly two decades. This is not to suggest that introducing the bundle concept is without merit, but neither is it a trivial matter to accomodate well. For apps with user-modifiable components, if I moved those components into the bundle on OS X I would have to inform users of the extra steps to: 1. Control-click on the application 2. Select "Show Package Contents" from the contextual menu (a violation of their own HIG, that item is not also available in a primary menu) 3. Open the Contents folder 4. Open the MacOS folder 5. Do whatever they need to do as on other platforms And all of that must follow an explanation of why what appears to be a file isn't really a file at all but is secretly a folder, or refer them to the appropriate section of the sparse Mac OS Help which explains that mystery. Note that Revolution's components are also outside the bundle as they are with mine. > The single clickable bundle is the expected user experience on OS X. > I'm not sure how you would need to fork > your documentation based on you application's files being inside the bundle. > Generally these files need no user interaction. Certainly it's not > appropriate to put files that need user interaction inside the bundle but > neither is it appropriate to place them next to the application on most > systems. Consider many of the applications from Adobe, Macromedia, Microsoft, and others: A lot of apps allow plugins, templates, or other user-modifiable elements, including Flash, Dreamweaver, GoLive, Office, Photoshop, Swift3D, Interarchy, and of course Revolution itself, just to name a few. Apple's decision to leave "Show Package Contents" out of the primary menus suggests it's not something they expect end-users to deal with. But even many apps that don't have user-modifiable components are built with external component folders that are the same on all platforms relative to the *.app, not the /Contents/MacOS/executable within in. And I believe a majority of apps keep their documentation external to the bundle in either case. So yes, many apps can be easily built to accomodate both OS X and the rest of the world without difficulty. But many others, including Revolution, can't, requiring either forked code or forked documentation. Revolution wisely favors the end-user, keeping the experience consistent across platforms and forking the code instead, using a script probably not too different from the one I use. With the ease of adding extensibility to Rev-based apps (through external media, plugins, etc.) it may be worthwhile exploring ways to make it consistently easy to deliver multi-platform apps in the form so many major vendors do. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Wed Apr 7 21:13:30 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 19:13:30 -0600 Subject: Relative Paths In-Reply-To: Message-ID: On Wednesday, April 7, 2004, at 05:22 PM, Monte Goulding wrote: > Two things to note: > 1 - the new standalone builder finds all referenced stackfiles and > includes > them in a build so using the stakcFiles propery is a good way to go. Yikes! Is this recursive? How do I control block this? I must be missing something here. Dar Scott From dsc at swcp.com Wed Apr 7 21:15:15 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 19:15:15 -0600 Subject: Relative Paths In-Reply-To: <407484B6.2070603@hyperactivesw.com> Message-ID: <3158826E-88FA-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 04:46 PM, J. Landman Gay wrote: > Note that, as Ken explained, all directories are relative to the > current defaultfolder. I thought externals were relative to the defaultFolder and stackFiles were relative to the referencing stack. Dar From dsc at swcp.com Wed Apr 7 21:21:35 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 19:21:35 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <13664B81-88FB-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 12:01 PM, Ken Ray wrote: > This way, even if the stack is running in the IDE, "the directory" is > set to > the folder where the stack is, and all relative paths will be > calculated > from that location. And when the stack becomes a standalone > application, > nothing changes and all is well. This requires that all components that change defaultFolder. Use of stackFiles does not have that problem. Dar Scott From dsc at swcp.com Wed Apr 7 21:23:39 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 19:23:39 -0600 Subject: Relative Paths In-Reply-To: <4074A36D.80901@fourthworld.com> Message-ID: <5D4B15D8-88FB-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 06:57 PM, Richard Gaskin wrote: > With the ease of adding extensibility to Rev-based apps (through > external media, plugins, etc.) it may be worthwhile exploring ways to > make it consistently easy to deliver multi-platform apps in the form > so many major vendors do. This may depend on whether one thinks of something as a drop-in plug-in or an integral part of the app. Dar Scott From dsc at swcp.com Wed Apr 7 21:29:16 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 19:29:16 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <2665CE17-88FC-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 05:22 PM, Monte Goulding wrote: > So perhaps the feature request should include both relative path and > referencing of all stacks in the stackFile. I always have to correct the entry in stackFiles that the IDE inserts. From the TD: Important! Relative file paths in the stackFiles start from the folder that the stack is in, rather than starting from the defaultFolder as with other relative paths in Transcript. Dar Scott From monte at sweattechnologies.com Wed Apr 7 21:30:00 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 11:00:00 +0930 Subject: Relative Paths In-Reply-To: <3158826E-88FA-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: > > Note that, as Ken explained, all directories are relative to the > > current defaultfolder. > > I thought externals were relative to the defaultFolder and stackFiles > were relative to the referencing stack. Yes. Stackfiles are relative to the referencing stack. Cheers Monte From monte at sweattechnologies.com Wed Apr 7 21:30:04 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 11:00:04 +0930 Subject: Relative Paths In-Reply-To: Message-ID: > > Two things to note: > > 1 - the new standalone builder finds all referenced stackfiles and > > includes > > them in a build so using the stakcFiles propery is a good way to go. > > Yikes! > > Is this recursive? Yes > How do I control block this? To what end? > > I must be missing something here. Why would you reference stackfiles you don't want in your app? Cheers Monte > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Apr 7 21:37:08 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Apr 2004 18:37:08 -0700 Subject: Relative Paths In-Reply-To: <5D4B15D8-88FB-11D8-93D6-000A9567A3E6@swcp.com> References: <5D4B15D8-88FB-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: <4074ACC4.8000806@fourthworld.com> Dar Scott wrote: > > On Wednesday, April 7, 2004, at 06:57 PM, Richard Gaskin wrote: > >> With the ease of adding extensibility to Rev-based apps (through >> external media, plugins, etc.) it may be worthwhile exploring ways to >> make it consistently easy to deliver multi-platform apps in the form >> so many major vendors do. > > > This may depend on whether one thinks of something as a drop-in plug-in > or an integral part of the app. For these distinctions I just follow the big boys: in Adobe apps (and others) non-optional/non-user-modifiable elements are in a folder labelled "Components", while in a great many applications optional/user-modifiable elements go in a folder named "Plug-ins" ('cept in Rev and a few others, where it's "Plugins"). A note of interest for curmudgeons: I took a poll here among users to see whether "Plugins" or the more grammatically-correct "Plug-ins" was preferred, and the response was overwhelmingly in favor of "Plugins". I'm generally a go-with-the-crowd-if-it-doesn't-hurt-anyone kinda guy, but since I see more apps with "Plug-ins" than "Plugins" I wonder if it's worth suggesting we revert back to simple good grammer. A note for really extreme curmudgeons: The whole plug-in craze was popularized by Adobe Photoshop, yet they appear in the UI in a menu named "Filters". This rather raises the question of why they just don't call 'em filters. When I add plug-ins to WebMerge I bypassed the whole "plug-ins" vs. "plugins" issue by naming the folder to match the name of the menu they appear in: "Tools", and in the documentation they are referred to as "plug-in tools". -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Wed Apr 7 21:37:51 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 19:37:51 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <595AE320-88FD-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 07:30 PM, Monte Goulding wrote: > Why would you reference stackfiles you don't want in your app? Data files. Plug-ins. Update-able libraries. It took a while for me to get into the Rev notion of splitting apps into a small app and lots of support stacks, now I go the other way? Dar Scott From dsc at swcp.com Wed Apr 7 21:40:44 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 19:40:44 -0600 Subject: Relative Paths In-Reply-To: Message-ID: On Wednesday, April 7, 2004, at 07:30 PM, Monte Goulding wrote: > Why would you reference stackfiles you don't want in your app? Well, Monte, stackFiles is in the TD. I assume I can use it the way I want as long as expect it to behave as advertised. Dar Scott From monte at sweattechnologies.com Wed Apr 7 22:12:20 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 11:42:20 +0930 Subject: Relative Paths In-Reply-To: Message-ID: > > Why would you reference stackfiles you don't want in your app? > > Well, Monte, stackFiles is in the TD. I assume I can use it the way I > want as long as expect it to behave as advertised. Ofcourse you can. And when it comes to building a standalone all your complex relationships between stackfiles will be retained. Cheers Monte From monte at sweattechnologies.com Wed Apr 7 22:12:25 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 11:42:25 +0930 Subject: Relative Paths In-Reply-To: <595AE320-88FD-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: > > Why would you reference stackfiles you don't want in your app? > > Data files. Plug-ins. Update-able libraries. > > It took a while for me to get into the Rev notion of splitting apps > into a small app and lots of support stacks, now I go the other way? The other way? I don't get that. All these complex relationships are transferred into your app. You can now have whatever relative paths you want and they will be retained when you build your app. Cheers Monte From monte at sweattechnologies.com Wed Apr 7 22:32:55 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 12:02:55 +0930 Subject: Relative Paths In-Reply-To: <4074A36D.80901@fourthworld.com> Message-ID: > Only from the perspective of the machine. For people, there are two > fundamental metaphors driving the experience: files and folders. An OS > X bundle is neither and both, an oddity that differs not only from the > rest of the computing world but also from Apple's own legacy of nearly > two decades. > > This is not to suggest that introducing the bundle concept is without > merit, but neither is it a trivial matter to accomodate well. > > For apps with user-modifiable components, if I moved those components > into the bundle on OS X I would have to inform users of the extra > steps to: > > 1. Control-click on the application > > 2. Select "Show Package Contents" from the contextual menu > (a violation of their own HIG, that item is not also > available in a primary menu) > > 3. Open the Contents folder > > 4. Open the MacOS folder > > 5. Do whatever they need to do as on other platforms > > And all of that must follow an explanation of why what appears to be a > file isn't really a file at all but is secretly a folder, or refer them > to the appropriate section of the sparse Mac OS Help which explains that > mystery. My question would be why is it necessary to ask your users to directly manipulate files and folders in and around your applications. It's a simple task to include an interface to abstract the user away from direct file and folder manipulation. I'd hazard a guess that many windows users don't even know where their applications are stored let alone want to mess with them. > > Note that Revolution's components are also outside the bundle as they > are with mine. Well if rev had all the IDE components in the app bundle it would make standalone building tricky for a start. But that's not a design issue that many of us need to deal with. Cheers Monte From katir at hindu.org Wed Apr 7 22:24:55 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 7 Apr 2004 16:24:55 -1000 Subject: CGI failure Intermittent -- "Can't Open File" In-Reply-To: References: Message-ID: On Apr 7, 2004, at 12:42 PM, Brian Yennie wrote: >> repeat while length(tIncomingData) >= $CONTENT_LENGTH >> read from stdin for $CONTENT_LENGTH >> put it after tIncomingData >> end repeat > > I dunno if this is an email typo, but you want "<" in the above, so > that it will loop _until_ you have $CONTENT_LENGTH bytes- as is, it's > not going to execute at all... good catch, but still no mango... I live in Hawaii ;-) in fact the above give worse results... doesn't send no file written and nothing sent back out to stand out right... I fixed it, still no go on OSX server running Revolution Darwin Engine 2.1.2 I moved all scripts and some test directories to a solaris server in Honolulu... using an old version of metacard engine as interpreter for the post, which is come from a REV 2.2. app... everything works fine... so, now it has to be a) problem with Apache on OSX server b) problem with Revolution Darwin engine on OSX server c) Problem with the OSX file system itself? sometimes the CGI does get data in the pipe from the POST and sometimes it is simply fired, but no data comes into stdIn at all.... Very difficult to debug.. help! Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org > > HTH, > Brian From sarahr at genesearch.com.au Wed Apr 7 22:51:26 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 8 Apr 2004 12:51:26 +1000 Subject: Detecting if menubar is hidden Message-ID: Hi All, I am running a kiosk application but I switch it to power-user mode at certain times. The menubar is normally hidden but a power-user can toggle it back and forth. I would like to be able to detect when the menubar is visible and when hidden so I could use this as a test of what to do when some other things happen. Does anyone know how I can do this? "the visible of the menubar" doesn't work and "the windowBoundingRect" doesn't change whether the menubar is shown or hidden. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From dsc at swcp.com Wed Apr 7 22:57:22 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 20:57:22 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <7547B54C-8908-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 08:12 PM, Monte Goulding wrote: >> It took a while for me to get into the Rev notion of splitting apps >> into a small app and lots of support stacks, now I go the other way? > > The other way? I don't get that. All these complex relationships are > transferred into your app. You can now have whatever relative paths > you want > and they will be retained when you build your app. I'm willing to try it the recommended way, if Rev will just explain it. This is what I've inferred so far from the clues. 1. The relationship among stacks and externals is static and fixed at standalone build time. 2. That relationship is specified by the stackFiles and externals in the stacks and substacks. 3. One stack is put into the app and all other stacks are placed relative to the core excutable based on stackFiles of all stack recursively found, folders built as needed. 4. All externals are static. The externals property of all stacks are adjusted so that all externals go in one place. When the app is built, externals must be in the same folder as the model revolution app, depending on the target platform. 5. The final product is either a bundle for OS X or a collection of files for others. Did I get that right? Dar Scott From monte at sweattechnologies.com Wed Apr 7 23:12:07 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 12:42:07 +0930 Subject: Relative Paths In-Reply-To: <7547B54C-8908-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: > I'm willing to try it the recommended way, if Rev will just explain it. > > This is what I've inferred so far from the clues. > > 1. The relationship among stacks and externals is static and fixed at > standalone build time. > 2. That relationship is specified by the stackFiles and externals in > the stacks and substacks. > 3. One stack is put into the app and all other stacks are placed > relative to the core excutable > based on stackFiles of all stack recursively found, folders built > as needed. > 4. All externals are static. The externals property of all stacks are > adjusted so that all externals go in one place. When the app is > built, > externals must be in the same folder as the model revolution app, > depending > on the target platform. > 5. The final product is either a bundle for OS X or a collection of > files for > others. Very close. I think you are off track with the externals property though. We don't mess with your externals property settings. It's the rev externals that are placed in the one externals folder (revXML, revDB etc). Your own externals can be copied over by referencing them in the copy files screen. This also uses relative paths so if you have a well structured development folder you should have no problems. Cheers Monte From dsc at swcp.com Wed Apr 7 23:27:46 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 21:27:46 -0600 Subject: Relative Paths In-Reply-To: Message-ID: On Wednesday, April 7, 2004, at 09:12 PM, Monte Goulding wrote: > Very close. I think you are off track with the externals property > though. We > don't mess with your externals property settings. It's the rev > externals > that are placed in the one externals folder (revXML, revDB etc). Your > own > externals can be copied over by referencing them in the copy files > screen. > This also uses relative paths so if you have a well structured > development > folder you should have no problems. The simple way to use externals is to statically place them next to the executable. Let's see if I understand the implications under this scheme. That means they have to be two places, one is next to the Revolution application. The other is in the project folder. In the project folder they have to be next to the splash stack or main stack, so they will be next to the app in Windows. The externals property is not modified, you explained. The relative location would then be next to the internal executable in the OS X bundle. Does that work? The defaultFolder is way up at the folder containing the app. I thought they had to be up next to the .app. How is this going to work? Dar Scott From monte at sweattechnologies.com Wed Apr 7 23:53:58 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 13:23:58 +0930 Subject: Relative Paths In-Reply-To: Message-ID: > > Very close. I think you are off track with the externals property > > though. We > > don't mess with your externals property settings. It's the rev > > externals > > that are placed in the one externals folder (revXML, revDB etc). Your > > own > > externals can be copied over by referencing them in the copy files > > screen. > > This also uses relative paths so if you have a well structured > > development > > folder you should have no problems. > > The simple way to use externals is to statically place them next to the > executable. Let's see if I understand the implications under this > scheme. That means they have to be two places, one is next to the > Revolution application. The other is in the project folder. In the > project folder they have to be next to the splash stack or main stack, > so they will be next to the app in Windows. The externals property is > not modified, you explained. The relative location would then be next > to the internal executable in the OS X bundle. Does that work? Yes... have a go ;-) Cheers Monte From kray at sonsothunder.com Thu Apr 8 00:06:04 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Apr 2004 23:06:04 -0500 Subject: Selecting a range within an array? In-Reply-To: Message-ID: > I am stuck with arrays but I really would like to have a faster > solution... unless there is something that I'm missing?? Are you using "repeat for each" on the array when you're looping? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Thu Apr 8 00:08:27 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 22:08:27 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <62F905C0-8912-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 09:53 PM, Monte Goulding wrote: > Yes... have a go ;-) Is this a new feature in the engine? Dar Scott From j at clsdesignassociates.com Thu Apr 8 00:08:33 2004 From: j at clsdesignassociates.com (j) Date: Wed, 7 Apr 2004 23:08:33 -0500 Subject: Studio license for sale In-Reply-To: <407444AA.4060800@fourthworld.com> References: <40741B62.3030402@act-net.com> <4074372C.2020004@fourthworld.com> <40743AE3.4010309@act-net.com> <407444AA.4060800@fourthworld.com> Message-ID: <66C43799-8912-11D8-9216-000393989F4E@clsdesignassociates.com> > But seriously, thank you for the clarification. It's probably useful > to know for US readers because the environment here in the States is > far more litigious and restrictive. Your clarification will help > potential buyers here feel more comfortable with a license agreement > that opens by referring to itself as "non-transferrable" without also > mentioning that such a restriction doesn't apply in the EU. It is also important to remember that the legality of such software license agreements (e.g., "non-transferable") has not yet been truly tested in U.S. courts. Plenty of legal experts believe that such restrictive language would never stand, if brought before the judiciary. After all, if you are buying "something"?even just the "use of something"?transfer of that "something" to a third party is within reason. Many software companies rely on licensing agreements filled with intimidating legalese and threatening "legal" communications (e.g., "cease and desist" orders) to get what they want without having to actually stand before a judge. J. From scott at tactilemedia.com Thu Apr 8 00:16:48 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 07 Apr 2004 21:16:48 -0700 Subject: Detecting if menubar is hidden In-Reply-To: Message-ID: On 4/7/04 7:51 PM, "Sarah Reichelt" wrote: > I am running a kiosk application but I switch it to power-user mode at > certain times. The menubar is normally hidden but a power-user can > toggle it back and forth. I would like to be able to detect when the > menubar is visible and when hidden so I could use this as a test of > what to do when some other things happen. Does anyone know how I can do > this? One way is to use a custom property or variable to store the vis of the menubar. Update the property/variable as needed each time the vis of the menubar is changed. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From monte at sweattechnologies.com Thu Apr 8 00:20:25 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 13:50:25 +0930 Subject: Relative Paths In-Reply-To: <62F905C0-8912-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: > > Yes... have a go ;-) > > Is this a new feature in the engine? Don't know but it works ;-) Cheers Monte From dsc at swcp.com Thu Apr 8 00:53:03 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 22:53:03 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <9E289E40-8918-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 09:53 PM, Monte Goulding wrote: >> The simple way to use externals is to statically place them next to >> the >> executable. Let's see if I understand the implications under this >> scheme. That means they have to be two places, one is next to the >> Revolution application. The other is in the project folder. In the >> project folder they have to be next to the splash stack or main stack, >> so they will be next to the app in Windows. The externals property is >> not modified, you explained. The relative location would then be next >> to the internal executable in the OS X bundle. Does that work? > > Yes... have a go ;-) I am not able to select the bundle in the copy files pane. That is a separate issue. It doesn't matter; this does not work when I copy by hand. I copied the bundle into the intra app MacOS folder. That does not work. I copied it into the same folder as test.app. That works. That is the same as it always has been. Now if all paths in a project have to be relative to the executable in the MacOS folder, how does this work? Am I suppose to modify the defaultFolder in the startup for OS X? Dar Scott From jacque at hyperactivesw.com Thu Apr 8 01:02:28 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Apr 2004 00:02:28 -0500 Subject: Relative Paths In-Reply-To: <3158826E-88FA-11D8-93D6-000A9567A3E6@swcp.com> References: <3158826E-88FA-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: <4074DCE4.70409@hyperactivesw.com> On 4/7/04 8:15 PM, Dar Scott wrote: > > On Wednesday, April 7, 2004, at 04:46 PM, J. Landman Gay wrote: > >> Note that, as Ken explained, all directories are relative to the >> current defaultfolder. > > > I thought externals were relative to the defaultFolder and stackFiles > were relative to the referencing stack. They are. I screwed up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Thu Apr 8 01:13:11 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 7 Apr 2004 19:13:11 -1000 Subject: CGI POST Failure to read Stdin In-Reply-To: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> References: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> Message-ID: <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> I changed the title of this thread to more accurately reflect the real issue as we think we have discovered it to be: Failure of the Rev CGI Engine to properly accept data from a POST by a Rev Client except with very specific syntax.... This is probably something we need to carve into stone to save future CGI users a lot of grief. And, its quite bizarre and unintuitive. And we still don't know the deep causes behind it, only a solution. further examination of the apache error logs showed 192.168.1.246 - sevak [07/Apr/2004:17:53:08 -1000] "POST /cgi-bin/uploadGitaTranscript.cgi HTTP/1.1" 200 - There should be a length value at the end of that string e.g. 200 - 1158 The absence of the length value indicates that, apparently, apache is not getting any POST data at all into stdIn from the Rev client app... but our sys admin here was thinking that his Apache and OSX server were solid and he ask me to try to post the same url encoded string from the terminal using curl -k "http://user:pass at our.intranet.web.site.org/cgi-bin/niftyRev.cgi" -d "long urlEncoded string of name=value pairs here" Ok, so in this case the POST is coming from the terminal --> LAN --> OSX server --> apache --> Revolution darwin engine: it worked every time! so, this would at first have indicated there was a problem with the Revolution client app sending the POST string. But the same client app works fine, posting to the same Rev cgi on a solaris machine where the engine is an old Metacard engine Then we dug out an old note from Scott Raney on this subject of POST failures where there was a lot of data being sent... but we had been experiencing this even on very small data uploads... and the syntax in the CGI he sent for the fix reads: put empty into tIncomingData repeat until length(tIncomingData) >= $CONTENT_LENGTH read from stdin until empty put it after tIncomingData end repeat Jai Ganesha! That works... so, it is some very esoteric, obscure issue about the way POST is being generated by the Rev client that requires this specific mode of reading stnIn in order to work, even though if you just used read from stnin untiil empty put it into tIncomingData it *will* work just fine if the POST string is sent by some other remote agent besides a remote Revolution app... but the following does *not* work. > repeat while length(tIncomingData) <= $CONTENT_LENGTH > read from stdin for $CONTENT_LENGTH > put it after tIncomingData > end repeat Don't ask "why" ;-) Jeanne... can you add this to the documentation for CGI side scripting? And, if Scott Raney is still in the loop we would love his input on this. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Apr 7, 2004, at 12:37 PM, Sannyasin Sivakatirswami wrote: > Good intuitive sleuthing, David! > > OK I added the expected variable to tResponse being sent back and > that's very helpful.. what is happening, in either mode of reading > stndIn... is that the variable that should contain the incoming data > is completely empty! but, *occasionally* it does work. > > Bottom line now seems to be: POST is failing completely on most > occasions, either in the client side Rev App which is posting an empty > string... or on the Darwin side server CGI interpreter which is > failing to read anything at all from stnIn from the client side Rev > App. a) it NEVER works if I use the "repeat while len() form b) it > works But it does work *sometimes* Arghh! ;-) > > Whether I do either of these: > > repeat while length(tIncomingData) >= $CONTENT_LENGTH > read from stdin for $CONTENT_LENGTH > put it after tIncomingData > end repeat > > put tIncomingData into tCheckRawData > put urlDecode (tIncomingData) into tDataIn > > --[or:] > > --read from stdin until empty > --put it into tCheckRawData > -- put urlDecode (it) into tDataIn > > I get the same result > > can't open file > > /remote-team/ ## this shows that both the tUser and tFilename are > empty > > > I also added a data check to put the entire string of urlEncoded data > into a variable to test at the end and return in the response like > this: > > put the Result & cr & cr & tFilePath & cr & cr & tCheckRawData & cr & > cr into tResponse > > If I use the "repeat while len..." etc style, tCheckRawData contains > the literal variable "tIncomindData" which I assume means that > tIncomindData is, as a container, empty. > > if I use the simple 'read from stnin until empty; put it into > tCheckRawdata" > > the response line that should contains that data is completely empty. > > Conclusion at this point: > > POST is failing completely on most occasions, either in the client > side Rev App which is posting an empty string... or on the Darwin side > server CGI interpreter which is failing to read anything at all from > stnIn from the client side Rev App. Arghh! ;-) > > Ok, what now? I'll move this whole scenario over to our virtual host > site at mahiai.aloha.net where we have an old version of MC running on > a solaris... then if it works there we kind of have it isolated to the > current versions of Rev... OR OSX server version of Apache or Darwin? > > Any more suggestions? I REALLY need this to work as our server admin > has turned off FTP and now this is the only way I can get data in from > the outside. > > > > > On Apr 6, 2004, at 9:23 PM, Dave Cragg wrote: > >> At 6:49 pm -1000 6/4/04, Sannyasin Sivakatirswami wrote: >> >>> Simply stated: the CGI accepts incoming data from a POST and writes >>> it to a file sometimes and sometimes it says it can't open the file. >>> No pattern... >>> >>> CONTEXT: >> >> >>> >>> the CGI (truncated a bit for email purposes:) goes like this: >>> >>> on startup >>> >>> if $REQUEST_METHOD is "POST" then >>> read from stdin until empty >>> put urlDecode (it) into tDataIn >>> split tDataIn by "&" and "=" >>> put tDataIn["_remotestaff"] into tUser >>> put tDataIn["_project"] into tProject >>> put tDataIn["_transcript"] into tTranscript >>> put tDataIn["_fileName"] into tfileName >>> put url "file:transcriptionTeam.txt" into tAuthenticate >>> if (tUser is among the lines of tAuthenticate) then >>> # set up a file path to the incoming transcription >>> # it will just be a small xml file >>> switch tProject >>> case "taka" >>> put "/taka/New-Not Yet Posted/" into tLocalDestination >>> break >>> case "gita" >>> put "/gita/new_incoming/" into tLocalDestination >>> break >>> end switch >>> put ("../remote-team/" & tUser & tLocalDestination & tFileName) >>> into tFilePath >>> >>> # next: open, write data and close the file >>> ## !! but here is the problem: >>> ## this attempt to write a file fails intermittently... >>> # sometimes apache writes the file >>> # other times it returns "can't open file" to the result >>> >>> put tTranscript into url ("file:" & tFilePath) ## fails >>> intermittently >>> >>> put the Result & cr & cr into tResponse # sometimes empty some times >>> "can't open file" >>> >>> ## send stuff back to the user to confirm, along with the result >>> >>> end start up >>> >>> What is happening is when then the user clicks the button in the >>> remote rev app, to trigger the upload to Kauai it may return result: >>> "can't open file" then he clicks again and this time gets no result >>> and the file is written. >> >> One thing you might want to check first is that the CGI is reading in >> all the data. >> >> repeat while length(tDatain) >= $CONTENT_LENGTH >> read from stdin for $CONTENT_LENGTH >> put it after tDatain >> end repeat >> >> I can't say for sure, but looking quickly at your code, it seems you >> might get the error you described if the tUser variable was in fact >> empty and the tAuthenticate variable contained an empty line. You >> could check this by returning tFilePath when you get an error to see >> if the file path is the one you expect. >> >> Cheers >> Dave >> _______________________________________________ >> 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 JonathanC at ag.nsw.gov.au Thu Apr 8 01:26:32 2004 From: JonathanC at ag.nsw.gov.au (JonathanC at ag.nsw.gov.au) Date: Thu, 8 Apr 2004 15:26:32 +1000 Subject: Problems with 'Launch with ' In-Reply-To: <20040403162503.F335D9300EA@mail.runrev.com> Message-ID: Paste this into the (multi-line) message box and press enter: answer file "Choose app" of type "APPL" if it="" then exit to top launch it The chosen app should launch. (However, if it was running already, the result will be: "process is already open" - see below*.) Quit the app. Now paste this into the message box and press enter: answer file "Choose app" of type "APPL" if it="" then exit to top put it into ap answer file "Choose doc" of type "TEXT" if it="" then exit to top launch it with ap According to the Transcript Dictionary, the app should launch and chosen doc should open in it. However, the result for me is "no such program". I'm using Rev 2.1.2 on Mac OS X 10.2.8 (PowerBook G4 500MHz). * In HyperCard the equivalent "open [ with] " command would bring app to the front even if it was already running, which was VERY useful. Is there a way to do this in Rev? Regards, Jonathan Cooper Manager of Information / Website Art Gallery of New South Wales Sydney, Australia http://www.artgallery.nsw.gov.au From monte at sweattechnologies.com Thu Apr 8 01:38:28 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 15:08:28 +0930 Subject: Relative Paths In-Reply-To: <9E289E40-8918-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: > >> The simple way to use externals is to statically place them next to > >> the > >> executable. Let's see if I understand the implications under this > >> scheme. That means they have to be two places, one is next to the > >> Revolution application. The other is in the project folder. In the > >> project folder they have to be next to the splash stack or main stack, > >> so they will be next to the app in Windows. The externals property is > >> not modified, you explained. The relative location would then be next > >> to the internal executable in the OS X bundle. Does that work? > > > > Yes... have a go ;-) > > I am not able to select the bundle in the copy files pane. That is a > separate issue. > > It doesn't matter; this does not work when I copy by hand. > > I copied the bundle into the intra app MacOS folder. That does not > work. I copied it into the same folder as test.app. That works. That > is the same as it always has been. > > Now if all paths in a project have to be relative to the executable in > the MacOS folder, how does this work? > > Am I suppose to modify the defaultFolder in the startup for OS X? Ah... sorry. The externals property is being set on the application mainstack treference the correct relative path. So the correct relative path for the external on OS X might be: YourApp.app/Contents/MacOS/externals/revxml.bundle Cheers Monte From dsc at swcp.com Thu Apr 8 01:54:38 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Apr 2004 23:54:38 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <386F068C-8921-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 11:38 PM, Monte Goulding wrote: > Ah... sorry. The externals property is being set on the application > mainstack treference the correct relative path. So the correct > relative path > for the external on OS X might be: > > YourApp.app/Contents/MacOS/externals/revxml.bundle Then maybe during development, I should put a copy of my externals down into the Revolution application in the same folder? That way my externals property is set right for all of my externals on OS X. That would mean putting it in twice, so it can have the right path for non OS X builds. Dar Scott From monte at sweattechnologies.com Thu Apr 8 02:18:46 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Apr 2004 15:48:46 +0930 Subject: Relative Paths In-Reply-To: <386F068C-8921-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: > > Ah... sorry. The externals property is being set on the application > > mainstack treference the correct relative path. So the correct > > relative path > > for the external on OS X might be: > > > > YourApp.app/Contents/MacOS/externals/revxml.bundle > > Then maybe during development, I should put a copy of my externals down > into the Revolution application in the same folder? That way my > externals property is set right for all of my externals on OS X. That > would mean putting it in twice, so it can have the right path for non > OS X builds. > Well... I think this needs some testing but here's a possible method: - use the externals.txt file to allow inclusion of your external via the standalone builder - set the externals of the Home stack to load the external during development - use the userscripts folder to allow importing of the externals library stack into the application as a substack with auto startu using at the same time as the rev libraries are inserted into the message path - because it's a substack of the application mainstack and the application mainstack has the externals property set correctly then everything should map out correctly (that is as long as messages sent from a library that is also a substack will still go via the libraries mainstack and then to it's externals property before hitting the engine) Whew! I think it will work but it's only theory right now ;-) I know your next question and that's what if your library stack has substacks and in that case I think it might be simplest to create a stackFile containing them and just reference them. Sound reasonable? Cheers Monte From dsc at swcp.com Thu Apr 8 02:22:35 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Apr 2004 00:22:35 -0600 Subject: Relative Paths In-Reply-To: <9E289E40-8918-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: <1FF30A86-8925-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 10:53 PM, Dar Scott wrote: > I am not able to select the bundle in the copy files pane. That is a > separate issue. But, I could drag it to the field. Cool. Dar Scott From dsc at swcp.com Thu Apr 8 02:30:56 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Apr 2004 00:30:56 -0600 Subject: Relative Paths In-Reply-To: <1FF30A86-8925-11D8-93D6-000A9567A3E6@swcp.com> Message-ID: <4AB612A4-8926-11D8-93D6-000A9567A3E6@swcp.com> On Thursday, April 8, 2004, at 12:22 AM, Dar Scott wrote: >> I am not able to select the bundle in the copy files pane. That is a >> separate issue. > > But, I could drag it to the field. Cool. But it didn't copy. Maybe this is because it looks like a folder? Dar Scott From dsc at swcp.com Thu Apr 8 02:39:51 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Apr 2004 00:39:51 -0600 Subject: Relative Paths In-Reply-To: Message-ID: <89E1F1EA-8927-11D8-93D6-000A9567A3E6@swcp.com> On Thursday, April 8, 2004, at 12:18 AM, Monte Goulding wrote: > Sound reasonable? That is doable, especially for apps I build myself. I will give this some though. Dar Scott From dsc at swcp.com Thu Apr 8 03:13:33 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Apr 2004 01:13:33 -0600 Subject: CGI POST Failure to read Stdin In-Reply-To: <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> Message-ID: <3EEC0F00-892C-11D8-93D6-000A9567A3E6@swcp.com> On Wednesday, April 7, 2004, at 11:13 PM, Sannyasin Sivakatirswami wrote: > This is probably something we need to carve into stone to save future > CGI users a lot of grief. This is probably applicable to all kinds of stream I/O with limited buffer space such as TCP protocols and even serial with xon/xoff or hardware handshaking. I would guess limits in buffering in either apache or tcp/ip had been met. This is good advice in general. Dar Scott From ambassador at fourthworld.com Thu Apr 8 03:17:08 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 08 Apr 2004 00:17:08 -0700 Subject: Relative Paths In-Reply-To: References: Message-ID: <4074FC74.6030300@fourthworld.com> Monte Goulding wrote: > My question would be why is it necessary to ask your users to directly > manipulate files and folders in and around your applications. It's a simple > task to include an interface to abstract the user away from direct file and > folder manipulation. I'd hazard a guess that many windows users don't even > know where their applications are stored let alone want to mess with them. And yet Photoshop is a best-selling application on Windows as it is on Mac. We don't have the product managers from all the other vendors who do this here to explain their choices, but perhaps someone at RunRev will answer your question with regard to Rev. >>Note that Revolution's components are also outside the bundle as they >>are with mine. > > Well if rev had all the IDE components in the app bundle it would make > standalone building tricky for a start. But that's not a design issue that > many of us need to deal with. But others of us do, and we're no different than RunRev, Microsoft, Adobe, Macromedia, and several dozen other app vendors in terms of how we structure our deliverables. I think it's nice that we have the option of going both ways, hiding things in bundles for OS X if we choose or structuring things more explicitely, the way Mac Classic and all other operating systems work. Since its possible to structure things both ways there's no need to dictate one or the other, and each has its merits for different kinds of apps. My question was not whether everyone should deliver every app the same way RunRev, Adobe, and I do. My question was whether the freedom we currently have to use either method could be made easier as well. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mcdomi at free.fr Thu Apr 8 03:17:33 2004 From: mcdomi at free.fr (Dom) Date: Thu, 8 Apr 2004 09:17:33 +0200 Subject: Menu itemp Quit on OSX In-Reply-To: Message-ID: <1gbx2bf.h0yzftzevbveM%mcdomi@free.fr> Fran?ois Cuneo wrote: > Is it possible to obtain "Quitter Cuk Calcul Oral"? Bonjour, Fran?ois ;-) The problem is that "Quitter" (Quit) is not at its standard place in your item list -- "Quitter" (Quit) should be the *last* one, along with a separator before "Quit"... Considering the translation, a trick would be to give leave the english name to the menu, and let the french name in the label -- but maybe this is not effective among the menu items ;-) -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr From dcragg at lacscentre.co.uk Thu Apr 8 03:19:19 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 8 Apr 2004 08:19:19 +0100 Subject: CGI failure Intermittent -- "Can't Open File" In-Reply-To: References: Message-ID: At 6:42 pm -0400 7/4/04, Brian Yennie wrote: >> repeat while length(tIncomingData) >= $CONTENT_LENGTH >> read from stdin for $CONTENT_LENGTH >> put it after tIncomingData >> end repeat > >I dunno if this is an email typo, but you want "<" in the above, so >that it will loop _until_ you have $CONTENT_LENGTH bytes- as is, >it's not going to execute at all... Oops. Sorry about that. I think I started with "until", changed to "while" and forgot to change the operator. Cheers Dave From dcragg at lacscentre.co.uk Thu Apr 8 03:36:21 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 8 Apr 2004 08:36:21 +0100 Subject: CGI POST Failure to read Stdin In-Reply-To: <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> References: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> Message-ID: At 7:13 pm -1000 7/4/04, Sannyasin Sivakatirswami wrote: >Then we dug out an old note from Scott Raney on this subject of POST >failures where there was a lot of data being sent... but we had been >experiencing this even on very small data uploads... and the syntax in >the CGI he sent for the fix reads: > >put empty into tIncomingData >repeat until length(tIncomingData) >= $CONTENT_LENGTH > read from stdin until empty > put it after tIncomingData >end repeat > >Jai Ganesha! That works... so, it is some very esoteric, obscure issue >about the way POST is being generated by the Rev client that requires >this specific mode of reading stnIn in order to work, even though if >you just used > >read from stnin untiil empty >put it into tIncomingData > >it *will* work just fine if the POST string is sent by some other >remote agent besides a remote Revolution app... > >but the following does *not* work. > >> repeat while length(tIncomingData) <= $CONTENT_LENGTH >> read from stdin for $CONTENT_LENGTH >> put it after tIncomingData >> end repeat > >Don't ask "why" ;-) Try with "<" instead of "<=". Otherwise it will loop forever as the length will never get higher than $CONTENT_LENGTH. Once again, my apologies. My original typo caused the problem. Cheers Dave From nnoydb at excite.com Thu Apr 8 04:46:50 2004 From: nnoydb at excite.com (Kevin) Date: Thu, 8 Apr 2004 04:46:50 -0400 (EDT) Subject: Relative Paths Message-ID: <20040408084650.95AE4BF6E@xprdmailfe13.nwk.excite.com> I think the real point of contention is the fact that stack files preform double duty (source and binary) in Revolution. This behavior seems a bit troublesome. Maybe the appropriate behavior is for stack files to behave as source modules ("included" via standard include paths or from the residing directory) until they are in a stand-alone. When Revolution creates a stand-alone maybe it should use a stackFiles like property to copy each supporting stack file to the residing directory of the executable. Then amend each entry to reflect the stack files new location. This would allow the be of both worlds. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Thu 04/08, Richard Gaskin < ambassador at fourthworld.com > wrote: From: Richard Gaskin [mailto: ambassador at fourthworld.com] To: use-revolution at lists.runrev.com Date: Thu, 08 Apr 2004 00:17:08 -0700 Subject: Re: Relative Paths Monte Goulding wrote:
> My question would be why is it necessary to ask your users to directly
> manipulate files and folders in and around your applications. It's a simple
> task to include an interface to abstract the user away from direct file and
> folder manipulation. I'd hazard a guess that many windows users don't even
> know where their applications are stored let alone want to mess with them.

And yet Photoshop is a best-selling application on Windows as it is on Mac.

We don't have the product managers from all the other vendors who do
this here to explain their choices, but perhaps someone at RunRev will
answer your question with regard to Rev.

>>Note that Revolution's components are also outside the bundle as they
>>are with mine.
>
> Well if rev had all the IDE components in the app bundle it would make
> standalone building tricky for a start. But that's not a design issue that
> many of us need to deal with.

But others of us do, and we're no different than RunRev, Microsoft,
Adobe, Macromedia, and several dozen other app vendors in terms of how
we structure our deliverables.

I think it's nice that we have the option of going both ways, hiding
things in bundles for OS X if we choose or structuring things more
explicitely, the way Mac Classic and all other operating systems work.
Since its possible to structure things both ways there's no need to
dictate one or the other, and each has its merits for different kinds of
apps.

My question was not whether everyone should deliver every app the same
way RunRev, Adobe, and I do. My question was whether the freedom we
currently have to use either method could be made easier as well.

--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From gcanyon at inspiredlogic.com Thu Apr 8 04:55:25 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 8 Apr 2004 01:55:25 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: References: Message-ID: <7A3CF272-893A-11D8-B3D9-003065683ECC@inspiredlogic.com> I think I set it to minor, which isn't quite the same thing as not-important. ;-) For what it's worth, you didn't submit this bug -- Monte did. The bug submission didn't describe anything that was being harmed by the bug -- no product broken, no development being stopped. That's why I classed it as minor. So as a suggestion to anyone submitting an IDE bug: if you want it to take priority, be sure add a sentence or two describing why it's a problem. regards, Geoff Canyon gcanyon at inspiredlogic.com On Apr 6, 2004, at 1:57 AM, xbury.cs at clearstream.com wrote: > I've asked on numerous occasions with no success. Entered bug reports > and > still am waiting with no solution in sight (see bug 34 which was > commented > yesterday > by Geoff as not-important... From dburgun at dsl.pipex.com Thu Apr 8 05:58:39 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 10:58:39 +0100 Subject: Moving Objects in the IDE In-Reply-To: <7A3CF272-893A-11D8-B3D9-003065683ECC@inspiredlogic.com> References: <7A3CF272-893A-11D8-B3D9-003065683ECC@inspiredlogic.com> Message-ID: Hi, One thing that I've found very useful in other GUI design apps is the ability to move GUI objects around in the Window (stack/card) and constrain their movement to either the X or Y axis. This is usually acheived by dragging with the Shift or Option key down. Is there a way to do this in RunRev? TTFN Dave From norman at mrsystems.co.uk Thu Apr 8 06:24:37 2004 From: norman at mrsystems.co.uk (Norman Winn) Date: Thu, 8 Apr 2004 12:24:37 +0200 Subject: Hello from a Filemaker renegade In-Reply-To: <20040406085742.DF3459301B0@mail.runrev.com> References: <20040406085742.DF3459301B0@mail.runrev.com> Message-ID: Hi, Thanks for all the replies. The URLs given mean I have quite a lot of studying to do before being able to add much to the debate. A couple of replies off-list have suggested I make my needs more clear. 1) Current solution has about 15 users accessing stuff from FM server. 2) Solution is not web enabled. This ability would be handy. Are RR stacks inherently web ready? I suspect not. Just a few criticisms/observations: One aspect of RR development I am disappointed in is the syntax checking in scripts. Seems to let many errors through. Why don't I get feedback when I click 'Apply'? I accept syntax analysis is more difficult when objects don't have to be declared. Why doesn't the 'Window' menu include the help windows I have open? Have suffered a crash (OS X 10.3.3). Think this was due to a button script acting on an empty object. Which objects should I use to make a grid display of small, simple images? I want to have around 30 variables that contain images, say 16X16 pixels. The grid would fill with these images depending on external data. Columns represent days and rows represent the timeline of a stock item (resource). Tell me to go away and do the work if this is too detailed a question, Norman From 3mcgrath at adelphia.net Thu Apr 8 06:53:56 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 8 Apr 2004 06:53:56 -0400 Subject: new standalone application builder In-Reply-To: References: Message-ID: <0832F882-894B-11D8-AC5A-000A95DA60FA@adelphia.net> Monte, The stack is from a while ago and as such may have been infected from an older version. I have not had this happen to any newer stacks yet. I will let you know if I do. Thanks Tom On Apr 7, 2004, at 8:05 PM, Monte Goulding wrote: > >> I tried this four or five times in the message box and 'finally' was >> able to get rid of the "ask dialog". >> >> Thank you. >> >> P.S. I still would call that a bug though. - With a work around that I >> would not have thought of though. >> > > Yep... sure it's a bug. But I think it was one from a while back that > is > fixed now. Certainly if you can replicate this in 2.2 please let me > know. > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From dburgun at dsl.pipex.com Thu Apr 8 06:57:56 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 11:57:56 +0100 Subject: How to Set the Value of a Slider In-Reply-To: References: <20040406085742.DF3459301B0@mail.runrev.com> Message-ID: Hi All, I have been messing around trying to find out how to set the Current Value of a Slider: I have a button that does this: on mouseDown set the thumbPosition of Slider X to 22 end mouseDown But when I run it, I get the following error: executing at 11:51:31 AM Type Object: can't set object property Object Button 5 Line set the thumbPosition of SliderX to 22 Hint SliderX I have a Slider that the user can drag, but they can also change it via a text field, e.g. if they set the field to 50 then I want the slider to go to 50. The code I have for this is as follows: on closeField set the thumbPosition of SliderX to me end closeField But this give an error too! I've looked thru the properties for Sliders and I expected to find a currentValue (to go with startValue and endValue) but didn't see one so I assumed that I have to use the thumbPosition property Help!! All the Best Dave From ambassador at fourthworld.com Thu Apr 8 07:34:33 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 08 Apr 2004 04:34:33 -0700 Subject: How to Set the Value of a Slider In-Reply-To: References: <20040406085742.DF3459301B0@mail.runrev.com> Message-ID: <407538C9.4000506@fourthworld.com> David Burgun wrote: > I have been messing around trying to find out how to set the Current > Value of a Slider: > > I have a button that does this: > > on mouseDown > set the thumbPosition of Slider X to 22 > end mouseDown The object type is "scrollbar", and it comes in three styles: scrollbar scale progress This may seem a little odd, but if you think about it all three of those have very parallel property needs, so maybe it's not crazy. :) So use this instead: set the thumbposition of scrollbar "x" to 22 ...or with abbreviations: set the thumbPos of sb "x" to 22 -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmond at mail.maclaunch.com Thu Apr 8 07:36:11 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu, 08 Apr 2004 07:36:11 -0400 Subject: Multi-Colored Text ??? Message-ID: It is possible to "mess around" with styled text with statements such as: set the textStyle of word 3 in fld "FunkyText" to "italic" ...try it!!! however....I would like to make (for the sake of argument) word 3 in fld "FunkyText" green, while the rest of the text in the field stays black........ help gratefully recieved Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html _______________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- Make the most out of Apple's innovative technologies http://developer.apple.com/wwdc/applelinks.html From xbury.cs at clearstream.com Thu Apr 8 08:04:29 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 8 Apr 2004 14:04:29 +0200 Subject: Multi-Colored Text ??? Message-ID: set the forecolor of word 3 in fld "funkytext" to green or set the textcolor of word 3 in ... and set the backcolor of word 3 ... enjoy! ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 "Mathewson" Sent by: use-revolution-bounces at lists.runrev.com 08.04.2004 13:36 Please respond to How to use Revolution To: use-revolution at lists.runrev.com cc: Subject: Multi-Colored Text ??? . It is possible to "mess around" with styled text with statements such as: set the textStyle of word 3 in fld "FunkyText" to "italic" ...try it!!! however....I would like to make (for the sake of argument) word 3 in fld "FunkyText" green, while the rest of the text in the field stays black........ help gratefully recieved Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html _______________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- Make the most out of Apple's innovative technologies http://developer.apple.com/wwdc/applelinks.html _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From dburgun at dsl.pipex.com Thu Apr 8 08:07:18 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 13:07:18 +0100 Subject: How to Set the Value of a Slider In-Reply-To: <407538C9.4000506@fourthworld.com> References: <20040406085742.DF3459301B0@mail.runrev.com> <407538C9.4000506@fourthworld.com> Message-ID: >David Burgun wrote: > >>I have been messing around trying to find out how to set the >>Current Value of a Slider: >> >>I have a button that does this: >> >>on mouseDown >>set the thumbPosition of Slider X to 22 >>end mouseDown > >The object type is "scrollbar", and it comes in three styles: > > scrollbar > scale > progress This is different on the version of RR I am using (2.1.2) it has 4 types: Scrollbar Slider Progressbar Little Arrows >This may seem a little odd, but if you think about it all three of >those have very parallel property needs, so maybe it's not crazy. :) I tried it as you say and it works, but it just seems odd that I have to use the "Scrollbar" type instead of "Slider". I always use the full name for the object, I got VERY confused when I started using the abbreviations! I think it would be a good option to have the IDE display the script as using the abbreviations or the full names via a preferences. It's really diffuicult for a newbie to get to know all the abbreviations. Thanks for your help, it works a treat now! Have a great weekend Dave From st.king42 at ntlworld.com Thu Apr 8 08:45:57 2004 From: st.king42 at ntlworld.com (Stephen King) Date: Thu, 8 Apr 2004 13:45:57 +0100 Subject: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon) References: <20040408085532.3AC2593020D@mail.runrev.com> Message-ID: <002601c41d67$7076fe20$5602a8c0@athalon> Geoff, On a similar point, I also don't know how these proceed. Following your suggestion a few weeks ago I posted bugs 1374, 1375 relating to behaviour in Windows without QuickTime and inability to play WAV files. It could be debatable as to whether these are bugs or feature issues, but the Quicktime issue seems to me to be a bug as in my copy of System Requirements, it states QT needed for development (and only video features) but not for Applications. So I don't understand why player controls and WAV don't function without QT on the target machine. Anyway, my question is really - what happens to these submissions now - do I need to do more? Cheers Steve >I think I set it to minor, which isn't quite the same thing as >not-important. ;-) >For what it's worth, you didn't submit this bug -- Monte did. The bug >submission didn't describe anything that was being harmed by the bug -- >no product broken, no development being stopped. That's why I classed >it as minor. >So as a suggestion to anyone submitting an IDE bug: if you want it to >take priority, be sure add a sentence or two describing why it's a >problem. >regards, >Geoff Canyon >gcanyon at inspiredlogic.com >On Apr 6, 2004, at 1:57 AM, xbury.cs at clearstream.com wrote: > I've asked on numerous occasions with no success. Entered bug reports > and > still am waiting with no solution in sight (see bug 34 which was > commented > yesterday > by Geoff as not-important... From psahores at easynet.fr Thu Apr 8 09:01:44 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 8 Apr 2004 15:01:44 +0200 Subject: CGI POST Failure to read Stdin In-Reply-To: <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> References: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> Message-ID: Hi Katir, I experimented this,a long time ago... At least with the 2.3.2 and above issues of the engine, MC/Rev is failing 1 time peer 20 periods in handling "POST" requests in CGI mode. It's a sad reproductible bug we spoken about with Scott Raney, a long time ago, on and off-list, without getting any way to solve definitivelly the problem. Linux, MacOS X, and Apache on both platforms are OK. The problem is, specifically, a bug inside the MC/Rev engine. The only workaround we can use at this point is to avoid to use MC/Rev server-sided stuffs in CGI mode. For my own, i choosed to run all my MC/Rev server-sided apps as sockets-listening apps, not only because the CGI mode bug but even because it. The way is to stick a non-MC/Rev sockets listener behind Apache (php, for my own but, any scripting langage that can be handled as an Apache module - speed considerations - is probably OK too, alike perl or python) and to let it translate the Apache default entry port (:80) to the one the MC/Rev app is waiting for messages on ( < 1024, for a root protection is best but it's up to you want). This way is very easy to manage and works like a charm : no more failaitures at all and when i say that, it meens that 0% of my "POST" requests are failing. If it could'nt be the case and because some of my apps need to handle up to hundered of connections peer second in "write to PostgreSQL db mode", i could'nt use MC/Rev server-sided stuffs anymore... Here is a short resume (previously posted to the MC/Rev lists, in different occasions) in about this CGI bug workaround proposal : 1.- The sockets listener/translator part, as "istream.php" in this example : > > // if ($REQUEST_METHOD == POST) { // PHP < 4.10 > if (!empty($_POST)) { // PHP >= 4.10 > > // $headers = $HTTP_POST_VARS; // PHP < 4.10 > $headers = $_POST; // PHP >= 4.10 > > while (list($header, $value) = each($headers)) $exAE .= > "$header=$value&"; > $exAE = urlencode($exAE); > $activapp = substr($exAE,0,5); > > if ($activapp == "is001") { > > $connection = fsockopen("localhost", "9482", &$error_number, > &$error_description, "30"); > if ($connection) { > set_socket_blocking($connection, true); > fputs($connection,""); > fputs($connection,"$exAE"."\r\n"); > fpassthru($connection); > } > else { > $connection = fsockopen("localhost", "948", &$error_number, > &$error_description, "30"); > if ($connection) { > set_socket_blocking($connection, true); > fputs($connection,""); > fputs($connection,"$exAE"."\r\n"); > fpassthru($connection); > } > else print("erreur num?ro $error_number > ($error_description)
\n"); > } > } > } > > else print("ERROR: File Not Found". > "

File Not > Found

". > "

The file you have requested does not exist on this > server.

". > "
\n"); > > ?> 2.- The MC/Rev stack's script server-sided app part : > on newconnect s > read from socket s for 1 line with message "serverread" > end newconnect > > on serverread x,y > global PostIn,Retour,Lepath,MajDesIndexs1 > put urldecode(y) into PostIn > put cr into char (length(PostIn))-1 to (length(PostIn)) of PostIn > put "" into Retour > set itemdelimiter to "&" > iStreamSwitch > write Retour to socket x -- with message csocket > close socket x # x = adresse IP & "|" & n? d'ordre du socket > encapsulant l'?change de donn?es > repeat > if the num of lines in (opensockets()) > 1 > then close socket line 2 of (opensockets()) > else exit repeat > end repeat > end serverread > > # on csocket x > # close socket x # x = adresse IP & "|" & n? d'ordre du socket > encapsulant l'?change de donn?es > # end csocket > > on socketTimout > end socketTimout > > on PreOpenStack > if the short name of this stack is not "istreamserver" then pass > PreOpenStack > global Lepath,dbUsers > put " Please, wait. iStream app's server loading..." into fld > "status" > set twelveHourTime to false > put "iStream app's server up since" && the short date & "," && the > short time into binfo -- snip -- > set the socketTimeoutInterval to "10" > if the num of lines in the windows is "1" > then > accept connections on port "948" with message "newconnect" > put "with proxying keycode 3 actived..." into thep > else > accept connections on port "9482" with message "newconnect" > put "with proxying keycode 7 actived..." into thep > end if -- snip -- > if the result is not "" then > open file Lepath & "iStreamLog.txt" for append -- 2 > write cr & the result & cr to file Lepath & "iStreamLog.txt" > put " " & the result after Pboot > else > open file Lepath & "iStreamLog.txt" for append > write return & return & "Open sockets :" && the opensockets & > return & return to file Lepath & "iStreamLog.txt" > end if > close file "iStreamLog.txt" > replace " eof" with "" in Pboot > if the num of words in Pboot > 0 or DbUsers is "" > then put "iStream app's server not up :" & Pboot into fld "status" > else put binfo && thep into fld "status" > put the files into ERBList > filter ERBList with "*ERB.rev" > repeat for each line l in ERBList > if l is not in the stacksinuse then start using l > end repeat > insert the script of stack the short name of this stack into back > end PreOpenStack 3.- Your web or Rev's app "POST" request... Hope this can help, Kind Regards, Pierre Le 8 avr. 04, ? 07:13, Sannyasin Sivakatirswami a ?crit : > I changed the title of this thread to more accurately reflect the real > issue as we think we have discovered it to be: > > Failure of the Rev CGI Engine to properly accept data from a POST by a > Rev Client except with very > specific syntax.... > > This is probably something we need to carve into stone to save future > CGI users a lot of grief. > And, its quite bizarre and unintuitive. And we still don't know the > deep causes behind it, only a solution. > > further examination of the apache error logs showed > > 192.168.1.246 - sevak [07/Apr/2004:17:53:08 -1000] "POST > /cgi-bin/uploadGitaTranscript.cgi HTTP/1.1" 200 - > > There should be a length value at the end of that string e.g. 200 - > 1158 > > The absence of the length value indicates that, apparently, apache is > not getting any POST data at all into stdIn from the Rev client app... > but our sys admin here was thinking that his Apache and OSX server > were solid and he ask me to try to post the same url encoded string > from the terminal using > > curl -k > "http://user:pass at our.intranet.web.site.org/cgi-bin/niftyRev.cgi" -d > "long urlEncoded string of name=value pairs here" > > Ok, so in this case the POST is coming from the terminal --> LAN --> > OSX server --> apache --> Revolution darwin engine: > > it worked every time! > > so, this would at first have indicated there was a problem with the > Revolution client app sending the POST string. But the same client app > works fine, posting to the same Rev cgi on a solaris machine where the > engine is an old Metacard engine > > Then we dug out an old note from Scott Raney on this subject of POST > failures where there was a lot of data being sent... but we had been > experiencing this even on very small data uploads... and the syntax > in the CGI he sent for the fix reads: > > put empty into tIncomingData > repeat until length(tIncomingData) >= $CONTENT_LENGTH > read from stdin until empty > put it after tIncomingData > end repeat > > Jai Ganesha! That works... so, it is some very esoteric, obscure issue > about the way POST is being generated by the Rev client that requires > this specific mode of reading stnIn in order to work, even though if > you just used > > read from stnin untiil empty > put it into tIncomingData > > it *will* work just fine if the POST string is sent by some other > remote agent besides a remote Revolution app... > > but the following does *not* work. > >> repeat while length(tIncomingData) <= $CONTENT_LENGTH >> read from stdin for $CONTENT_LENGTH >> put it after tIncomingData >> end repeat > > Don't ask "why" ;-) > > Jeanne... can you add this to the documentation for CGI side > scripting? And, if Scott Raney is still in the loop we would love his > input on this. > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > On Apr 7, 2004, at 12:37 PM, Sannyasin Sivakatirswami wrote: > >> Good intuitive sleuthing, David! >> >> OK I added the expected variable to tResponse being sent back and >> that's very helpful.. what is happening, in either mode of reading >> stndIn... is that the variable that should contain the incoming data >> is completely empty! but, *occasionally* it does work. >> >> Bottom line now seems to be: POST is failing completely on most >> occasions, either in the client side Rev App which is posting an >> empty string... or on the Darwin side server CGI interpreter which is >> failing to read anything at all from stnIn from the client side Rev >> App. a) it NEVER works if I use the "repeat while len() form b) it >> works But it does work *sometimes* Arghh! ;-) >> >> Whether I do either of these: >> >> repeat while length(tIncomingData) >= $CONTENT_LENGTH >> read from stdin for $CONTENT_LENGTH >> put it after tIncomingData >> end repeat >> >> put tIncomingData into tCheckRawData >> put urlDecode (tIncomingData) into tDataIn >> >> --[or:] >> >> --read from stdin until empty >> --put it into tCheckRawData >> -- put urlDecode (it) into tDataIn >> >> I get the same result >> >> can't open file >> >> /remote-team/ ## this shows that both the tUser and tFilename are >> empty >> >> >> I also added a data check to put the entire string of urlEncoded data >> into a variable to test at the end and return in the response like >> this: >> >> put the Result & cr & cr & tFilePath & cr & cr & tCheckRawData & cr & >> cr into tResponse >> >> If I use the "repeat while len..." etc style, tCheckRawData contains >> the literal variable "tIncomindData" which I assume means that >> tIncomindData is, as a container, empty. >> >> if I use the simple 'read from stnin until empty; put it into >> tCheckRawdata" >> >> the response line that should contains that data is completely empty. >> >> Conclusion at this point: >> >> POST is failing completely on most occasions, either in the client >> side Rev App which is posting an empty string... or on the Darwin >> side server CGI interpreter which is failing to read anything at all >> from stnIn from the client side Rev App. Arghh! ;-) >> >> Ok, what now? I'll move this whole scenario over to our virtual host >> site at mahiai.aloha.net where we have an old version of MC running >> on a solaris... then if it works there we kind of have it isolated to >> the current versions of Rev... OR OSX server version of Apache or >> Darwin? >> >> Any more suggestions? I REALLY need this to work as our server admin >> has turned off FTP and now this is the only way I can get data in >> from the outside. >> >> >> >> >> On Apr 6, 2004, at 9:23 PM, Dave Cragg wrote: >> >>> At 6:49 pm -1000 6/4/04, Sannyasin Sivakatirswami wrote: >>> >>>> Simply stated: the CGI accepts incoming data from a POST and writes >>>> it to a file sometimes and sometimes it says it can't open the file. >>>> No pattern... >>>> >>>> CONTEXT: >>> >>> >>>> >>>> the CGI (truncated a bit for email purposes:) goes like this: >>>> >>>> on startup >>>> >>>> if $REQUEST_METHOD is "POST" then >>>> read from stdin until empty >>>> put urlDecode (it) into tDataIn >>>> split tDataIn by "&" and "=" >>>> put tDataIn["_remotestaff"] into tUser >>>> put tDataIn["_project"] into tProject >>>> put tDataIn["_transcript"] into tTranscript >>>> put tDataIn["_fileName"] into tfileName >>>> put url "file:transcriptionTeam.txt" into tAuthenticate >>>> if (tUser is among the lines of tAuthenticate) then >>>> # set up a file path to the incoming transcription >>>> # it will just be a small xml file >>>> switch tProject >>>> case "taka" >>>> put "/taka/New-Not Yet Posted/" into tLocalDestination >>>> break >>>> case "gita" >>>> put "/gita/new_incoming/" into tLocalDestination >>>> break >>>> end switch >>>> put ("../remote-team/" & tUser & tLocalDestination & tFileName) >>>> into tFilePath >>>> >>>> # next: open, write data and close the file >>>> ## !! but here is the problem: >>>> ## this attempt to write a file fails intermittently... >>>> # sometimes apache writes the file >>>> # other times it returns "can't open file" to the result >>>> >>>> put tTranscript into url ("file:" & tFilePath) ## fails >>>> intermittently >>>> >>>> put the Result & cr & cr into tResponse # sometimes empty some times >>>> "can't open file" >>>> >>>> ## send stuff back to the user to confirm, along with the result >>>> >>>> end start up >>>> >>>> What is happening is when then the user clicks the button in the >>>> remote rev app, to trigger the upload to Kauai it may return result: >>>> "can't open file" then he clicks again and this time gets no result >>>> and the file is written. >>> >>> One thing you might want to check first is that the CGI is reading >>> in all the data. >>> >>> repeat while length(tDatain) >= $CONTENT_LENGTH >>> read from stdin for $CONTENT_LENGTH >>> put it after tDatain >>> end repeat >>> >>> I can't say for sure, but looking quickly at your code, it seems you >>> might get the error you described if the tUser variable was in fact >>> empty and the tAuthenticate variable contained an empty line. You >>> could check this by returning tFilePath when you get an error to see >>> if the file path is the one you expect. >>> >>> Cheers >>> Dave >>> _______________________________________________ >>> 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 > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From briany at qldlearning.com Thu Apr 8 09:08:28 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 8 Apr 2004 09:08:28 -0400 Subject: CGI POST Failure to read Stdin In-Reply-To: <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> Message-ID: Sannyasin, This just a shot in the dark (and not a full solution), but is there any chance you could pass your data to the server as part of a GET request, or in a cookie header, instead of POST? That might get around the Rev bug... - Brian From dcragg at lacscentre.co.uk Thu Apr 8 09:15:47 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 8 Apr 2004 14:15:47 +0100 Subject: CGI POST Failure to read Stdin In-Reply-To: References: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> Message-ID: At 3:01 pm +0200 8/4/04, Pierre Sahores wrote: >I experimented this,a long time ago... At least with the 2.3.2 and >above issues of the engine, MC/Rev is failing 1 time peer 20 periods in >handling "POST" requests in CGI mode. > >It's a sad reproductible bug we spoken about with Scott Raney, a long >time ago, on and off-list, without getting any way to solve >definitivelly the problem. Have you tested this recently, Pierre? I've been using the 2.5 engine extensively on Windows (with IIS) and on OS X (with Apache) for CGI and haven't encountered any problems with POST. (As long as you're careful about reading in the data from stdin.) In fact, I've found it remarkably stable. The only hitch I've found is with IIS on Windows, where it's a good idea to put a short wait (20 milliseconds) before the "end startup" line in the script (this is not just for POST but GET as well). I'd be interested to hear of other people's experience. Cheers Dave From dburgun at dsl.pipex.com Thu Apr 8 09:19:39 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 14:19:39 +0100 Subject: Grrrrrr What am I doing wrong or is it RunRev??? In-Reply-To: <002601c41d67$7076fe20$5602a8c0@athalon> References: <20040408085532.3AC2593020D@mail.runrev.com> <002601c41d67$7076fe20$5602a8c0@athalon> Message-ID: Hi, I created a card with a LOAD of controls on it, got them all alligned nicely, then thought I'd try the "Distribute" function, click the button but it didn't do what I expected so I did an "Undo" and it didn't Undo It!!! Now I have to start again. The Undo command seems VERY flakey or is it me??? Anyone else noticed this?? Cheers Dave From jhurley at infostations.com Thu Apr 8 09:25:31 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 8 Apr 2004 06:25:31 -0700 Subject: Moving Objects in the IDE In-Reply-To: <20040408130105.EA33893021A@mail.runrev.com> References: <20040408130105.EA33893021A@mail.runrev.com> Message-ID: > >Message: 1 >Date: Thu, 8 Apr 2004 10:58:39 +0100 >From: David Burgun >Subject: Moving Objects in the IDE >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="us-ascii" ; format="flowed" > >Hi, > >One thing that I've found very useful in other GUI design apps is the >ability to move GUI objects around in the Window (stack/card) and >constrain their movement to either the X or Y axis. This is usually >acheived by dragging with the Shift or Option key down. Is there a >way to do this in RunRev? > >TTFN >Dave Dave, The simplest solution is mouse-dependant. With a Kensington optical mouse on my Mac and the following handler in the control script: on mouseDown grab me end mouseDown you can use the shift key to constrain the control to horizontal or vertical movement. (I like this programmable mouse a great deal. Very versatile.) There is also a somewhat cumbersome solution which should work with other mice. Try the following handler in the control script: local myName, tLoc on mouseDown put the name of me into myName put the loc of me into tLoc end mouseDown on mouseUP put "" into myName end mouseUP on mouseLeave put "" into myName end mouseLeave on mouseMove x,y if myName is "" then exit mouseMove if the shiftKey is down then set the loc of me to x, item 2 of tLoc else set the loc of me to item 1 of tLoc, y end mouseMove In this was the control is constrained to horizontal movement if the shift key is down, and vertical if the shift key is up Jim. From soapdog at mac.com Thu Apr 8 09:26:29 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 8 Apr 2004 10:26:29 -0300 Subject: Hello from a Filemaker renegade In-Reply-To: References: <20040406085742.DF3459301B0@mail.runrev.com> Message-ID: <583B583C-8960-11D8-B922-0003936D012E@mac.com> On Apr 8, 2004, at 7:24 AM, Norman Winn wrote: > > 1) Current solution has about 15 users accessing stuff from FM server. > 2) Solution is not web enabled. This ability would be handy. Are RR > stacks inherently web ready? I suspect not. > > Norman, trying to answer you questions =) well multiple users accessing a database in a single tier enviroment are realy matter of the RDBMS, if you settle for multi-tier then it's easy to program it's logic. about issue two, I *hate* to disapoint you but there's nothing more web ready than Revolution! =) yes, there are tons of stacks that are web ready, and for a glimpse into the future and the endless possibilities of our net-savvy Revolution, try looking at my home server at http://home.soapdog.org:8081/ It's a http Server, a DB enviroment and development framework, all them built in pure Transcript. All apps are stacks running in the server, when you access for example the /about url you are accesssing about substack, and they are all web enabled. My development framework features automatic data transportation from web enviroment (GET and POST form data, XML-RPC...) to Revolution enviroment, I've got a cool utilities suite that's able to convert simple field based revolution windows to HTML Forms on the fly and take care of all the data transportation. With this framework I delivered many solutions, all web based, from custom sites like shopping carts, to apps that at the first look share nothing with the web like chat apps (but the chat app uses HTTP as protocol for chat...) We have powerfull resources to mix web stuff with rev, I just applied my personal vision to them, but many here got different experiences. Thats just possible for Rev makes very very easy to use anything web-savvy. I urge you to take a quick look at my server and also on project LibCGI (which is an inspiration for me). Also many standalone software here got a 'Check for updates' feature that will use HTTP as their protocol. I do think that you're trying to create a conduit to your DB, so that users could access it from a browser interface. I've got some examples of that on my home server. I've got a little user database there, you can access it to see users, edit them or add them. It has only 10 lines of code, everything is handled by my framework, it will take care of generating the forms on the fly, will match form fields with revolution fields, will trigger the 'saving' routine after submit button is pressed. It's a little tech demo. Don't be so pessimistic (does this word exist in english?), we can do a revolution togheter, Revolution can do web in a very high level way, leaving you to ponder about the logic of your program, we've got many experiences and code to share. You can to DB with Rev, you can pipe your DB to the Web on the fly. You could use my code, you could hire me for the job of custom stack development, you could write your own code (it's not that difficult), if you plan to use static web site, with no interaction, just to browse the DB you always have Fourth World (http://www.fourthworld.com) WebMerge app, that will take a DB and generate static HTML for it. As they say, let there be options! Cheers Andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From paul.springer at sensis.com Thu Apr 8 09:31:06 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 8 Apr 2004 09:31:06 -0400 Subject: Moving Objects in the IDE Message-ID: Dave, If you are talking about moving objects around as you build your GUI you can use the arrow keys (at least I can on my Windows PC) to move a selected object in a straight line up/down or sideways. If you hold down the shift key, they move faster. -Paul -----Original Message----- From: Jim Hurley [mailto:jhurley at infostations.com] Sent: Thursday, April 08, 2004 9:26 AM To: use-revolution at lists.runrev.com Subject: Re: Moving Objects in the IDE > >Message: 1 >Date: Thu, 8 Apr 2004 10:58:39 +0100 >From: David Burgun >Subject: Moving Objects in the IDE >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="us-ascii" ; format="flowed" > >Hi, > >One thing that I've found very useful in other GUI design apps is the >ability to move GUI objects around in the Window (stack/card) and >constrain their movement to either the X or Y axis. This is usually >acheived by dragging with the Shift or Option key down. Is there a >way to do this in RunRev? > >TTFN >Dave Dave, The simplest solution is mouse-dependant. With a Kensington optical mouse on my Mac and the following handler in the control script: on mouseDown grab me end mouseDown you can use the shift key to constrain the control to horizontal or vertical movement. (I like this programmable mouse a great deal. Very versatile.) There is also a somewhat cumbersome solution which should work with other mice. Try the following handler in the control script: local myName, tLoc on mouseDown put the name of me into myName put the loc of me into tLoc end mouseDown on mouseUP put "" into myName end mouseUP on mouseLeave put "" into myName end mouseLeave on mouseMove x,y if myName is "" then exit mouseMove if the shiftKey is down then set the loc of me to x, item 2 of tLoc else set the loc of me to item 1 of tLoc, y end mouseMove In this was the control is constrained to horizontal movement if the shift key is down, and vertical if the shift key is up Jim. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu Apr 8 09:39:06 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 8 Apr 2004 15:39:06 +0200 Subject: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon) Message-ID: Hi guys, After seeing some blocking bugs (that crash RR) that never got a reply, it would be nice to know how to make issues that are important and cause delays in software delivery be responded sooner. Votes on a bug seem to be more important that bug criticallity it seems. If I lay 90 of my votes on a bug, will it be answered faster? Do I get my points back after the problem is solved? Thanks for any hints!! Xavier On 08.04.2004 14:45:57 use-revolution-bounces wrote: >Geoff, > >On a similar point, I also don't know how these proceed. Following your >suggestion a few weeks ago I posted bugs 1374, 1375 relating to behaviour >in Windows without QuickTime and inability to play WAV files. It could be >debatable as to whether these are bugs or feature issues, but the Quicktime >issue seems to me to be a bug as in my copy of System Requirements, it >states QT needed for development (and only video features) but not for >Applications. So I don't understand why player controls and WAV don't >function without QT on the target machine. > >Anyway, my question is really - what happens to these submissions now - do I >need to do more? > >Cheers >Steve > >>I think I set it to minor, which isn't quite the same thing as >>not-important. ;-) > >>For what it's worth, you didn't submit this bug -- Monte did. The bug >>submission didn't describe anything that was being harmed by the bug -- >>no product broken, no development being stopped. That's why I classed >>it as minor. > >>So as a suggestion to anyone submitting an IDE bug: if you want it to >>take priority, be sure add a sentence or two describing why it's a >>problem. > >>regards, > >>Geoff Canyon >>gcanyon at inspiredlogic.com > >>On Apr 6, 2004, at 1:57 AM, xbury.cs at clearstream.com wrote: > >> I've asked on numerous occasions with no success. Entered bug reports >> and >> still am waiting with no solution in sight (see bug 34 which was >> commented >> yesterday >> by Geoff as not-important... > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From dburgun at dsl.pipex.com Thu Apr 8 09:42:21 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 14:42:21 +0100 Subject: Moving Objects in the IDE In-Reply-To: References: Message-ID: Thanks a lot for this. I just KNEW there must be a way of doing it! Actually I like it better than the Shift+Drag method! TTFN Dave >Dave, > >If you are talking about moving objects around as you build your GUI you can >use the arrow keys (at least I can on my Windows PC) to move a selected >object in a straight line up/down or sideways. If you hold down the shift >key, they move faster. > >-Paul > >-----Original Message----- >From: Jim Hurley [mailto:jhurley at infostations.com] >Sent: Thursday, April 08, 2004 9:26 AM >To: use-revolution at lists.runrev.com >Subject: Re: Moving Objects in the IDE > >> >>Message: 1 >>Date: Thu, 8 Apr 2004 10:58:39 +0100 >>From: David Burgun >>Subject: Moving Objects in the IDE >>To: How to use Revolution >>Message-ID: >>Content-Type: text/plain; charset="us-ascii" ; format="flowed" >> >>Hi, >> >>One thing that I've found very useful in other GUI design apps is the >>ability to move GUI objects around in the Window (stack/card) and >>constrain their movement to either the X or Y axis. This is usually >>acheived by dragging with the Shift or Option key down. Is there a >>way to do this in RunRev? >> >>TTFN >>Dave > >Dave, > >The simplest solution is mouse-dependant. With a Kensington optical >mouse on my Mac and the following handler in the control script: > >on mouseDown >grab me >end mouseDown > >you can use the shift key to constrain the control to horizontal or >vertical movement. (I like this programmable mouse a great deal. Very >versatile.) > >There is also a somewhat cumbersome solution which should work with >other mice. Try the following handler in the control script: > >local myName, tLoc > >on mouseDown > put the name of me into myName > put the loc of me into tLoc >end mouseDown > >on mouseUP > put "" into myName >end mouseUP > >on mouseLeave > put "" into myName >end mouseLeave > >on mouseMove x,y > if myName is "" then exit mouseMove > if the shiftKey is down then set the loc of me to x, item 2 of tLoc > else set the loc of me to item 1 of tLoc, y >end mouseMove > >In this was the control is constrained to horizontal movement if the >shift key is down, and vertical if the shift key is up > >Jim. >_______________________________________________ >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 xbury.cs at clearstream.com Thu Apr 8 09:51:36 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 8 Apr 2004 15:51:36 +0200 Subject: Grrrrrr What am I doing wrong or is it RunRev??? Message-ID: It can flake... It works on MC but for some reason on RR it never works for me using the align tools... Tip: Make a copy of the objects before... ;) I just had to realign 16x controls... Good thing I had a backup to copy rects from! ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 David Burgun Sent by: use-revolution-bounces at lists.runrev.com 08.04.2004 15:19 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Grrrrrr What am I doing wrong or is it RunRev??? . Hi, I created a card with a LOAD of controls on it, got them all alligned nicely, then thought I'd try the "Distribute" function, click the button but it didn't do what I expected so I did an "Undo" and it didn't Undo It!!! Now I have to start again. The Undo command seems VERY flakey or is it me??? Anyone else noticed this?? Cheers Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From alain.djemaa at wanadoo.fr Thu Apr 8 10:37:37 2004 From: alain.djemaa at wanadoo.fr (Alain Djemaa) Date: Thu, 08 Apr 2004 16:37:37 +0200 Subject: Date Items Message-ID: Bonjour tout le monde. (Hello, everybody and not "Hello, World" !) I'm beginning to learn Transcript. I'm not computer scientist but a needing tools amateur. So, I try like a child. Recently, I tried date format, like this, in the message box : get the internet date put it into laDate convert it to dateItems put "LA DATE" && laDate && "LES ITEMS" && it The results : LA DATE Thu, 8 Apr 2004 16:24:34 +0100 LES ITEMS 2004,4,8,17,24,34,5 Let's compare : 16:24 and ...,17,24,... So, it's possible to correct by subtracting 1 for obtaining the true item, but it's not very elegant, is it ? Have I to set a parameter before using dates ? Merci beaucoup. Alain. From trevor at mangomultimedia.com Thu Apr 8 11:35:23 2004 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu, 8 Apr 2004 09:35:23 -0600 Subject: Hello from a Filemaker renegade In-Reply-To: References: <20040406085742.DF3459301B0@mail.runrev.com> Message-ID: <59AA9430-8972-11D8-AE0C-00039384A130@mangomultimedia.com> On Apr 8, 2004, at 4:24 AM, Norman Winn wrote: > Which objects should I use to make a grid display of small, simple > images? I want to have around 30 variables that contain images, say > 16X16 pixels. The grid would fill with these images depending on > external data. Columns represent days and rows represent the timeline > of a stock item (resource). Tell me to go away and do the work if this > is too detailed a question, I would create a group that would hold your image grid. This allows you to easily delete all of the images each time you want to recreate the grid - repeat with i = number of controls of group "MyGroup" down to 1 delete control i of group "MyGroup" end repeat If you ever have to scroll your image grid then you can set the vScrollbar of the group to true - if (formattedHeight of group "MyGroup" > height of group "MyGroup") then set vScrollbar of group "MyGroup" to true Here is some code I use in one of my applications. My array is populated by a database query which is where tTutorialData comes from - put 10 into tRowLimit put left of group "Tutorials" into tLeftEdge put tLeftEdge into tX put top of group "Tutorials" into tY put 100 into tWidth put 100 into tHeight put 10 into tMarginY put 10 into tMarginX repeat with i = 1 to tTutorialData["Length"] ## ## Create image ## create image ("Media_" & tTutorialData["Data",i,"ID"]) in group "Tutorials" put it into tObjRef set fileName of tObjRef to libSys_AppPath() & "/Media/" & tTutorialData["Data",i,"Thumbnail"] set the uID of tObjRef to tTutorialData["Data",i,"ID"] set width of tObjRef to tWidth set height of tObjRef to tHeight set topLeft of tObjRef to (tX, tY) ## Adjust next positions if (i mod tRowLimit = 0) then put tLeftEdge into tX add tHeight to tY add tMarginY to tY else add tMarginX to tX add tWidth to tX end if end repeat Hope this helps, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From gcanyon at inspiredlogic.com Thu Apr 8 11:35:30 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 8 Apr 2004 08:35:30 -0700 Subject: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon) In-Reply-To: References: Message-ID: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> I'm in the process of going through all the bugs. When I'm done, all of them will be assigned to a release of Revolution, which (for the record) doesn't absolutely guarantee they will be fixed in that release, but gives a good indication. The criteria (roughly -- off the top of my head) are: -- Is it crashing people's built applications? -- Is it impairing significant functionality in people's built applications? -- Is it crashing people in Revolution? -- Is it impairing significant functionality in the Revolution IDE? For all of these, votes serve to give a measure of how many people are experiencing the problem, and how much of a problem it is for them. Votes can rank bugs within these categories. Whether there is a workaround can impact the importance of a bug. There are a myriad other considerations, but that gives a rough idea. If any of this isn't clear, or you think I'm being wrong-headed, feel free to say so. regards, Geoff Canyon gcanyon at inspiredlogic.com On Apr 8, 2004, at 6:39 AM, xbury.cs at clearstream.com wrote: > Hi guys, > > > After seeing some blocking bugs (that crash RR) that never got a reply, > it would be nice to know how to make issues that are important and > cause > delays in software delivery be responded sooner. > > Votes on a bug seem to be more important that bug criticallity it > seems. > > If I lay 90 of my votes on a bug, will it be answered faster? > Do I get my points back after the problem is solved? > > Thanks for any hints!! > Xavier > > On 08.04.2004 14:45:57 use-revolution-bounces wrote: >> Geoff, >> >> On a similar point, I also don't know how these proceed. Following >> your >> suggestion a few weeks ago I posted bugs 1374, 1375 relating to > behaviour >> in Windows without QuickTime and inability to play WAV files. It >> could be >> debatable as to whether these are bugs or feature issues, but the > Quicktime >> issue seems to me to be a bug as in my copy of System Requirements, it >> states QT needed for development (and only video features) but not for >> Applications. So I don't understand why player controls and WAV don't >> function without QT on the target machine. >> >> Anyway, my question is really - what happens to these submissions now >> - > do I >> need to do more? >> >> Cheers >> Steve >> >>> I think I set it to minor, which isn't quite the same thing as >>> not-important. ;-) >> >>> For what it's worth, you didn't submit this bug -- Monte did. The bug >>> submission didn't describe anything that was being harmed by the bug >>> -- >>> no product broken, no development being stopped. That's why I classed >>> it as minor. >> >>> So as a suggestion to anyone submitting an IDE bug: if you want it to >>> take priority, be sure add a sentence or two describing why it's a >>> problem. >> >>> regards, >> >>> Geoff Canyon >>> gcanyon at inspiredlogic.com >> >>> On Apr 6, 2004, at 1:57 AM, xbury.cs at clearstream.com wrote: >> >>> I've asked on numerous occasions with no success. Entered bug reports >>> and >>> still am waiting with no solution in sight (see bug 34 which was >>> commented >>> yesterday >>> by Geoff as not-important... >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents of > this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, distribution > or any action taken or omitted to be taken in reliance on it, is > prohibited and may be unlawful. Any views expressed in this e-mail are > those of the individual sender, except where the sender specifically > states them to be the views of Clearstream International or of any of > its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Thu Apr 8 11:50:19 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Apr 2004 09:50:19 -0600 Subject: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon) In-Reply-To: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> Message-ID: <6FE7DE88-8974-11D8-8261-000A9567A3E6@swcp.com> On Thursday, April 8, 2004, at 09:35 AM, Geoff Canyon wrote: > -- Is it crashing people in Revolution? I have noticed that I have been crashing. Dar From dburgun at dsl.pipex.com Thu Apr 8 12:30:21 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 17:30:21 +0100 Subject: How do I close a Stack (Window) In-Reply-To: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> Message-ID: Hi, I have setup my RunRev project so that I have a main stack which just acts as a Splash Screen and does some initialization, once it's been on the screen for 2 seconds, I want it to go away. Should I hide it or close it? How do I do this? I also have a couple of Sub-Stacks that I want to display, have the user fill in some details (like a dialog box) and then close, again how do I do this? Cheers Dave From ambassador at fourthworld.com Thu Apr 8 12:45:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 08 Apr 2004 09:45:57 -0700 Subject: How to Set the Value of a Slider In-Reply-To: References: <20040406085742.DF3459301B0@mail.runrev.com> <407538C9.4000506@fourthworld.com> Message-ID: <407581C5.5000007@fourthworld.com> David Burgun wrote: >> The object type is "scrollbar", and it comes in three styles: >> >> scrollbar >> scale >> progress > > This is different on the version of RR I am using (2.1.2) it has 4 types: > > Scrollbar > Slider > Progressbar > Little Arrows I tend to use only Transcript terms to describe objects, since ultimately in a scripting environment it's all about code. "Little Arrows" is a Mac term for what the rest of the world calls a "spin box", and it's not a native object style. Instead, the Rev IDE uses that term to describe the effect you get when setting the size of a scrollbar object of style "scrollbar" small enough that the thumb isn't visible. When sized that small, the appearance and behavior you get is identical to a spinner. The Rev IDE's Inspector includes "Little Arrows" in a popup list labeled "Type", which is unfortunate because the actual propery being set is "style" and because neither "Little Arrows" or "Spinner" is a style of scrollbar objects (it's merely an effect of sizing). A delicate balance is attemped in the Rev UI's nomenclature between terms that might help new users visually identify controls and also helping them understand the underlying Transcript driving them. In a consumer product a designer has more flexibility, but since Rev is a scripting tool I feel it's important to make clear use of Transcript terminology available. In most cases the user has a choice (settable in the first pane in Preferences), but this item is apparently not addressed by that option. For the sake of thoroughness I just added a Bugzilla report (#1488) on this nomenclature issue, with the aim of seeing the Rev UI continue its enhancement to ever better reinforces the learning of Transcript. To the Rev UI's credit, the Toolbar icon for scrollbar objects correctly offers the three options support by the underlying language. >> This may seem a little odd, but if you think about it all three of >> those have very parallel property needs, so maybe it's not crazy. :) > > I tried it as you say and it works, but it just seems odd that I have to > use the "Scrollbar" type instead of "Slider". I agree. I believe this has historical roots, that the object type originally did not support styles other than "scrollbar", but as progress bars and scales became added it made sense to implement them as styles of styles of the same type since their properties are the same and the main difference is their appearance. If you could come up with a term to describe the superset of controls which includes scrollbars, scales, and progress bars, I would vote for the addition of a synonym for that type and eventually a deprication of "scrollbar" as an object type, reserving it for use as a style. > I always use the full name for the object, I got VERY confused when I > started using the abbreviations! I think it would be a good option to > have the IDE display the script as using the abbreviations or the full > names via a preferences. It's really diffuicult for a newbie to get to > know all the abbreviations. Agreed. I generally post here in the full form for that reason. But a few hundred thousand lines of code from now you'll appreciate abbreviations. :) Having the option to use abbreviations is one of the valuable traits of Transcript, so I felt it was at least worth noting. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Thu Apr 8 12:54:57 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 8 Apr 2004 18:54:57 +0200 Subject: How do I close a Stack (Window) In-Reply-To: References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> Message-ID: <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> Hi David, > Hi, > > I have setup my RunRev project so that I have a main stack which > just acts as a Splash Screen and does some initialization, once it's > been on the screen for 2 seconds, I want it to go away. > Should I hide it or close it? How do I do this? Well, that's a matter of taste :-) I, personally, hide my splash-screens most of the time... And, as you might have guessed: hide stck "xyz" resp. close stack "xyz" will do the job ;-) Something like this in your splash screen stack: on openstack wait 2 secs toplevel "The menu stack or whatever..." close stack "name of splah screen here..." ## close this stack won't work, since "The menu..." ## in now THIS stack... ## Have been fooled before by this ;-) end openstack > I also have a couple of Sub-Stacks that I want to display, have the > user > fill in some details (like a dialog box) and then close, again how do > I do this? Add a "Cancel" and "OK" button to your dialogs with a "close this stack" etc... handler and open these stacks as modal: ... modal "my very special dialog box" ... Hope this helps.. > Cheers > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Thu Apr 8 13:10:39 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 8 Apr 2004 19:10:39 +0200 Subject: CGI POST Failure to read Stdin In-Reply-To: References: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> Message-ID: Hi Dave, I did'nt test it for a while, now but, in about the POST method - i don't never use the GET one, because its always possible security holes -, at least, i got the problem in using the 2.5 engine too ;-( I had a dedicated test stack, there, on one of my boxes. I will test again, as soon as i will find it back... Bests, Pierre Le 8 avr. 04, ? 15:15, Dave Cragg a ?crit : > At 3:01 pm +0200 8/4/04, Pierre Sahores wrote: > >> I experimented this,a long time ago... At least with the 2.3.2 and >> above issues of the engine, MC/Rev is failing 1 time peer 20 periods >> in >> handling "POST" requests in CGI mode. >> >> It's a sad reproductible bug we spoken about with Scott Raney, a long >> time ago, on and off-list, without getting any way to solve >> definitivelly the problem. > > Have you tested this recently, Pierre? I've been using the 2.5 engine > extensively on Windows (with IIS) and on OS X (with Apache) for CGI > and haven't encountered any problems with POST. (As long as you're > careful about reading in the data from stdin.) In fact, I've found it > remarkably stable. > > The only hitch I've found is with IIS on Windows, where it's a good > idea to put a short wait (20 milliseconds) before the "end startup" > line in the script (this is not just for POST but GET as well). > > I'd be interested to hear of other people's experience. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From katir at hindu.org Thu Apr 8 13:30:33 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 8 Apr 2004 07:30:33 -1000 Subject: CGI POST Failure to read Stdin In-Reply-To: References: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> Message-ID: <70D2DC20-8982-11D8-8052-000A959D0AC6@hindu.org> Thanks, Pierre for the full report on this old bug... but the problem with your solution is two fold: 1) it assumes that the Rev developer has PHP skills (which I do not) even though we could simply copy your example... we would not know what we were doing... and many new users of xTalk CGI may only be fluent in xTalk and no other languages. 2) it assumes that one has admin rights to set up Revolution or Metacard on the server as a long running process. But, if one is hosting his site on a virtual host web server, about the most you can do is get approval to put the Revolution engine in your CGI-BIN... I don't know if it would be possible to then "boot" it as a long running process... I don't think so. For now, our usage is a low enough hit rate (one POST every day or two at the most!) to live with a pure xTalk solution. but, I'll be expanding the number of users up ward and we will watch carefully for failures. Of course this can't possibly reflect a "200 hits per second context." We really should solve this. Some people will simply through the whole idea out of using Revolution to build an enterprise solution, just because of this one bug. Best to all from Hawaii. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Apr 8, 2004, at 3:15 AM, Dave Cragg wrote: > At 3:01 pm +0200 8/4/04, Pierre Sahores wrote: > >> I experimented this,a long time ago... At least with the 2.3.2 and >> above issues of the engine, MC/Rev is failing 1 time peer 20 periods >> in >> handling "POST" requests in CGI mode. >> >> It's a sad reproductible bug we spoken about with Scott Raney, a long >> time ago, on and off-list, without getting any way to solve >> definitivelly the problem. > > Have you tested this recently, Pierre? I've been using the 2.5 engine > extensively on Windows (with IIS) and on OS X (with Apache) for CGI > and haven't encountered any problems with POST. (As long as you're > careful about reading in the data from stdin.) In fact, I've found it > remarkably stable. > > The only hitch I've found is with IIS on Windows, where it's a good > idea to put a short wait (20 milliseconds) before the "end startup" > line in the script (this is not just for POST but GET as well). > > I'd be interested to hear of other people's experience. > > Cheers > Dave From revlist at cableone.net Thu Apr 8 13:39:29 2004 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 8 Apr 2004 11:39:29 -0600 Subject: No subject Message-ID: <000501c41d90$725a6780$64fea8c0@chris1> I found what I think is a bug with the player object in Revolution version 2.2 on Windows. It seems to only happen with Win 2000 and Win XP Pro. Why only these two, I'm not sure. But we've done tests on Win 98 and Win XP Home and not had any problems. Anyway, I'm wondering if someone can just take a couple minutes and verify this for me. Just create a new stack and put a single player object in it. Set the filename of the player object to any audio file (probably any kind of media file would work; haven't tested video though). Hide the player object, click the browse button, and start the player with "start player 1" in the message box. It should play for about half the audio and then cut out. It's strange because the file still continues to play, there's just no sound. This was working fine with 2.1.2, but not with 2.2, so something has changed. The trick is to hide the player. If it's visible, it works just fine. I can work around this for now by just moving my player off screen, but I'd like to not have to do that. Can someone confirm and let me know, and then I'll post it as a bug. Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.654 / Virus Database: 419 - Release Date: 4/6/2004 From scott at tactilemedia.com Thu Apr 8 13:51:03 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 08 Apr 2004 10:51:03 -0700 Subject: No subject In-Reply-To: <000501c41d90$725a6780$64fea8c0@chris1> Message-ID: On 4/8/04 10:39 AM, "Chris Sheffield" wrote: > This was working fine with 2.1.2, but not with 2.2, so something has > changed. The trick is to hide the player. If it's visible, it works just > fine. I can work around this for now by just moving my player off screen, > but I'd like to not have to do that. Can someone confirm and let me know, > and then I'll post it as a bug. As far as I've seen, hidden players have *always* been a problem, not just in 2.2. FWIW, any time I've wanted to use a hidden player I've needed to position it off screen. You should bug report this if it hasn't been already. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dburgun at dsl.pipex.com Thu Apr 8 14:01:44 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 19:01:44 +0100 Subject: How do I close a Stack (Window) In-Reply-To: <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> Message-ID: Hi, That worked fine for the Splash Screen (once I realized that I had to Close it Manually to get it to re-open and do it's stuff - This is where RunRev REALLY gets me! Although I am getting used to it now). I have one more question on this though. I have a button that needs to call a Stack (dialog), I have the following script on the button: on mouseUp go StackPageSize end mouseUp Which calls the stack ok, but it doesn't become the frontmost window. Well maybe it does sometimes, not sure, still playing. Is there something else I need to do to make it be the active window? Cheers Dave >Hi David, > >>Hi, >> >>I have setup my RunRev project so that I have a main stack which >>just acts as a Splash Screen and does some initialization, once it's >>been on the screen for 2 seconds, I want it to go away. >>Should I hide it or close it? How do I do this? > >Well, that's a matter of taste :-) > >I, personally, hide my splash-screens most of the time... > >And, as you might have guessed: > >hide stck "xyz" >resp. >close stack "xyz" > >will do the job ;-) > >Something like this in your splash screen stack: > >on openstack > wait 2 secs > toplevel "The menu stack or whatever..." > close stack "name of splah screen here..." > ## close this stack won't work, since "The menu..." > ## in now THIS stack... > ## Have been fooled before by this ;-) >end openstack > >>I also have a couple of Sub-Stacks that I want to display, have the user >>fill in some details (like a dialog box) and then close, again how >>do I do this? > >Add a "Cancel" and "OK" button to your dialogs with a "close this >stack" etc... >handler and open these stacks as modal: > >... >modal "my very special dialog box" >... > >Hope this helps.. > >>Cheers >>Dave > >Regards > >Klaus Major >klaus at major-k.de >www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Thu Apr 8 14:10:44 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 19:10:44 +0100 Subject: How do I close a Stack (Window) In-Reply-To: References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> Message-ID: More on this. I have the Main Stack on the second screen and I press the button. The new stack appears on the main screen and it active for a short while, then it goes inactive and the Main Stack goes active again! What am I doing wrong? Thanks for your help Dave >Hi, > >That worked fine for the Splash Screen (once I realized that I had >to Close it Manually to get it to re-open and do it's stuff - This >is where RunRev REALLY gets me! Although I am getting used to it >now). > >I have one more question on this though. I have a button that needs >to call a Stack (dialog), I have the following script on the button: > >on mouseUp >go StackPageSize >end mouseUp > >Which calls the stack ok, but it doesn't become the frontmost >window. Well maybe it does sometimes, not sure, still playing. Is >there something else I need to do to make it be the active window? > >Cheers >Dave > >>Hi David, >> >>>Hi, >>> >>>I have setup my RunRev project so that I have a main stack which >>>just acts as a Splash Screen and does some initialization, once it's >>>been on the screen for 2 seconds, I want it to go away. >>>Should I hide it or close it? How do I do this? >> >>Well, that's a matter of taste :-) >> >>I, personally, hide my splash-screens most of the time... >> >>And, as you might have guessed: >> >>hide stck "xyz" >>resp. >>close stack "xyz" >> >>will do the job ;-) >> >>Something like this in your splash screen stack: >> >>on openstack >> wait 2 secs >> toplevel "The menu stack or whatever..." >> close stack "name of splah screen here..." >> ## close this stack won't work, since "The menu..." >> ## in now THIS stack... >> ## Have been fooled before by this ;-) >>end openstack >> >>>I also have a couple of Sub-Stacks that I want to display, have the user >>>fill in some details (like a dialog box) and then close, again how >>>do I do this? >> >>Add a "Cancel" and "OK" button to your dialogs with a "close this >>stack" etc... >>handler and open these stacks as modal: >> >>... >>modal "my very special dialog box" >>... >> >>Hope this helps.. >> >>>Cheers >>>Dave >> >>Regards >> >>Klaus Major >>klaus at major-k.de >>www.major-k.de >> >>_______________________________________________ >>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 webmaster at dreamscapesoftware.com Wed Apr 7 15:07:41 2004 From: webmaster at dreamscapesoftware.com (Dreamscape Software Webmaster) Date: Wed, 7 Apr 2004 21:07:41 +0200 Subject: Convolve External - Bug Message-ID: <00b001c41cd3$9d42e2a0$ccbfd80a@WorkPC> I'm having difficulty with the Convolve External. After I use the external, the image that the effect is applied to turns a yellow color. I tried it with the altConvolve2 stack and the same thing happens. Any ideas? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From mcdomi at free.fr Thu Apr 8 15:18:17 2004 From: mcdomi at free.fr (Dom) Date: Thu, 8 Apr 2004 21:18:17 +0200 Subject: Date Items In-Reply-To: Message-ID: <1gbxzx8.171yrdxlqa2wyM%mcdomi@free.fr> Alain Djemaa wrote: > Recently, I tried date format, like this, in the message box : > > get the internet date > put it into laDate > convert it to dateItems > put "LA DATE" && laDate && "LES ITEMS" && it > > The results : > > LA DATE Thu, 8 Apr 2004 16:24:34 +0100 LES ITEMS 2004,4,8,17,24,34,5 > > Let's compare : > 16:24 and ...,17,24,... > > So, it's possible to correct by subtracting 1 for obtaining the true item, > but it's not very elegant, is it ? This subject was already discussed here... H?h?... on en a d?j? caus? ici ;-) In short: this seems to affect only OS X in Europe during the daylight saving period On voit le "bug" uniquement en heure d'?t? ! It is not clear wether it is a Revolution "feature" / or it is a Mac OS X bug (discussion on MacFixIt) -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From mwieder at ahsoftware.net Thu Apr 8 15:59:47 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Apr 2004 12:59:47 -0700 Subject: Close box in Windows XP In-Reply-To: References: Message-ID: <5914666819.20040408125947@ahsoftware.net> Sarah- I'm just getting back into town after a couple of days away and working my way through a stack of emails that have come in during my absence, so I'm replying directly to this instead of going to the list. Can you possibly open the stack window modally? That gets rid of the close box. Also, I just did a test and set the controls of a stack from the Property Inspector to "title" and it did the same thing. Do you need to have the minimize and maximize buttons available? -- -Mark mwieder at ahsoftware.net Wednesday, April 7, 2004, 4:26:21 PM, you wrote: SR> Does anyone know how I can get rid of the close box in a stack window SR> with Windows XP? In Mac OS X, I can set the decorations to SR> "title,menu,maximize,minimize" which gives me exactly what I want with SR> a close button visible but disabled. In Windows XP, no combination of SR> settings seems to disable or hide the close box except if you remove SR> "menu" from the decorations, which I don't want to do since it removes SR> everything. SR> Does any Windows expert out there know how I can hide the close box? I SR> don't want to just trap the message and refuse to close the window as SR> that would cause confusion, but I really don't want the users to be SR> able to close a particular window unless they are quitting the entire SR> application. SR> TIA, SR> Sarah From dburgun at dsl.pipex.com Thu Apr 8 16:13:55 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 8 Apr 2004 21:13:55 +0100 Subject: How do I close a Stack (Window) In-Reply-To: References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> Message-ID: Hi Dave (easy name to remember!), I think there is something very weird going on! This is how I have my project setup: Main Stack, just a splash screen, it has this script attached: Stack Script: on openStack wait for 2 seconds hide stack "Splash" go stack "MainWindow" end openStack Which waits for 2 seconds as expected and disappears, the "MainWindow" stack appear as the frontmost window, then (I think 2 seconds later), the "MainWindow" gets de-selected! I've just tried it again and now it seems to work as expected! Bet here's something else that is weird. In the "MainWindow", I have a button that just has this script on it: on mouseUp modal "PageSize" end mouseUp The "PageSize" Stack apprears, but if I click it's OK button, there is a delay before the button gets actioned. I'm not sure if it's just the RunRev IDE overhead or if it's related. It's really hard for me to know what's going on here! I'm new to RunRev and I'm not sure if I am doing something wrong somewhere. Anyway, I'm taking a break now, I've been at it all day, I'll come back to it later or tomorrow. Thanks for your help Dave >This is not clear to me. What does the button script say? Is this the >one that includes "go StackPageSize"? I'd use toplevel rather than go. >Assuming that StackPageSize is a substack of your main stack, it will be >available. If it's not, then you'll need to use open. To be certain, you >can use open on one line and toplevel on the next. >Dave > >>More on this. >> >>I have the Main Stack on the second screen and I press the button. >>The new stack appears on the main screen and it active for a short >>while, then it goes inactive and the Main Stack goes active again! >> >>What am I doing wrong? >> >>Thanks for your help >>Dave From jswitte at bloomington.in.us Thu Apr 8 16:14:08 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu, 8 Apr 2004 15:14:08 -0500 Subject: FW video feed as QT movie (MacOSX), capturing a frame In-Reply-To: References: Message-ID: <4A8EE091-8999-11D8-8E2C-000393DC31DA@bloomington.in.us> Hi, How can I show a Firewire DV video feed in a stack, and how can I capture a frame from that feed, and stick it in an image object (to be later cropped, resized, and saved as some file format)? Jim Witte jswitte at bloomington.in.us From francois.cuneo at cuk.ch Thu Apr 8 16:33:07 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Thu, 08 Apr 2004 22:33:07 +0200 Subject: Menu itemp Quit on OSX In-Reply-To: <0D62ADCE-88DD-11D8-A728-000A27B49A96@major-k.de> Message-ID: Klaus, one more time, thank you!!! Really! Le 7.4.2004 23:46, Klaus Major ? klaus at major-k.de a ?crit: > Bon soir mon ami :-) > >> Hello! >> >> One question about the menubar in OSX. >> >> I have understood that the "quit" item is on the application menu. >> >> But I have written "Quitter" and the menu is always "Quit Cuk Calcul >> Oral" >> >> Is it possible to obtain "Quitter Cuk Calcul Oral"? >> >> Thank you so much! > > There is an extremely cheap and effective trick on OS X ;-) > > Control-Click on the Revolution application... > Select "Show contents" or whatever that may be in french > to get INSIDE this folder in disguise... > > Then simply create an empty!!! folder called French.lproj here: > > Revolution/Contents/Resources/French.lproj > > This will at least translate the "Quit", "Preferences" and the menu > "Help" into french... > (in the IDE and your standalones :-) > > You will have to restart Rev... > > This folder will be part of your standalone, since all resources are > copied from the > Revolution application... > > This will work with many languages! > Tested with: > > German.lproj > French. lproj > Italian. lproj > Spanish. lproj > > NOT tested with: > > Scotsh.lproj :-D > > > Hope that helps... > >> Amicalement >> Fran?ois >> ----------------------------------------------------------------------- >> --- >> >> Fran?ois Cuneo >> Au Champ du Pr? >> 1353 Bofflens > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Amicalement Fran?ois -------------------------------------------------------------------------- Fran?ois Cuneo Au Champ du Pr? 1353 Bofflens e-mail: mailto:francois.cuneo at cuk.ch Web Cuk New Technologies, programmes ?ducatifs pour Mac: http://www.cuk.ch Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles T?l: ++41 (024) 441.17.81 Fax: ++41 (024) 441.17.05 From 3mcgrath at adelphia.net Thu Apr 8 16:36:33 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 8 Apr 2004 16:36:33 -0400 Subject: How do I close a Stack (Window) In-Reply-To: References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> Message-ID: <6C9D6EC4-899C-11D8-AC5A-000A95DA60FA@adelphia.net> Dave, Try putting that in the on StartUp handler. It is being run twice your way. Once in the splash screen stack and again in the MainWindow stack. Using StartUp will make it work just once. HTH Tom On Apr 8, 2004, at 4:13 PM, David Burgun wrote: > Hi Dave (easy name to remember!), > > I think there is something very weird going on! This is how I have my > project setup: > > Main Stack, just a splash screen, it has this script attached: > > Stack Script: > > on openStack > > wait for 2 seconds > > hide stack "Splash" > go stack "MainWindow" > > end openStack > > Which waits for 2 seconds as expected and disappears, the "MainWindow" > stack appear as the frontmost window, then (I think 2 seconds later), > the "MainWindow" gets de-selected! > > I've just tried it again and now it seems to work as expected! > > Bet here's something else that is weird. In the "MainWindow", I have a > button that just has this script on it: > > on mouseUp > modal "PageSize" > end mouseUp > > The "PageSize" Stack apprears, but if I click it's OK button, there is > a delay before the button gets actioned. I'm not sure if it's just the > RunRev IDE overhead or if it's related. > > It's really hard for me to know what's going on here! I'm new to > RunRev and I'm not sure if I am doing something wrong somewhere. > Anyway, I'm taking a break now, I've been at it all day, I'll come > back to it later or tomorrow. > > Thanks for your help > Dave > > >> This is not clear to me. What does the button script say? Is this >> the >> one that includes "go StackPageSize"? I'd use toplevel rather than >> go. >> Assuming that StackPageSize is a substack of your main stack, it will >> be >> available. If it's not, then you'll need to use open. To be >> certain, you >> can use open on one line and toplevel on the next. >> Dave >> >>> More on this. >>> >>> I have the Main Stack on the second screen and I press the button. >>> The new stack appears on the main screen and it active for a short >>> while, then it goes inactive and the Main Stack goes active again! >>> >>> What am I doing wrong? >>> >>> Thanks for your help >>> Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From gbojsza at mac.com Thu Apr 8 16:53:55 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Thu, 8 Apr 2004 15:53:55 -0500 Subject: Using a field list to act as variables? Message-ID: Hi, I am experimenting with the following and was hoping someone can tell me why it doesn't work... I have a field nOribit with 3 lines yt1 yt2 yt3 on mouseUp put empty into tSolar repeat for each line L in field "nOrbit" put L & cr after tSolar end repeat delete last char of tSolar put "1,2,3" into yt1 put "4,5,6,7" into yt2 put "9,8,7" into yt3 put tSolar -- this gives yt1,yt2,yt3 and not the values if I do the following put yt1 & cr & yt2 & cr & yt3 into tSolar put tSolar -- this gives the values Yes, I know that an array would work but I'm trying to understand if there is a way for the above to work. thanks, Glen From martin at materiaprima.fsnet.co.uk Thu Apr 8 17:27:09 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Thu, 08 Apr 2004 22:27:09 +0100 Subject: Using a field list to act as variables? In-Reply-To: Message-ID: Hello Glen, try: put "1,2,3" into yt1 put "4,5,6,7" into yt2 put "9,8,7" into yt3 put empty into tSolar repeat for each line L in field "nOrbit" put value(L) & cr after tSolar --## end repeat delete last char of tSolar put tSolar HTH martin >Hi, > >I am experimenting with the following and was hoping someone can tell >me why it doesn't work... > >I have a field nOribit with 3 lines > >yt1 >yt2 >yt3 > >on mouseUp >put empty into tSolar >repeat for each line L in field "nOrbit" >put L & cr after tSolar >end repeat >delete last char of tSolar > >put "1,2,3" into yt1 >put "4,5,6,7" into yt2 >put "9,8,7" into yt3 > >put tSolar -- this gives yt1,yt2,yt3 and not the values > >if I do the following > >put yt1 & cr & yt2 & cr & yt3 into tSolar > >put tSolar -- this gives the values > > >Yes, I know that an array would work but I'm trying to understand if >there is a way for the above to work. > >thanks, > >Glen > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Thu Apr 8 17:43:09 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 8 Apr 2004 23:43:09 +0200 Subject: How do I close a Stack (Window) In-Reply-To: References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> Message-ID: Hi David, > Hi, > > That worked fine for the Splash Screen (once I realized that I had to > Close it > Manually to get it to re-open and do it's stuff - This is where RunRev > REALLY > gets me! Although I am getting used to it now). > > I have one more question on this though. I have a button that needs to > call a Stack > (dialog), I have the following script on the button: > > on mouseUp > go StackPageSize > end mouseUp > > Which calls the stack ok, but it doesn't become the frontmost window. > Well maybe it does sometimes, not sure, still playing. Is there > something > else I need to do to make it be the active window? Try: toplevel StackPageSize or modal StackPageSize That should bring that stack to front... > Cheers > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Thu Apr 8 17:49:33 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 8 Apr 2004 23:49:33 +0200 Subject: How do I close a Stack (Window) In-Reply-To: References: <5E36C369-8972-11D8-B3D9-003065683ECC@inspiredlogic.com> <7739F3ED-897D-11D8-81CA-000A27B49A96@major-k.de> Message-ID: <9EE443B4-89A6-11D8-81CA-000A27B49A96@major-k.de> Hi David, > More on this. > > I have the Main Stack on the second screen and I press the button. > The new stack appears on the main screen and it active for a short > while, then it goes inactive and the Main Stack goes active again! > > What am I doing wrong? Add an empty "preopenstack" or "openstack" handler on preopenstack ## end preopenstack I guess your stack executes the script of the mainstack which says goodbye after 2 secs and toplevels the menu-stack again ;-) This one: >>> on openstack >>> wait 2 secs >>> toplevel "The menu stack or whatever..." >>> close stack "name of splash screen here..." >>> end openstack > Thanks for your help You're welcome :-) Regards Klaus Major klaus at major-k.de www.major-k.de From b.xavier at internet.lu Thu Apr 8 18:04:57 2004 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Apr 2004 00:04:57 +0200 Subject: discrete announcement In-Reply-To: Message-ID: Hi all, I've uploaded the last discrete browser 1.6b4 There should be rare parsing issues in this release! I've noticed one url resolution problem only from newscientist.com - easily fixed with your mouse! Now handles quite a few more web pages including - noframes (suggestions get honored!), noscripts thrown in for free - tables - self adjustable! - 3 html sources views (web, filtered and RR's output ;) Download manager, internet updates and bookmarks are being redesigned and so were disabled for this release until finished. And not a peep error from the GM! I got him scared now! Thanks to all those who sent comments! Xavier -- Release inspired by Fishbone! From gbojsza at mac.com Thu Apr 8 18:28:18 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Thu, 8 Apr 2004 17:28:18 -0500 Subject: Using a field list to act as variables? In-Reply-To: Message-ID: <08C7A0D2-89AC-11D8-8D2D-003065F00EF2@mac.com> Martin, This works and it helps more than you can imagine! thanks, Glen On Thursday, April 8, 2004, at 04:27 PM, Martin Baxter wrote: > Hello Glen, > > try: > > put "1,2,3" into yt1 > put "4,5,6,7" into yt2 > put "9,8,7" into yt3 > put empty into tSolar > repeat for each line L in field "nOrbit" > put value(L) & cr after tSolar --## > end repeat > delete last char of tSolar > put tSolar > > HTH > > martin > >> Hi, >> >> I am experimenting with the following and was hoping someone can tell >> me why it doesn't work... >> >> I have a field nOribit with 3 lines >> >> yt1 >> yt2 >> yt3 >> >> on mouseUp >> put empty into tSolar >> repeat for each line L in field "nOrbit" >> put L & cr after tSolar >> end repeat >> delete last char of tSolar >> >> put "1,2,3" into yt1 >> put "4,5,6,7" into yt2 >> put "9,8,7" into yt3 >> >> put tSolar -- this gives yt1,yt2,yt3 and not the values >> >> if I do the following >> >> put yt1 & cr & yt2 & cr & yt3 into tSolar >> >> put tSolar -- this gives the values >> >> >> Yes, I know that an array would work but I'm trying to understand if >> there is a way for the above to work. >> >> thanks, >> >> Glen >> >> _______________________________________________ >> 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 Cubist at aol.com Thu Apr 8 18:59:51 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Thu, 8 Apr 2004 18:59:51 EDT Subject: Using a field list to act as variables? Message-ID: <120.2ca81c5b.2da73367@aol.com> sez gbojsza at mac.com: >I am experimenting with the following and was hoping someone can tell >me why it doesn't work... > >I have a field nOribit with 3 lines > >yt1 >yt2 >yt3 > >on mouseUp >put empty into tSolar >repeat for each line L in field "nOrbit" >put L & cr after tSolar >end repeat >delete last char of tSolar > >put "1,2,3" into yt1 >put "4,5,6,7" into yt2 >put "9,8,7" into yt3 > >put tSolar -- this gives yt1,yt2,yt3 and not the values > >if I do the following > >put yt1 & cr & yt2 & cr & yt3 into tSolar > >put tSolar -- this gives the values > >Yes, I know that an array would work but I'm trying to understand if >there is a way for the above to work. Marttin Baxter's solution looks like it should work, but just in case you're curious, here's why you had the problem in the first place: In your first attempt, Rev believes that "yt1" & etc are just generic character strings that you're pouring into the variable tSolar; Rev has no clue that those strings are supposed to be the names of variables. Granted, you later use those strings *as* variable names, but that later act does not alter the contents of tSolar. In your second attempt, Rev knows right from the start that you're playing with variables, thus you get the result you want. Hope this helps... From davethebrv at crystalpiersw.com Thu Apr 8 19:04:01 2004 From: davethebrv at crystalpiersw.com (Dave Beck) Date: Thu, 08 Apr 2004 16:04:01 -0700 Subject: Windows defaut font gets messed up In-Reply-To: <20040406190706.B98ED93020F@mail.runrev.com> Message-ID: Hey, First I gotta say that I love this mailing list because people are so helpful, so thanks everybody for making it a great list. Now hopefully that doesn't jinx me and somebody can help me out with this problem I am having: I have a potential customer who just reported to me that in my standalone rev app some of the text runs off the screen. He sent me a screen shot and basically what is happening is that all the text is being displayed in the wrong font. I have it set to the default font for Windows (MS Sans Serif I believe?), and on all computers I have tested it on the text shows up fine as it does on mine. But on his computer it shows up in a different font that is considerably bigger and the result is that many of the fields have text that runs beyond their bounds, all of the buttons look funny, and basically the whole app looks aweful. What is the deal? I thought everybody would have the default font. He is running Windows XP Pro. How do I avoid this problem? Can I install MS Sans Serif with my app, or is the better solution to change to another font which EVERYBODY has? Obviously I can't leave things the way they are, as I'm surprised he is even still using my software from the looks of the screen shot he sent me. Any help would be very much appreciated. Thanks in advance. Dave From scott at tactilemedia.com Thu Apr 8 19:11:14 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 08 Apr 2004 16:11:14 -0700 Subject: Windows defaut font gets messed up In-Reply-To: Message-ID: Recently, "Dave Beck" wrote: > I have a potential customer who just reported to me that in my standalone > rev app some of the text runs off the screen. He sent me a screen shot and > basically what is happening is that all the text is being displayed in the > wrong font. I have it set to the default font for Windows (MS Sans Serif I > believe?), and on all computers I have tested it on the text shows up fine > as it does on mine. But on his computer it shows up in a different font that > is considerably bigger and the result is that many of the fields have text > that runs beyond their bounds, all of the buttons look funny, and basically > the whole app looks aweful. Two things: 1) Your customer might have "Large Fonts" enabled in their Display control panel. You could have them verify and change if needed. 2) You might try using "Arial" or "Verdana" as your default font. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gbojsza at mac.com Thu Apr 8 19:31:26 2004 From: gbojsza at mac.com (Glen Bojsza) Date: Thu, 8 Apr 2004 18:31:26 -0500 Subject: Using a field list to act as variables? In-Reply-To: <120.2ca81c5b.2da73367@aol.com> Message-ID: An explanation always helps...thanks On Thursday, April 8, 2004, at 05:59 PM, Cubist at aol.com wrote: > sez gbojsza at mac.com: >> I am experimenting with the following and was hoping someone can tell >> me why it doesn't work... >> >> I have a field nOribit with 3 lines >> >> yt1 >> yt2 >> yt3 >> >> on mouseUp >> put empty into tSolar >> repeat for each line L in field "nOrbit" >> put L & cr after tSolar >> end repeat >> delete last char of tSolar >> >> put "1,2,3" into yt1 >> put "4,5,6,7" into yt2 >> put "9,8,7" into yt3 >> >> put tSolar -- this gives yt1,yt2,yt3 and not the values >> >> if I do the following >> >> put yt1 & cr & yt2 & cr & yt3 into tSolar >> >> put tSolar -- this gives the values >> >> Yes, I know that an array would work but I'm trying to understand if >> there is a way for the above to work. > Marttin Baxter's solution looks like it should work, but just in > case > you're curious, here's why you had the problem in the first place: In > your first > attempt, Rev believes that "yt1" & etc are just generic character > strings that > you're pouring into the variable tSolar; Rev has no clue that those > strings > are supposed to be the names of variables. Granted, you later use > those strings > *as* variable names, but that later act does not alter the contents of > tSolar. > In your second attempt, Rev knows right from the start that you're > playing > with variables, thus you get the result you want. > Hope this helps... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jswitte at bloomington.in.us Thu Apr 8 19:49:48 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu, 8 Apr 2004 18:49:48 -0500 Subject: FW video feed as QT movie (MacOSX), capturing a frame Message-ID: <6BD79FFD-89B7-11D8-9472-000393DC31DA@bloomington.in.us> Hi, (I'm reposting this because I mistakenly put it in another thread.. AARGH! Apple. This has been hashed out on macosx-talk before) How can I show a Firewire DV video feed in a stack, and how can I capture a frame from that feed, and stick it in an image object (to be later cropped, resized, and saved as some file format)? Jim Witte jswitte at bloomington.in.us From jswitte at bloomington.in.us Thu Apr 8 19:53:49 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu, 8 Apr 2004 18:53:49 -0500 Subject: [OT] Re: Studio license for sale In-Reply-To: <407444AA.4060800@fourthworld.com> References: <40741B62.3030402@act-net.com> <4074372C.2020004@fourthworld.com> <40743AE3.4010309@act-net.com> <407444AA.4060800@fourthworld.com> Message-ID: > But seriously, thank you for the clarification. It's probably useful > to know for US readers because the environment here in the States is > far more litigious and restrictive. Your Totally, off topic here, but I thought some might find it funny: Open letter to the EU, If the US *ever* manages to get the UCITA passed in enough states to start trying to enforce it, please sue us in a WTO court for restriction of trade. Our lawyers need a kick in the pants ever now and then, especially on laws that *their own bar association* have disowned because they've gotten so bad.. Jim From jswitte at bloomington.in.us Thu Apr 8 19:55:26 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu, 8 Apr 2004 18:55:26 -0500 Subject: [OT?] Re: Studio license for sale In-Reply-To: <66C43799-8912-11D8-9216-000393989F4E@clsdesignassociates.com> References: <40741B62.3030402@act-net.com> <4074372C.2020004@fourthworld.com> <40743AE3.4010309@act-net.com> <407444AA.4060800@fourthworld.com> <66C43799-8912-11D8-9216-000393989F4E@clsdesignassociates.com> Message-ID: <351E642A-89B8-11D8-9472-000393DC31DA@bloomington.in.us> > It is also important to remember that the legality of such software > license agreements (e.g., "non-transferable") has not yet been truly > tested in U.S. courts. Plenty of legal experts Well, maybe my last post isn't considered so OT after all.. From jswitte at bloomington.in.us Thu Apr 8 19:58:04 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu, 8 Apr 2004 18:58:04 -0500 Subject: Checking "Large Fonts" (was Windows defaut font gets messed up In-Reply-To: References: Message-ID: <93365DBE-89B8-11D8-9472-000393DC31DA@bloomington.in.us> >> rev app some of the text runs off the screen. He sent me a screen >> shot and > 1) Your customer might have "Large Fonts" enabled in their Display > control > panel. You could have them verify and change if needed. Is there a way in Windows to check whether "Large Fonts" is enabled (or get the default font size - I don't know if that's a Windows default or not), and adjust text in your stack appropriately (changing positions of label fields, etc) Jim From mwieder at ahsoftware.net Thu Apr 8 22:23:14 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Apr 2004 19:23:14 -0700 Subject: Way [OT] Re: Studio license for sale In-Reply-To: References: <40741B62.3030402@act-net.com> <4074372C.2020004@fourthworld.com> <40743AE3.4010309@act-net.com> <407444AA.4060800@fourthworld.com> Message-ID: <4037673501.20040408192314@ahsoftware.net> Jim- As the saying goes: 99% of lawyers give the rest a bad name... -- -Mark Wieder mwieder at ahsoftware.net From psahores at easynet.fr Thu Apr 8 22:54:00 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 9 Apr 2004 04:54:00 +0200 Subject: CGI POST Failure to read Stdin In-Reply-To: <70D2DC20-8982-11D8-8052-000A959D0AC6@hindu.org> References: <33FF01CE-88E4-11D8-8052-000A959D0AC6@hindu.org> <6E49764D-891B-11D8-8052-000A959D0AC6@hindu.org> <70D2DC20-8982-11D8-8052-000A959D0AC6@hindu.org> Message-ID: <274A3C8C-89D1-11D8-BDFC-000A95C61E96@easynet.fr> Hi Katir, Tuviah, You are true. It would be great to have this core bug definitivelly removed from the engine by the RunRev Team... True, again, that my proposal is probably not feeting your needs if you don't own nor manage the servers whose are hosting the PHP + Rev's application server solution i spoked about in the previous mail. Le 8 avr. 04, ? 19:30, Sannyasin Sivakatirswami a ?crit : > Thanks, Pierre for the full report on this old bug... but the problem > with your solution is two fold: > > 1) it assumes that the Rev developer has PHP skills (which I do not) > even though we could simply copy your example... we would not know > what we were doing... and many new users of xTalk CGI may only be > fluent in xTalk and no other languages. I did'nt understand that the end-user will have to put hands inside the engine ;) > > 2) it assumes that one has admin rights to set up Revolution or > Metacard on the server as a long running process. But, if one is > hosting his site on a virtual host web server, about the most you can > do is get approval to put the Revolution engine in your CGI-BIN... I > don't know if it would be possible to then "boot" it as a long running > process... I don't think so. True... > > For now, our usage is a low enough hit rate (one POST every day or two > at the most!) to live with a pure xTalk solution. but, I'll be > expanding the number of users up ward and we will watch carefully for > failures. Of course this can't possibly reflect a "200 hits per second > context." > > We really should solve this. Some people will simply through the whole > idea out of using Revolution to build an enterprise solution, just > because of this one bug. Please, send a copy to Tuviah... I do the same, for my own. Kind Regards, Pierre > > Best to all from Hawaii. > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > On Apr 8, 2004, at 3:15 AM, Dave Cragg wrote: > >> At 3:01 pm +0200 8/4/04, Pierre Sahores wrote: >> >>> I experimented this,a long time ago... At least with the 2.3.2 and >>> above issues of the engine, MC/Rev is failing 1 time peer 20 periods >>> in >>> handling "POST" requests in CGI mode. >>> >>> It's a sad reproductible bug we spoken about with Scott Raney, a long >>> time ago, on and off-list, without getting any way to solve >>> definitivelly the problem. >> >> Have you tested this recently, Pierre? I've been using the 2.5 engine >> extensively on Windows (with IIS) and on OS X (with Apache) for CGI >> and haven't encountered any problems with POST. (As long as you're >> careful about reading in the data from stdin.) In fact, I've found it >> remarkably stable. >> >> The only hitch I've found is with IIS on Windows, where it's a good >> idea to put a short wait (20 milliseconds) before the "end startup" >> line in the script (this is not just for POST but GET as well). >> >> I'd be interested to hear of other people's experience. >> >> Cheers >> Dave -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores (at) easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From chipp at chipp.com Thu Apr 8 22:55:12 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 08 Apr 2004 21:55:12 -0500 Subject: Help with paste... Message-ID: <40761090.6050003@chipp.com> Would someone else please verify this. Open up two separate copies of Rev (any version past 2.1 will do) type into the msg (don't hit return) this;that select the text and cut it go into the 2nd copy of rev and paste it into the msg. In my copies of Rev, the ';' is missing. This only happens when copying/pasting between rev apps, not within a single rev app. This happens to me on XP and Rev. Could someone please try this using the MC IDE so I can tell if it's an IDE problem or an engine problem. Also, if this doesn't work for you, please post as well, the OS and RR vers you're using. It will help! btw, there is a kludge workaround fix.. trap the paste somehow (ideas?) put the clipboardData["text"] into tClip set the clipboardData["text"] to tClip thanks! Chipp From psahores at easynet.fr Thu Apr 8 23:01:50 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 9 Apr 2004 05:01:50 +0200 Subject: discrete announcement In-Reply-To: References: Message-ID: <3F3F5B5E-89D2-11D8-BDFC-000A95C61E96@easynet.fr> Hi Xavier, Got it ! Will test as soon as possible. Thanks :) Best, Pierre Le 9 avr. 04, ? 00:04, MisterX a ?crit : > Hi all, > > I've uploaded the last discrete browser 1.6b4 > There should be rare parsing issues in this release! > > I've noticed one url resolution problem only from > newscientist.com - easily fixed with your mouse! > > > > Now handles quite a few more web pages including > - noframes (suggestions get honored!), noscripts thrown in for free > - tables - self adjustable! > - 3 html sources views (web, filtered and RR's output ;) > > Download manager, internet updates and bookmarks > are being redesigned and so were disabled for > this release until finished. > > And not a peep error from the GM! I got him scared now! > > Thanks to all those who sent comments! > > Xavier > -- > Release inspired by Fishbone! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Thu Apr 8 23:05:51 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 9 Apr 2004 12:35:51 +0930 Subject: Relative Paths In-Reply-To: <4074FC74.6030300@fourthworld.com> Message-ID: > My question was not whether everyone should deliver every app the same > way RunRev, Adobe, and I do. My question was whether the freedom we > currently have to use either method could be made easier as well. Hmmm... well... as I'm sure you would understand it would add complexity to the standalone building process to make this optional but it's certainly doable. From what I see there is likely to be three camps of people: 1 - those of us that believe the simplicity of having your stackFile and executable directory structure the same across all platforms is ideal even though it's nested inside the bundle on OS X. 2 - those of us that want to ignore the bundle structure or for reasons of user interaction want to have our application's data files and resources next to the bundle so the structure looks the same to the user no matter what platform they are on. 3 - those that want to rigidly stick to apple's bundle structuring guidelines and require stackfiles and other supporting files to be in the Resources folder. At the moment the standalone builder caters only for group 1. If you'd like to feature request options for the other two I'd be happy to oblige if RunRev want me to ;-) Cheers Monte From steve at messimercomputing.com Thu Apr 8 23:56:58 2004 From: steve at messimercomputing.com (Stephen Messimer) Date: Thu, 8 Apr 2004 23:56:58 -0400 Subject: range error Message-ID: When I attempt to calculate the factorial of numbers > 169 using the following function: function factorial theNumber if theNumber <= 1 then return 1 else return theNumber * factorial(theNumber -1) end factorial I get the following error. Anybody seen this before? executing at 11:46:47 PM Type Operators *: range error (overflow) Object Bed Adequacy Line else return theNumber * factorial(theNumber -1) Hint factorial Is there a work around for this? OSX 10.2.8, Rev 2.1.2, 512 MB of RAM Thanks Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 http://www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- version 1.0.5 available Now! From jacque at hyperactivesw.com Fri Apr 9 00:25:55 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Apr 2004 23:25:55 -0500 Subject: Help with paste... In-Reply-To: <40761090.6050003@chipp.com> References: <40761090.6050003@chipp.com> Message-ID: <407625D3.7040506@hyperactivesw.com> On 4/8/04 9:55 PM, Chipp Walters wrote: > Would someone else please verify this. > > Open up two separate copies of Rev (any version past 2.1 will do) > > type into the msg (don't hit return) > > this;that > > select the text and cut it > > go into the 2nd copy of rev and paste it into the msg. > > In my copies of Rev, the ';' is missing. This only happens when > copying/pasting between rev apps, not within a single rev app. > > This happens to me on XP and Rev. Could someone please try this using > the MC IDE so I can tell if it's an IDE problem or an engine problem. > > Also, if this doesn't work for you, please post as well, the OS and RR > vers you're using. It will help! I tried it in both directions between RR 2.1.2 and 2.2. Worked okay both ways. Then I did the same with equivalent versions of the engine in the MC IDE and it worked both ways. Repeated it on both Mac OS 10.2.8 and Mac OS 10.3.2. Must be a Windows thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jswitte at bloomington.in.us Fri Apr 9 00:35:10 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu, 8 Apr 2004 23:35:10 -0500 Subject: Help with paste... In-Reply-To: <40761090.6050003@chipp.com> References: <40761090.6050003@chipp.com> Message-ID: <48FC589A-89DF-11D8-97F4-000393DC31DA@bloomington.in.us> > Open up two separate copies of Rev (any version past 2.1 will do) > type into the msg (don't hit return) > I just tried it with MacOSX Rev 2.0.3 and 2.2. Going from 2.0.3 to 2.2 worked for me (semi-colon and all). Then I tried using two copies of 2.0.3 - same results, and then two (evaluation) copies of 2.2 - same results. Strange. Perhaps something to do with textDelimiters? Jim From jswitte at bloomington.in.us Fri Apr 9 01:05:32 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri, 9 Apr 2004 00:05:32 -0500 Subject: range error - or "How to take the factorial of a huge number" In-Reply-To: References: Message-ID: <8743631C-89E3-11D8-97F4-000393DC31DA@bloomington.in.us> .Oh God, Just thinking off the top of my head, I'm thinking recusion overflow (unless the RunRev compiler automatically CPS's recursive function automatically, which I doubt) Try this script (written off the top of my head function factorial (n) return factAPS(n, 1) -- start the accumulator at 1 end factorial function factAPS (n, a) if (n=1) then return a -- we stop multiplying the accumlator at n=1 because a*1=a else put a*n into a -- update the accumulator factAPS(n-1, a) end if end factAPS This is factorial in acculator-passing-style, which is closely related to continuation-passing-style, but I can't do the CPS in my head, and I think it would just build up a great long list of numbers instead (the list-representation of the continuation). If MetaCard is coded right, the factAPS call at the end should be turned into a jump (since nothing, like a *, is "waiting" for it's result). This will avoid a recursion stack, and most likely speed up the code a GREAT deal (though that depends on the specifics of how MetaCard's bytecode interpreter works). If MetaCard supports a goto statement, the above could (possibly) be further optimized to this: function factorial (n) put n into gn put 1 into ga label factAPS: if (gn=1) then -- line 1 return ga else put ga*gn into ga put gn-1 into gn -- line 2 goto factAPS end factorial This is functionally *exactly* the same code as above, except that I explicitly registerized it (with the variables gn and ga), and made the goto explicit. But it is still guaranteed to terminate because gn is always decreasing (line 2), and the return statement is invoked when gn gets down to 1 (line 1). This might be just a hair quicker that the first function, depending on how MetaCard optimizes things (if it does, it will do this transformation automatically - indeed, just as I did. If it were really good, it would take the OP's factorial function, and then turn it into the two code samples above - automatically.) Another possibility (a little less accurate though) for calculating really big factorials is to use Sterling's formula and the gamma function. Look at http://mathworld.wolfram.com/StirlingsApproximation.html for a technical (read, integral calculus, although all that is is a nifty name for an infinite sum) description. The function would be: on factorialApprox (n) return sqrt( 2*pi) * (n^ (N+1/2)) * exp( -n ); end factorialApprox in conventional math notation, that's n! ~ -------------- next part -------------- or sqrt(2 pi) n^(n+1/2) e^(-n) if the gif didn't come through (Parts copyright MathWorld, ? 1999 CRC Press LLC, ? 1999-2004 Wolfram Research, Inc.) Jim > When I attempt to calculate the factorial of numbers > 169 using the > following function: > > function factorial theNumber > if theNumber <= 1 then return 1 > else return theNumber * factorial(theNumber -1) > end factorial > > I get the following error. Anybody seen this before? > > executing at 11:46:47 PM > > Type Operators *: range error (overflow) > Object Bed Adequacy > Line else return theNumber * factorial(theNumber -1) > Hint factorial > > Is there a work around for this? > > OSX 10.2.8, Rev 2.1.2, 512 MB of RAM > > Thanks > > Steve > > Stephen R. Messimer, PA > 208 1st Ave. South > Escanaba, MI 49829 > http://www.messimercomputing.com > -- > Build Computer-Based Training modules FAST with preceptorTools? -- > version 1.0.5 available Now! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jswitte at bloomington.in.us Fri Apr 9 01:15:43 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri, 9 Apr 2004 00:15:43 -0500 Subject: range error - or "How to take the factorial of a huge number" In-Reply-To: <8743631C-89E3-11D8-97F4-000393DC31DA@bloomington.in.us> References: <8743631C-89E3-11D8-97F4-000393DC31DA@bloomington.in.us> Message-ID: > Type Operators *: range error (overflow) Another possibility aside from recursion overflow (the more obvious one - I'm missing the forrest for the trees here) is that the number is just too big for whatever datatype MetaCard is using to represent numbers. I don't know how you get around this one though, short of using a CPS'd function as an XCMD. There *might* be a way to split the number up into smaller units, and then combine them at the end in some way, but I have no idea how - I'm thinking of the "Saturn" BCD architecture used by some calculators, and the recursive fast-multiply algorithm for multiplying truly huge numbers (hundreds or thousands of digits each..) Jim From janschenkel at yahoo.com Fri Apr 9 01:41:20 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 8 Apr 2004 22:41:20 -0700 (PDT) Subject: FW video feed as QT movie (MacOSX), capturing a frame In-Reply-To: <6BD79FFD-89B7-11D8-9472-000393DC31DA@bloomington.in.us> Message-ID: <20040409054120.6447.qmail@web60506.mail.yahoo.com> --- Jim Witte wrote: > Hi, > (I'm reposting this because I mistakenly put it > in another thread.. > AARGH! Apple. This has been hashed out on > macosx-talk before) > > How can I show a Firewire DV video feed in a > stack, and how can I > capture a frame from that feed, and stick it in an > image object (to be > later cropped, resized, and saved as some file > format)? > > Jim Witte > Hi Jim, Have you tried the Video_Capture.rev sample stack ? You can find it inside your Revolution folder, in the Sample Stacks folder. If it works fine for you, make a copy and use it as the basis for your application. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From bfr at nwlink.com Fri Apr 9 01:55:01 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Thu, 08 Apr 2004 22:55:01 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: <583B583C-8960-11D8-B922-0003936D012E@mac.com> Message-ID: > well multiple users accessing a database in a single tier enviroment > are realy matter of the RDBMS, if you settle for multi-tier then it's > easy to program it's logic. That's really not much of an answer, and that is one thing that continues to strike me about Rev database access discussions. They seem quite shallow and unrealistic. All the multi-user record locking etc is built into Filemaker, it is robust and easy to use. Even so, there is a long range of subtle issues that come up in developer conversations all the time. Some are Filemaker specific, some are generic to handling and updating datasets. I know that you're not claiming that your responses are the definitive answer on Rev multi-user database access. But what IS the source for that information? Rev may be great for multi-user database access. And perhaps many people may have these issues worked out. But the answers I've seen so far are sort of like asking how do I win the Indy 500? Oh, you just get in and turn the key. There is a LOT more to it than that. From dsc at swcp.com Fri Apr 9 01:55:21 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Apr 2004 23:55:21 -0600 Subject: range error In-Reply-To: Message-ID: <7CDF0C3C-89EA-11D8-8E0D-000A9567A3E6@swcp.com> On Thursday, April 8, 2004, at 09:56 PM, Stephen Messimer wrote: > Type Operators *: range error (overflow) > Object Bed Adequacy > Line else return theNumber * factorial(theNumber -1) > Hint factorial > > Is there a work around for this? > > OSX 10.2.8, Rev 2.1.2, 512 MB of RAM I have 10.2.8, too, and for many calculations I get 00000Inf. The "double" floating point numbers used by Revolution use about 11 bits for the exponent. A few special codes are used, but that is approximately the range. Try 2^1000 and 2^2000 in the message box. Try length(2^1000). Or 169^169. I'm making a list of what kinds of libraries I might build soon and on my list are several variations of enhanced numbers and associated arithmetic. I am interested in what ranges folks would find interesting or useful. I might find something else more fun or lucrative, though. As for your workaround... You might look at your math. If you are dividing a factorial by a factorial, you might want to change your function to multiply the number n to m instead. You might convert your math to work with the logs of your values. If you really need extended math you might build your numbers out of multiple numbers. Dar Scott From dsc at swcp.com Fri Apr 9 01:59:06 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Apr 2004 23:59:06 -0600 Subject: range error - or "How to take the factorial of a huge number" In-Reply-To: Message-ID: <02A697E9-89EB-11D8-8E0D-000A9567A3E6@swcp.com> On Thursday, April 8, 2004, at 11:15 PM, Jim Witte wrote: > I don't know how you get around this one though, short of using a > CPS'd function as an XCMD. I have used collections of numbers to represent numbers. > There *might* be a way to split the number up into smaller units, and > then combine them at the end in some way, but I have no idea how - I'm > thinking of the "Saturn" BCD architecture used by some calculators, > and the recursive fast-multiply algorithm for multiplying truly huge > numbers (hundreds or thousands of digits each..) Hmmm. It is not clear to me whether Stephen needs more digits or just a greater range, that is, a greater exponent in is scientific notation. Dar Scott From yvescoppe at skynet.be Fri Apr 9 02:02:12 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 9 Apr 2004 08:02:12 +0200 Subject: RegEx question Message-ID: <71F7D9B7-89EB-11D8-98BF-003065E14B04@skynet.be> Hi, I have a function to check if a string is a date in European format : DD/MM/YYYY function CheckDate pDateToCheck return matchText(pDateToCheck,"([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0 -9][0-9][0-9][0-9])") end CheckDate when I test : "12/05/2004" returns " true" this is correct "05/20/2004" returns "false" this is correct because it's not an eurpean date format "5 12/05/2004" returns "true" this is not correct because it's not a date at all ! Can someone help me to make it run fine ? Greetings. Yves COPPE yvescoppe at skynet.be From mwieder at ahsoftware.net Fri Apr 9 02:05:50 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Apr 2004 23:05:50 -0700 Subject: Help with paste... In-Reply-To: <40761090.6050003@chipp.com> References: <40761090.6050003@chipp.com> Message-ID: <14951029706.20040408230550@ahsoftware.net> Chipp- Verified the error with Win2k rev v2.1.2 and 2.2 in both directions. And also agree that the OSX builds work fine. Weirder yet: copy the "this;that" string from the message box and paste it into a text editor. It works. Then copy that string from the text editor into the clipboard and you can paste it into either running copy of rev. That's got me boggled for the moment. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Fri Apr 9 02:05:29 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 00:05:29 -0600 Subject: Help with paste... In-Reply-To: <40761090.6050003@chipp.com> Message-ID: On Thursday, April 8, 2004, at 08:55 PM, Chipp Walters wrote: > In my copies of Rev, the ';' is missing. Works for me 2.2 to 2.1.2 on OS X 10.2.8. Here is a quick experiment that tests for invisible characters: Copy this: length("this;that") Paste it in the message box and execute it. That might confirm whether the character is removed or converted to something weird. Dar Scott From chipp at chipp.com Fri Apr 9 02:18:51 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 09 Apr 2004 01:18:51 -0500 Subject: Help with paste... In-Reply-To: <14951029706.20040408230550@ahsoftware.net> References: <40761090.6050003@chipp.com> <14951029706.20040408230550@ahsoftware.net> Message-ID: <4076404B.4000404@chipp.com> Yeah, I already figured that part out. Turns out it's a Win engine bug only. I've bugzilla'ed it. BTW, Ken Ray tested on the MC IDE and it still didn't work correctly. Thanks to all for the help! best, Chipp Mark Wieder wrote: > Chipp- > > Verified the error with Win2k rev v2.1.2 and 2.2 in both directions. > And also agree that the OSX builds work fine. > > Weirder yet: copy the "this;that" string from the message box and > paste it into a text editor. It works. Then copy that string from the > text editor into the clipboard and you can paste it into either > running copy of rev. That's got me boggled for the moment. > From dsc at swcp.com Fri Apr 9 02:22:20 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 00:22:20 -0600 Subject: RegEx question In-Reply-To: <71F7D9B7-89EB-11D8-98BF-003065E14B04@skynet.be> Message-ID: <41DA75E6-89EE-11D8-8E0D-000A9567A3E6@swcp.com> On Friday, April 9, 2004, at 12:02 AM, Yves COPPE wrote: > Can someone help me to make it run fine ? Your regex will match a string that has a date in it someplace, that is, anyplace. Put a \A at the start of the regex to match the start of the string. Put a \z at the end of the regex to match the end of the string. That will get rid of matching strings with extra characters at the start and end. Dar Scott From kray at sonsothunder.com Fri Apr 9 02:33:31 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 9 Apr 2004 01:33:31 -0500 Subject: RegEx question In-Reply-To: <41DA75E6-89EE-11D8-8E0D-000A9567A3E6@swcp.com> Message-ID: <001d01c41dfc$983bda80$6601a8c0@precision340> > Put a \A at the start of the regex to match the start of the > string. Put a \z at the end of the regex to match the end of > the string. Interesting! I always used ^ for the beginning and $ for the end of a string match; apparently both work... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Fri Apr 9 03:04:01 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 01:04:01 -0600 Subject: RegEx question In-Reply-To: <001d01c41dfc$983bda80$6601a8c0@precision340> Message-ID: <143C0986-89F4-11D8-A652-000A9567A3E6@swcp.com> On Friday, April 9, 2004, at 12:33 AM, Ken Ray wrote: >> Put a \A at the start of the regex to match the start of the >> string. Put a \z at the end of the regex to match the end of >> the string. > > Interesting! I always used ^ for the beginning and $ for the end of a > string > match; apparently both work... Yes. ^ and $ are simpler and might be recognized by more folks, but their meanings can be changed by modifiers. Somehow, when first learning, I got into the habit of using \A and \z for strict start and end. Dar Scott From dsc at swcp.com Fri Apr 9 04:27:10 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 02:27:10 -0600 Subject: range error - or "How to take the factorial of a huge number" In-Reply-To: <8743631C-89E3-11D8-97F4-000393DC31DA@bloomington.in.us> Message-ID: On Thursday, April 8, 2004, at 11:05 PM, Jim Witte wrote: > > This is factorial in acculator-passing-style, which is closely > related to continuation-passing-style, but I can't do the CPS in my > head, Is this the same as tail recursion optimization? Dar Scott From yvescoppe at skynet.be Fri Apr 9 04:54:59 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 9 Apr 2004 10:54:59 +0200 Subject: RegEx question In-Reply-To: <41DA75E6-89EE-11D8-8E0D-000A9567A3E6@swcp.com> References: <41DA75E6-89EE-11D8-8E0D-000A9567A3E6@swcp.com> Message-ID: <94C57D1E-8A03-11D8-8478-003065E14B04@skynet.be> Le 9 avr. 04, ? 08:22, Dar Scott a ?crit : > > On Friday, April 9, 2004, at 12:02 AM, Yves COPPE wrote: > >> Can someone help me to make it run fine ? > > Your regex will match a string that has a date in it someplace, that > is, anyplace. > > Put a \A at the start of the regex to match the start of the string. > Put a \z at the end of the regex to match the end of the string. > > That will get rid of matching strings with extra characters at the > start and end. > Sorry, but can you re-write the function for me function CheckDate pDateToCheck return matchText(pDateToCheck,"([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0 -9][0-9][0-9][0-9])") end CheckDate thank you very much > Dar Scott > > Greetings. Yves COPPE yvescoppe at skynet.be From beat.c at hetnet.nl Fri Apr 9 05:02:34 2004 From: beat.c at hetnet.nl (Beat Cornaz) Date: Fri, 9 Apr 2004 11:02:34 +0200 Subject: No subject Message-ID: Hello everyone, I'm new to Rev (coming from Hypercard) and I'm delighted with the many new possibilities of Rev. My question : I made a script to move and change direction of a line (a graphic). Works well until I want the former top to be beneath the former bottom. E.g. My line runs from bottom left to top right. Now I grab the top right side and drag it down. All goes well until the the top comes within 2 pixels from the bottom coordinate. I can't manage to go lower than the bottom, even if I exchange the bottom and top coordinates. What happens is that the line is horizontal now and moves down as a whole. The left side does not stay in its former location in de y direction but moves along (downwards) with the new bottom coordinate. It must be possible to do, as in the edit mode it is no problem to drag the top of the line in my example to a place below the former bottom. Thanks a lot for any answers, Greetings , Beat -- From sanke at hrz.uni-kassel.de Fri Apr 9 05:26:29 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 09 Apr 2004 11:26:29 +0200 Subject: Help with paste... Message-ID: <40766C45.7000909@hrz.uni-kassel.de> On Thu, 08 Apr 2004, Chipp Walters wrote: > Open up two separate copies of Rev (any version past 2.1 will do) > > type into the msg (don't hit return) > > this;that > > select the text and cut it > > go into the 2nd copy of rev and paste it into the msg. > > In my copies of Rev, the ';' is missing. This only happens when > copying/pasting between rev apps, not within a single rev app. > > This happens to me on XP and Rev. Could someone please try this using > the MC IDE so I can tell if it's an IDE problem or an engine problem. > > (snip) > > Chipp Tried with the 2.2RC1 and 2.2. Rev engines in the Metacard IDE using WindowsXP: Loss of ";" verified if you copy between versions. This holds also when you paste into a field of the *other* version. Pasting into a word processor document like WordPad does not loose the ";". Regards, Wilhelm Sanke From norman at mrsystems.co.uk Fri Apr 9 05:26:16 2004 From: norman at mrsystems.co.uk (Norman Winn) Date: Fri, 9 Apr 2004 11:26:16 +0200 Subject: A beginner's journey In-Reply-To: <20040408135123.9A8AD93022A@mail.runrev.com> References: <20040408135123.9A8AD93022A@mail.runrev.com> Message-ID: Hello again, I have received such good response, both on and off list, from my initial 'renegade from Filemaker' post that I am encouraged to continue my journey into RR even though I have not yet made much progress. If it is acceptable to the list I'd like to provide feedback of my learning experience. I ask in this way as, being a reasonably experienced programmer, much of my report will seem like criticism of what, to many of you, will be your favourite tool. I hope the criticism is perceived as constructive. Here goes. 1. I was about to ask why there was no script colorisation in a previous post, when I checked out 'Preferences'. I was pleasantly surprised that RR is one of those apps where there are real preferences - and saved myself embarrassment in finding colorisation was there. Then notices that I could colorise a script from the menu. I presume it is simple to write a stack that applies colorisation to a set of scripts? 2. I asked in a post why the 'Help' windows are not show under the 'Window' menu. I can accept the reasons why they are not but, in this case, I feel they should be treated as separate from the app in respect of 'Show', 'Hide' etc. Having said this I much prefer the RR help system to the default one under OS X. Maybe clicking in a help window could bring all help windows to the front, clicking in an app window send all help to the back? These suggestions are largely the result of the help, and the help system, being so good. One can end up with a lot of help windows open. 3. Help again. I am in 'Revolution Documentation' > Images & Multimedia. When I get down to 'Definition of ...' I no longer get explanation of items e.g. 'bit depth'. 3. It being so easy to assign keyboard shortcuts to menu actions, why are these not shown for common RR actions? This one doesn't appear to be in preferences. 4. This is perhaps nitpicking, but the statement (found in help on 'inverse') that, "square root is the inverse of squaring", is mathematically untrue. Taking the square root of a rational can produce a real. Squaring a real cannot produce a rational. Better would be 'subtraction is the inverse of addition'. Let me know if this kind of stuff belongs elsewhere, Norman From sanke at hrz.uni-kassel.de Fri Apr 9 06:09:41 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 09 Apr 2004 12:09:41 +0200 Subject: Help with paste. Message-ID: <40767665.9000504@hrz.uni-kassel.de> Addendum. I just wrote: > Tried with the 2.2RC1 and 2.2. Rev engines in the Metacard IDE using > WindowsXP: Loss of ";" verified if you copy between versions. This > holds also when you paste into a field of the *other* version. > > Pasting into a word processor document like WordPad does not loose the > ";". Tried again with two versions of the original (unmodified by Rev developers) Metacard engines MC 2.4.3 and 2.5. The loss of the ";" does *not* happen here, so this must be due to "Rev changes" in the engine. Regards, Wilhelm Sanke From nnoydb at excite.com Fri Apr 9 06:45:18 2004 From: nnoydb at excite.com (Kevin) Date: Fri, 9 Apr 2004 06:45:18 -0400 (EDT) Subject: Message path question Message-ID: <20040409104518.8EBC63DCE@xprdmailfe11.nwk.excite.com> If stack 'A' starts using stack 'C' will stack 'C' be in the message path of all other loaded stacks? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From ian at azurevision.co.uk Fri Apr 9 08:25:27 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Fri, 9 Apr 2004 13:25:27 +0100 Subject: Opening a window on Windows? Message-ID: After a few searches of the list and the docs I've found no answer, so... I want to open a window to show the user a load of new JPEG files that have just been generated by my app. On Mac this is easily achieved with a couple of lines of AppleScript. Is there any way of recreating this on Windows? The irritating bit is I don't need it on Mac, as AppleScripts allow me to do all the post-processing automatically anyway. Thanks in advance for any tips, Ian From yvescoppe at skynet.be Fri Apr 9 08:34:24 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 9 Apr 2004 14:34:24 +0200 Subject: RegEx question In-Reply-To: <41DA75E6-89EE-11D8-8E0D-000A9567A3E6@swcp.com> References: <41DA75E6-89EE-11D8-8E0D-000A9567A3E6@swcp.com> Message-ID: <3C030BA6-8A22-11D8-BF9C-003065E14B04@skynet.be> Hi Dar, Le 9 avr. 04, ? 08:22, Dar Scott a ?crit : > > On Friday, April 9, 2004, at 12:02 AM, Yves COPPE wrote: > >> Can someone help me to make it run fine ? > > Your regex will match a string that has a date in it someplace, that > is, anyplace. > > Put a \A at the start of the regex to match the start of the string. > Put a \z at the end of the regex to match the end of the string. > > function CheckDate pDateToCheck return matchText(pDateToCheck,"\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0 -9][0-9][0-9][0-9])\z") end CheckDate doesn't give the good effect Can you give me the correct syntax please ? Greetings. Yves COPPE yvescoppe at skynet.be From dburgun at dsl.pipex.com Fri Apr 9 08:46:45 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 9 Apr 2004 13:46:45 +0100 Subject: A RunRev IDE Run Mystery! In-Reply-To: <6.0.0.22.0.20031210110408.02460840@udcf.gla.ac.uk> References: <6.0.0.22.0.20031210110408.02460840@udcf.gla.ac.uk> Message-ID: Hi, I don't seem to understand correctly how the IDE works with regard to how the "Browse" and "Pointer" modes work. I have a Stack and before I saved it as a standalone, when I double-clicked the .rev file, it opened in the IDE but didn't actually run. Now when I double click it, it runs! I then tried dragging the .rev file to the Revolution application and then it opened but didn't run. I had to explicitly hit the "Browse" button to get it to run. How do I get this mode of operation back again?? I am doing something wrong? It could be some property that I've set incorrectly somewhere. Thanks in Advance Dave From nnoydb at excite.com Fri Apr 9 08:49:39 2004 From: nnoydb at excite.com (Kevin) Date: Fri, 9 Apr 2004 08:49:39 -0400 (EDT) Subject: stackFiles BUG? Message-ID: <20040409124939.DF18E3DEB@xprdmailfe11.nwk.excite.com> In the current release of Revolution one can set the "stackFiles" property via the Property Inspector the format of entries created is , this is also true when it is accessed via transcript using "get the stackFiles of stack XXXX" However, when the stackFiles property is set via transcript one must specify using list format. The entries created are not listed in the property inspector. So any code accessing the stackFiles property must replace return with comma to get a consistant behavior. List format ,, Is this a BUG? Which format should be used? Would this break the stand-alone builder? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From steve at messimercomputing.com Fri Apr 9 09:15:03 2004 From: steve at messimercomputing.com (Stephen Messimer) Date: Fri, 9 Apr 2004 09:15:03 -0400 Subject: range error - or "How to take the factorial of a huge In-Reply-To: <20040409051527.734F69300E9@mail.runrev.com> Message-ID: Jim Thanks for your help. After looking at your first response I thought that It might be possible to combine the two sets of calculations and sum them but as it turns out the factorial of any number > 169 results in an overflow error so it seems doing the factorials of numbers <= 169 and then those > 169 wouldn't work. I will use the information you provided in your earlier post and see if that works. Again, I really appreciate your taking the time to help. Best regards Steve On Friday, April 9, 2004, at 01:15 AM, use-revolution-request at lists.runrev.com wrote: >> Type Operators *: range error (overflow) > > Another possibility aside from recursion overflow (the more obvious > one - I'm missing the forrest for the trees here) is that the number is > just too big for whatever datatype MetaCard is using to represent > numbers. I don't know how you get around this one though, short of > using a CPS'd function as an XCMD. There *might* be a way to split the > number up into smaller units, and then combine them at the end in some > way, but I have no idea how - I'm thinking of the "Saturn" BCD > architecture used by some calculators, and the recursive fast-multiply > algorithm for multiplying truly huge numbers (hundreds or thousands of > digits each..) > > Jim > Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 http://www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- version 1.0.5 available Now! From rcozens at pon.net Fri Apr 9 10:17:55 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 9 Apr 2004 07:17:55 -0700 Subject: Can I Extract A Sound From A Stack? Message-ID: Hi All, Problem: Find on all my computers can't find the original .au file I imported into the premier release of Serendipity Library. Question: The documentation for Export says it applies to videoClips but not audioClips. Is there a way to "export" an audioClip from stack to .au file, or to transfer a copy of the audioClip to another stack? TIA, Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From sids1 at bellsouth.net Fri Apr 9 10:22:23 2004 From: sids1 at bellsouth.net (Gray Steifel) Date: Fri, 09 Apr 2004 10:22:23 -0400 Subject: Write-to-File script? Message-ID: Help! Have converted a Hcard stack database where I use extensively a Write-to-File script to create a text file of the data base. I then convert the text file to an Excel spreadsheet where I can do further analysis, etc. But that is not relevant to my question. I cannot seem to get the scripting language in Rev. to create the file, put text in it, then send the file to a specific location (folder) on my hard drive. The folder is four layers down: Hard Disk/Projects/Financials/Accounts Gray in Greensboro From dburgun at dsl.pipex.com Fri Apr 9 10:35:05 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 9 Apr 2004 15:35:05 +0100 Subject: Pasing/Saving/Restoring a Card's Contents In-Reply-To: References: Message-ID: Hi, I am trying to work out the best way to handle saving a card' contents. If I have a stack that is run from another stack in order to obtain some values from the User, what is the best way to: 1. Save the State of the Card (all it's controls). 2. Obtain the Values of the Controls from the Calling Script. 3. Restore the Old Contents if the user presses Cancel. I would like to be able to return the Button that dismissed the Stack (usually OK or Cancel in this case). In one Stack I have, I set the Script on the OK button to: on mouseUp save this stack close this stack end mouseUp and on the Cancel Button: on mouseUp close this stack end mouseUp But this seems to Save the State of the Stack/Card anyway, regardless of whether a "save this stack" command is issued or not. I had thougt of adding a Script on the preOpenCard handler that saves the current Card to a Temp Stack and restores that card if the Cancel Button is pressed. Also I am not sure of the best way to access the values, in the case a text field called "PageSize" and if the OK button is pressed then I want to take some action, if cancel then I don't want to do anything. I can't seem to find any Sample Stacks that do this. Any pointers would be a great help. Thanks Dave From FlexibleLearning at aol.com Fri Apr 9 10:37:12 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 9 Apr 2004 10:37:12 EDT Subject: Write-to-File script? Message-ID: <131.2c499430.2da80f18@aol.com> >Help! >Have converted a Hcard stack database where I use extensively a >Write-to-File script to create a text file of the data base. I then convert >the text file to an Excel spreadsheet where I can do further analysis, >etc. > >I cannot seem to get the scripting language in Rev. to create the file, >put text in it, then send the file to a specific location (folder) on my hard >drive. > >The folder is four layers down: Hard Disk/Projects/Financials/Accounts First you need a script extractor that organizes the scripts in a format you like. There are several, but one is available at www.FlexibleLearning.com/xtalk.htm Second you need to save to a destination file, as in put myVar into url ("file:" & tDestPath) To tie the two together... put getMyScript() into tScript -- run the extractor and return the info answer file "Where do you want to save this?" if it is empty then exit to top put it into tDestPath put tScript into url ("file:" & tDestPath) HTH /H From gcanyon at inspiredlogic.com Fri Apr 9 10:44:00 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 9 Apr 2004 07:44:00 -0700 Subject: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon) In-Reply-To: <6FE7DE88-8974-11D8-8261-000A9567A3E6@swcp.com> References: <6FE7DE88-8974-11D8-8261-000A9567A3E6@swcp.com> Message-ID: <56AF8352-8A34-11D8-B3D9-003065683ECC@inspiredlogic.com> On Apr 8, 2004, at 8:50 AM, Dar Scott wrote: > > On Thursday, April 8, 2004, at 09:35 AM, Geoff Canyon wrote: > >> -- Is it crashing people in Revolution? > > I have noticed that I have been crashing. > > Dar If the issue isn't in bugzilla, please enter it. If it is, great. regards, Geoff Canyon gcanyon at inspiredlogic.com From klaus at major-k.de Fri Apr 9 11:13:18 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 9 Apr 2004 17:13:18 +0200 Subject: Can I Extract A Sound From A Stack? In-Reply-To: References: Message-ID: <6E559422-8A38-11D8-9214-000A27B49A96@major-k.de> Hi Rob, > Hi All, > > Problem: Find on all my computers can't find the original .au file I > imported into > the premier release of Serendipity Library. > > Question: The documentation for Export says it applies to videoClips > but not audioClips. > Is there a way to "export" an audioClip from stack to .au file, or to > transfer a copy of the audioClip to another stack? ... put ac "splat.au" into url"binfile:ttt.au" ... results in a text-file with "1" in it :-) Read: doesn't work... But: ... copy ac "sssds.au" to stack "xyz" works fine :-) ... > TIA, > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.net/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) Regards Klaus Major klaus at major-k.de www.major-k.de From martin at materiaprima.fsnet.co.uk Fri Apr 9 11:16:23 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Fri, 09 Apr 2004 16:16:23 +0100 Subject: Message path question In-Reply-To: <20040409104518.8EBC63DCE@xprdmailfe11.nwk.excite.com> Message-ID: Hello Kevin, Short answer is yes, I keep all my generalised handlers and functions that may be called from anywhere in library stacks and then "use" them. My UI stacks mostly contain local scripts that directly relate to the specific stack and the objects within it, and the mainstack contains only the initialisation and exit scripts. I suppose this is my way of mimicing a sort of object-orientation. I conceive the handlers of the stacks-in-use as effectively "methods" of the "Application Object". There are message path tutorials somewhere, can't remember where offhand but you may find if you search the archive, or others may point you to them. HTH Martin > Kevin Wrote: >If stack 'A' starts using stack 'C' will stack 'C' be in the message path >of all other loaded stacks? > From gizmotron at earthlink.net Fri Apr 9 11:24:33 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 9 Apr 2004 08:24:33 -0700 Subject: A beginner's journey In-Reply-To: Message-ID: <00F0769A-8A3A-11D8-A514-000A95859272@earthlink.net> On Friday, April 9, 2004, at 02:26 AM, Norman Winn wrote: > If it is acceptable to the list I'd like to provide feedback of my > learning experience. I ask in this way as, being a reasonably > experienced programmer, much of my report will seem like criticism of > what, to many of you, will be your favourite tool. I hope the > criticism is perceived as constructive. Here goes. Norman, I found your post interesting as to viewing into the way your mind works, briefly. When I started looking at RR I wanted to know if RR could parse strings fast enough for problems I was trying to solve. For me it was a matter of solving problems. Much of what programing is involves finding solutions to problems that come up. You must be a Teacher, Tech-Writer, Editor, or something like that kind. We rarely see these kinds of posts on this list as most people are interested in getting something to work. Your comments can only serve to improve the quality of the product. There is a separate list, Improvements to Revolution, that you might find interesting as well. Mark From dsc at swcp.com Fri Apr 9 12:06:19 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 10:06:19 -0600 Subject: RegEx question In-Reply-To: <3C030BA6-8A22-11D8-BF9C-003065E14B04@skynet.be> Message-ID: On Friday, April 9, 2004, at 06:34 AM, Yves COPPE wrote: > function CheckDate pDateToCheck > return > matchText(pDateToCheck,"\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0- > 9][0-9][0-9][0-9])\z") > end CheckDate > > > doesn't give the good effect Then I goofed. I'll look at it in a couple hours. -- Dar From dsc at swcp.com Fri Apr 9 12:12:50 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 10:12:50 -0600 Subject: range error - or "How to take the factorial of a huge In-Reply-To: Message-ID: On Friday, April 9, 2004, at 07:15 AM, Stephen Messimer wrote: > I will use the information you provided in your earlier post and see > if that works. Didn't Jim provide some cool info? A couple ideas: 1. Instead of fact(200)/fact(196) do this: 197 * 198 * 199 * 200 2. Work with logs of expressions. Dar Scott From psahores at easynet.fr Fri Apr 9 12:13:58 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 9 Apr 2004 18:13:58 +0200 Subject: Help with paste... In-Reply-To: <40761090.6050003@chipp.com> References: <40761090.6050003@chipp.com> Message-ID: Hello Chipp, This don't happen under the MacOS X 10.3.3/PWB G4 12" 1Ghz nor the Suse-Linux 8.2/KDE 3.1.1/ Sony Laptop platforms. I did the test in cutting/pasteling the "this;that" chunk between Rev's 2.1.2 and 2.2 issues (2.1.2 to 2.1.2, 2.1.2 to 2.2, 2.2 to 2.2) without any troubble. Could we not firstly suspect the WinXP clipboard to take part in the problem, because something with the charsets or so on ? Please, let us know about the end of the story... Bests, Pierre Le 9 avr. 04, ? 04:55, Chipp Walters a ?crit : > Would someone else please verify this. > > Open up two separate copies of Rev (any version past 2.1 will do) > > type into the msg (don't hit return) > > this;that > > select the text and cut it > > go into the 2nd copy of rev and paste it into the msg. > > In my copies of Rev, the ';' is missing. This only happens when > copying/pasting between rev apps, not within a single rev app. > > This happens to me on XP and Rev. Could someone please try this using > the MC IDE so I can tell if it's an IDE problem or an engine problem. > > Also, if this doesn't work for you, please post as well, the OS and RR > vers you're using. It will help! > > btw, there is a kludge workaround fix.. > > trap the paste somehow (ideas?) > > put the clipboardData["text"] into tClip > set the clipboardData["text"] to tClip > > thanks! > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- That's all for yet, Friends, Kind Regards, Pierre From rcozens at pon.net Fri Apr 9 12:26:25 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 9 Apr 2004 09:26:25 -0700 Subject: Can I Extract A Sound From A Stack? In-Reply-To: <6E559422-8A38-11D8-9214-000A27B49A96@major-k.de> References: <6E559422-8A38-11D8-9214-000A27B49A96@major-k.de> Message-ID: >copy ac "sssds.au" to stack "xyz" works fine Thank you kindly, Klaus. I'm on my way to try it now. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From martin at materiaprima.fsnet.co.uk Fri Apr 9 12:29:25 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Fri, 09 Apr 2004 17:29:25 +0100 Subject: Editing Line Graphic [was: no subject] In-Reply-To: Message-ID: Hello Beat and welcome, I'm not exactly clear what you are doing, but there are some oddities in editing a line graphic with the mouse and I think you have run into them. The way I would script changes to a line graphic is to set its "points" property by script (without selecting it). This property consists of 2 lines with a point in each like so: x,y x,y to change it you can do: << put the points of graphic 1 into tmp add 1 to item 2 of line 1 of tmp -- 1 pixel down e.g. set the points of graphic 1 to tmp >> with this method can manipulate it any way you want. Instead of "selecting" the graphic (I'm just guessing that's what you are doing) in order to edit it, I would suggest a better way is to make a button which is a fake "drag handle" (one for each end of the line) and put a drag script inside it that sets the points property of the line to the loc of the drag handle. Ask again if you would like more on how this is done. Martin >Hello everyone, > >I'm new to Rev (coming from Hypercard) and I'm delighted with the >many new possibilities of Rev. > >My question : I made a script to move and change direction of a line >(a graphic). Works well until I want the former top to be beneath the >former bottom. E.g. My line runs from bottom left to top right. Now I >grab the top right side and drag it down. All goes well until the the >top comes within 2 pixels from the bottom coordinate. I can't manage >to go lower than the bottom, even if I exchange the bottom and top >coordinates. What happens is that the line is horizontal now and >moves down as a whole. The left side does not stay in its former >location in de y direction but moves along (downwards) with the new >bottom coordinate. It must be possible to do, as in the edit mode it >is no problem to drag the top of the line in my example to a place >below the former bottom. > >Thanks a lot for any answers, >Greetings , Beat >-- From mwieder at ahsoftware.net Fri Apr 9 12:32:45 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Apr 2004 09:32:45 -0700 Subject: No subject In-Reply-To: References: Message-ID: <1283341044.20040409093245@ahsoftware.net> Beat- Friday, April 9, 2004, 2:02:34 AM, you wrote: BC> My question : I made a script to move and change direction of a line BC> (a graphic). Works well until I want the former top to be beneath the I change the direction of lines by reversing the endpoints. See the documentation on the "set the points of" command. set the endArrow of myGraphic to true set the points of myGraphic to startPoint, endPoint set the points of myGraphic to endPoint, startPoint -- -Mark Wieder mwieder at ahsoftware.net From steve at messimercomputing.com Fri Apr 9 12:37:03 2004 From: steve at messimercomputing.com (Stephen Messimer) Date: Fri, 9 Apr 2004 12:37:03 -0400 Subject: range error - or "How to take the factorial of a huge Message-ID: <21A8070D-8A44-11D8-82B8-000A27D75508@messimercomputing.com> Message: 4 Date: Thu, 8 Apr 2004 23:59:06 -0600 From: Dar Scott Subject: Re: range error - or "How to take the factorial of a huge number" To: How to use Revolution Message-ID: <02A697E9-89EB-11D8-8E0D-000A9567A3E6 at swcp.com> Content-Type: text/plain; charset=US-ASCII; format=flowed On Thursday, April 8, 2004, at 11:15 PM, Jim Witte wrote: >> I don't know how you get around this one though, short of using a >> CPS'd function as an XCMD. > > I have used collections of numbers to represent numbers. Huh? You guys are striking directly at the heart of my math disability! So are you suggesting that if I want to raise a number to the power of 200 that I divide the exponent by 2 and then use the two smaller resulting exponents to perform the calculations and then somehow sum the results? Duh. I'm sure it is becoming amusingly obvious to many on this list that there is a really good reason I didn't become an engineer. :-). > >> There *might* be a way to split the number up into smaller units, and >> then combine them at the end in some way, but I have no idea how - I'm >> thinking of the "Saturn" BCD architecture used by some calculators, >> and the recursive fast-multiply algorithm for multiplying truly huge >> numbers (hundreds or thousands of digits each..) > > Hmmm. It is not clear to me whether Stephen needs more digits or just > a greater range, that is, a greater exponent in is scientific notation. > > Dar Scott I think you are absolutely right Dar. range is certainly the immediate problem for me. When I attempt this put format("%1.2e",(2027^93)) into msg I get "3.45e+307" :-) , great. if I try put format("%1.2e",(2027^94)) into msg I get INF :-( , bummer. I would like the ability to raise a number to up to 250th power. I could probably get by with 93 if I had to although it will place some limitations on the application I am building. Oh well ... Thanks for the insights in any case. Regards Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 http://www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- version 1.0.5 available Now! From jacque at hyperactivesw.com Fri Apr 9 12:41:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Apr 2004 11:41:25 -0500 Subject: stackFiles BUG? In-Reply-To: <20040409124939.DF18E3DEB@xprdmailfe11.nwk.excite.com> References: <20040409124939.DF18E3DEB@xprdmailfe11.nwk.excite.com> Message-ID: <4076D235.3040504@hyperactivesw.com> On 4/9/04 7:49 AM, Kevin wrote: > > In the current release of Revolution one can set the "stackFiles" property via the Property Inspector the format of entries created is > > , > > this is also true when it is accessed via transcript using > > "get the stackFiles of stack XXXX" > > However, when the stackFiles property is set via transcript one must specify using list format. The entries created are not listed in the property inspector. So any code accessing the stackFiles property must replace return with comma to get a consistant behavior. > > List format ,, > > Is this a BUG? I'm not sure what you are seeing. I just tried an experiment. I put this into a field: dict,components/help/revdictionary.rev doc,components/help/revdocumentation.rev enc,components/help/revencyclopedia.rev Then from the message box: set the stackfiles of this stack to fld 1 Then again from the message box: answer the stackfiles of this stack And what I got back was a return-delimited list exactly as it was in the field. I could just as easily have constructed the original list in a variable without using a field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martin at materiaprima.fsnet.co.uk Fri Apr 9 13:00:08 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Fri, 09 Apr 2004 18:00:08 +0100 Subject: Opening a window on Windows? In-Reply-To: Message-ID: Hello Ian, Depends what you mean by "a window". If you mean a file selection dialog, you could use: answer file "select a jpeg" with filter "JPEG Files,*.jpg,*.jpeg" or if you want to get a list of files in a folder and display it in a window of your own you could use the files() function and filter lines of the result for the extension your app writes (ie .jpg or .jpeg) (Though, if your app created the files, it might be possible to just build a list internally as it creates them ?) ### e.g. (untested) put the defaultfolder into keepdefault set the defaultfolder to "theimagefolder" put the files into tFileList set the defaultfolder to keepdefault ##now you have a list of all the files in the folder ##if the folder only has your jpegs in it then you're OK ##otherwise you could... ##filter for the ones that contain .jpg or .jpeg filter tFileList with "*.jpg" #or filter tFileList with "*.jpeg" #depending which of these your app used /*tFileList should now be a list of the jpegs in the selected folder*/ HTH Martin >I want to open a window to show the user a load of new JPEG files that >have just been generated by my app. On Mac this is easily achieved >with a couple of lines of AppleScript. Is there any way of recreating >this on Windows? > >Thanks in advance for any tips, > >Ian From ambassador at fourthworld.com Fri Apr 9 13:33:42 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 09 Apr 2004 10:33:42 -0700 Subject: Editing Line Graphic [was: no subject] In-Reply-To: References: Message-ID: <4076DE76.5090005@fourthworld.com> >My question : I made a script to move and change direction of a line >(a graphic). Works well until I want the former top to be beneath the >former bottom. E.g. My line runs from bottom left to top right. Now I >grab the top right side and drag it down. All goes well until the the >top comes within 2 pixels from the bottom coordinate. I can't manage >to go lower than the bottom, even if I exchange the bottom and top >coordinates. What happens is that the line is horizontal now and >moves down as a whole. The left side does not stay in its former >location in de y direction but moves along (downwards) with the new >bottom coordinate. It must be possible to do, as in the edit mode it >is no problem to drag the top of the line in my example to a place >below the former bottom. Vote for Bugzilla item #624: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From nnoydb at excite.com Fri Apr 9 13:49:52 2004 From: nnoydb at excite.com (Kevin) Date: Fri, 9 Apr 2004 13:49:52 -0400 (EDT) Subject: stackFiles BUG? Message-ID: <20040409174952.0758029A4B@xprdmailfe22.nwk.excite.com> In version 2.2 using the Property Inspector if you select Stack File in the drop down and set a stack file the format of the "stackFiles" property will be what I listed in the previous email. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Fri 04/09, J. Landman Gay < jacque at hyperactivesw.com > wrote: From: J. Landman Gay [mailto: jacque at hyperactivesw.com] To: use-revolution at lists.runrev.com Date: Fri, 09 Apr 2004 11:41:25 -0500 Subject: Re: stackFiles BUG? On 4/9/04 7:49 AM, Kevin wrote:

>
> In the current release of Revolution one can set the "stackFiles" property via the Property Inspector the format of entries created is
>
> ,
>
> this is also true when it is accessed via transcript using
>
> "get the stackFiles of stack XXXX"
>
> However, when the stackFiles property is set via transcript one must specify using list format. The entries created are not listed in the property inspector. So any code accessing the stackFiles property must replace return with comma to get a consistant behavior.
>
> List format ,,
>
> Is this a BUG?

I'm not sure what you are seeing. I just tried an experiment. I put this
into a field:

dict,components/help/revdictionary.rev
doc,components/help/revdocumentation.rev
enc,components/help/revencyclopedia.rev

Then from the message box:

set the stackfiles of this stack to fld 1

Then again from the message box:

answer the stackfiles of this stack

And what I got back was a return-delimited list exactly as it was in the
field. I could just as easily have constructed the original list in a
variable without using a field.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From janschenkel at yahoo.com Fri Apr 9 13:51:46 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 9 Apr 2004 10:51:46 -0700 (PDT) Subject: Pasing/Saving/Restoring a Card's Contents In-Reply-To: Message-ID: <20040409175146.257.qmail@web60503.mail.yahoo.com> --- David Burgun wrote: > Hi, > > I am trying to work out the best way to handle > saving a card' > contents. If I have a stack that is run from another > stack in order > to obtain some values from the User, what is the > best way to: > > 1. Save the State of the Card (all it's controls). > 2. Obtain the Values of the Controls from the > Calling Script. > 3. Restore the Old Contents if the user presses > Cancel. > > I would like to be able to return the Button that > dismissed the Stack > (usually OK or Cancel in this case). > > In one Stack I have, I set the Script on the OK > button to: > > on mouseUp > save this stack > close this stack > end mouseUp > > and on the Cancel Button: > > on mouseUp > close this stack > end mouseUp > > But this seems to Save the State of the Stack/Card > anyway, regardless > of whether a "save this stack" command is issued or > not. > > I had thougt of adding a Script on the preOpenCard > handler that saves > the current Card to a Temp Stack and restores that > card if the Cancel > Button is pressed. > > Also I am not sure of the best way to access the > values, in the case > a text field called "PageSize" and if the OK button > is pressed then I > want to take some action, if cancel then I don't > want to do anything. > > I can't seem to find any Sample Stacks that do this. > Any pointers > would be a great help. > > Thanks > Dave > Hi Dave, Have a look at the 'revert' command, as well as the 'destroyStack' property. If neither of these can do what you want, your best bet is to make an 'openField' handler that saves the original data of a field in a custom property, that way when you press cancel you can easily revert the data in the stack in a repeat loop. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From jswitte at bloomington.in.us Fri Apr 9 14:36:18 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri, 9 Apr 2004 13:36:18 -0500 Subject: range error - or "How to take the factorial of a huge In-Reply-To: References: Message-ID: > 2. > Work with logs of expressions. The MathWorld page on Stirling's approximation gives a formula for (log n!) as well. The first formula gives an *exect* (I think) derivation for ln n! as ln n! = sum(k=1..n, ln k) which is approximately (by changing that summation to an integral from 1..n and simplifying it, to give ln n! ~ n ln n - n It also gives an (exact) integral definition of factorial: n! = integral(0, infinity, ( exp(-x)*(x^n) ), dx) So you could write an definite-integration function, taking a small slice parameter for dx, and sum the integrand term: This would be something around the following function integrand (x, n) reuturn (exp(-x) * x^n) end integrand function fact (n) put 0 into min put 100 into max put 0.001 into dx put min into x put 0 into sum add integrand(x, n) to sum add dx to x if (x>max) then return sum end if end fact since exp(-x) gets very small as x gets large, 100 should provide a reasonable maximum. I don't know how small dx should really be. I don't know how much better (or worse) this is compared to the foluma I quoted earlier. Jim From Cubist at aol.com Fri Apr 9 14:50:29 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 9 Apr 2004 14:50:29 EDT Subject: use-revolution Digest, Vol 7, Issue 55 Message-ID: <7f.44e7ac82.2da84a75@aol.com> In a message dated 4/9/04 9:23:30 AM, use-revolution-request at lists.runrev.com writes: > >Message: 3 >Date: Fri, 9 Apr 2004 11:26:16 +0200 >From: Norman Winn >Subject: A beginner's journey >To: use-revolution at lists.runrev.com >Message-ID: >Content-Type: text/plain; charset=US-ASCII; format=flowed > > >Hello again, > >I have received such good response, both on and off list, from my >initial 'renegade from Filemaker' post that I am encouraged to continue > >my journey into RR even though I have not yet made much progress. > >If it is acceptable to the list I'd like to provide feedback of my >learning experience. I ask in this way as, being a reasonably >experienced programmer, much of my report will seem like criticism of >what, to many of you, will be your favourite tool. I hope the >criticism is perceived as constructive. Here goes. > >1. I was about to ask why there was no script colorisation in a >previous post, when I checked out 'Preferences'. I was pleasantly >surprised that RR is one of those apps where there are real preferences > >- and saved myself embarrassment in finding colorisation was there. >Then notices that I could colorise a script from the menu. I presume it > >is simple to write a stack that applies colorisation to a set of >scripts? > >2. I asked in a post why the 'Help' windows are not show under the >'Window' menu. I can accept the reasons why they are not but, in this >case, I feel they should be treated as separate from the app in respect > >of 'Show', 'Hide' etc. Having said this I much prefer the RR help >system to the default one under OS X. Maybe clicking in a help window >could brilargely the result of > >the help, and the help system, being so good. One can end up with a lot > >of help windows open. > >3. Help again. I am in 'Revolution Documentation' > Images & >Multimedia. When I get down to 'Definition of ...' I no longer get >explanation of items e.g. 'bit depth'. > >3. It being so easy to assign keyboard shortcuts to menu actions, why >are these not shown for common RR actions? This one doesn't appear to >be in preferences. > >4. This is perhaps nitpicking, but the statement (found in help on >'inverse') that, "square root is the inverse of squaring", is >mathematically untrue. Taking the square root of a rational can produce >a real. Squaring a real cannot produce a rational. Better would be >'subtraction is the inverse of addition'. Yes, it is nitpicking, and I believe it's also invalid, for two reasons. Reason numero uno: A rational number *is* a real number -- the former is a subset of the latter, as distinct from them being two disjoint sets -- so, squaring a real (rational) number *can* produce a rational number. Reason numero two-o: It was my understanding that the inverse of a function is whatever other function yields the original number when applied to the result of the function. Or, given the function f(x), the function g(x) is the inverse of f(x) if g(f(x)) = x. Thus, since the squaring the square root of a number yields the original number, on what grounds would one assert that taking the square root is *not* the inverse of squaring? Since we're getting nitpicky anyway: Squaring the square root of a number is *not* necessarily the same as taking the square root of the square of a number. "Squaring the root" will always yield the original number... but "rooting the square" yields the *absolute value* of the original number, which is only the original number if that original number was positive to begin with. Therefore, this would appear to be a case where f(x) is the inverse of g(x), but g(x) is *not* the inverse of f(x) ! From dsc at swcp.com Fri Apr 9 15:57:20 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 13:57:20 -0600 Subject: range error - or "How to take the factorial of a huge In-Reply-To: Message-ID: <1C43DF08-8A60-11D8-9688-000A9567A3E6@swcp.com> On Friday, April 9, 2004, at 12:36 PM, Jim Witte wrote: > The MathWorld page on Stirling's approximation gives a formula for > (log n!) as well. The first formula gives an *exect* (I think) > derivation for ln n! as > > ln n! = sum(k=1..n, ln k) This is mathematically exact, but computationally it cannot be because of the ln(). I was thinking (in general) that only intermediate results might be over the limit. Juggling the math might help. In the (specific-approach) ln() case, it might mean working with ln() in much of the math and then exp at the end of the computation. This might also apply to the x^250 need. Dar Scott From dsc at swcp.com Fri Apr 9 16:09:09 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Apr 2004 14:09:09 -0600 Subject: use-revolution Digest, Vol 7, Issue 55 In-Reply-To: <7f.44e7ac82.2da84a75@aol.com> Message-ID: On Friday, April 9, 2004, at 12:50 PM, Cubist at aol.com wrote: > Thus, since the squaring the square root of a > number yields the original number, on what grounds would one assert > that taking > the square root is *not* the inverse of squaring? > Therefore, this would appear to be a case where f(x) is the inverse of > g(x), but > g(x) is *not* the inverse of f(x) ! You are correct in all. However, some folks define inverse to be symmetric, so we should watch for that usage. By symmetric, I mean that your last statement cannot be true. In that usage. Dar Scott From ian at azurevision.co.uk Fri Apr 9 16:15:11 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Fri, 9 Apr 2004 21:15:11 +0100 Subject: Opening a window on Windows? In-Reply-To: References: Message-ID: <9A9C0128-8A62-11D8-96EA-0003935A2896@azurevision.co.uk> Sorry, I didn't make it clear enough- I want Windows to open a window showing the files on the hard drive, the equivalent of a Finder window on Mac OS. That way the user can manually do things with the files afterwards. The app makes video sequences from QTVR panoramas. If Rev could turn still image sequences into video files opening a 'system' window wouldn't be necessary, but as it is everything goes through QuickTime Pro afterwards. As it is an app for QTVR panorama producers they all have a copy of QT Pro :-) http://www.azurevision.co.uk/qtvr2mov/ Ian Wood On 9 Apr 2004, at 18:00, Martin Baxter wrote: > Hello Ian, > > Depends what you mean by "a window". If you mean a file selection > dialog, > you could use: > > answer file "select a jpeg" with filter "JPEG Files,*.jpg,*.jpeg" > > or if you want to get a list of files in a folder and display it in a > window of your own you could use the files() function and filter lines > of > the result for the extension your app writes (ie .jpg or .jpeg) > (Though, if your app created the files, it might be possible to just > build > a list internally as it creates them ?) > > ### e.g. (untested) > > put the defaultfolder into keepdefault > set the defaultfolder to "theimagefolder" > put the files into tFileList > set the defaultfolder to keepdefault > > ##now you have a list of all the files in the folder > ##if the folder only has your jpegs in it then you're OK > ##otherwise you could... > ##filter for the ones that contain .jpg or .jpeg > > filter tFileList with "*.jpg" > #or > filter tFileList with "*.jpeg" > #depending which of these your app used > > /*tFileList should now be a list of the jpegs in the selected folder*/ > > HTH > > Martin > >> I want to open a window to show the user a load of new JPEG files that >> have just been generated by my app. On Mac this is easily achieved >> with a couple of lines of AppleScript. Is there any way of recreating >> this on Windows? >> >> Thanks in advance for any tips, >> >> Ian > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From martin at materiaprima.fsnet.co.uk Fri Apr 9 17:08:38 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Fri, 09 Apr 2004 22:08:38 +0100 Subject: Opening a window on Windows? In-Reply-To: <9A9C0128-8A62-11D8-96EA-0003935A2896@azurevision.co.uk> References: Message-ID: Ah, I think I understand now, you want to open a Windows Explorer Window at your directory - yes?. In that case, you'll need a shell command I think. I'm hardly the world's expert on those, but the following works for me on XP. Obviously substitute your own filepath and watch that the delimiters in the actual filepath are Windows backslashes *not* Unix/Rev forwardslashes. set the hideconsolewindows to true. -- or you'll get a momentary flash of the consolewindow get shell("explorer C:\Documents and Settings\User\") -- which should open an explorer window at the folder \User\ HTH Martin >Sorry, I didn't make it clear enough- I want Windows to open a window >showing the files on the hard drive, the equivalent of a Finder window >on Mac OS. That way the user can manually do things with the files >afterwards. > >The app makes video sequences from QTVR panoramas. If Rev could turn >still image sequences into video files opening a 'system' window >wouldn't be necessary, but as it is everything goes through QuickTime >Pro afterwards. As it is an app for QTVR panorama producers they all >have a copy of QT Pro :-) > >http://www.azurevision.co.uk/qtvr2mov/ > >Ian Wood > >On 9 Apr 2004, at 18:00, Martin Baxter wrote: > >> Hello Ian, >> >> Depends what you mean by "a window". If you mean a file selection >> dialog, >> you could use: >> >> answer file "select a jpeg" with filter "JPEG Files,*.jpg,*.jpeg" >> >> or if you want to get a list of files in a folder and display it in a >> window of your own you could use the files() function and filter lines >> of >> the result for the extension your app writes (ie .jpg or .jpeg) >> (Though, if your app created the files, it might be possible to just >> build >> a list internally as it creates them ?) >> >> ### e.g. (untested) >> >> put the defaultfolder into keepdefault >> set the defaultfolder to "theimagefolder" >> put the files into tFileList >> set the defaultfolder to keepdefault >> >> ##now you have a list of all the files in the folder >> ##if the folder only has your jpegs in it then you're OK >> ##otherwise you could... >> ##filter for the ones that contain .jpg or .jpeg >> >> filter tFileList with "*.jpg" >> #or >> filter tFileList with "*.jpeg" >> #depending which of these your app used >> >> /*tFileList should now be a list of the jpegs in the selected folder*/ >> >> HTH >> >> Martin >> >>> I want to open a window to show the user a load of new JPEG files that >>> have just been generated by my app. On Mac this is easily achieved >>> with a couple of lines of AppleScript. Is there any way of recreating >>> this on Windows? >>> >>> Thanks in advance for any tips, >>> >>> Ian >> >> >> _______________________________________________ >> 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 ian at azurevision.co.uk Fri Apr 9 17:38:14 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Fri, 9 Apr 2004 22:38:14 +0100 Subject: Opening a window on Windows? In-Reply-To: References: Message-ID: <34BC2CE6-8A6E-11D8-96EA-0003935A2896@azurevision.co.uk> Thanks, that looks like it should do the business, I'll try it next week when I have access to a Windows machine again. The perils of doing cross-platform development when you only have access to one of the platforms ;-) Ian On 9 Apr 2004, at 22:08, Martin Baxter wrote: > Ah, I think I understand now, you want to open a Windows Explorer > Window at > your directory - yes?. > > In that case, you'll need a shell command I think. > I'm hardly the world's expert on those, but the following works for me > on > XP. Obviously substitute your own filepath and watch that the > delimiters in > the actual filepath are Windows backslashes *not* Unix/Rev > forwardslashes. > > set the hideconsolewindows to true. > -- or you'll get a momentary flash of the consolewindow > get shell("explorer C:\Documents and Settings\User\") > > -- which should open an explorer window at the folder \User\ > > HTH > > Martin > >> Sorry, I didn't make it clear enough- I want Windows to open a window >> showing the files on the hard drive, the equivalent of a Finder window >> on Mac OS. That way the user can manually do things with the files >> afterwards. >> >> The app makes video sequences from QTVR panoramas. If Rev could turn >> still image sequences into video files opening a 'system' window >> wouldn't be necessary, but as it is everything goes through QuickTime >> Pro afterwards. As it is an app for QTVR panorama producers they all >> have a copy of QT Pro :-) >> >> http://www.azurevision.co.uk/qtvr2mov/ >> >> Ian Wood >> >> On 9 Apr 2004, at 18:00, Martin Baxter wrote: >> >>> Hello Ian, >>> >>> Depends what you mean by "a window". If you mean a file selection >>> dialog, >>> you could use: >>> >>> answer file "select a jpeg" with filter "JPEG Files,*.jpg,*.jpeg" >>> >>> or if you want to get a list of files in a folder and display it in a >>> window of your own you could use the files() function and filter >>> lines >>> of >>> the result for the extension your app writes (ie .jpg or .jpeg) >>> (Though, if your app created the files, it might be possible to just >>> build >>> a list internally as it creates them ?) >>> >>> ### e.g. (untested) >>> >>> put the defaultfolder into keepdefault >>> set the defaultfolder to "theimagefolder" >>> put the files into tFileList >>> set the defaultfolder to keepdefault >>> >>> ##now you have a list of all the files in the folder >>> ##if the folder only has your jpegs in it then you're OK >>> ##otherwise you could... >>> ##filter for the ones that contain .jpg or .jpeg >>> >>> filter tFileList with "*.jpg" >>> #or >>> filter tFileList with "*.jpeg" >>> #depending which of these your app used >>> >>> /*tFileList should now be a list of the jpegs in the selected >>> folder*/ >>> >>> HTH >>> >>> Martin >>> >>>> I want to open a window to show the user a load of new JPEG files >>>> that >>>> have just been generated by my app. On Mac this is easily achieved >>>> with a couple of lines of AppleScript. Is there any way of >>>> recreating >>>> this on Windows? >>>> >>>> Thanks in advance for any tips, >>>> >>>> Ian >>> >>> >>> _______________________________________________ >>> 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 wouter.abraham at pi.be Fri Apr 9 19:17:05 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 10 Apr 2004 01:17:05 +0200 Subject: controlids Message-ID: <03F2EF26-8A7C-11D8-A7F0-003065CC999E@pi.be> Hi all, A little question: In transcript one can call the cardnames, the cardids, the backgroundnames, the backgroundids of a stack. Then wouldn't it be nice to be able to do it with the controlnames and the controlids as well as these are also unique for each stack? If there is already such a spell, please tell me. It could speed up a lot of things. TIA & greetings, WA From gcanyon at inspiredlogic.com Fri Apr 9 20:55:09 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 9 Apr 2004 17:55:09 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: References: Message-ID: On Apr 8, 2004, at 10:55 PM, Bruce Robertson wrote: >> well multiple users accessing a database in a single tier enviroment >> are realy matter of the RDBMS, if you settle for multi-tier then it's >> easy to program it's logic. > > That's really not much of an answer, and that is one thing that > continues to > strike me about Rev database access discussions. They seem quite > shallow and > unrealistic. I think you're being unfair to Andre here. Revolution is an application-building tool that has robust database access. FileMaker is a database-building tool that has limited application-building capabilities. As such, of course every aspect of database access is built-in to FileMaker, and any reasonably skilled FileMaker developer is going to be able to answer them in the context of FileMaker. With Revolution, on the other hand, there are a thousand different ways you could put together "a database application." People here have outlined many of them. Many questions that would be relevant in a discussion of developing database applications with FileMaker are a matter of the database engine: record-locking, relation setup, triggers, stored procedures, atomicity, consistency, isolation, durability, etc. Revolution makes the front end, and all the interactivity therein. So your questions need to be divided into two categories: those that are appropriate on this list, and those that may be appropriate on this list, but might also belong on the MySQL, PostgreSQL... list. I think you'll get a much better answer if you ask a question like this: I have a fifteen-user FileMaker Pro database that uses instant web publishing to allow casual users access when they're out of the office. I want to create something similar using MySQL as a back end and I'm considering Revolution as a front end. What issues do I need to be aware of when deciding whether to use Rev or not? regards, Geoff Canyon gcanyon at inspiredlogic.com From briany at qldlearning.com Fri Apr 9 21:34:37 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 9 Apr 2004 21:34:37 -0400 Subject: Hello from a Filemaker renegade In-Reply-To: Message-ID: <3AB3EE18-8A8F-11D8-9C97-000393AA08D2@qldlearning.com> > That's really not much of an answer, and that is one thing that > continues to > strike me about Rev database access discussions. They seem quite > shallow and > unrealistic. > > All the multi-user record locking etc is built into Filemaker, it is > robust > and easy to use. Even so, there is a long range of subtle issues that > come > up in developer conversations all the time. Some are Filemaker > specific, > some are generic to handling and updating datasets. That's because FileMaker is an end-user database. Rev is a developer tool with database connectivity. The former consolidates all you need to know about databases into one product. The latter requires you to be proficient with MySQL, Postgres, Oracle, or whatever your back-end is. Record locking is not the same in different RDBMS, and if you want to implement it yourself then you will need to research techniques and implement them. There's no "ON" button for it, because MySQL/etc is not a part of Rev. If you are going to make the transition from FileMaker to Rev, there is going to be a serious database engine learning curve. While this list is very responsive, it's definitely not the best place to learn about RDBMS. > I know that you're not claiming that your responses are the definitive > answer on Rev multi-user database access. But what IS the source for > that > information? This list is the source of information on scripting applications in Rev; however, you'll need to have a firm grasp on your database engine of choice as well, and that you won't find here. I would start by picking a back-end, and figuring out what features it has. Then consult the list with a specific question. For example, "MySQL doesn't do row level record locking, how can I implement it in Transcript in my application". > Rev may be great for multi-user database access. And perhaps many > people may > have these issues worked out. > > But the answers I've seen so far are sort of like asking how do I win > the > Indy 500? Oh, you just get in and turn the key. > > There is a LOT more to it than that. Indeed, but I think that's because people are merely suggesting approaches. It's beyond the scope of this list to show you how to replicate all of FileMaker in Rev. Personally, I think Rev is great for database access, and it can certainly do more than FileMaker, but it will in fact do a lot less "out of the box". If you're looking for a complete roadmap, it ain't here. But there are many experts in Transcript and a few in RDBMS here that can help you piece by piece. I think you'll find your mileage is even less in other systems- try picking up PHP web apps straight from FileMaker! But once you get over a few hurdles and get acclimated, you'll have a lot of power at your fingertips. HTH, Brian From johnrule at rcsprogramming.com Fri Apr 9 22:57:23 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Fri, 9 Apr 2004 19:57:23 -0700 Subject: ISP disables cfFile - can I use runrev as cgi? References: <20040409213609.486189300E4@mail.runrev.com> Message-ID: <00dc01c41ea7$8c92f730$8d01000a@minipcxp> I know this was probably covered many many times...but its my turn! My ISP no longer allows cfFile (coldfusion file manipulation) on my server (for security reasons), and I need a way to write a text file to the server disk. It would also work if I can save a stack with custom propeties set, so is this going to work with runrev as a cgi (before I spend days looking into this)? Is anyone using it like this? Thanks, JR From kray at sonsothunder.com Fri Apr 9 23:03:57 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 9 Apr 2004 22:03:57 -0500 Subject: Checking "Large Fonts" (was Windows defaut font gets messed up In-Reply-To: <93365DBE-89B8-11D8-9472-000393DC31DA@bloomington.in.us> Message-ID: <012801c41ea8$7aecba10$6601a8c0@precision340> Jim, You can check for Large Fonts this way: on mouseUp if stsHasLargeFonts() then -- whatever you want to do end if end mouseUp function stsHasLargeFonts switch (the systemVersion) case "NT 5.1" -- Windows XP case "NT 5.0" -- Windows 2000 put queryRegistry("HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels") into dpi -- this is a DWORD put charToNum(dpi) into dpi if dpi = 96 then return false else return true break case "NT 4.0" -- Windows NT 4.0 put queryRegistry("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontDPI") into dpi -- this is a DWORD put charToNum(dpi) into dpi if dpi = 96 then return false else return true break case "Windows 4.90" -- Windows ME case "Windows 4.10" -- Windows 98 case "Windows 4.0" -- Windows 95 put queryRegistry("HKEY_CURRENT_CONFIG\Display\Settings\DPILogicalX") into dpi if dpi = 96 then return false else return true break end switch end stsHasLargeFonts As to how to resize your stacks *based* on whether the user is running Large Fonts... that's something someone else should chime in on... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Jim Witte > Sent: Thursday, April 08, 2004 6:58 PM > To: How to use Revolution > Subject: Re: Checking "Large Fonts" (was Windows defaut font > gets messed up > > > >> rev app some of the text runs off the screen. He sent me a screen > >> shot and > > 1) Your customer might have "Large Fonts" enabled in their Display > > control > > panel. You could have them verify and change if needed. > > Is there a way in Windows to check whether "Large Fonts" > is enabled > (or get the default font size - I don't know if that's a Windows > default or not), and adjust text in your stack appropriately > (changing > positions of label fields, etc) > > Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Apr 10 00:28:42 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri, 9 Apr 2004 18:28:42 -1000 Subject: Help with paste... In-Reply-To: References: <40761090.6050003@chipp.com> Message-ID: <8C0F9F7D-8AA7-11D8-8983-000A959D0AC6@hindu.org> I'm having a similar and serious problem on OSX that may relate and could possibly be the clipboard issue that Pierre mentions. I'm not so sure yet we can simply blame WinXP... witness these related problems with paste: If I Open InDesign and copy a piece of text "It's (That's: curly quote, capital Eye, lower case t, curly apostrophe, s) Now, if I paste this into a field into Rev 2.2 on OSX, select it and run this script against it: on mouseup put the selection into jai repeat for each char x in jai put charTonum(x) & cr after hum end repeat put cr & hum after the selection end mouseup I get a really strange result: ?It?s 32 28 73 116 32 25 115 If I simply type ?It's into Rev and translate this to ascii I get this: ???It'?s 210 73 116 213 115 and even more strange: when I just tried to paste ?It'?s copied from rev into this email on OSX mail.app... actually, both the opening quote AND the curly apostrophe disappeared on paste... all I get is: Its here in this email... But if I copy that same string from InDesign and paste into this email, thusly ?It?s all the characters are passed through the clipboard from InDesign, but were not passed through for the same string from Rev! I suspect this is much more than a WinXP issue. Anyway my big problem now is that that my "cleaner" scripts are failing on InDesign text.. stuff like: # where the attempt is to replace curly quotes with straight quotes put some fld ( or selection) into tTextChunk replace "?" with """ in tTextchunk which I've been using for literally years and years, are now failing: More wierdness: and when I pass the text back from the variable to the field, the curly quotes are gone and I get char(28) looking like a square box in the place where a straight quote should be... which at least jives with the translation effort above. but wait ;-) there is more: I have another string that appears at the end of every editorial piece where our layout editor cooked up some image to put into a high ascii character of the font (a version of Caledonia we fixed and call "Quantum Leap") we use for Hinduism Today magazine... if I select the period at the end of the sentence, the tab that follows it and paste these into Rev and try to translate those to ASCII, well, this is off the charts, I get a return string in OSAKA with Japanese gliphs ? ??? ????????????? So ditto that: help with paste wanted! If anyone can help me figure out how to "dumb down" text from InDesign back to the 0-127 ASCII set, using Revolution script control on OSX, i will be eternally grateful... meanwhile I messing around now with crazy work arounds like replace numToChar(28) with Quote in tTextChunk... Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Apr 9, 2004, at 6:13 AM, Pierre Sahores wrote: > Hello Chipp, > > This don't happen under the MacOS X 10.3.3/PWB G4 12" 1Ghz nor the > Suse-Linux 8.2/KDE 3.1.1/ Sony Laptop platforms. I did the test in > cutting/pasteling the "this;that" chunk between Rev's 2.1.2 and 2.2 > issues (2.1.2 to 2.1.2, 2.1.2 to 2.2, 2.2 to 2.2) without any > troubble. > > Could we not firstly suspect the WinXP clipboard to take part in the > problem, because something with the charsets or so on ? > > Please, let us know about the end of the story... > > Bests, > > Pierre From jacque at hyperactivesw.com Sat Apr 10 01:05:22 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 10 Apr 2004 00:05:22 -0500 Subject: Help with paste... In-Reply-To: <8C0F9F7D-8AA7-11D8-8983-000A959D0AC6@hindu.org> References: <40761090.6050003@chipp.com> <8C0F9F7D-8AA7-11D8-8983-000A959D0AC6@hindu.org> Message-ID: <40778092.2010605@hyperactivesw.com> On 4/9/04 11:28 PM, Sannyasin Sivakatirswami wrote: > If I Open InDesign and copy a piece of text "It's (That's: curly > quote, capital Eye, lower case t, curly apostrophe, s) > > Now, if I paste this into a field into Rev 2.2 on OSX, select it and > run this script against it: > > on mouseup > put the selection into jai > repeat for each char x in jai > put charTonum(x) & cr after hum > end repeat > put cr & hum after the selection > end mouseup > > I get a really strange result: > ???It???s I wonder if some of this stuff is related to unicode problems in the engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 10 01:09:45 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 10 Apr 2004 00:09:45 -0500 Subject: stackFiles BUG? In-Reply-To: <20040409174952.0758029A4B@xprdmailfe22.nwk.excite.com> References: <20040409174952.0758029A4B@xprdmailfe22.nwk.excite.com> Message-ID: <40778199.30403@hyperactivesw.com> On 4/9/04 12:49 PM, Kevin wrote: > In version 2.2 using the Property Inspector if you select Stack File > in the drop down and set a stack file the format of the "stackFiles" > property will be what I listed in the previous email. I'm not seeing that here. If I click on the little folder icon and choose a stack, it goes into the list normally. I see only one comma -- the one that separates the stack name from the file path. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rooster at drizzle.com Sat Apr 10 01:11:55 2004 From: rooster at drizzle.com (iMP) Date: Fri, 9 Apr 2004 22:11:55 -0700 Subject: open file with default app on Windows? In-Reply-To: <20040409142152.304799300B2@mail.runrev.com> References: <20040409142152.304799300B2@mail.runrev.com> Message-ID: Hi: Does anyone know the recipe for opening a file with its default app on Windows, based on the filename extension? For example, I get a list of files in a folder. One ends with ".xls". How can I open that file with Microsoft Excel and present it to the user (bring it to the frront)? Thanks in advance, guy From yvescoppe at skynet.be Sat Apr 10 02:31:46 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 10 Apr 2004 08:31:46 +0200 Subject: Panic with incorporation of tx and REV 2.2 Message-ID: Hi, I'm in a great panic : Since Rev 2.2 on MAC OS X 10.3.3, my script doesn't run : answer file "Choisissez un courrier" if (it = "") or (the result = "cancel") then exit to top end if put it into tfilename put URL("file:"&tfilename) into tx the variable "tx" is empty !!!!!!!!!!!!!!! what happens ?????? Please help Formerly, with all the versions of Rev I had no problems... Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Sat Apr 10 02:46:01 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 10 Apr 2004 08:46:01 +0200 Subject: Panic with incorporation of tx and REV 2.2 In-Reply-To: References: Message-ID: Le 10 avr. 04, ? 08:31, Yves COPPE a ?crit : > Hi, > > I'm in a great panic : > > Since Rev 2.2 on MAC OS X 10.3.3, my script doesn't run : > > answer file "Choisissez un courrier" > if (it = "") or (the result = "cancel") then > exit to top > end if > put it into tfilename > put URL("file:"&tfilename) into tx > > the variable "tx" is empty !!!!!!!!!!!!!!! > > > what happens ?????? > > Please help > > Formerly, with all the versions of Rev I had no problems... > > > Greetings. > > I found a big problem : when the pathway contains a folder with a diacritical character, then the variable "tx" is empty or contains de pathway /users//desktop/ : OK /users//?l?ments/ : nothing.... what to do ???? thank you for rapid help ! Greetings. Yves COPPE yvescoppe at skynet.be From dsc at swcp.com Sat Apr 10 02:58:31 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Apr 2004 00:58:31 -0600 Subject: RegEx question In-Reply-To: <3C030BA6-8A22-11D8-BF9C-003065E14B04@skynet.be> Message-ID: <7A53D8C9-8ABC-11D8-B189-000A9567A3E6@swcp.com> On Friday, April 9, 2004, at 06:34 AM, Yves COPPE wrote: > function CheckDate pDateToCheck > return > matchText(pDateToCheck,"\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0- > 9][0-9][0-9][0-9])\z") > end CheckDate > > doesn't give the good effect This works for me with your original examples. Might your data sometimes have spaces or LF at the start or end? The regex will need to account for that. Dar Scott From dsc at swcp.com Sat Apr 10 03:08:50 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Apr 2004 01:08:50 -0600 Subject: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon) In-Reply-To: <56AF8352-8A34-11D8-B3D9-003065683ECC@inspiredlogic.com> Message-ID: On Friday, April 9, 2004, at 08:44 AM, Geoff Canyon wrote: >>> -- Is it crashing people in Revolution? >> >> I have noticed that I have been crashing. >> >> Dar > > If the issue isn't in bugzilla, please enter it. If it is, great. But there is only bugzilla for Revolution and Ten Thumbs Typing Tutor; there is no place for reporting bugs in Dar. Arg, I'm dragging on a dumb joke and it still might not work. What I'm trying to say is that I don't understand your original line describing a bug attribute: "Is it crashing people in Revolution?" It is not clear to me how it is different from the others. I thought perhaps you actually meant bugs that caused people to get discouraged, cranky, stimied or something. Now, I think that less likely. Dar Scott From yvescoppe at skynet.be Sat Apr 10 03:22:18 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 10 Apr 2004 09:22:18 +0200 Subject: RegEx question In-Reply-To: <7A53D8C9-8ABC-11D8-B189-000A9567A3E6@swcp.com> References: <7A53D8C9-8ABC-11D8-B189-000A9567A3E6@swcp.com> Message-ID: Hi Dar > > This works for me with your original examples. > > Might your data sometimes have spaces or LF at the start or end? The > regex will need to account for that. > > Dar Scott > > Try this : 09/10/2004 is a valid date in French on mouseup ask "Une date ?" with "09/10/2004" if it is empty then exit to top answer CheckDate(it) end mouseup function CheckDate pDateToCheck return matchText(pDateToCheck,"\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0 -9][0-9][0-9][0-9])\z") end CheckDate it returns "false" and shoulf return "true".... Thanks for more help. Greetings. Yves COPPE yvescoppe at skynet.be From briany at qldlearning.com Sat Apr 10 03:28:51 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 10 Apr 2004 03:28:51 -0400 Subject: RegEx question In-Reply-To: Message-ID: Your expression below isn't allowing for the leading zero in the first item, as it is in the second... > on mouseup > ask "Une date ?" with "09/10/2004" > if it is empty then exit to top > answer CheckDate(it) > end mouseup > > function CheckDate pDateToCheck > return > matchText(pDateToCheck,"\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0- > 9][0-9][0-9][0-9])\z") > end CheckDate > > > it returns "false" and shoulf return "true".... > > Thanks for more help. From dsc at swcp.com Sat Apr 10 03:33:23 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Apr 2004 01:33:23 -0600 Subject: RegEx question In-Reply-To: Message-ID: <5938CCBA-8AC1-11D8-B189-000A9567A3E6@swcp.com> On Saturday, April 10, 2004, at 01:22 AM, Yves COPPE wrote: > 09/10/2004 is a valid date in French > function CheckDate pDateToCheck > return > matchText(pDateToCheck,"\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0- > 9][0-9][0-9][0-9])\z") > end CheckDate > > it returns "false" and shoulf return "true".... Oh, sorry, I was still concentrating on the \A and \z. Maybe this will work: function CheckDate pDateToCheck return matchText(pDateToCheck,"\A(0?[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/ ([0-9][0-9][0-9][0-9])\z") end CheckDate It is not consistent yet as to whether the leading zero is optional. It is optional for the day of the month, but required for the month. Dar Scott From gcanyon at inspiredlogic.com Sat Apr 10 03:51:37 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 10 Apr 2004 00:51:37 -0700 Subject: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon) In-Reply-To: References: Message-ID: Sorry, the joke went right past me. I was drawing the distinction between a crashing bug in something that you build and give/sell to others, which is as bad as it gets, and a crashing bug that causes the IDE to die while you're developing software. That's bad too, but not nearly as bad. Better that you crash ten times than that your customer crashes once. regards, Geoff Canyon gcanyon at inspiredlogic.com On Apr 10, 2004, at 12:08 AM, Dar Scott wrote: > > On Friday, April 9, 2004, at 08:44 AM, Geoff Canyon wrote: > >>>> -- Is it crashing people in Revolution? >>> >>> I have noticed that I have been crashing. >>> >>> Dar >> >> If the issue isn't in bugzilla, please enter it. If it is, great. > > But there is only bugzilla for Revolution and Ten Thumbs Typing Tutor; > there is no place for reporting bugs in Dar. > > Arg, I'm dragging on a dumb joke and it still might not work. > > What I'm trying to say is that I don't understand your original line > describing a bug attribute: "Is it crashing people in Revolution?" It > is not clear to me how it is different from the others. I thought > perhaps you actually meant bugs that caused people to get discouraged, > cranky, stimied or something. Now, I think that less likely. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Sat Apr 10 06:48:08 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 10 Apr 2004 12:48:08 +0200 Subject: Panic with incorporation of tx and REV 2.2 In-Reply-To: References: Message-ID: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> Bon jour Yves, > > Le 10 avr. 04, ? 08:31, Yves COPPE a ?crit : >> Hi, >> I'm in a great panic : >> Since Rev 2.2 on MAC OS X 10.3.3, my script doesn't run : >> answer file "Choisissez un courrier" >> if (it = "") or (the result = "cancel") then >> exit to top >> end if >> put it into tfilename >> put URL("file:"&tfilename) into tx >> >> the variable "tx" is empty !!!!!!!!!!!!!!! >> >> what happens ?????? >> Please help >> Formerly, with all the versions of Rev I had no problems... >> Greetings. > > I found a big problem : > > when the pathway contains a folder with a diacritical character, then > the variable "tx" is empty or contains de pathway > > /users//desktop/ : OK > /users//?l?ments/ : nothing.... > > what to do ???? > > thank you for rapid help ! > > Greetings. > > Yves COPPE > yvescoppe at skynet.be Confirmed! Looks like the handling of paths with umlauts/diacriticals is still screwed up in Rev on OS X :-( Merde alors!!! I created a folder on my desktop called "?t?" and put an image in it... This is what i get with "ask file xxx;put it" /Users/klaus/Desktop/e??te??/mess_path2.gif And this will also be in the "Inspector"-field when i set the filenname of an image to that file... But i can script: set the filename of img 1 to "/Users/klaus/Desktop/e??te??/mess_path2.gif" OR set the filename of img 1 to "/Users/klaus/Desktop/?t?/mess_path2.gif" without problems... In the latter case, the filename-field in the Inspector will contain the diacritical characters!? put url"binfile:/Users/klaus/Desktop/?t?/mess_path2.gif" into img 1 -> can't open file What gives??? Deeeep sigh... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Sat Apr 10 07:31:53 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 10 Apr 2004 13:31:53 +0200 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation of tx and REV 2.2 In-Reply-To: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> References: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> Message-ID: Hi all, > ... > OR > set the filename of img 1 to "/Users/klaus/Desktop/?t?/mess_path2.gif" > without problems... > In the latter case, the filename-field in the Inspector will contain > the diacritical characters!? > put url"binfile:/Users/klaus/Desktop/?t?/mess_path2.gif" into img 1 > -> can't open file > What gives??? > Deeeep sigh... > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de just checked Godzilla :-) I (surprise :-) reported this bug #534 in September 2003, which is still marked as NEW. No further comment... Regards Klaus Major klaus at major-k.de www.major-k.de P.S. Is the french version of RR already available? :-D From yvescoppe at skynet.be Sat Apr 10 08:06:35 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 10 Apr 2004 14:06:35 +0200 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation of tx and REV 2.2 In-Reply-To: References: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> Message-ID: <8352AE27-8AE7-11D8-BE04-000D93677F1E@skynet.be> > just checked Godzilla :-) > > I (surprise :-) reported this bug #534 in September 2003, > which is still marked as NEW. > > No further comment... > > > > P.S. > Is the french version of RR already available? :-D > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi Klaus, happy to see I'm not alone with the problem, but NOT happy of the bug... BUT I'm very astonished because the previous versions of Rev gave me no any problem with diacriticals chars in the pathway to a file it causes a bug for me since Rev 2.2....??? Can you insist to have this bug fixed asap ??? it causes me many problems since I've build stacks based on pathway to a file and since the last version, nothing runs anymore and at the other hand, I've made changes in many stacks to make them compatible with Rev 2.2 and I cannot go behind anymore... So I'm totaly blocked.... P.S. : I must acknowledge that you use the coarse French words well, better than me of German !!! > Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Sat Apr 10 08:12:10 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 10 Apr 2004 14:12:10 +0200 Subject: RegEx question In-Reply-To: <5938CCBA-8AC1-11D8-B189-000A9567A3E6@swcp.com> References: <5938CCBA-8AC1-11D8-B189-000A9567A3E6@swcp.com> Message-ID: <4ADB7AB0-8AE8-11D8-AF69-000D93677F1E@skynet.be> Hi Dar > Maybe this will work: > > function CheckDate pDateToCheck > return > matchText(pDateToCheck,"\A(0?[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/ > ([0-9][0-9][0-9][0-9])\z") > end CheckDate > > It is not consistent yet as to whether the leading zero is optional. > It is optional for the day of the month, but required for the month. > i'm almost on the good regEx but now I'd like that the day MUST be two chars and not an optional so : 05/04/2004 returns true and 5/04/2004 should return false (at this moment, it returns true) Can you give me one more hint ?? Amicalement. Yves COPPE yvescoppe at skynet.be From 3mcgrath at adelphia.net Sat Apr 10 08:15:13 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 10 Apr 2004 08:15:13 -0400 Subject: Floating window on Windows Message-ID: Hello All Rev-bunnies, I am looking at a new project. On the Mac I will have a floating tool pallet using applescript to control other apps with. Can some one provide general information on what I can do on the Windows side to allow REV in a floating window to control other apps. By control I mean both application commands (cut, copy, new, paste, quit, etc.) and sending text to editable fields in the application (word page, excell table, etc.). Also, is there a way to do this with out going down the applescript route?? Thanks in advance, Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From bill at bluewatermaritime.com Sat Apr 10 08:40:12 2004 From: bill at bluewatermaritime.com (Bill Humphrey) Date: Sat, 10 Apr 2004 08:40:12 -0400 Subject: Building reports - NTF reports features wanted! In-Reply-To: <20040403162503.B74589300E9@mail.runrev.com> Message-ID: The existing report builder in rev 2.2 is basically a label maker or card printer. It does not have any design tools. If you want to print a PDF form or even print some data on top of an existing form it would be very difficult (no positioning tools for field outputs). There is also no way to add a background tiff or PDF. What are the work-arounds for this? Can rev 2.2 be combined with AppleScript to send data to Acrobat Pro? I imagine you could have an Acrobat form for each of the reports you need with fields labeled for the data and it would always be running at the same time as your stack and you send the data to it as needed. Has anyone done this? I have an existing set of Hypercard stacks that use NTF reports and I would like to convert it to runrev. I understand that runrev chose not to buy NTF Reports and incorporate its power (or is that something happening in the future?). Would I be better off redesigning everything in filemaker pro or some other program that has report building tools? I really like everything else about runrev and want to use the program. My favorite thing is its Hypercard like ability to make changes and tweaks as you use the program you built. From klaus at major-k.de Sat Apr 10 09:02:50 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 10 Apr 2004 15:02:50 +0200 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation of tx and REV 2.2 In-Reply-To: <8352AE27-8AE7-11D8-BE04-000D93677F1E@skynet.be> References: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> <8352AE27-8AE7-11D8-BE04-000D93677F1E@skynet.be> Message-ID: <5F35A8B2-8AEF-11D8-BFC4-000A27B49A96@major-k.de> Bon jour Yves, >> just checked Godzilla :-) >> I (surprise :-) reported this bug #534 in September 2003, >> which is still marked as NEW. >> No further comment... >> >> P.S. >> Is the french version of RR already available? :-D > > Hi Klaus, > > happy to see I'm not alone with the problem, but NOT happy of the > bug... > > BUT > > I'm very astonished because the previous versions of Rev gave me no any > problem with diacriticals chars in the pathway to a file it causes a > bug for me > since Rev 2.2....??? Well, it also was in 2.1 somehow, but the maybe results were slightly different... E.g. the Standalonebuilder would not work with files inside folders with umlauts/diacr. in their names... > Can you insist to have this bug fixed asap ??? Thank you very much for your confidence, but unfortunately you overrate my influence ;-) BUT i could look for some "incriminating" pictures or video-footage in my "blackmail"-archives... :-D > it causes me many problems since I've build stacks based on pathway > to a file > and since the last version, nothing runs anymore and at the other > hand, I've > made changes in many stacks to make them compatible with Rev 2.2 and I > cannot go behind anymore... > > So I'm totaly blocked.... I added another comment to this bug in Godzilla, but that's all i can do... > P.S. : I must acknowledge that you use the coarse French words well, > better than me of German!!! Merci bien, monsieur :-) > Greetings. > > Yves COPPE > yvescoppe at skynet.be Au revoir... Regards Klaus Major klaus at major-k.de www.major-k.de From dburgun at dsl.pipex.com Sat Apr 10 10:24:17 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 10 Apr 2004 15:24:17 +0100 Subject: Reproducable Crashing Bug in MacOS 9 In-Reply-To: <5F35A8B2-8AEF-11D8-BFC4-000A27B49A96@major-k.de> References: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> <8352AE27-8AE7-11D8-BE04-000D93677F1E@skynet.be> <5F35A8B2-8AEF-11D8-BFC4-000A27B49A96@major-k.de> Message-ID: Hi, Not sure how to report bugs and not sure if I report this one. I have found a reproducable crashing bug in MacOS 9 version of RunRev. Just copy any object to the clipboard, then create a new Stack then Appempt to Paste the Clipboard into the Name Field for the Stack in the Stack Inspector! Did it my accident, but boy does it blow you away!!! All the Best Dave From tuviah at runrev.com Sat Apr 10 10:34:28 2004 From: tuviah at runrev.com (tuviah snyder) Date: Sat, 10 Apr 2004 10:34:28 -0400 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation References: <20040410121247.A0A0C9300FE@mail.runrev.com> Message-ID: <000b01c41f08$f74c7900$0302a8c0@athlon> > Date: Sat, 10 Apr 2004 14:06:35 +0200 > From: Yves COPPE > Subject: Re: UMLAUT/ACCENTS probs on X, was:Panic with incorporation > of tx and REV 2.2 > To: How to use Revolution > Message-ID: <8352AE27-8AE7-11D8-BE04-000D93677F1E at skynet.be> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > > just checked Godzilla :-) > > > > I (surprise :-) reported this bug #534 in September 2003, > > which is still marked as NEW. > > > > No further comment... > > > > > > > > P.S. > > Is the french version of RR already available? :-D > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > Hi Klaus, > > happy to see I'm not alone with the problem, but NOT happy of the bug... > > BUT > > I'm very astonished because the previous versions of Rev gave me no any > problem with diacriticals chars in the pathway to a file > it causes a bug for me since Rev 2.2....??? > > Can you insist to have this bug fixed asap ??? it causes me many > problems since I've build stacks based on pathway to a file and since > the last version, nothing runs anymore and at the other hand, I've made > changes in many stacks to make them compatible with Rev 2.2 and I > cannot go behind anymore... OK just fixed this, don't panic. Support for long files names from 'answer file' was added in 2.2 as per request (so you can now choose files which are really, really long on OSX). we needed to convert from UTF8 to ASCII. I've posted a quick update, should be available shortly. Are there any UMLAUT/ACCENTS bugs not related to answer file that need to be fixed right away? Tuviah From klaus at major-k.de Sat Apr 10 10:50:38 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 10 Apr 2004 16:50:38 +0200 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation In-Reply-To: <000b01c41f08$f74c7900$0302a8c0@athlon> References: <20040410121247.A0A0C9300FE@mail.runrev.com> <000b01c41f08$f74c7900$0302a8c0@athlon> Message-ID: <6E47574A-8AFE-11D8-BFC4-000A27B49A96@major-k.de> Hi Tuviah, > OK just fixed this, don't panic. Support for long files names from > 'answer > file' was added in 2.2 as per request (so you can now choose files > which are > really, really long on OSX). we needed to convert from UTF8 to ASCII. > I've > posted a quick update, should be available shortly. This is good news :-) > Are there any UMLAUT/ACCENTS bugs not related to answer file that need > to be > fixed right away? create folder "?t?" delete folder "?t?" put "123" into url"file:???.txt" etc... work fine... > Tuviah Regards Klaus Major klaus at major-k.de www.major-k.de P.S. Just for MY records: Was it a dicriminating picture or video-footage that caused this lightning fast response? I mean, what did you fear more? :-D From gcanyon at inspiredlogic.com Sat Apr 10 11:30:36 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 10 Apr 2004 08:30:36 -0700 Subject: Reproducable Crashing Bug in MacOS 9 In-Reply-To: References: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> <8352AE27-8AE7-11D8-BE04-000D93677F1E@skynet.be> <5F35A8B2-8AEF-11D8-BFC4-000A27B49A96@major-k.de> Message-ID: <0376D7FE-8B04-11D8-94AC-003065683ECC@inspiredlogic.com> On Apr 10, 2004, at 7:24 AM, David Burgun wrote: > Not sure how to report bugs and not sure if I report this one. http://www.runrev.com/revolution/developers/bugdatabase/ regards, Geoff Canyon gcanyon at inspiredlogic.com From katir at hindu.org Sat Apr 10 11:43:45 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 10 Apr 2004 05:43:45 -1000 Subject: Help with paste... In-Reply-To: <40778092.2010605@hyperactivesw.com> References: <40761090.6050003@chipp.com> <8C0F9F7D-8AA7-11D8-8983-000A959D0AC6@hindu.org> <40778092.2010605@hyperactivesw.com> Message-ID: Something is happening for sure and it does point to Rev. The curly quote for the font I'm in shows clearly in the InDesign gliphs palette as assigned GID 210, This is the same ASCII code one will get if you actually type a curly quote in a Rev field itself and query for its ASCII code. but, if I copy a inDesignCurlyQuote(210) and paste into Rev. it gets converted to someWeirdRevAssignment(28) which is not a a valid character assignment in BBEdit's ASCII table, but falls in the sub-character range usually reserved for low-level machine codes-signals. ?? I am also getting extra spaces thrown in by Rev before these characters... the work around is, in my verbose "baby" xTalk mode of coding: case "Clean Text" put the selection into jai replace "?" with quote in jai replace "?" with quote in jai replace "?" with "'" in jai replace "?" with "'" in jai replace numToChar(4) with "" in jai replace numToChar(28) with Quote in jai replace numToChar(29) with Quote in jai replace numToChar(24) with "'" in jai replace numToChar(25) with "'" in jai put "? " & quote into tExtraSpace put "?" & quote into tSpaceOut replace tExtraSpace with tSpaceOut in jai put ". " & quote into tExtraSpace put "." & quote into tSpaceOut replace tExtraSpace with tSpaceOut in jai put "! " & quote into tExtraSpace put "!" & quote into tSpaceOut replace tExtraSpace with tSpaceOut in jai On Apr 9, 2004, at 7:05 PM, J. Landman Gay wrote: > On 4/9/04 11:28 PM, Sannyasin Sivakatirswami wrote: > >> If I Open InDesign and copy a piece of text "It's (That's: curly >> quote, capital Eye, lower case t, curly apostrophe, s) >> Now, if I paste this into a field into Rev 2.2 on OSX, select it and >> run this script against it: >> on mouseup >> put the selection into jai >> repeat for each char x in jai >> put charTonum(x) & cr after hum >> end repeat >> put cr & hum after the selection >> end mouseup >> I get a really strange result: >> ???It???s > > I wonder if some of this stuff is related to unicode problems in the > engine. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sat Apr 10 12:31:51 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 10 Apr 2004 11:31:51 -0500 Subject: RegEx question In-Reply-To: <4ADB7AB0-8AE8-11D8-AF69-000D93677F1E@skynet.be> Message-ID: <01ae01c41f19$57e00880$6601a8c0@precision340> Yves, As Brian pointed out, you just need to copy what you are doing with the month for the day... that is, take what Dar suggested: (0?[1-9]|[12][0-9]|3[01]) and just take out the ?: (0[1-9]|[12][0-9]|3[01]) This will enforce the need for leading zeroes. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Yves COPPE > Sent: Saturday, April 10, 2004 7:12 AM > To: How to use Revolution > Subject: Re: RegEx question > > > Hi Dar > > > > > Maybe this will work: > > > > function CheckDate pDateToCheck > > return > > > matchText(pDateToCheck,"\A(0?[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/ > > ([0-9][0-9][0-9][0-9])\z") > > end CheckDate > > > > It is not consistent yet as to whether the leading zero is > optional. > > It is optional for the day of the month, but required for the month. > > > > > i'm almost on the good regEx > but now I'd like that the day MUST be two chars and not an optional > > so : > > 05/04/2004 returns true > and > 5/04/2004 should return false (at this moment, it returns true) > > Can you give me one more hint ?? > > Amicalement. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Meitnik at aol.com Sat Apr 10 12:41:17 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sat, 10 Apr 2004 12:41:17 EDT Subject: long file names fixed! Yippie Message-ID: <15d.32479126.2da97dad@aol.com> In a message dated 04/10/2004 12:01:31 PM, use-revolution-request at lists.runrev.com writes: > so you can now choose files which are > really, really long on OSX > -- thank you Tuviah! I am scrambling to get funds for 2.2 as I type. I assume this fix works for answer file, ask file as well as URL file names?? Andrew From yvescoppe at skynet.be Sat Apr 10 13:45:42 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 10 Apr 2004 19:45:42 +0200 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation In-Reply-To: <000b01c41f08$f74c7900$0302a8c0@athlon> References: <20040410121247.A0A0C9300FE@mail.runrev.com> <000b01c41f08$f74c7900$0302a8c0@athlon> Message-ID: >> Hi Klaus, >> >> happy to see I'm not alone with the problem, but NOT happy of the >> bug... >> >> BUT >> >> I'm very astonished because the previous versions of Rev gave me no >> any >> problem with diacriticals chars in the pathway to a file >> it causes a bug for me since Rev 2.2....??? >> >> Can you insist to have this bug fixed asap ??? it causes me many >> problems since I've build stacks based on pathway to a file and since >> the last version, nothing runs anymore and at the other hand, I've >> made >> changes in many stacks to make them compatible with Rev 2.2 and I >> cannot go behind anymore... >> Hi Tuviah, Thank you for the quick answer... Greetings. Yves COPPE yvescoppe at skynet.be From mwieder at ahsoftware.net Sat Apr 10 14:02:48 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 10 Apr 2004 11:02:48 -0700 Subject: Floating window on Windows In-Reply-To: References: Message-ID: <1201213935.20040410110248@ahsoftware.net> Thomas- Saturday, April 10, 2004, 5:15:13 AM, you wrote: TMI> I am looking at a new project. On the Mac I will have a floating tool TMI> pallet using applescript to control other apps with. Can some one TMI> provide general information on what I can do on the Windows side to TMI> allow REV in a floating window to control other apps. By control I mean TMI> both application commands (cut, copy, new, paste, quit, etc.) and TMI> sending text to editable fields in the application (word page, excell TMI> table, etc.). TMI> Also, is there a way to do this with out going down the applescript TMI> route?? You might look into spawning a VBScript task. IIRC the System object is what you want. The language isn't very well documented, but I could probably dig up some urls if you need them. -- -Mark Wieder mwieder at ahsoftware.net From trevor at mangomultimedia.com Sat Apr 10 14:20:07 2004 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Sat, 10 Apr 2004 12:20:07 -0600 Subject: Talking to a GPS unit over USB Message-ID: Hi, I have this shiny new GPS unit with a USB interface and wanted to play around with communication between it and a Rev application on OS X. I would love to be able to download waypoints. I've never worked with USB connections (or serial) before and wondered if anyone has any experience in this area and could help get me started. I found the open driver command and it says it can be used for communication with USB devices but there are no examples. I did a quick search of the archives and didn't see anything either. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From psahores at easynet.fr Sat Apr 10 15:56:43 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 10 Apr 2004 21:56:43 +0200 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation In-Reply-To: <000b01c41f08$f74c7900$0302a8c0@athlon> References: <20040410121247.A0A0C9300FE@mail.runrev.com> <000b01c41f08$f74c7900$0302a8c0@athlon> Message-ID: <30767EFE-8B29-11D8-B7BD-000A95C61E96@easynet.fr> Thanks, Tuviah :) Pierre Le 10 avr. 04, ? 16:34, tuviah snyder a ?crit : >> > OK just fixed this, don't panic. Support for long files names from > 'answer > file' was added in 2.2 as per request (so you can now choose files > which are > really, really long on OSX). we needed to convert from UTF8 to ASCII. > I've > posted a quick update, should be available shortly. > > Are there any UMLAUT/ACCENTS bugs not related to answer file that need > to be > fixed right away? > > Tuviah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From ambassador at fourthworld.com Sat Apr 10 16:21:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Apr 2004 13:21:07 -0700 Subject: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA In-Reply-To: References: Message-ID: <40785733.6080104@fourthworld.com> MisterX wrote: >>Xavier wrote - >> >>>Well, since 2.2, the GM crashed RR, has completely >>>resized my fields in the wrong place (162 controls >>>in the discrete browser I dont wish to script in a >>>resizestack handler!) >> >>Just curious: how long did it take you to assign the >>Geometry Manager properties for those controls? >> >>And of the 162 controls, how many are repositioned/resized when the >>stack is resized? > > Roughly one third - roughly 60 controls. > > I spent around 1 to 3 hours adjusting the offsets! At a generous 30 seconds per object, if you had scripted a resizeStack handler you would have been done in half an hour and have total control over the resize behavior. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From katir at hindu.org Sat Apr 10 16:39:23 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 10 Apr 2004 10:39:23 -1000 Subject: Typing in field grinds to near halt Message-ID: <26A6AE18-8B2F-11D8-B665-000A959D0AC6@hindu.org> I have an "Audio_transcriber.rev" tool that a) plays an audio file from the local hard drive with a QT player and various buttons to stop resume back up etc.... b) a field below for transcribing the talk... I created a stand alone player which drive this tool and a user is now saying: " I was more than 3/4 complete with the transcription of 10Concord when the typing showing up on the screen started slowing down. At first it almost kept up with my typing then it slowed more and more so that I could type a whole phrase or sentence and only one or two letters would have by then shown up on the screen. I would have to stop and wait for the transcript to catch up with me. No it was not a siddhi that I became an amazingly quick typist. Ha ha! This started when I was about 1900 seconds into the talk if that is meaningful. Also slowing down was the response to the stop and resume buttons." Anyone know what might bring Rev to its knees? This particular user is Mac OSX. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From sids1 at bellsouth.net Sat Apr 10 16:40:29 2004 From: sids1 at bellsouth.net (Gray Steifel) Date: Sat, 10 Apr 2004 16:40:29 -0400 Subject: NumberFormat in field Message-ID: Hello, Converted a Hcard accounting program to Rev., where I use extensively the ?set numberFormat to 0.00? for all fields with numbers and/or the data sent to the field. How, if possible, does this work in Revolution? Thanks, Gray in Greensboro From gcanyon at inspiredlogic.com Sat Apr 10 17:05:25 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 10 Apr 2004 14:05:25 -0700 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation of tx and REV 2.2 In-Reply-To: <5F35A8B2-8AEF-11D8-BFC4-000A27B49A96@major-k.de> References: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> <8352AE27-8AE7-11D8-BE04-000D93677F1E@skynet.be> <5F35A8B2-8AEF-11D8-BFC4-000A27B49A96@major-k.de> Message-ID: I'm looking into this. regards, Geoff Canyon gcanyon at inspiredlogic.com On Apr 10, 2004, at 6:02 AM, Klaus Major wrote: > Bon jour Yves, > >>> just checked Godzilla :-) >>> I (surprise :-) reported this bug #534 in September 2003, >>> which is still marked as NEW. >>> No further comment... >>> >>> P.S. >>> Is the french version of RR already available? :-D >> >> Hi Klaus, >> >> happy to see I'm not alone with the problem, but NOT happy of the >> bug... >> >> BUT >> >> I'm very astonished because the previous versions of Rev gave me no >> any >> problem with diacriticals chars in the pathway to a file it causes a >> bug for me >> since Rev 2.2....??? > > Well, it also was in 2.1 somehow, but the maybe results were slightly > different... > > E.g. the Standalonebuilder would not work with files inside folders > with > umlauts/diacr. in their names... > >> Can you insist to have this bug fixed asap ??? > > Thank you very much for your confidence, but unfortunately you > overrate my influence ;-) > > BUT i could look for some "incriminating" pictures or video-footage in > my "blackmail"-archives... :-D > >> it causes me many problems since I've build stacks based on pathway >> to a file >> and since the last version, nothing runs anymore and at the other >> hand, I've >> made changes in many stacks to make them compatible with Rev 2.2 and >> I cannot go behind anymore... >> >> So I'm totaly blocked.... > > I added another comment to this bug in Godzilla, but that's all i can > do... > >> P.S. : I must acknowledge that you use the coarse French words well, >> better than me of German!!! > > Merci bien, monsieur :-) > >> Greetings. >> >> Yves COPPE >> yvescoppe at skynet.be > > Au revoir... > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sat Apr 10 17:06:31 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 10 Apr 2004 14:06:31 -0700 Subject: Typing in field grinds to near halt In-Reply-To: <26A6AE18-8B2F-11D8-B665-000A959D0AC6@hindu.org> References: <26A6AE18-8B2F-11D8-B665-000A959D0AC6@hindu.org> Message-ID: Could it be a memory issue? regards, Geoff Canyon gcanyon at inspiredlogic.com On Apr 10, 2004, at 1:39 PM, Sannyasin Sivakatirswami wrote: > I have an "Audio_transcriber.rev" tool that > > a) plays an audio file from the local hard drive with a QT player and > various buttons to stop resume back up etc.... > > b) a field below for transcribing the talk... > > I created a stand alone player which drive this tool and a user is now > saying: > > " I was more than 3/4 complete with the transcription of 10Concord > when the typing showing up on the screen started slowing down. At > first it almost kept up with my typing then it slowed more and more so > that I could type a whole phrase or sentence and only one or two > letters would have by then shown up on the screen. I would have to > stop and wait for the transcript to catch up with me. No it was not a > siddhi that I became an amazingly quick typist. Ha ha! This started > when I was about 1900 seconds into the talk if that is meaningful. > Also slowing down was the response to the stop and resume buttons." > > Anyone know what might bring Rev to its knees? This particular user is > Mac OSX. > > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sat Apr 10 17:10:31 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 10 Apr 2004 14:10:31 -0700 Subject: UMLAUT/ACCENTS probs on X, was:Panic with incorporation of tx and REV 2.2 In-Reply-To: References: <8DDDFBF3-8ADC-11D8-BFC4-000A27B49A96@major-k.de> <8352AE27-8AE7-11D8-BE04-000D93677F1E@skynet.be> <5F35A8B2-8AEF-11D8-BFC4-000A27B49A96@major-k.de> Message-ID: <8001DDBD-8B33-11D8-94AC-003065683ECC@inspiredlogic.com> On Apr 10, 2004, at 2:05 PM, Geoff Canyon wrote: > I'm looking into this. Of course, I saw Tuviah's response two minutes after sending this. Klaus, for me it was the incriminating pictures. If my parents ever found out... ;-) regards, Geoff Canyon gcanyon at inspiredlogic.com From dsc at swcp.com Sat Apr 10 19:08:52 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Apr 2004 17:08:52 -0600 Subject: Talking to a GPS unit over USB In-Reply-To: Message-ID: <08A50A32-8B44-11D8-B37D-000A9567A3E6@swcp.com> On Saturday, April 10, 2004, at 12:20 PM, Trevor DeVore wrote: > I have this shiny new GPS unit with a USB interface and wanted to play > around with communication between it and a Rev application on OS X. I > would love to be able to download waypoints. I've never worked with > USB connections (or serial) before and wondered if anyone has any > experience in this area and could help get me started. I found the > open driver command and it says it can be used for communication with > USB devices but there are no examples. I did a quick search of the > archives and didn't see anything either. I would expect that a GPS unit with a USB interface is set up to look just like serial. If that is not the case, you will not be able to establish communications without something special. See what the drivernames() function returns. (Don't worry if it does not show the built-in modem, that is a known bug.) You might recognized something that looks like the GPS. If you find something there, it is looking good. Try opening and closing it. If that works, try reading until empty repeatedly and append the results to a field. See if that looks promising. Dar Scott From dsc at swcp.com Sat Apr 10 19:17:37 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Apr 2004 17:17:37 -0600 Subject: NumberFormat in field In-Reply-To: Message-ID: <4171006B-8B45-11D8-B37D-000A9567A3E6@swcp.com> On Saturday, April 10, 2004, at 02:40 PM, Gray Steifel wrote: > Converted a Hcard accounting program to Rev., where I use extensively > the > ?set numberFormat to 0.00? for all fields with numbers and/or the data > sent > to the field. > > How, if possible, does this work in Revolution? The global numberFormat property comes into play whenever the result of a math operation or math function application is used as a string, as in the case when it is put into a field, used as an array key, or used with the '&' operator. Dar Scott From trevor at mangomultimedia.com Sat Apr 10 19:51:59 2004 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Sat, 10 Apr 2004 17:51:59 -0600 Subject: Talking to a GPS unit over USB In-Reply-To: <08A50A32-8B44-11D8-B37D-000A9567A3E6@swcp.com> References: <08A50A32-8B44-11D8-B37D-000A9567A3E6@swcp.com> Message-ID: <0E52BEEC-8B4A-11D8-9564-000A956C462A@mangomultimedia.com> On Apr 10, 2004, at 5:08 PM, Dar Scott wrote: > On Saturday, April 10, 2004, at 12:20 PM, Trevor DeVore wrote: >> I have this shiny new GPS unit with a USB interface and wanted to >> play around with communication between it and a Rev application on OS >> X. I would love to be able to download waypoints. I've never worked >> with USB connections (or serial) before and wondered if anyone has >> any experience in this area and could help get me started. I found >> the open driver command and it says it can be used for communication >> with USB devices but there are no examples. I did a quick search of >> the archives and didn't see anything either. > > I would expect that a GPS unit with a USB interface is set up to look > just like serial. If that is not the case, you will not be able to > establish communications without something special. > > See what the drivernames() function returns. (Don't worry if it does > not show the built-in modem, that is a known bug.) You might > recognized something that looks like the GPS. > > If you find something there, it is looking good. > > Try opening and closing it. > > If that works, try reading until empty repeatedly and append the > results to a field. See if that looks promising. Rats, it looks like it isn't going to work . driverNames() returns empty. There is a serial connection cable that I can get for it. I have a Keyspan serial->USB converter so I think I will pick that up and give it a try. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From katir at hindu.org Sat Apr 10 20:33:02 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 10 Apr 2004 14:33:02 -1000 Subject: Typing in field grinds to near halt In-Reply-To: References: <26A6AE18-8B2F-11D8-B665-000A959D0AC6@hindu.org> Message-ID: Could be... with OSX... what should I tell me beta user to do to test this? I'm a bit spoiled with a G4 with 1 gig RAM, so hard to emulate.. On Apr 10, 2004, at 11:06 AM, Geoff Canyon wrote: > Could it be a memory issue? > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com From dsc at swcp.com Sat Apr 10 20:43:37 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Apr 2004 18:43:37 -0600 Subject: Talking to a GPS unit over USB In-Reply-To: <0E52BEEC-8B4A-11D8-9564-000A956C462A@mangomultimedia.com> Message-ID: <453DDFC7-8B51-11D8-B37D-000A9567A3E6@swcp.com> On Saturday, April 10, 2004, at 05:51 PM, Trevor DeVore wrote: >> I would expect that a GPS unit with a USB interface is set up to look >> just like serial. If that is not the case, you will not be able to >> establish communications without something special. > Rats, it looks like it isn't going to work . driverNames() returns > empty. There is a serial connection cable that I can get for it. I > have a Keyspan serial->USB converter so I think I will pick that up > and give it a try. Rats. I am surprised; the GPS protocols are based on a family of navigation standards that specifies serial. Here is an alternative to driverNames() that might come up with a different answer. (I only know of driverNames() missing the built-in modem; if you see anything else in deviceNames() and not in driverNames(), please let me know.) -- Ken Ray and Dar Scott did this function deviceNames local theNames="", ioregOutput, skipLines, temp local IOTTYDevice, IODialinDevice, IOCalloutDevice set the hideConsoleWindows to true put shell("ioreg -n IOSerialBSDClient") into ioregOutput repeat forever put lineOffset("IOSerialBSDCLient",ioregOutput) into skipLines if skipLines is zero then return thenames delete line 1 to skipLines of ioregOutput -- Get all the data between the braces put char(offset("{",ioregOutput)) to (offset("}",ioregOutput)) of ioregOutput into temp get matchText(temp,"\"IOTTYDevice\" = \"(.*?)\"",IOTTYDevice) if it is not true then next repeat get matchText(temp,"\"IODialinDevice\" = \"(.*?)\"",IODialinDevice) if it is not true then next repeat get matchText(temp,"\"IOCalloutDevice\" = \"(.*?)\"",IOCalloutDevice) if it is not true then next repeat put IOTTYDevice,IODialinDevice,IOCalloutDevice & lineFeed after theNames end repeat end deviceNames Another clue that you can open it as serial is finding it with 'ls /dev/cu.*'. I think there are three categories of serial devices in OS X and I suspect that driverNames() only looks in one. Dar Scott From trevor at mangomultimedia.com Sat Apr 10 20:55:28 2004 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Sat, 10 Apr 2004 18:55:28 -0600 Subject: Talking to a GPS unit over USB In-Reply-To: <453DDFC7-8B51-11D8-B37D-000A9567A3E6@swcp.com> References: <453DDFC7-8B51-11D8-B37D-000A9567A3E6@swcp.com> Message-ID: On Apr 10, 2004, at 6:43 PM, Dar Scott wrote: >> Rats, it looks like it isn't going to work . driverNames() returns >> empty. There is a serial connection cable that I can get for it. I >> have a Keyspan serial->USB converter so I think I will pick that up >> and give it a try. > > Rats. I am surprised; the GPS protocols are based on a family of > navigation standards that specifies serial. > > Here is an alternative to driverNames() that might come up with a > different answer. (I only know of driverNames() missing the built-in > modem; if you see anything else in deviceNames() and not in > driverNames(), please let me know.) > > ... Thanks for passing along the function Dar. That showed the modem but not the GPS device. I went through the connection settings on my Garmin GPS unit and it looks as if the USB connection uses a proprietary Garmin protocol. I can select from multiple protocols with a serial connection (I just don't have a serial connector yet) so I will give that a try when I can get a hold of a serial cable for it. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From nnoydb at excite.com Sat Apr 10 22:31:34 2004 From: nnoydb at excite.com (Kevin) Date: Sat, 10 Apr 2004 22:31:34 -0400 (EDT) Subject: stackFiles BUG? Message-ID: <20040411023134.C1C72B6E5@xprdmailfe15.nwk.excite.com> I agree in the dialog is looks correct I thought the same thing. However, when I retrieved the "stackFiles" property (after setting it from the dialog the) format was , not ,,,...,. In fact may code encountered a error in 2.2. Orginal Code example: try if thePackage is not among the items of myCalingStacksFiles then if myCallingStacksFiles is empty then ... else ... end if end if catch myError ... end try Altered Code for 2.2: replace return with comma in myCallingStacksFiles try if thePackage is not among the items of myCalingStacksFiles then if myCallingStacksFiles is empty then ... else ... end if end if catch myError ... end try Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Sat 04/10, J. Landman Gay < jacque at hyperactivesw.com > wrote: From: J. Landman Gay [mailto: jacque at hyperactivesw.com] To: use-revolution at lists.runrev.com Date: Sat, 10 Apr 2004 00:09:45 -0500 Subject: Re: stackFiles BUG? On 4/9/04 12:49 PM, Kevin wrote:

> In version 2.2 using the Property Inspector if you select Stack File
> in the drop down and set a stack file the format of the "stackFiles"
> property will be what I listed in the previous email.


I'm not seeing that here. If I click on the little folder icon and
choose a stack, it goes into the list normally. I see only one comma --
the one that separates the stack name from the file path.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From dsc at swcp.com Sun Apr 11 01:15:09 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Apr 2004 23:15:09 -0600 Subject: NumberFormat in field In-Reply-To: <4171006B-8B45-11D8-B37D-000A9567A3E6@swcp.com> Message-ID: <342571BE-8B77-11D8-A612-000A9567A3E6@swcp.com> On Saturday, April 10, 2004, at 05:17 PM, Dar Scott wrote: > The global numberFormat property comes into play whenever the result > of a math operation or math function application is used as a string, > as in the case when it is put into a field, used as an array key, or > used with the '&' operator. I goofed. Though numberFormat is not associated with an object, it is not global in Revolution; it is local to a handler and even to a particular call of the function or command. Dar Scott From jswitte at bloomington.in.us Sun Apr 11 01:58:01 2004 From: jswitte at bloomington.in.us (Jim Witte) Date: Sun, 11 Apr 2004 00:58:01 -0500 Subject: Thoughts on screed about HC and Applescript Message-ID: <30E39C6C-8B7D-11D8-95F1-000393DC31DA@bloomington.in.us> Hi, A couple days ago, I submitted a long screed to Apple's Bugreporter (probably not the best place) as a feature request for Applescript. Then I posted it to the "Applescript Users" mailing list. The reactions were not exactly pretty. I'm wondering what people here think, since Rev is closer to HC (IMO) than AS is, especially my point at (1) about Cocoa and AS Studio being more 'intimidating' that HC, and my general idea of "desktop programming"? BTW, could Rev be used to do such "Desktop programming" - i.e. have a stack that would have a "clear" card (not opqaue) such that clicks to the card (but not objects on it which had scripts) would be passed to applications "underneath" the stack? You'd have to be able to make a "clear" card, and either have Rev sit on the very bottom of the windowing stack or the very top - probably the bottom, as to really integrate nicely, it would be desireably to have the ability to, say, you could put a Finder icon (MacOS) right next to a button in the Rev app, even if the Rev app had a field across from the button, like this: [Rev button] [Finder icon] [Rev field] The button and field would be part of the application, but the icon would have to sit between them. The only way I can see this happening is if the Rev stack were at the bottom of the windowing stack. And it *might* have to stay there, even when it's controls were activated. This might be an interesting idea for the Windows/Mac/Linux? GUIs of Rev to be able to do in the future.. -- "The Screed" -- It would be SO nice if in Applescript I could simply write: put 5 into tVar put "set x to" && quote & tVar & quote && "+10" into tCommand [...] than the rather cumbersome (and much less Englishlike) set tVar to 5 -- or equivalently 'copy 5 to tVar' set tCommand to "set x to \"" & tVar & "\"+10" [...] First of all, the word 'quote' is just easier on the eye than the escape-double-quote, except perhaps for people who are used to reading Perl for a living - which I don't think AS's audience is. The && operator for concatenation with a space is not as intuitive, but it is simple, and accomplishes a function that one often wants to do when composing text. It is both easier (some would say more concise) than using the 'space' keyword, and is easier on the eyes than writing "this string " & "has a space in it" with the space at the END of the first string literal - the eye can VERY easily miss that space, or worse, delete it by mistake. As for the 'put' command - I have never liked AS's 'set' command - it makes sense to *set* properties such as the height of an object. It does not however make as much sense to "set" a variable. It makes sense, but it's not what people generally say when they are referring to real world containers, which after all, are what variables are - containers. One never says "I set water into the bucket". HC succeeded because the programming language metaphors matched the real-world metaphors they were trying to emulate. AS doesn't do this as much (and I have written quite a lot of HC in my time, and a fair amount of AS too) The 'copy' command is closer to the English language usage, but again, not quote. To copy implies that the destination already exists, and that the source will continue to exist after the execution. This is true with variables, but it is also (assummed) true with 'put' and 'set' as well (that's where the metaphorical relation between computer-variables and real-world-objects breaks - the contents of variables are almost ALWAYS copied, whereas real-world objects cannot be generally) 'Set' also brings to mind to possibility that it is performing a refernce-copy instead of a value - like a 'clone' command (from NewtonScript). Which of course it doesn't either. When AS came out, I had hoped that I would either be able to type in HC scripts I had been writing for years *exactly* as they had been, and have them work (as far as they would - as HC had no application-object model), or that they would with very minor changes. Alas, that didn't happen, and it *continues* to frustrate me to this day, because I write something that would have worked in HC, and it doesn't in AS, and I can't figure out why. Most often this has to do with coercian of variables that didn't seem to be a problem in HC (having to write kludgy-looking things as "display dialog (tFile as string)" instead of having the AS compiler know enough to do the coercian of a file refernce to a string automatically. But that's another bug report - I'll have to come up with specific examples. Generally, I would hope that Apple would resurect the entire HC language syntax, and re-create it as an AS dialect (if those still exist in the current codebase - I know they did at one point). This would be of great benefit if there are still a bunch of HyperCard veterans like me out there (I don't know), especially if Applescript Studio were reworked into an interface as easy to use as HC (instead of requiring one to use xCode and IB, which while much more powerful, is also somewhat intimidating than just having a little palette with 15 or 18 buttons on it, creating little buttons, and editing their scripts all in one place.. Hypercard was one of the most innovative, possibly THE most innovative application or technology on the Mac ever, aside from the Mac itself. In my opinion, it should have been integrated directly into the system and Finder (buttons and fields on the desktop, in folders, etc), and made into a system scripting lanuage, combining what later was to be AppleEvents and AppleScript functionality, as well as UI scripting like QuicKeys. Network support should have been added, and more robust data transfer capabilities. If that had been done, HC would have been a platform for user-level programming (which it already was), and more so, for "user GUI design" - a concept which does not currently exist in ready form on either MacOSX OR Windows. SmallTalk and Squeak may have parts of it (I haven't played with thse much). This kind of technology, coupled with easily-accessible application-control and UI-scripting (comparable in part to VBA on Windows and a number of disparate pieces on MacOS including QuicKeys, iKey, AppleScript Studio, and MetaCard) YEARS before Windows did. With network ability, scripting ability (equivalent to JavaScript), and multimedia capabilities, HC could have formed the basis for the World Wide Web, taking the place of, or combining with the current protocols of HTML, XML, DHTML, JavaScript, Java, and all sorts of CGI platforms, as well as WebObjects. [some may recognize that last line..] Apple could still put together this "user GUI design" paradigm on the desktop end - and work toward integrating it more closely with Java, JavaScript, DHTML and the DOM, and WebObjects on the enterprise size - even now. It would undoubtedly be harder (technically and logistically), and the payoff would be much more uncertain, but if done correctly, it could possibly create the next interface revolution for the 21st century, after the desktop-metaphore pioneered at Xerox-PARC. It already exists in small forms in Squeak and some Java environments, but it has yet to reach the mainstream, and I believe will never reach the mainstream unless a large company commits to it. MS is probably not going to do so, or it likely already would have. Plus, for users, the "Steve Jobs keynote selling-point demonstration" is obvious: how would you like to be able to create a customizable list of stock quotes that would always be on your desktop, yet roll away at the click of a mouse, in only 6 lines of code? And it would take you less than 5 minutes to do." and it could be done, eith HC and SOAP queries.. -- (my further commentary from later on in the discussion on the Applescript list) -- Actually, either live SuperCard or Runtime Revolution. Supercard I think is a bit (or a lot - I haven't used it since v3) more polished, but Revolution has a lot of potential. And I didn't mean by the comment that "Hypercard was one of the most inovative (blah)" and the bit about the system integration that it can't be done - it certainly can, and faster. I wouldn't even want to *think* about writing a web browser in HC - but I might using Revolution or Applescript Studio . Nor did I mean that HC should be resurrected as it - God no. HC was the beginning, but it *is* dead now, and has been for a while (no color, very little or no multi-window support, little real menu support, etc - I never looked much at the 2.2 version). All these things *can* be done, and quite quickly given the tools - which are now freely available in xCode. I'm saying that if the functionality of AppleScript Studio were available on the desktop (rather than as a separate app), it might get a bigger a bigger user-base. How much bigger, I don't know. (1) I just have a feeling that Cocoa programming, and perhaps even Applescript studio programming, is seen as more intimidating that HC was, because of the design interface. I'm very possibly wrong on that, but I remember seeing a *lot* of stuff relating to HC (the DevStack collections, other external collections, reams of educational software) and I'm not sure if that is happening with Applescript Studio, although AS Studio still is relatively new. -- (another response, to a (non-favourable) comment someone made about my distinction between 'set' and 'put') -- Subject of this email: Re: "Putting minutes into timers..." (this becomes clear quite soon) >>> (I had written) >>> As for the 'put' command - I have never liked AS's 'set' command >>> - it >>> makes sense to *set* properties such as the height of an object. It >>> does not however make as much sense to "set" a variable. >> (The complainer [John. C] had written) >> It's quite natural. Do you put five minutes into a timer? Of course >> not, you >> set the timer for 5 minutes. That's the real way you set values. > (The 'peace maker' had written) > Well, that's the way _you_ think of it; and Jim thinks of it a > different > way. And don't get Howard Gardner started, or we'll be here all night. Interesting here, that John C. exactly makes my point: a timer is an object, not a container. According to my human-language/real-world metaphorical model, you use set with objects and put with containers, so you would *not* "put 5 minutes into a timer". This is starting to look like an interesting programming-psychology experiment.. And I'm starting to feel like a fool. I just wish Apple hadn't let HC sit for so long... Jim From rpresender at earthlink.net Sat Apr 10 22:23:30 2004 From: rpresender at earthlink.net (Robert Presender) Date: Sat, 10 Apr 2004 19:23:30 -0700 Subject: Save problem Message-ID: <3936F0FC-8B5F-11D8-80B7-000393A19046@earthlink.net> Hope someone can unravel this one. In all cases, the same development file is used which consists of a main stack and 5 substacks. 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file menu the following appears: Can't save stack (name) due to error: Can't open stack file. When OK is clicked, the save routine takes over and for each of the other substacks the same error msg appears. 2. Using V2.2 in the Classic mode, Save operates as it should. 3. Using 2.1.2 for OSX (10.2.8), Save operates as it should. Also noted that using V2.2 for OSX(10.2.8), Open Recent File does not list a current file. Assume that it is associated with 1. above. Regards .... Bob rpresender at earthlink.net http://home.earthlink.net/~rep.shareware From rpresender at earthlink.net Sat Apr 10 22:19:42 2004 From: rpresender at earthlink.net (Robert Presender) Date: Sat, 10 Apr 2004 19:19:42 -0700 Subject: Save problem Message-ID: Hope someone can unravel this one. The same development file is used which consists of a main stack and 5 substacks. 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file menu the following appears: Can't save stack (name) due to error: Can't open stack file. When OK is clicked, the save routine takes over and for each of the other substacks the same error msg appears. 2. Using V2.2 in the Classic mode, Save operates as it should. 3. Using 2.1.2 for OSX (10.2.8), Save operates as it should. Also noted that using V2.2 for OSX(10.2.8), Open Recent File does not list a current file. Assume that it is associated with 1. above. rpresender at earthlink.net http://home.earthlink.net/~rep.shareware From mcdomi at free.fr Sun Apr 11 06:05:46 2004 From: mcdomi at free.fr (Dom) Date: Sun, 11 Apr 2004 12:05:46 +0200 Subject: NumberFormat in field In-Reply-To: Message-ID: <1gc2t9s.1eks2rqojud7sM%mcdomi@free.fr> Gray Steifel wrote: > How, if possible, does this work in Revolution? There is nothing as practical in RR ;-) Though, you use the "format" function, as below: In a "budget" stack, I have two sets of flds the first one to note the expenses by category, one by line the second set contains sums by category (the name prefixed par a "s") the summation is provoked by a closefield (handler placed in the group script) to use the "sum" function I have to replace the cr by comma ===== on closefield put the short name of the target into lechamp replace comma with "." in fld lechamp -- to replace the comma used here in Europe put fld lechamp into montants replace return with comma in montants put "S" & lechamp into letotal put format("%3.2f",sum(montants)) into fld letotal end closefield ==== -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From gcanyon at inspiredlogic.com Sun Apr 11 11:59:59 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 11 Apr 2004 08:59:59 -0700 Subject: Typing in field grinds to near halt In-Reply-To: References: <26A6AE18-8B2F-11D8-B665-000A959D0AC6@hindu.org> Message-ID: <48EA6B51-8BD1-11D8-A2C8-003065683ECC@inspiredlogic.com> Can you try the same task on your machine? If the situation is otherwise similar, then memory is a likely culprit (although not certainly). regards, Geoff Canyon gcanyon at inspiredlogic.com On Apr 10, 2004, at 5:33 PM, Sannyasin Sivakatirswami wrote: > Could be... with OSX... what should I tell me beta user to do to test > this? I'm a bit spoiled with a G4 with 1 gig RAM, so hard to emulate.. > > > On Apr 10, 2004, at 11:06 AM, Geoff Canyon wrote: > >> Could it be a memory issue? >> >> regards, >> >> Geoff Canyon >> gcanyon at inspiredlogic.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sun Apr 11 12:30:44 2004 From: b.xavier at internet.lu (MisterX) Date: Sun, 11 Apr 2004 18:30:44 +0200 Subject: 2.2 WARNING - AATCHAAAAAAAA In-Reply-To: <40785733.6080104@fourthworld.com> Message-ID: Richard, I made a button in 2 minutes to clear all GM props took 10 seconds per object to reset the props and voila, now it works ok... This was not so hard... but why did it happen in the first place? Anyway, when the GM does work, it's a great time saver. It's fast and it is consistent. It lacks a couple features but it does the job. Thanks nonetheless for the tips and help. Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Saturday, April 10, 2004 22:21 > To: How to use Revolution > Subject: Re: 2.2 WARNING - AAAAAAAAAAAAAAAAAAAAAAAAAAAAA > > > MisterX wrote: > > >>Xavier wrote - > >> > >>>Well, since 2.2, the GM crashed RR, has completely > >>>resized my fields in the wrong place (162 controls > >>>in the discrete browser I dont wish to script in a > >>>resizestack handler!) > >> > >>Just curious: how long did it take you to assign the > >>Geometry Manager properties for those controls? > >> > >>And of the 162 controls, how many are repositioned/resized when the > >>stack is resized? > > > > Roughly one third - roughly 60 controls. > > > > I spent around 1 to 3 hours adjusting the offsets! > > At a generous 30 seconds per object, if you had scripted a resizeStack > handler you would have been done in half an hour and have total control > over the resize behavior. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Sun Apr 11 12:55:04 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun, 11 Apr 2004 06:55:04 -1000 Subject: empty selectedChunks fails to return insertion Point values Message-ID: I have a palette of html mark up tools that operate on the top window. I am unable to get the insertion point for an empty cursor from the selectedChunk function (it used to work!). A test button in the palette with its traversalOn set to false (so as not to deselect text in the top Stack). Simply: on mouseUp put the selectedChunk end mouseUp If text is selected in the top window we do get the expected response, e.g. char 4633 to 4654 of field 1 so my button, the field, and the selectedChunk function are apparently OK. But, if we simply insert the cursor somewhere and press the same button we get empty, zippo. But, the function, as documented, should return a string like this for just an insertion point: char 51 to char 50 of field 1 ===docs: Comments: The return value reports the selected text: the startChar is the first character of the selection, and the endChar is the last character. If no text is selected but the text insertion point is in a field, the startChar is the character after the insertion point, and the endChar is the character before the insertion point. In this case, the endChar is one less than the startChar. ======== Why is this not working? OS X... Rev 2.2 Can anyone confirm this is failing also on their Mac? OS X 10.3.3 This is a nuisance, (obviously) as I have to now prompt the user to select an empty space for insertion of stand alone elements like

when what is wanted is to simply place the cursor then click those respective buttons on the palette. ?? TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From kray at sonsothunder.com Sun Apr 11 13:01:44 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Apr 2004 12:01:44 -0500 Subject: empty selectedChunks fails to return insertion Point values In-Reply-To: Message-ID: <007601c41fe6$abb65950$6601a8c0@precision340> Sannyasin, Same problem coming from a palette, but if the button is on the same stack, it works (OS 10.3.3, Rev 2.2)... Sounds like a bug to me. In fact it seems like it might have been posted before, so you might want to check Bugzilla. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Sannyasin Sivakatirswami > Sent: Sunday, April 11, 2004 11:55 AM > To: use-revolution at lists.runrev.com > Subject: empty selectedChunks fails to return insertion Point values > > > I have a palette of html mark up tools that operate on the > top window. > I am unable to get the insertion point for an empty cursor from the > selectedChunk function (it used to work!). A test button in > the palette > with its traversalOn set to false (so as not to deselect text in the > top Stack). > > Simply: > > on mouseUp > put the selectedChunk > end mouseUp > > If text is selected in the top window we do get the expected > response, e.g. char 4633 to 4654 of field 1 so my button, the > field, and the > selectedChunk function are apparently OK. > > But, if we simply insert the cursor somewhere and press the > same button > we get empty, zippo. > > But, the function, as documented, should return a string like > this for > just an insertion point: > > char 51 to char 50 of field 1 > > ===docs: > Comments: > The return value reports the selected text: the startChar is > the first > character of the selection, and the endChar is the last character. > > If no text is selected but the text insertion point is in a > field, the > startChar is the character after the insertion point, and the endChar > is the character before the insertion point. In this case, > the endChar > is one less than the startChar. > ======== > > Why is this not working? OS X... Rev 2.2 Can anyone confirm this is > failing also on their Mac? > > OS X 10.3.3 > > This is a nuisance, (obviously) as I have to now prompt the user to > select an empty space for insertion of stand alone elements like > >
>
> > when what is wanted is to simply place the cursor then click those > respective buttons on the palette. > > ?? > TIA > > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sun Apr 11 13:04:47 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun, 11 Apr 2004 07:04:47 -1000 Subject: Typing in field grinds to near halt In-Reply-To: <48EA6B51-8BD1-11D8-A2C8-003065683ECC@inspiredlogic.com> References: <26A6AE18-8B2F-11D8-B665-000A959D0AC6@hindu.org> <48EA6B51-8BD1-11D8-A2C8-003065683ECC@inspiredlogic.com> Message-ID: <5644C35E-8BDA-11D8-A29B-000A959D0AC6@hindu.org> Well I have yet to do a long typing test, but if the player is set to a QT movie, as soon as I open the stack my CPU activity monitor peaks out completely... and this is on a G4 with 1Gig Ram. It drops back to about half, but then as asoon as I start typing in the field with a fairly normal speed, something strange happens: the CPU monitor starts jumping up to 75% usage... just as a result of typing...if I do something silly like paste huge chunks of text over and over again into the field, i can get the CPU monitor to peak right out, full. but, I'm not able to emulate failure to update the field as I type... it remains fully responsive, inserting text as fast as I can type. meanwhile the user who complained of a slow down has a G4 with only 512 K RAM... I asked him simply to quit the application and re-open it... the slow down went away. The QT audio file that is being play by the player is a 64 megabyte On Apr 11, 2004, at 5:59 AM, Geoff Canyon wrote: > Can you try the same task on your machine? If the situation is > otherwise similar, then memory is a likely culprit (although not > certainly). > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > > On Apr 10, 2004, at 5:33 PM, Sannyasin Sivakatirswami wrote: > >> Could be... with OSX... what should I tell me beta user to do to test >> this? I'm a bit spoiled with a G4 with 1 gig RAM, so hard to >> emulate.. >> >> >> On Apr 10, 2004, at 11:06 AM, Geoff Canyon wrote: >> >>> Could it be a memory issue? >>> >>> regards, >>> >>> Geoff Canyon >>> gcanyon at inspiredlogic.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Sun Apr 11 13:10:35 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun, 11 Apr 2004 07:10:35 -1000 Subject: empty selectedChunks fails to return insertion Point values In-Reply-To: <007601c41fe6$abb65950$6601a8c0@precision340> References: <007601c41fe6$abb65950$6601a8c0@precision340> Message-ID: <259C0B88-8BDB-11D8-A29B-000A959D0AC6@hindu.org> Yes indeed, Bugzilla Bug 1085 still unresolved.. On Apr 11, 2004, at 7:01 AM, Ken Ray wrote: > Sounds like a bug to me. In fact it seems like it might have been > posted > before, so you might want to check Bugzilla. > > Ken Ray From Meitnik at aol.com Sun Apr 11 13:44:48 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sun, 11 Apr 2004 13:44:48 EDT Subject: xml book... Message-ID: If I had to buy a book that would work well with the xml lib in rr, which book would it be to master xml tech tools? TIA, Andrew From webmaster at dreamscapesoftware.com Sat Apr 10 14:48:55 2004 From: webmaster at dreamscapesoftware.com (Dreamscape Software Webmaster) Date: Sat, 10 Apr 2004 20:48:55 +0200 Subject: Telnet with RR Message-ID: <005601c41f2c$7d4a2610$7db5d80a@WorkPC> I'm interested in being able to telnet into a mail server and do such things as list the messages, download and delete messages. I'm a little clueless on how to do such a thing in Revolution 2.2. I know how to do it in Telnet though. Can anyone help me get started? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From revolution at jaedworks.com Sun Apr 11 14:58:36 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 11 Apr 2004 11:58:36 -0700 Subject: Save problem In-Reply-To: <3936F0FC-8B5F-11D8-80B7-000393A19046@earthlink.net> References: <3936F0FC-8B5F-11D8-80B7-000393A19046@earthlink.net> Message-ID: At 7:23 PM -0700 4/10/2004, Robert Presender wrote: >1. Using V2.2 for OSX (10.2.8), when Save is selected from the file menu >the following appears: > > Can't save stack (name) due to error: > Can't open stack file. > >When OK is clicked, the save routine takes over and for each >of the other substacks the same error msg appears. Rev creates a backup file when it saves (with the same name as the file being saved, plus a ~ added to the end of the name), to prevent trashing the file if there's a problem during the save process. When the ~ file is saved, the original file is removed and the saved ~ file is renamed to the original file's name. This error sounds like it can't create the backup file. Is it possible that the path is too long or contains diacritical characters? (I think there was a known bug with this reported the other day.) I'd experiment with moving the stacks to another folder - closer to your home directory level and with no diacriticals or long folders names - and see whether that fixes it for the moment. -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From mcdomi at free.fr Sun Apr 11 16:06:02 2004 From: mcdomi at free.fr (Dom) Date: Sun, 11 Apr 2004 22:06:02 +0200 Subject: RegEx question In-Reply-To: <71F7D9B7-89EB-11D8-98BF-003065E14B04@skynet.be> Message-ID: <1gc3m4c.upo3gfludigwM%mcdomi@free.fr> Yves COPPE wrote: > I have a function to check if a string is a date in European format : > DD/MM/YYYY Date problems are daunting ;-) First, are you sure that the user's system date follows the "DD/MM/YYYY" scheme? Second, in this sort of problem, I tend to do a convert, such as: convert tDate from system date to english date then do a simple test: if tDate is a date then dosomething else doanotherthing because the "is a date" test works only for the the "english" date format (if I am not wrong) -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From lewisbruce at rogers.com Sun Apr 11 16:10:37 2004 From: lewisbruce at rogers.com (Bruce Lewis) Date: Sun, 11 Apr 2004 16:10:37 -0400 Subject: Command-click in a field Message-ID: Hi all, Command-click in an unlocked field seems to send a mouseup message to the field. This happens whether traversal is on or off. This does not seem to be documented. Is there any reason not to use it? Strangely, selectionChanged does not seem to be sent when the commandKey is down. Version 2.1.2 on Macintosh OS X. What I want is for the user to be able to click on a link in one part of a field while typing in another part of the field. Any help would be appreciated. Thanks. Bruce -- From yvescoppe at skynet.be Sun Apr 11 16:19:51 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 11 Apr 2004 22:19:51 +0200 Subject: RegEx question In-Reply-To: <1gc3m4c.upo3gfludigwM%mcdomi@free.fr> References: <1gc3m4c.upo3gfludigwM%mcdomi@free.fr> Message-ID: <9648C26A-8BF5-11D8-9989-000D93677F1E@skynet.be> Le 11-avr.-04, ? 22:06, Dom a ?crit : > Yves COPPE wrote: > >> I have a function to check if a string is a date in European format : >> DD/MM/YYYY > > Date problems are daunting ;-) > > First, are you sure that the user's system date follows the > "DD/MM/YYYY" > scheme? > > Second, in this sort of problem, I tend to do a convert, such as: > > convert tDate from system date to english date > > then do a simple test: > > if tDate is a date then dosomething else doanotherthing > > because the "is a date" test works only for the the "english" date > format (if I am not wrong) > > Thank for the tip ! Greetings. Yves COPPE yvescoppe at skynet.be From graham.samuel at wanadoo.fr Sun Apr 11 16:58:13 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Sun, 11 Apr 2004 22:58:13 +0200 Subject: How do I make a large scrolling window? Message-ID: <6.0.3.0.2.20040411220648.01c375a8@pop3.blueyonder.co.uk> Looking at the TD, it seems that to get a window to scroll, you make a group of all the objects in it, make it the same size as the stack (iw. the same size as the window the user sees), and give the group a scrollbar. The TD and the cookbook remain silent on the question of how you get something which **needs** to scroll, i.e. how you get objects into the space outside the boundaries of the group. Clearly this must be possible, otherwise there would be no need to scroll the group in the first place. To some extent I found I can work by making the group as big as possible, putting objects into it, and then making it smaller again so that it fits the window to be scrolled. I managed it, although I find it counterintuitive, but it left me with a problem. What is not clear is what happens if you want to have the scroll distance a lot larger (let's say higher) than the available screen size: how do you get to see the far-off parts of the group in order to populate it in the first place, using the usual method of positioning objects visually? My specific requirement is to have succession of small graphics (a bit like thumbnails in a photo album, tho actually buttons, with some other accompanying objects), one above the other, covering a vertical distance of perhaps 4000 pixels. It doesn't appear that the IDE provides a way of positioning these appropriately. I would like to define the height of the group to be (say) 4000 pixels, and then make the scrollbar active immediately so that I can put my thumbnails in the appropriate places in the 'invisible' part of the scrolling window by scrolling to the appropriate part of the group. I tried this, but it didn't work (as soon as the group got bigger than the window - i.e. stack - dimensions, the scrollbar ceased to operate, as far as I could see). Clearly I'm missing something, as IMO this is quite a common requirement. Can anyone give a simple recipe to get this working? This seems like the kind of thing that has been mentioned in recent discussions about the documentation - there is no clear, illustrated 'how to' info about scrollbars, unless of course I've missed it. TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From Meitnik at aol.com Sun Apr 11 17:59:09 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sun, 11 Apr 2004 17:59:09 EDT Subject: xml docs from rr Message-ID: <108.2e57de36.2dab19ad@aol.com> from docs: Example Code -------------- on revStartXMLTree -- prepare a stack to hold a data subset ask "Get XML data for which publisher?" --[this i get if it is empty then exit to top -- stop parsing --[this i get set the currPublisher of this stack to myPublisher -- store value --[this i dont get clone stack "Subtree" of this stack -- new stack to hold data subset --[this i dont get end revStartXMLTree this does not make sense to me, is this correct, or missing some info here??? Help. Andrew From gizmotron at earthlink.net Sun Apr 11 19:16:28 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 11 Apr 2004 16:16:28 -0700 Subject: xml book... In-Reply-To: Message-ID: <42AE89D6-8C0E-11D8-842A-000A95859272@earthlink.net> On Sunday, April 11, 2004, at 10:44 AM, Meitnik at aol.com wrote: > If I had to buy a book that would work well with the xml lib in rr, > which > book would it be to master xml tech tools? > > TIA, > Andrew Andrew, It depends on what you might mean by xml tech-tools. Some application developers have used XML editors to teach the use of writing in an XML editor with a back up transformation app that transforms that XML into a styled HTML page or website. So when it comes to tech-tools for content providers validated XML through the use of a schema type forces the user to add data properly for easy website deployment. Other uses for XML might be in the form of middle-ware applications for RDBMS programers or managers. Some application developers have made their own type specific versions of XML to backup application development collaborations. XML has become a recognized standard. I for instance am an anti-well-formed SGML/XML radical with my own easy version of MTML user. If you want a generalized beginning to XML as a whole then I would look at this website: http://www.xml.com/ , O'Reilly, XML.com. There are so many uses for XML that if you have a specific need you might want to learn about XML by the topic or area of interest best suited to your needs. Mark Brownell From bvg at mac.com Sun Apr 11 19:38:36 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 12 Apr 2004 01:38:36 +0200 Subject: How do I make a large scrolling window? In-Reply-To: <6.0.3.0.2.20040411220648.01c375a8@pop3.blueyonder.co.uk> Message-ID: <5A6834B8-8C11-11D8-954E-003065AD94A4@mac.com> The group does not need to be bigger then the window, infact, in this case, you want the group to be exactly as big as the stack. Then you set the scrollbar. Very important is to set the lockLoc of the group to true (on "Size & Position" in the inspector check "Lock Position and Size"). Now to get things scrolling you could set something within the group to the target size. For example (use message box for this): set the loc of image "placeholder" to 10, 4000 now your group is scrollable up to 4000 pixels. You can also drag your controls within the group around to get things scrolling, just use the "select grouped controls" mode and drag them out of bounds. another aproach could be to generate your "real" controls using a script: start editing group "Your groups name here" put 12,20 into myCoords repeat for 200 times create button set the loc of it to myCoords --set other properties of it here add 20 to item 2 of myCoords end repeat If this is all too complex for you then just ask again! On Sonntag, Apr 11, 2004, at 22:58 Europe/Zurich, Graham Samuel wrote: > ... > What is not clear is what happens if you want to have the scroll > distance a lot larger (let's say higher) than the available screen > size: how do you get to see the far-off parts of the group in order to > populate it in the first place, using the usual method of positioning > objects visually? > ... From norman at mrsystems.co.uk Sun Apr 11 19:39:40 2004 From: norman at mrsystems.co.uk (Norman Winn) Date: Mon, 12 Apr 2004 01:39:40 +0200 Subject: Variables Message-ID: <80701128-8C11-11D8-B9CE-003065CD9A80@mrsystems.co.uk> Hi, I am having trouble with stuff If I say: put button ID 1004 into gVar it appears to be accepted. So why can't I use the variable in the same way I use the button? Why do I want to do this? I am hoping to have a two-dimensional array of buttons so that, instead of referring to each button by name, I can refer to it using an array reference. Instead of saying: set the backgroundColor of button "B2" to "green" I want to say something like: set the backgroundColor of gArray[3][7] to "green" Please put me out of my misery, Norman From norman at mrsystems.co.uk Sun Apr 11 19:42:42 2004 From: norman at mrsystems.co.uk (Norman Winn) Date: Mon, 12 Apr 2004 01:42:42 +0200 Subject: use-revolution Digest, Vol 7, Issue 55 In-Reply-To: <20040409213609.AACE19300E6@mail.runrev.com> References: <20040409213609.AACE19300E6@mail.runrev.com> Message-ID: > Reason numero uno: A rational number *is* a real number -- the former > is a subset of the latter Is 1/3 the same as 0.333. (0.333 recurring)? Squaring 1/3 = 1/9. What does squaring 0.3333. give? It is a long while since I did my mathematical studies, so I could be wrong. However, my memory is that the definition of the number 1 as a real is the limit of 0.99999 recurring. Anyway, I am willing to be wrong on this. I am not at home so cannot consult the books from which my learning came. All results, when using real numbers, are limits. However, as to squaring being the inverse of taking a square root try this: Take any calculator, computer, abacus, pen and paper - whatever calculating device you like - and take the square root of 2. Repeat a large number of times. Eventually you end up with the answer 1. (The OS X calculator, when it first shows 1, still holds a decimal part - continuing long enough makes it disappear). Square 1 as many times as you like and you will not get back to 2. This 'inaccuracy' can appear to be an artefact of the limits of the calculating device. It is not. The problem is that, once a result needing an infinite number of decimal places to represent it enters the system, most operations on it do not have an inverse. Take pi. This number is known to great accuracy. When taking the square root of pi do you operate on: 3.14 3.142 3.1416 Clearly, however many decimal places you choose, squaring the result will not yield pi. Algebraically, this is no problem. Anyway, I suggest any mathematical castigation I deserve be sent off list as I don't won't to clog up the list, Norman From norman at mrsystems.co.uk Sun Apr 11 19:43:54 2004 From: norman at mrsystems.co.uk (Norman Winn) Date: Mon, 12 Apr 2004 01:43:54 +0200 Subject: Hello from a Filemaker renegade In-Reply-To: <20040410063127.982509300E9@mail.runrev.com> References: <20040410063127.982509300E9@mail.runrev.com> Message-ID: <17C81EBC-8C12-11D8-B30D-003065CD9A80@mrsystems.co.uk> Hi, As the person originating this thread and considering moving from Filemaker to RR I am aware that I must recreate my interface and set about choosing, learning an SQL type database system. My concerns in contemplating this move are: 1. Can I reproduce enough of my interface to satisfy my client? 2. Can I solve my speed bottlenecks? This is not unrelated to (1) as, if the client sees big speed improvements here, he is likely to be tolerant of interface differences. In this respect, I think the possibilities look very good. 3. Is there anything I cannot replicate with enough effort? 4. After the initial learning curve will my productivity be greater than with competing tools? 5. As RR's scripting is proprietary it is most critical the company stick around so my investment in time will not be lost. I cannot over emphasise how important the activity and supportiveness of this list is in providing reassurance. The potential benefits of the effort are large. If I take on the problems I have a solution that I own i.e. no runtime licences, that I can sculpt in myriad fashions not available in FM. I have data/interface separation. The solution is useable over WANs. I believe I get live backups with the right DB. I have better version control and more fluid update procedure ... Norman Winn From monte at sweattechnologies.com Sun Apr 11 20:13:07 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 12 Apr 2004 09:43:07 +0930 Subject: Telnet with RR In-Reply-To: <005601c41f2c$7d4a2610$7db5d80a@WorkPC> Message-ID: > I'm interested in being able to telnet into a mail server and do > such things > as list the messages, download and delete messages. I'm a little clueless > on how to do such a thing in Revolution 2.2. I know how to do it > in Telnet > though. > There's a pop library at http://www.troz.net/Rev/ that would probably serve our needs better than telnet. Cheers Monte From jacque at hyperactivesw.com Sun Apr 11 20:23:07 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 11 Apr 2004 19:23:07 -0500 Subject: Command-click in a field In-Reply-To: References: Message-ID: <4079E16B.9000700@hyperactivesw.com> On 4/11/04 3:10 PM, Bruce Lewis wrote: > Hi all, > > Command-click in an unlocked field seems to send a mouseup message to the > field. This happens whether traversal is on or off. > > This does not seem to be documented. Is there any reason not to use it? It is standard behavior that has been around since the beginning, so yes, you can use it. I'll bet it is documented somewhere, though I haven't checked. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Apr 11 20:26:24 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 12 Apr 2004 09:56:24 +0930 Subject: xml docs from rr In-Reply-To: <108.2e57de36.2dab19ad@aol.com> Message-ID: Hmm... from what I can see you've come across a documentation bug. I think "myPublisher" should be "it". Just incase you need a more general intro to this kind of message here goes: There are two types of XML parser (DOM and SAX). I forget what SAX stands for but DOM stands for Document Object Model. This is where you have a reference to a document and you access specific data within. SAX parsers send messages when they encounter things so the application can do something. Thankfully the industrial grade XML parser Tuviah has hooked up to Rev can do both. revStartXMLTree is one of these SAX messages and is just telling you that you've started parsing an XML document. Hope this helps Cheers Monte > > from docs: > Example Code > -------------- > on revStartXMLTree -- prepare a stack to hold a data subset > ask "Get XML data for which publisher?" --[this i get > if it is empty then exit to top -- stop parsing --[this i get > set the currPublisher of this stack to myPublisher -- store > value --[this > i dont get > clone stack "Subtree" of this stack -- new stack to hold data subset > --[this i dont get > end revStartXMLTree > > this does not make sense to me, is this correct, or missing some > info here??? > Help. > > Andrew > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Sun Apr 11 20:33:24 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 12 Apr 2004 10:03:24 +0930 Subject: Variables In-Reply-To: <80701128-8C11-11D8-B9CE-003065CD9A80@mrsystems.co.uk> Message-ID: > > Hi, > > I am having trouble with stuff > > If I say: > > put button ID 1004 into gVar > > it appears to be accepted. Yes it will be but the engine assumes you mean put the text of btn id 1004 into gVar. If you want an object reference then the best one is: put the long id of btn ID 1004 into gVar > I want to say something like: set the backgroundColor of > gArray[3][7] > to "green" We currently don't have tru multidimensional arrays either but you can use the following syntax to build your array: put the long id of btn ID 1004 into gArray[1,1] set the backgroundColor of gArray[1,1] to "green" Cheers Monte From Meitnik at aol.com Sun Apr 11 20:52:49 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sun, 11 Apr 2004 20:52:49 EDT Subject: xml uses and books to read Message-ID: <1ea.1db66f01.2dab4261@aol.com> In a message dated 04/11/2004 08:34:20 PM, use-revolution-request at lists.runrev.com writes: > There are so > many uses for XML that if you have a specific need you might want to > learn about XML by the topic or area of interest best suited to your > needs. > -- Since custom props can't have arrays (and using prop sets are a hack from my pov) -- yet, I am using xml as a data structure only. will this help narrow down the book i should read. I am finding the rr docs to be poor and poor examples too, sorry. This is my second pass on the rr docs. But am determined to master xml, just wish I didnt have to work so hard on it. Andrew From ambassador at fourthworld.com Sun Apr 11 21:10:15 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 11 Apr 2004 18:10:15 -0700 Subject: xml uses and books to read In-Reply-To: <1ea.1db66f01.2dab4261@aol.com> References: <1ea.1db66f01.2dab4261@aol.com> Message-ID: <4079EC77.9040807@fourthworld.com> Meitnik at aol.com wrote: >>There are so >>many uses for XML that if you have a specific need you might want to >>learn about XML by the topic or area of interest best suited to your >>needs. >>-- Since custom props can't have arrays (and using prop sets are a hack from > > my pov) -- yet, I am using xml as a data structure only. will this help narrow > down the book i should read. I am finding the rr docs to be poor and poor > examples too, sorry. This is my second pass on the rr docs. But am determined to > master xml, just wish I didnt have to work so hard on it. What aspects are giving you trouble? XML is just data given structure by putting it between starting and ending tags. Though an increasing number of applications use it for data storage, its primary benefit is in exchanging data with other apps. So once you find a task for which XML would be a good way to exchange data, find out which tags the others apps use and parse those out to get the data you're after. Even better for Rev users, Rev includes a good XML library that does most of the parsing for you. If you need something in native Transcript, Ken has a great Transcript-based XML lib: If you need to dig deeper, the XML spec is defined at the W3C site: So dive in - the waters are well charted. And if you get stuck in a marsh or rapids drop in here and decribe the terrain you've encountered and chances are someone else has already navigated it and can share the benefit of their experience. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pixelbird at interisland.net Sun Apr 11 21:26:47 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 11 Apr 2004 18:26:47 -0700 Subject: xml book... In-Reply-To: <20040411202015.05151930129@mail.runrev.com> Message-ID: Hi Andrew, > Date: Sun, 11 Apr 2004 13:44:48 EDT > From: Meitnik at aol.com > Subject: Re: xml book... > > If I had to buy a book that would work well with the xml lib in rr, which > book would it be to master xml tech tools? ----------- I don't know the answer, but I'd sure like to as well. Great question... Ken N. From webmaster at dreamscapesoftware.com Sat Apr 10 21:27:32 2004 From: webmaster at dreamscapesoftware.com (Dreamscape Software Webmaster) Date: Sun, 11 Apr 2004 03:27:32 +0200 Subject: Telnet with RR References: Message-ID: <001d01c41f64$2caa85a0$538dd80a@WorkPC> > There's a pop library at http://www.troz.net/Rev/ that would probably serve > our needs better than telnet. That Library worked great. I'm trying to make a program that sits on my taskbar and silently logs into a mail server every few minutes to scan my email for SPAM. Then if it finds any it removes it so my mail client will never see it. Any idea if anyone else has done this type of thing in Revolution? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Sat Apr 10 21:30:36 2004 From: webmaster at dreamscapesoftware.com (Dreamscape Software Webmaster) Date: Sun, 11 Apr 2004 03:30:36 +0200 Subject: Multiple Instances of Revolution Message-ID: <002a01c41f64$9a1a44e0$538dd80a@WorkPC> Every time I open a Revolution file from within Windows, another copy of Revolution 2.2 starts running. Is there any way to set up WindowsXP so it will open the file with a copy of Revolution that is already running? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Sat Apr 10 21:33:32 2004 From: webmaster at dreamscapesoftware.com (Dreamscape Software Webmaster) Date: Sun, 11 Apr 2004 03:33:32 +0200 Subject: Revolution Threaded Message Board Message-ID: <002b01c41f65$0320b690$538dd80a@WorkPC> Is anyone interested in using a Threaded Message Board for discussing Revolution? I have the Web Space and I'd like to build one. I just want to make sure people will use it. I like use-revolution mailing list, but I like message boards so much better. They keep my Inbox less full of messages, and I can communicate from any computer I'm on. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From monte at sweattechnologies.com Sun Apr 11 21:36:59 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 12 Apr 2004 11:06:59 +0930 Subject: Telnet with RR In-Reply-To: <001d01c41f64$2caa85a0$538dd80a@WorkPC> Message-ID: > > There's a pop library at http://www.troz.net/Rev/ that would probably > serve > > our needs better than telnet. > > That Library worked great. I'm trying to make a program that sits on my > taskbar and silently logs into a mail server every few minutes to scan my > email for SPAM. Then if it finds any it removes it so my mail client will > never see it. > > Any idea if anyone else has done this type of thing in Revolution? > I'm not sure if it's been done by rev before. OTOH It might be simpler to install a SPAM filter into your mail server and then just use a rule in your mail client to delete mailes your SPAM filter has identified as SPAM. Cheers Monte From kray at sonsothunder.com Sun Apr 11 21:41:58 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Apr 2004 20:41:58 -0500 Subject: xml uses and books to read In-Reply-To: <1ea.1db66f01.2dab4261@aol.com> Message-ID: <00e301c4202f$5bb6e0c0$6601a8c0@precision340> Andrew, If you like, you can look at my XML Library, which is done totally in Transcript. The docs are really clear about XML and how the library is used. http://www.sonsothunder.com/products/metacard/xmllib.htm HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Meitnik at aol.com > Sent: Sunday, April 11, 2004 7:53 PM > To: use-revolution at lists.runrev.com > Subject: Re: xml uses and books to read > > > > In a message dated 04/11/2004 08:34:20 PM, > use-revolution-request at lists.runrev.com writes: > > > > There are so > > many uses for XML that if you have a specific need you > might want to > > learn about XML by the topic or area of interest best > suited to your > > needs. > > -- Since custom props can't have arrays (and using prop sets are a > > hack from > my pov) -- yet, I am using xml as a data structure only. will > this help narrow > down the book i should read. I am finding the rr docs to be > poor and poor > examples too, sorry. This is my second pass on the rr docs. > But am determined to > master xml, just wish I didnt have to work so hard on it. > > Andrew > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Sun Apr 11 21:46:57 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 12 Apr 2004 11:16:57 +0930 Subject: Multiple Instances of Revolution In-Reply-To: <002a01c41f64$9a1a44e0$538dd80a@WorkPC> Message-ID: > Every time I open a Revolution file from within Windows, another copy of > Revolution 2.2 starts running. Is there any way to set up WindowsXP so it > will open the file with a copy of Revolution that is already running? Hmmm... you might be able to build a plugin that uses the old DDE external to do this. I'm not sure if it's still at xWorlds.com but if it is I believe the example does exactly this with the mc extension. So you just replace mc with rev ;-) Cheers Monte From monte at sweattechnologies.com Sun Apr 11 21:47:02 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 12 Apr 2004 11:17:02 +0930 Subject: Revolution Threaded Message Board In-Reply-To: <002b01c41f65$0320b690$538dd80a@WorkPC> Message-ID: > Is anyone interested in using a Threaded Message Board for discussing > Revolution? I have the Web Space and I'd like to build one. I > just want to > make sure people will use it. > There was a discussion some time ago on having a web based interface to this list. I prefer to use email and rules to keep my inbox clean. Cheers Monte From ambassador at fourthworld.com Sun Apr 11 21:55:27 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 11 Apr 2004 18:55:27 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: <17C81EBC-8C12-11D8-B30D-003065CD9A80@mrsystems.co.uk> References: <20040410063127.982509300E9@mail.runrev.com> <17C81EBC-8C12-11D8-B30D-003065CD9A80@mrsystems.co.uk> Message-ID: <4079F70F.7080102@fourthworld.com> Norman Winn wrote: > As the person originating this thread and considering moving from > Filemaker to RR I am aware that I must recreate my interface and set > about choosing, learning an SQL type database system. > > My concerns in contemplating this move are: > > 1. Can I reproduce enough of my interface to satisfy my client? Probably more so. User interfaces are primarily event-driven, responsing to user gestures on controls. FMP is pretty much limited to two events: mouseUp on a button and menuPick in a menu item. In FMP you have only one modifiable menu, so if you need a custom file import routine you can't put it in the File menu where a user would expect it, but must place it in the Scripts menu. Rev has dozens of events to respond to, so the flexibility is almost mind-boggling when coming from FMP. For example, it's quite common for a double-click event in a list to trigger the default action, usually a button in the layout. This triggering is not possible in FMP, but is a trival extra to include in Rev: on mouseDoubleUp click at the loc of btn 1 end mouseDoubleUp Other advantages I like are the flexibility and ease of parsing using chunk expressions ("get word 1 of line 2 of gMyGlobalVar"), and being able to use true global variables rather than needing to add fields to a table, and many others.... > 2. Can I solve my speed bottlenecks? This is not unrelated to (1) as, > if the client sees big speed improvements here, he is likely to be > tolerant of interface differences. In this respect, I think the > possibilities look very good. I would be surprised if you find areas where FMP's DB outperforms the highly-optimized MySQL engine, or its UI outperforms Rev. And I don't know if this is now and option in FMP7, but in previous versions windows were not double-buffered, which gave layouts a bit of a clumsy effect during redraw (akin to Mac Classic dialogs, in which controls are drawn directly to screen one at a time rather than into a buffer and having the buffer copied over in one move). Rev allows you control over double-buffering (just set the alwaysBuffer of a stack to true), making for a very smooth, modern-feeling redraw. > 3. Is there anything I cannot replicate with enough effort? I've come across nothing I can't deliver more gracefully in Rev. Some things are easier than others, as it true with any system, but overall the balance I find with Rev is quite favorable. I still like FMP for internal databases -- my billing system is built in FMP (though I'm slowly migrating portions to Rev). FMP is a great way to put together workgroup solutions really quickly with minimal effort. But for client deliverables, though I like to include FMP in our tools evaluation matrix at the outset of a new project, it usually gets booted early on because of its minimal UI flexibility. > 4. After the initial learning curve will my productivity be greater than > with competing tools? In my experience, yes. As a true scripting language you'll get farther than with the confines of FMP's point-and-click "scripting", and as a very-high-level language you'll get more done per line than in most other languages. > 5. As RR's scripting is proprietary it is most critical the company > stick around so my investment in time will not be lost. I cannot over > emphasise how important the activity and supportiveness of this list is > in providing reassurance. The Rev engine was acquired by Runtime Revolution Ltd. last year, after having been in the market for 13 years under its former name, MetaCard. With almost no marketing, MetaCard Corp. was able to keep expanding the engine and the number of supported platforms without difficulty, and with Runtime Revolution Ltd's strong marketing efforts (they just won a MacEddy for v2.2) there should be no reason for this growth to slow down. Of course, if you've been in the business as long as I have you know that products come and go, even from big companies like Oracle and Sybase. But enough people have enough invested in the engine and it has a sufficiently strong and well-demonstrated value proposition that I have confidence in it being around for many years to come. MySQL, of course, looks like it's going to be here a very, very long time. > The potential benefits of the effort are large. If I take on the > problems I have a solution that I own i.e. no runtime licences, that I > can sculpt in myriad fashions not available in FM. I have data/interface > separation. Amen. De-coupling UI, logic, and data carries tremendous value, and is easy to do with Rev. In a way, Rev could be said to be far closer to 4D than to FMP, as 4D provides a rich programming language and event-driven UIs. But even then, IMNSHO comparisons favor Rev's simpler language and greater variety of supported platforms, not to mention the strength of relying on MySQL for storage and retrieval, which is fast becoming a de-facto standard. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Cubist at aol.com Sun Apr 11 22:03:33 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Sun, 11 Apr 2004 22:03:33 EDT Subject: precision and reals Message-ID: <1d7.1e5905f8.2dab52f5@aol.com> sez norman at mrsystems.co.uk >> Reason numero uno: A rational number *is* a real number -- the former >> is a subset of the latter > >Is 1/3 the same as 0.333. (0.333 recurring)? Yes, it is. >Squaring 1/3 = 1/9. What does squaring 0.3333. give? If you square the infinitely recurring decimal .3333..... you get the infinitely recurring decimal .11111... So yes, squaring 1/3 gives you 1/9 regardless of whether you do it as real or rational. Just for grins, try squaring .3, .33, .333, and so on, with an ever-increasing number of 3s after the decimal point. Are there any discernable patterns in the results? >It is a long while since I did my mathematical studies, so I could be >wrong. However, my memory is that the definition of the number 1 as a >real is the limit of 0.99999 recurring. It is -- but .99999... is *not* what you get when you square .3333... You appear to be confusing two different quantities here. >All results, when using real numbers, are limits. Nope. All results, when using *limited-precision approximations of* real numbers, are limits. >However, as to squaring being the inverse of taking a square root try >this: > >Take any calculator, computer, abacus, pen and paper - whatever >calculating device you like - and take the square root of 2. Repeat a >large number of times. Eventually you end up with the answer 1. (The OS >X calculator, when it first shows 1, still holds a decimal part - >continuing long enough makes it disappear). Square 1 as many times as >you like and you will not get back to 2. >This 'inaccuracy' can appear to be an artefact of the limits of the >calculating device. It is not. Sure it is. A calculating device with *infinite* precision *would not* exhibit the behavior you describe above. >The problem is that, once a result >needing an infinite number of decimal places to represent it enters the >system, most operations on it do not have an inverse. Nope. There's the infinite-precision real number you'd *like* to work with... and there's the *approximation to* that real number that you're *forced* to work with, when your "system" only allows for *finite* precision. Two different numbers, even if they are generally very close to one another. >Take pi. This number is known to great accuracy. When taking the square >root of pi do you operate on: > >3.14 >3.142 >3.1416 You use whichever you like; just be aware that each of those numbers is merely an *approximation* *of* the *true* value of pi. How close of an apporximation is good enough? You tell me... >Clearly, however many decimal places you choose, squaring the result >will not yield pi. Sure -- because any *finite* number of decimal places in the expansion of pi *is* *not* *pi*. Why would you expect to get *pi*, if you square the root of some number which *isn't* pi? >Anyway, I suggest any mathematical castigation I deserve be sent off >list as I don't won't to clog up the list, Actually, I thought that your misconception touched on a point that's well worth reminding people of: The limits of precision in our computing machinery. Just as "the map is not the territory", so it is that an N-digit approximation of a real number is not *the number*! From jimlyons at earthlink.net Sun Apr 11 22:21:06 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Sun, 11 Apr 2004 22:21:06 -0400 Subject: use-revolution Digest, Vol 7, Issue 66 In-Reply-To: <20040412003252.813229300DD@mail.runrev.com> References: <20040412003252.813229300DD@mail.runrev.com> Message-ID: <0DF9484B-8C28-11D8-8419-000A95893982@earthlink.net> On Apr 11, 2004, at 8:32 PM, Graham wrote: > Looking at the TD, it seems that to get a window to scroll, you make a > group of all the objects in it, make it the same size as the stack > (iw. the > same size as the window the user sees), and give the group a > scrollbar. The > TD and the cookbook remain silent on the question of how you get > something > which **needs** to scroll, i.e. how you get objects into the space > outside > the boundaries of the group. ... and shortly after, BVG wrote: > ... Now to get things scrolling you could set something within the > group to > the target size. ... This is the best way I have found to do this. I make a graphic object as big as the expected contents of the group. It can be adjusted later if needed. Make the graphic small at first, then group it, add the scroll bar to the group, size the group to the window and lock it, then set the dimensions of the graphic. > You can also drag your controls within the group around to get things > scrolling, just use the "select grouped controls" mode and drag them > out of bounds. I've not had any luck with this method. Between the automatic sizing and scrolling of the group while you are trying to work, the group gets really twitchy and things can get stuck, or dance around while you try to drag them. Having a "panel" to work off of calms it down, but it's still tricky to work with manually. You'll notice that the scroll bar disappears when you are in edit group mode, so you have to leave that mode to scroll the group. To make it even trickier (with Rev 2.1.2 on OS X) the arrow tool won't operate it when you first leave edit group mode; you have to select the browse tool, then the arrow tool again. If you are putting lots of the same type of object in the group, you can use this trick: don't use edit group mode; put the first object in the group, then use Select Grouped Controls and select and duplicate the object -- since it is in a group, the copy is too. HTH, Jim Lyons From rpresender at earthlink.net Sun Apr 11 22:33:01 2004 From: rpresender at earthlink.net (Robert Presender) Date: Sun, 11 Apr 2004 19:33:01 -0700 Subject: Save problem Message-ID: Hi Jeanne. Thank you for your response. Names are short and no diacritical characters. Put all stacks into a new folder without success. Finally created a new main stack and new substacks to mimic the original. Then I copied the cards of all the original stacks to their new respective stacks. Also copied the scripts of the original stacks to their respective new stacks. This solved the Save problem. Since all scripts in the new stacks and copied cards are the same, I am at a loss as to what went wrong in the original using OSX, Rev 2.2 . Anyway, it is working now. Regards .... Bob > At 7:23 PM -0700 4/10/2004, Robert Presender wrote: >> 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file >> menu >> the following appears: >> >> Can't save stack (name) due to error: >> Can't open stack file. >> >> When OK is clicked, the save routine takes over and for each >> of the other substacks the same error msg appears. > > > Rev creates a backup file when it saves (with the same name as the > file being saved, plus a ~ added to the end of the name), to prevent > trashing the file if there's a problem during the save process. When > the ~ file is saved, the original file is removed and the saved ~ > file is renamed to the original file's name. > > This error sounds like it can't create the backup file. > > Is it possible that the path is too long or contains diacritical > characters? (I think there was a known bug with this reported the > other day.) I'd experiment with moving the stacks to another folder - > closer to your home directory level and with no diacriticals or long > folders names - and see whether that fixes it for the moment. > -- > jeanne a. e. devoto ~ jaed at jaedworks.com > http://www.jaedworks.com From pixelbird at interisland.net Sun Apr 11 23:08:18 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 11 Apr 2004 20:08:18 -0700 Subject: How do I make a large scrolling window? In-Reply-To: <20040412003252.813229300DD@mail.runrev.com> Message-ID: Hi Graham, > Date: Sun, 11 Apr 2004 22:58:13 +0200 > From: Graham Samuel > Subject: How do I make a large scrolling window? > What is not clear is what happens if you want to have the scroll distance a > lot larger (let's say higher) than the available screen size: how do you > get to see the far-off parts of the group in order to populate it in the > first place, using the usual method of positioning objects visually? ----------- Make a large image and group it a smaller size so that it scrolls. Then edit the group, adding objects where you want them. I made a metamap set that scrolls via mousemove techniques. I could have added scrollbars to the group, but I didn't want them in that case. The large map is 3ft x 4 ft. That's waaay offscreen and even waaay waaaaay larger than the window it's in. As such, it's a big file, and not practical for emailing. However, you're in luck. I made a demo that shows how it works, same basic scripts. I added a couple of buttons just now by editing the group. This I can send if you want to take a look. It scrolls via the scrollbars _or_ the mousemove routine, which backscrolls the scrollbars correctly at the same time. Might give you some ideas. OK to send it to you offlist? Ken N. From Meitnik at aol.com Sun Apr 11 23:27:29 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sun, 11 Apr 2004 23:27:29 EDT Subject: xml kinds Message-ID: In a message dated 04/11/2004 09:57:29 PM, use-revolution-request at lists.runrev.com writes: > If you like, you can look at my XML Library, which is done totally in > Transcript. The docs are really clear about XML and how the library is used. > -- before I study using your flavor of xml, how is better or different from rrxml? the xml.com site has overwhelming info, where do I start reading and not to become frustrated with features not in rrevxml tools? I maybe slow sometimes, but once I get it, its gotten deep into me ;-) andrew > > From steve at messimercomputing.com Sun Apr 11 23:28:10 2004 From: steve at messimercomputing.com (Stephen Messimer) Date: Sun, 11 Apr 2004 23:28:10 -0400 Subject: No subject Message-ID: <6C5F2202-8C31-11D8-B430-000A27D75508@messimercomputing.com> > Looking at the TD, it seems that to get a window to scroll, you make a > group of all the objects in it, make it the same size as the stack > (iw. the > same size as the window the user sees), and give the group a > scrollbar. The > TD and the cookbook remain silent on the question of how you get > something > which **needs** to scroll, i.e. how you get objects into the space > outside > the boundaries of the group. Clearly this must be possible, otherwise > there > would be no need to scroll the group in the first place. To some > extent I > found I can work by making the group as big as possible, putting > objects > into it, and then making it smaller again so that it fits the window > to be > scrolled. I managed it, although I find it counterintuitive, but it > left me > with a problem. > > What is not clear is what happens if you want to have the scroll > distance a > lot larger (let's say higher) than the available screen size: how do > you > get to see the far-off parts of the group in order to populate it in > the > first place, using the usual method of positioning objects visually? Make the scrolling group, as described above as height that fits in your window design. Now lock the size and position. Click the select Grouped button in the Rev task bar Select a button that is in your group and duplicate it. Move it downward until it almost disappears at the bottom of the group mover the thumb position of the groups elevator down. Now duplicate another button. Using this method you can create a a group that contains a column containing a fairly large number of buttons all of which may be assigned icons. Regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 http://www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- version 1.0.5 available Now! From kray at sonsothunder.com Sun Apr 11 23:46:36 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Apr 2004 22:46:36 -0500 Subject: xml kinds In-Reply-To: Message-ID: <00f801c42040$c449c060$6601a8c0@precision340> > > If you like, you can look at my XML Library, which is done > totally in > > Transcript. The docs are really clear about XML and how the > library is > > used. > > -- before I study using your flavor of xml, how is better > or different from > rrxml? RR's XML is done with a DLL, was written in C++ (I believe) and supports SOAP and DTDs. The documentation is what you have in the Transcript Dictionary and the SOAP examples. My XML Library is done in pure Transcript and the documentation is included. No DLLs need to be used, and if you get the Standard version, you can tweak the XML parsing to your heart's content to make custom decisions based on certain tags (if you like). Main difference is that the RR XML DLL is faster and does more, but is not as flexible or well documented as my library. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bfr at nwlink.com Mon Apr 12 01:02:53 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Sun, 11 Apr 2004 22:02:53 -0700 Subject: Hello from a Filemaker renegade In-Reply-To: <4079F70F.7080102@fourthworld.com> Message-ID: > > In a way, Rev could be said to be far closer to 4D than to FMP, as 4D > provides a rich programming language and event-driven UIs. But even > then, IMNSHO comparisons favor Rev's simpler language and greater > variety of supported platforms, not to mention the strength of relying > on MySQL for storage and retrieval, which is fast becoming a de-facto > standard. Just remember that according to the terms of the MySQL license, if you haven't used the commercial license (and I suspect most people conveniently ignore this) you are obligated to release the source of your solution for free. From FlexibleLearning at aol.com Mon Apr 12 01:14:01 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 12 Apr 2004 01:14:01 EDT Subject: empty selectedChunks fails to return insertion Point values Message-ID: <1d7.1e5a46eb.2dab7f99@aol.com> >I have a palette of html mark up tools that operate on the top window. >I am unable to get the insertion point for an empty cursor from the >selectedChunk function (it used to work!). A test button in the palette >with its traversalOn set to false (so as not to deselect text in the >top Stack). Does this not work? on mouseUp go stack "myStack" put the selectedChunk end mouseUp /H From FlexibleLearning at aol.com Mon Apr 12 01:17:48 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 12 Apr 2004 01:17:48 EDT Subject: RegEx question Message-ID: <138.2d85e14a.2dab807c@aol.com> >Date problems are daunting ;-) >First, are you sure that the user's system date follows the "DD/MM/YYYY" >scheme? >Second, in this sort of problem, I tend to do a convert, such as: >convert tDate from system date to english date >then do a simple test: >if tDate is a date then dosomething else doanotherthing >because the "is a date" test works only for the the "english" date >format (if I am not wrong) Hmmm... Not exactly, Yves: "put the seconds is a date" returns true. /H From psahores at easynet.fr Mon Apr 12 01:30:38 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Mon, 12 Apr 2004 07:30:38 +0200 Subject: Hello from a Filemaker renegade In-Reply-To: <17C81EBC-8C12-11D8-B30D-003065CD9A80@mrsystems.co.uk> References: <20040410063127.982509300E9@mail.runrev.com> <17C81EBC-8C12-11D8-B30D-003065CD9A80@mrsystems.co.uk> Message-ID: <884CAE6A-8C42-11D8-8803-000A95C61E96@easynet.fr> Le 12 avr. 04, ? 01:43, Norman Winn a ?crit : > Hi, > > As the person originating this thread and considering moving from > Filemaker to RR I am aware that I must recreate my interface and set > about choosing, learning an SQL type database system. > > My concerns in contemplating this move are: > > 1. Can I reproduce enough of my interface to satisfy my client? Yes, for sure. > > 2. Can I solve my speed bottlenecks? This is not unrelated to (1) as, > if the client sees big speed improvements here, he is likely to be > tolerant of interface differences. In this respect, I think the > possibilities look very good. Yes. RR + a rock-solid SQL db server (PostgreSQL or FireBird prefered there) will let you get more speed improvements than you will ever need. In using this kind of solutions, both the speed and the security/integrity of the dats are never going to be a problem anymore. Under the *nixes platforms, to handle the same tasks, the RR engine runs 60 times faster than the 1.4.x issue of the JVM. On the database side, it's no really ways to compare FileMaker and PostgreSQL in about speed considerations : As a basic datafiles system FMP is going slower and slower with the growing files where the "response-time to queries " is almost not indexed on the length and the number of the tables handled by a PostgreSQL server. > 3. Is there anything I cannot replicate with enough effort? No. > > 4. After the initial learning curve will my productivity be greater > than with competing tools? Yes. Three months after switching from a flat-files db paradigm to PostgreSQL, i had learned all what i needed to know about running PostgreSQL as an RR back-end db system. > > 5. As RR's scripting is proprietary it is most critical the company > stick around so my investment in time will not be lost. I cannot over > emphasise how important the activity and supportiveness of this list > is in providing reassurance. To get the confidence of the customers, the best is to explain (and show by the results) how much the use of RR+SQL, instead of Java+object/relational mapping+SQL as an example, make sense in both terms of "Time-to-Market" and Security... In about security, Java coding and against the last tendances who says it's good to use as many frameworks as possible to integreate prebuild jsp/java-beans, we have to remerber that only core java coding let us control what we are "putting in the boxes"... > > The potential benefits of the effort are large. If I take on the > problems I have a solution that I own i.e. no runtime licences, that I > can sculpt in myriad fashions not available in FM. I have > data/interface separation. The solution is useable over WANs. I > believe I get live backups with the right DB. I have better version > control and more fluid update procedure ... > True ! I'm using MC/RR to build WAN Web/ERP's "n-tier" apps since 1998 and, even if i'm always watching around to learn how others are doing (Java, PHP and so on...), i just know that there are no best ways, for me, to design, code, deploy and handle such kind of apps than in using MC/RR in about the application's logic and a rock-solid ACID SQL datawarehouse solution as the backend system. Hope this can help :) Best, Pierre > Norman Winn > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From katir at hindu.org Mon Apr 12 01:43:44 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun, 11 Apr 2004 19:43:44 -1000 Subject: Command-A not working in OSX Standalones Message-ID: <5C57B256-8C44-11D8-A29B-000A959D0AC6@hindu.org> OS X 10.3.3 rev 2.2 Please try this and confirm or tell me you can get it workging: I have this button contents in pulldown button menu named "Edit" Select All/A Cut/X Copy/C Paste/P and this in the script: on menuPick pWhich switch pWhich case "Cut" cut break case "Copy" copy break case "Paste" paste break case "Select All" if the mode of the topStack is not 1 and the selectedField is empty then beep exit menuPick end if if the selectedField is not empty then if the lockText of the selectedField then exit to MetaCard select text of the selectedField end if end switch end menuPick this works in the IDE... but if I build a stand alone and use it as a player and open a stack with the above button... the cmd-X, cmd-C, cmd-P all work as expected when text is selected. But if the insertion point is in a field and you hit cmd-A, nothing happens... if I chose it from the menu, it works, but now with the cmd-A key?? Any clues on how to fix this? Cmd-A to select text is a universally expected behavior. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From chipp at chipp.com Mon Apr 12 02:03:01 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 12 Apr 2004 01:03:01 -0500 Subject: 2.2 WARNING - AATCHAAAAAAAA In-Reply-To: References: Message-ID: <407A3115.9030706@chipp.com> X, Stay tuned...I'm in beta as we speak for Altuit's new Layout Manager. It should do the trick. -Chipp From chipp at chipp.com Mon Apr 12 04:47:22 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 12 Apr 2004 03:47:22 -0500 Subject: new altPlugin: Layout Manager Message-ID: <407A579A.8030109@chipp.com> Hi again all, I've been working with on a few cross-platform jobs, and I've really needed some capabilities I couldn't find easily in RR. In particular, I needed: 1) A reliable Geometry Manager which could auto-generate resizeStack scripts, so I could later edit them if I needed to provide more dynamic types of object sizing and control (think sliding panes, etc..) 2) I wanted to be able to have my stacks resize themselves depending on the platform they are on. Also, I wanted to be abled to designate different sizes and behaviors for objects based upon different platforms. 3) I wanted something simple, which I can add to easily. 4) It is important for the tool to stay out of the way, and not create a problem when working with other tools/libraries. So, over the last couple of weeks, I've created a new plugin called "Layout Manager." It's available at: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm I'll try and put up a video tutorial later this week. Thanks to Ken Ray for his support and help on some scripting issues. As with our many other plugins, it's free. Also, there is a new update to the altPluginToolbar. You can just click the "check for updates" button on your altPluginToolbar menu and it will auto-download. The only feature added is a "Get Plugins" button. And all who use altPluginToolbar should routinely check for updates, as I often do post bug fixes and feature enhancements without any other notice. best, Chipp From the site: ---------------------------------------------------------- Use Layout Manager to handle resizable stacks and control layouts for cross-platform applications. Here's how it works. With Layout Manager, you can create different layouts with controls differently sized and with different behaviors for up to 3 different platforms. Layout Manager includes a library stack, and auto-generates resizeStack scripts, which users may modify at a later time if they wish. Typically, you should first layout the controls on a stack which is the minimum width and height you want the stack to be. Then, use the Set MinWidth and Set MinHeight commands on the Stack tab. Now you're ready to set the resizer properties for those controls you wish to be 'dynamic.' You'll need to add the altLayoutLib library stack to your project. This is done by clicking the add altLayout library button in the Stack tab. You will be then prompted to automatically insert a preOpenStack script. If your stack has only a single card which people will be resizing, then put the script in the card script, else put it in the stack script. Please note: Layout Manager puts it's own 'on preOpenStack' handler at the top of the card/stack script. If you already have an 'on preOpenStack' handler then you'll need to manually copy the 'start using stack "altLayoutLib"' command into it. Next, choose the Control tab, and choose the platform radio button you're currently wanting to set the resizer properties for. Use Mac OSX, or Win XP(and all Win32), or Other (for Linux, or Mac OS9). Now, press the arrow button to go to 'Pointer' mode. You can now resize controls and set their behaviors. Be sure and click the Set Layout Props button when you are finished editing a single control. Each time you click the Set Layout Props button, Layout Manager builds it's own 'on resizeStack' handler at the top of the card/stack script you previously designated when adding the library. If you don't want Layout Manager to replace it's own scripts, then edit the comments next to the resizeStack handler and then the next time Layout Manager builds a resizeStack script it will insert it above your custom version. You only then need to cut/paste the auto-generated scripts into your own 'on resizeStack' handler. One of the added benefits of taking this approach, is the developer has full control over the resizeStack handler and can modify it to suit special situations. From mcdomi at free.fr Mon Apr 12 05:12:30 2004 From: mcdomi at free.fr (Dom) Date: Mon, 12 Apr 2004 11:12:30 +0200 Subject: RegEx question In-Reply-To: <138.2d85e14a.2dab807c@aol.com> Message-ID: <1gc4kac.lsgec21kf4a40M%mcdomi@free.fr> wrote: > Hmmm... Not exactly, Yves: You must be wrong, /H, my name is not "Yves" ;-) > "put the seconds is a date" returns true. Okay -- but the problem was about entering a date: I think nobody tries to enter seconds as today's date ;-) -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From mcdomi at free.fr Mon Apr 12 05:12:31 2004 From: mcdomi at free.fr (Dom) Date: Mon, 12 Apr 2004 11:12:31 +0200 Subject: RegEx question In-Reply-To: <71F7D9B7-89EB-11D8-98BF-003065E14B04@skynet.be> Message-ID: <1gc4lal.11gwqwiydlchsM%mcdomi@free.fr> Yves COPPE wrote: > I have a function to check if a string is a date in European format : > DD/MM/YYYY Also: to work around date entering problems, what about using a calendar substack, such as Sarah's? This eliminates all entering problems, and ensures you the date is exactly the format you want! I did that, even for myself, in a "budget" stack, to enter daily expenses by category -- clicking the "date" field brings me the calendar substack, and I have only to choose a date, not thinking about a possible typo ;-) I even "downsized" the calendar stack to choose among month-year (to summarize monthly expenses) -- Vous parlez fran?ais ? faites un tour sur le groupe francophone ! revolutionfr-subscribe at yahoogroupes.fr Jetez un oeil sur RevoBlog ! From beat.c at hetnet.nl Mon Apr 12 05:09:51 2004 From: beat.c at hetnet.nl (Beat Cornaz) Date: Mon, 12 Apr 2004 11:09:51 +0200 Subject: Rev. Books Message-ID: Hello all, I'm happy with the Rev. program, but I am not so happy with the documention. Are there any good books on revolution.? What about the Dan Shafer books. Are they good (all 4 of them?). Is there a good reference guide available (either book or pdf)? What will you experienced Revolutionarists recommend. Thanks, Beat. -- From beat.c at hetnet.nl Mon Apr 12 05:50:17 2004 From: beat.c at hetnet.nl (Beat Cornaz) Date: Mon, 12 Apr 2004 11:50:17 +0200 Subject: Editing Line graphic Message-ID: Hi all, thanks for the warm welcome to your group and thanks to Martin, Mark & Richard for their answers. Sorry about forgetting the Subject. My intention is to be able to click on a line and drag and resize and reposition it. With the tip to use 'the points' of a line (instead of the rectangle which I was using) it became a matter of half an hour to figure it out. e. I had posted this reply before, but it was held back by the moderator, because I had included my script and it had become too big. So if anyone likes to have the script, mail to me privately (with a clear subject) otherwise I might take your message for spam. Greetings, Beat -- From graham.samuel at wanadoo.fr Mon Apr 12 07:31:32 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Mon, 12 Apr 2004 13:31:32 +0200 Subject: How do I make a large scrolling window? Message-ID: <6.0.3.0.2.20040412130407.01c93ec0@pop3.blueyonder.co.uk> Thanks to Bj?rnke von Gierke, Jim Lyons, Ken Norris and Steve Messimer for their informative replies. Because of you guys, I think I understand the principle now - I also think it's a dreadful kludge. In effect you have to trick the IDE into helping you, and clearly there are some difficulties in using a purely visual way of placing objects, which is so easy for areas up to window-size. As a future improvement, one can imagine a dialog box which asks how big you'd like your scrolled area to be, and which then places the scrollbar(s) in preparation for the developer filling the whole area by 'normal' means. But at least it can be done. I certainly vote for some additional documentation here, since the existing docs describe only the situation where a scrollbar is redundant (the scrolled group being exactly the same size as the window that displays it). I am not sure if all this should go in Bugzilla (proposed improvements section). Ken N, I would certainly appreciate a look at your demo: please do send it to me off list. Thanks again Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Mon Apr 12 07:18:19 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Mon, 12 Apr 2004 13:18:19 +0200 Subject: xml uses and books to read Message-ID: <6.0.3.0.2.20040412130743.01c9fcb8@pop3.blueyonder.co.uk> On Sun, 11 Apr 2004 18:10:15 -0700, Richard Gaskin wrote: >[...] >XML is just data given structure by putting it between starting and >ending tags. Though an increasing number of applications use it for >data storage, its primary benefit is in exchanging data with other apps. > >So once you find a task for which XML would be a good way to exchange >data, find out which tags the others apps use and parse those out to get >the data you're after. Richard, you are the king of commonsense! This simple idea has made me more aware of the **idea** of XML than many another text I have had the misfortune to read. The other bit of info about the **principles** of XML that is missing for me is the answer to the question: "If XML tags and structures can be made to represent pretty well anything, how does the user community for a particular dialect/ language/ data model expressed in XML communicate? I mean, if a particular set of XML tags and structures is about chemical compounds or the parts of a bicycle or whatever, is there a generalised metalinguistic way of defining what the representation means, or does the community share some more or less informal description and then conform to that?" Good luck to Andrew - I'd like a report about how he gets on! Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From christian.brossier at free.fr Mon Apr 12 08:43:29 2004 From: christian.brossier at free.fr (Christian Brossier) Date: Mon, 12 Apr 2004 14:43:29 +0200 Subject: use-revolution Digest, Vol 7, Issue 65 In-Reply-To: <20040411202014.D3A9A930127@mail.runrev.com> References: <20040411202014.D3A9A930127@mail.runrev.com> Message-ID: I got the bug with diacritical characters in the path : blabla/monD?veloppement/toto is wrong but blabla/monDeveloppement/toto get no problem. idem with ?/Revolution ?/? ; I need ?/Revolution/? Le 11 avr. 04, ? 22:20, use-revolution-request at lists.runrev.com a ?crit : > De: "Jeanne A. E. DeVoto" > Date: 11 avril 2004 20:58:36 GMT+02:00 > ?: How to use Revolution > Objet: R?p : Save problem > R?pondre ?: How to use Revolution > > > At 7:23 PM -0700 4/10/2004, Robert Presender wrote: >> 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file >> menu >> the following appears: >> >> Can't save stack (name) due to error: >> Can't open stack file. >> >> When OK is clicked, the save routine takes over and for each >> of the other substacks the same error msg appears. > > > Rev creates a backup file when it saves (with the same name as the > file being saved, plus a ~ added to the end of the name), to prevent > trashing the file if there's a problem during the save process. When > the ~ file is saved, the original file is removed and the saved ~ file > is renamed to the original file's name. > > This error sounds like it can't create the backup file. > > Is it possible that the path is too long or contains diacritical > characters? (I think there was a known bug with this reported the > other day.) I'd experiment with moving the stacks to another folder - > closer to your home directory level and with no diacriticals or long > folders names - and see whether that fixes it for the moment. > -- > jeanne a. e. devoto ~ jaed at jaedworks.com > http://www.jaedworks.com From gizmotron at earthlink.net Mon Apr 12 10:31:30 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 12 Apr 2004 07:31:30 -0700 Subject: xml uses and books to read In-Reply-To: <1ea.1db66f01.2dab4261@aol.com> Message-ID: <169E13CC-8C8E-11D8-B4F8-000A95859272@earthlink.net> On Sunday, April 11, 2004, at 05:52 PM, Meitnik at aol.com wrote: > >> In a message dated 04/11/2004 08:34:20 PM, >> Mark Brownell writes: >> >> There are so many uses for XML that if you have a specific need you >> might want to learn about XML by the topic or area of interest best >> suited to your needs. > -- Since custom props can't have arrays (and using prop sets are a > hack from > my pov) -- yet, I am using xml as a data structure only. will this > help narrow > down the book i should read. I am finding the rr docs to be poor and > poor > examples too, sorry. This is my second pass on the rr docs. But am > determined to > master xml, just wish I didnt have to work so hard on it. > > Andrew At an earlier time I posted this stack and message below. It is a set of functions that can store data as simple XML, MTML, and parse it by calling a location. You could store records inside any array address then use simple MTML tags inside each record for specific data. This is just an example stack. You would be expected to know how to work with the functions after reading the examples. MTML, if used for the purpose of transforming it into well-formed validated XML, only lacks a proper header and root level to parse with the rev based parser. So a dual use parsing system could be run using the simpler to use MTML & the rev based parser if that interests you. Earlier: Dimensional Arrays: This thing is not a real array within an array, it just acts like one. It provides a way to stare the data as MTML, like simple XML. This version is created with functions that can be copied to your own scripts. Paste this into the message window: go URL "http://www.gizmotron.org/revolution/dimensionalList.rev" -- see stack scripts for functions -- function addArray dataString, spotArray, theData -- Note: addArray() will replace data that already exists in the dataString -- Example for adding multi-dimensional data: -- put addArray(myMTMLDataString, "[1][4][5]", "John Doe") into field "showMTML" -- put addArray(myMTMLDataString, "1,4,5", "John Doe") into field "showMTML" -- see stack scripts for functions -- function getArray dataString, spotArray -- Example for getting multi-dimensional data: -- put getArray(myMTMLDataString, "[1][4][5]") into field "showData" -- put getArray(myMTMLDataString, "1,4,5") into field "showData" Mark Brownell From ambassador at fourthworld.com Mon Apr 12 10:43:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Apr 2004 07:43:57 -0700 Subject: xml uses and books to read In-Reply-To: <6.0.3.0.2.20040412130743.01c9fcb8@pop3.blueyonder.co.uk> References: <6.0.3.0.2.20040412130743.01c9fcb8@pop3.blueyonder.co.uk> Message-ID: <407AAB2D.1000604@fourthworld.com> Graham Samuel wrote: > On Sun, 11 Apr 2004 18:10:15 -0700, Richard Gaskin > wrote: > >> [...] >> XML is just data given structure by putting it between starting and >> ending tags. Though an increasing number of applications use it for >> data storage, its primary benefit is in exchanging data with other apps. >> >> So once you find a task for which XML would be a good way to exchange >> data, find out which tags the others apps use and parse those out to get >> the data you're after. > > > Richard, you are the king of commonsense! This simple idea has made me > more aware of the **idea** of XML than many another text I have had the > misfortune to read. > > The other bit of info about the **principles** of XML that is missing > for me is the answer to the question: > > "If XML tags and structures can be made to represent pretty well > anything, how does the user community for a particular dialect/ > language/ data model expressed in XML communicate? I mean, if a > particular set of XML tags and structures is about chemical compounds or > the parts of a bicycle or whatever, is there a generalised > metalinguistic way of defining what the representation means, or does > the community share some more or less informal description and then > conform to that?" This is commonly done through a DTD, or "document type declaration", and is often the second line in an XML file (the first being the XML declaration). For example, here are the first two lines from Rev's info.plist file: The first line describes the XML version used, and the second provides the location of the DTD that defines the type of XML document it is. For more on DTDs see: The annotated version is likely more helpful: This discussion on type declarations is quite readable, if a little sparse: There are many more good references and tutorials: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tvogelaar at de-mare.nl Mon Apr 12 11:03:27 2004 From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare)) Date: Mon, 12 Apr 2004 17:03:27 +0200 Subject: LibCGI-based CMS - anyone willing to collaborate? Message-ID: <8DB820A9-8C92-11D8-8CAE-0030656FD666@de-mare.nl> Hi all, I am planning to create a content management system based on Runtime Revolution and using the LibCGI library. It will be freeware and opensource. There are many good freeware CMSs made in PHP, ASP or Perl, but for us XTalkers, modifying and customising these can be quite complex because these are made in non-familiar languages. I want to be able to modify more then just the template... Are there any programmers willing to collaborate with me to make it? From kray at sonsothunder.com Mon Apr 12 11:19:57 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Apr 2004 10:19:57 -0500 Subject: xml uses and books to read In-Reply-To: <6.0.3.0.2.20040412130743.01c9fcb8@pop3.blueyonder.co.uk> Message-ID: <015f01c420a1$a22f9f70$6601a8c0@precision340> > "If XML tags and structures can be made to represent pretty > well anything, > how does the user community for a particular dialect/ > language/ data model > expressed in XML communicate? I mean, if a particular set of > XML tags and > structures is about chemical compounds or the parts of a bicycle or > whatever, is there a generalised metalinguistic way of > defining what the > representation means, or does the community share some more or less > informal description and then conform to that?" In my (albeit limited) experience, it has been the latter. Many times the data tends to expose a "natural" structure. For example, a product inventory could naturally break down to: etc. Graham, it might be good to look at the documentation for my XML Library, which goes into some detail about XML and has examples of how it's used: http://www.sonsothunder.com/products/metacard/downloads/xmllibdocs.pdf (it's about 462K, FYI) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From trevor at mangomultimedia.com Mon Apr 12 11:30:01 2004 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Apr 2004 09:30:01 -0600 Subject: re. [ANN] EnhancedQT 0.5.4 - Now OS 9 compatible In-Reply-To: References: Message-ID: <43791E92-8C96-11D8-AD45-000A956C462A@mangomultimedia.com> On Apr 7, 2004, at 6:17 AM, Malte Brill wrote: > Hi Trevor, > > could you please add a make a donatin - paypal button to your site? > > Even though I only have had a quick look yet I feel I?d like to send > you > some money for your efforts and support your work as your code will > defenetly support mine. > > Thank you so much! It's hard to turn down a request like that :-). I've added a PayPal Donation link to the EnhancedQT page. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dan at clearvisiontech.com Mon Apr 12 11:30:36 2004 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 12 Apr 2004 08:30:36 -0700 Subject: Password Field In-Reply-To: <20040410121247.A0A0C9300FE@mail.runrev.com> Message-ID: Good morning! Does anyone have a routine for typing in a field and displaying bullets - but preserving the text? As if it was a password field. I am making a user login window with "Username" and "Password" fields. Don't you think the "password" field should display bullets (or asterisks)? I could write it myself... But I figured someone out there has done this already. :) Thanks! Dan From soapdog at mac.com Mon Apr 12 11:58:33 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 12 Apr 2004 12:58:33 -0300 Subject: LibCGI-based CMS - anyone willing to collaborate? In-Reply-To: <8DB820A9-8C92-11D8-8CAE-0030656FD666@de-mare.nl> References: <8DB820A9-8C92-11D8-8CAE-0030656FD666@de-mare.nl> Message-ID: <3FDF0896-8C9A-11D8-B922-0003936D012E@mac.com> On Apr 12, 2004, at 12:03 PM, Terry Vogelaar (de Mare) wrote: > Hi all, > > I am planning to create a content management system based on Runtime > Revolution and using the LibCGI library. It will be freeware and > opensource. > > There are many good freeware CMSs made in PHP, ASP or Perl, but for us > XTalkers, modifying and customising these can be quite complex because > these are made in non-familiar languages. I want to be able to modify > more then just the template... > > Are there any programmers willing to collaborate with me to make it? We're working in parallel!!!! I am also building this! I have some specs and design I'll share on the list or at my page... code is going steady, it's petty easy. I am inspired by Userland Frontier for I think PHP, ASP and Perl are not the way to go. Do you have something ready? need anything? try doing this: http://home.soapdog.org:8081/ this will take you to my ServerWorkz plataform, it's not LibCGI based, it's self contained, a WebServer, a Database and dev framework. You might find it fun and maybe inspiring. It's done in 100% transcript. Cheers Andre > -------------- next part -------------- From paul.springer at sensis.com Mon Apr 12 12:12:57 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Mon, 12 Apr 2004 12:12:57 -0400 Subject: locally numbered fields Message-ID: I have been reading through Volume 1 of Dan's book and I have a question. He talks about using locally numbered fields to easily loop through the fields on a card. He explicitly talks about not using the field's name or ID. I don't understand how this mapping occurs; how do you assign local, temporary IDs to fields so that you can then refer to them as "field x" (where x is one of these local IDs) within the script? -Paul From wouter.abraham at pi.be Mon Apr 12 12:38:39 2004 From: wouter.abraham at pi.be (Wouter) Date: Mon, 12 Apr 2004 18:38:39 +0200 Subject: Password Field In-Reply-To: <20040412160004.D43059300B4@mail.runrev.com> References: <20040412160004.D43059300B4@mail.runrev.com> Message-ID: On 12 Apr 2004, at 18:00, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Mon, 12 Apr 2004 08:30:36 -0700 > From: Dan Friedman > Subject: Password Field > To: RunRev Mail List > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Good morning! > > Does anyone have a routine for typing in a field and displaying > bullets - > but preserving the text? As if it was a password field. I am making > a user > login window with "Username" and "Password" fields. Don't you think > the > "password" field should display bullets (or asterisks)? I could write > it > myself... But I figured someone out there has done this already. :) > > Thanks! > Dan > > Hi, Have a look at: But the bug is still in Rev 2.2. To remedy this, follow the link: http://lists.runrev.com/pipermail/use-revolution/2004-April/034720.html Greetings, WA From yvescoppe at skynet.be Mon Apr 12 12:38:35 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 12 Apr 2004 18:38:35 +0200 Subject: Password Field In-Reply-To: References: Message-ID: Le 12-avr.-04, ? 17:30, Dan Friedman a ?crit : > Good morning! > > Does anyone have a routine for typing in a field and displaying > bullets - > but preserving the text? As if it was a password field. I am making > a user > login window with "Username" and "Password" fields. Don't you think > the > "password" field should display bullets (or asterisks)? I could write > it > myself... But I figured someone out there has done this already. :) > > Thanks! > Dan > > I have in my main stack a field named "Pass" with this script in the fld local thisPassword on returninfield get thisPassword if it is " then go to stack else answer "Invalid password !" end if close this stack end returninfield on enterinfield returninfield end enterinfield on keydown whichKey put whichKey after thisPassword put "*" after field "pass" --asterisk or whatever another char you want end keyDown on backspaceKey put empty into field "pass" put "" into thisPassword end backspaceKey on deleteKey put empty into field "pass" put "" into thisPassword end deleteKey hope this helps Greetings. Yves COPPE yvescoppe at skynet.be From dsc at swcp.com Mon Apr 12 12:41:50 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 12 Apr 2004 10:41:50 -0600 Subject: locally numbered fields In-Reply-To: Message-ID: <4BB28E74-8CA0-11D8-9EFE-000A9567A3E6@swcp.com> On Monday, April 12, 2004, at 10:12 AM, Springer, Paul wrote: > He talks about using locally numbered fields to easily loop through the > fields on a card. He explicitly talks about not using the field's name > or > ID. I don't understand how this mapping occurs; how do you assign > local, > temporary IDs to fields so that you can then refer to them as "field x" > (where x is one of these local IDs) within the script? This is the layer within that type of control. You don't need to assign it. (Though they may not apply to the example in looping over fields, there is nothing wrong with using names and IDs.) Dar Scott From 3mcgrath at adelphia.net Mon Apr 12 13:22:33 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 12 Apr 2004 13:22:33 -0400 Subject: Rev. Books In-Reply-To: References: Message-ID: REV printed docs for - Reference Reading/Browsing REV pdf docs for - Electronic Browsing REV included docs for - Quick lookup for spelling/syntax and "See Also" feature. REV included Cookbook for - simulated answers Dan Shafer's Book for - How to and Intro etc. Tom On Apr 12, 2004, at 5:09 AM, Beat Cornaz wrote: > Hello all, > > I'm happy with the Rev. program, but I am not so happy with the > documention. Are there any good books on revolution.? What about the > Dan Shafer books. Are they good (all 4 of them?). Is there a good > reference guide available (either book or pdf)? What will you > experienced Revolutionarists recommend. > > Thanks, Beat. > -- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From Meitnik at aol.com Mon Apr 12 13:55:58 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Mon, 12 Apr 2004 13:55:58 EDT Subject: rr xml docs, II Message-ID: <1d7.1e65096c.2dac322e@aol.com> Hi, Ok rrxml gives "callbacks" while processing xml data, but the examples dont really show me why have them or use them. These are the "callbacks": revStartXMLData elementData revStartXMLNode nodeAttributes revStartXMLTree revEndXMLNode revEndXMLTree would someone please show me better examples or reasons for these? TIA Andrew From dan at clearvisiontech.com Mon Apr 12 15:01:14 2004 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 12 Apr 2004 12:01:14 -0700 Subject: Password Field In-Reply-To: <20040412160004.7FD9F9300A9@mail.runrev.com> Message-ID: Yves, Thanks! That works great. Don't you just love this list?!!! >> Good morning! >> >> Does anyone have a routine for typing in a field and displaying >> bullets - >> but preserving the text? As if it was a password field. I am making >> a user >> login window with "Username" and "Password" fields. Don't you think >> the >> "password" field should display bullets (or asterisks)? I could write >> it >> myself... But I figured someone out there has done this already. :) >> >> Thanks! >> Dan > I have in my main stack a field named "Pass" with this script in the > fld > > > local thisPassword > on returninfield > get thisPassword > if it is " then > go to stack > else > answer "Invalid password !" > end if > close this stack > end returninfield > > on enterinfield > returninfield > end enterinfield > > on keydown whichKey > put whichKey after thisPassword > put "*" after field "pass" --asterisk or whatever another char you > want > end keyDown > > on backspaceKey > put empty into field "pass" > put "" into thisPassword > end backspaceKey > > on deleteKey > put empty into field "pass" > put "" into thisPassword > end deleteKey From m.mackenzie at sasktel.net Mon Apr 12 15:58:19 2004 From: m.mackenzie at sasktel.net (Mark MacKenzie) Date: Mon, 12 Apr 2004 13:58:19 -0600 Subject: Multimedia Project on a school server question Message-ID: <407AF4DB.5060909@sasktel.net> Hi. I am porting a multimedia project over to Revolution and tweaking it as I go. The intended market is the local and provincial educational systems. Their preference is for titles which can be served from a remote server in their school to all the desktops in the library or classroom. The working seats for this project are approximately 35 per class. I have not designed or produced for this before. Can a standard Rev project be simply put on their server and used by from 30 to 35 kids at the same time? If not, what needs to be done to make this possible? If yes, can the number of concurrent sessions be limited to say 35? Has anyone done this before and care to share their experiences? Regards Mark MacKenzie From yvescoppe at skynet.be Mon Apr 12 16:24:02 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 12 Apr 2004 22:24:02 +0200 Subject: Password Field In-Reply-To: References: Message-ID: <56C79892-8CBF-11D8-8A3D-000D93677F1E@skynet.be> Le 12-avr.-04, ? 21:01, Dan Friedman a ?crit : > Yves, > > Thanks! That works great. Don't you just love this list?!!! > > > YESSSSSSSSSSSSSSSSSSSSSSSSSSSS Greetings. Yves COPPE yvescoppe at skynet.be From bwarshawsky at fastmail.fm Mon Apr 12 16:26:52 2004 From: bwarshawsky at fastmail.fm (Brian E. Warshawsky) Date: Mon, 12 Apr 2004 13:26:52 -0700 Subject: automating a task Message-ID: <1081801612.14150.184305290@webmail.messagingengine.com> Hey everyone. I just started using Revolution a couple of days ago, and am trying to write a couple useful apps before my trial runs out so I can convince my boss to buy me a full copy. I want to write a simple app to automate the task of retrieving log files from a bunch of different ftp servers at the same time every night. I've tried several commands and syntaxes, but nothing is working. I've tried: repeat forever get the time if the short system time is 12:00 AM then libURLDownloadToFile "ftp://username at password@mysite.com/testing.txt", TFlog.txt else end if I've also tried: repeat forever wait 5000 seconds libURLDownloadToFile "ftp://username at password@mysite.com/testing.txt", TFlog.txt and: if the short system time is 12:00 AM then libURLDownloadToFile "ftp://username at password@mysite.com/testing.txt", TFlog.txt else repeat until the short system time is 12:00 AM I've tried the last one with and without a repeat forever at the begining. I've also tried a host of others. I don't get copiler errors when I apply these changes, and I've tried writing this in the card script and in the stack script, but nothing will work. I can make it work if I set the libURLdownloadtofile to execute after i click a button, but that's hardly automatic! I'm not sure if this isn't working because I'm putting the code in the wrong script, or if I just don't know what I'm doing. Either way, I'd greatly appreciate some help here. Thanks in advance, Brian -- Brian E. Warshawsky bwarshawsky at fastmail.fm -- http://www.fastmail.fm - mmm... Fastmail... From norman at mrsystems.co.uk Mon Apr 12 16:34:46 2004 From: norman at mrsystems.co.uk (Norman Winn) Date: Mon, 12 Apr 2004 22:34:46 +0200 Subject: Interface ground to a halt In-Reply-To: <20040412003252.D6A6B9300E7@mail.runrev.com> References: <20040412003252.D6A6B9300E7@mail.runrev.com> Message-ID: Hi, I am actually getting somewhere. I managed to create a large bunch of buttons and get them cycling through the random colours. Fortified with my success I decided to script the creation of an array of rectangles, 62x25 of them. This took rather a long time. I have not yet worked out how to set the 'left' of my rectangles at creation time so each row just got piled up on the same spot. So, once they had all been created, I tried to 'select all' with a view to lining them up edge to edge (this is a great feature). Unfortunately when I did 'select all' everything ground to a halt for many minutes. Am I overloading things by doing this? Maybe rectangles use more resources than buttons? One problem is that I don't get the beach ball (OS X) to indicate things are going on. The whole app just becomes inactive - but not locked or crashed, I got myself back to some normality by deleting the card with all those troublesome rectangles on closing the stack: on closeStack delete card "RectanglesCard" end closeStack Norman PS I seem to remember, in perusing the docs, that there is a way to refer to the object most recently created. If so, could someone remind me of it, please. From dsc at swcp.com Mon Apr 12 16:56:14 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 12 Apr 2004 14:56:14 -0600 Subject: automating a task In-Reply-To: <1081801612.14150.184305290@webmail.messagingengine.com> Message-ID: On Monday, April 12, 2004, at 02:26 PM, Brian E. Warshawsky wrote: > I want to write a simple app to > automate the task of retrieving log files from a bunch of different ftp > servers at the same time every night. If libURL uses sockets callbacks, then they cannot run while while your hander is running. You might try 'put URL'; see "URL" in the Transcript dictionary. That may not be the best for large files, though. However, you might also consider putting a 'wait ... with messages' in your loop or, better yet, use 'send ... in ...'. See the Transcript dictionary and (for the latter) the primer on message mechanics at my web site. If you use 'send', you can set up a cycle that checks every (say) 40 seconds for midnight or you can calculate the seconds until midnight and send off a single send (per day). Make sure you only get one per midnight. The use of 'send' allows the application to attend to button clicks (such as one for canceling log retrievals) and do other things. Dar -- **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Mon Apr 12 17:00:51 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 12 Apr 2004 15:00:51 -0600 Subject: Interface ground to a halt In-Reply-To: Message-ID: <7B578597-8CC4-11D8-9EFE-000A9567A3E6@swcp.com> On Monday, April 12, 2004, at 02:34 PM, Norman Winn wrote: > PS I seem to remember, in perusing the docs, that there is a way to > refer to the object most recently created. If so, could someone remind > me of it, please. From the dictionary entry for 'create': The create command places the ID property of the newly created object in the it variable. You can also try something like this: put the long id of the last control into ob Dar Scott From trevor at mangomultimedia.com Mon Apr 12 17:07:59 2004 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Apr 2004 15:07:59 -0600 Subject: Interface ground to a halt In-Reply-To: References: <20040412003252.D6A6B9300E7@mail.runrev.com> Message-ID: <7A0A6FC6-8CC5-11D8-AD45-000A956C462A@mangomultimedia.com> On Apr 12, 2004, at 2:34 PM, Norman Winn wrote: > Hi, > > I am actually getting somewhere. I managed to create a large bunch of > buttons and get them cycling through the random colours. > > Fortified with my success I decided to script the creation of an array > of rectangles, 62x25 of them. > > This took rather a long time. > > ... In most cases you want to use the following code when creating objects. If you haven't already done so add the following around your code block: lock screen lock messages -- Create objects unlock screen unlock messages -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dcragg at lacscentre.co.uk Mon Apr 12 19:53:22 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 13 Apr 2004 00:53:22 +0100 Subject: automating a task In-Reply-To: <1081801612.14150.184305290@webmail.messagingengine.com> References: <1081801612.14150.184305290@webmail.messagingengine.com> Message-ID: At 1:26 pm -0700 12/4/04, Brian E. Warshawsky wrote: >I've tried: >repeat forever >get the time >if the short system time is 12:00 AM then >libURLDownloadToFile "ftp://username at password@mysite.com/testing.txt", >TFlog.txt >else end if > >I've also tried: > >repeat forever >wait 5000 seconds >libURLDownloadToFile "ftp://username at password@mysite.com/testing.txt", >TFlog.txt > >and: >if the short system time is 12:00 AM then >libURLDownloadToFile "ftp://username at password@mysite.com/testing.txt", >TFlog.txt >else repeat until the short system time is 12:00 AM There should be a colon between user name and password in the url: "ftp://username:password at mysite.com/testing.txt" I don't think you want to use a "repeat forever" structure for this kind of thing as nothing else will run in your application. A "send in