From steinman at midsouth.rr.com Tue Feb 1 00:00:37 2005 From: steinman at midsouth.rr.com (Scott Steinman) Date: Mon, 31 Jan 2005 23:00:37 -0600 Subject: Searchable archives? Message-ID: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com> Is there a searchable archive of this mailing list available anywhere? Thank you. Scott B. Steinman, O.D., Ph.D., F.A.A.O. Professor, Southern College of Optometry Chair, Open Source Purely-Graphical Programming Language Initiative (www.ospgli.org) Author, "Visual Programming with Prograph CPX", Manning/Prentice-Hall, 1995 (www.manning.com/steinman). Author, "Foundations of Binocular Vision", McGraw-Hill, 2000 (books.mcgraw-hill.com/cgi-bin/pbg/0838526705.html) Certified non-Microsoft Solutions Provider 1245 Madison Avenue Memphis, TN 38104-2222 steinman at sco.edu For every complex problem there is an answer that is clear, simple, and wrong. -- H L Mencken I hope I die peacefully in my sleep like my grandfather. . .not screaming in terror like his passengers. -- "Deep Thoughts", Jack Handy From dsc at swcp.com Tue Feb 1 00:22:30 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 31 Jan 2005 22:22:30 -0700 Subject: imagedata - why is it so slow ? In-Reply-To: <41FE8CC4.B690BDE4@Club-Internet.fr> References: <41FE8CC4.B690BDE4@Club-Internet.fr> Message-ID: <60c0a2164e3a61e60acd7055c28e194f@swcp.com> On Jan 31, 2005, at 12:53 PM, jbv wrote: > I am working on an old stack (built with > MC 2.4.1) in which I make extensive use > of commands such as : > set imagedata of img 1 to imagedata of img 2 > > most of my images are 1024 x 768. I tried to run a timing test on my OS X system using 1024 X 768 images I scribbled in: on mouseUp put the long seconds into a get the imageData of image "A" put the long seconds into b set the imageData of image "B" to it put the long seconds into c put (b-a) && (c-b) end mouseUp ==> 0.082148 0.370726 on mouseUp put the long seconds into a get the text of image "A" put the long seconds into b set the text of image "B" to it put the long seconds into c put (b-a) && (c-b) end mouseUp ==> 0.000027 0.085191 I don't know how much I'd trust the first one. For some reason it didn't work. It made no change to the destination image. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From rev at armbase.com Tue Feb 1 03:07:34 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 01 Feb 2005 08:07:34 +0000 Subject: Searchable archives? In-Reply-To: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com> References: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com> Message-ID: <6.1.2.0.0.20050201080708.025ca158@mail.armbase.com> At 05:00 01/02/2005, you wrote: >Is there a searchable archive of this mailing list available anywhere? Hi Scott I use http://www.google.com/advanced_search?q=site:lists.runrev.com cheers bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 28/01/2005 From ambassador at fourthworld.com Tue Feb 1 03:13:38 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 00:13:38 -0800 Subject: Searchable archives? In-Reply-To: <6.1.2.0.0.20050201080708.025ca158@mail.armbase.com> References: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com> <6.1.2.0.0.20050201080708.025ca158@mail.armbase.com> Message-ID: <41FF3A32.7030606@fourthworld.com> Bob Hartley wrote: > At 05:00 01/02/2005, you wrote: > >> Is there a searchable archive of this mailing list available anywhere? > > I use > http://www.google.com/advanced_search?q=site:lists.runrev.com I could never remember the format for that URL so I added a search box for the list archive to this page: You can also initiate searches of the list archives using the Rev List Search plugin at: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mcdomi at free.fr Tue Feb 1 03:16:16 2005 From: mcdomi at free.fr (Dom) Date: Tue, 1 Feb 2005 09:16:16 +0100 Subject: Success with Sending email without a SMTP Server!!!! In-Reply-To: <2f615b00078e59a93db5a96481d2c3c8@kagi.com> Message-ID: <1gras3v.1yk0pe4petx4mM%mcdomi@free.fr> kee nethery wrote: > The solution is to have your IP address be listed as an MX for the > domain you are sending from. Fixed IP mandatory, no luck ;-< -- From dcragg at lacscentre.co.uk Tue Feb 1 03:36:52 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 1 Feb 2005 08:36:52 +0000 Subject: Socket timeout not working with libUrl In-Reply-To: References: <20050131011641.9C078930056@mail.runrev.com> <8542839B-7370-11D9-9604-000A9580FCCE@backtalk.com> Message-ID: On 1 Feb 2005, at 01:33, Sarah Reichelt wrote: >> 2) If I open the socket with a domain address, e.g. >> www.webphotospro.com, Mac OS X does a DNS lookup, puts up the rainbow >> rotating color cursor, and hangs until the DNS lookup fails. On my >> machine this takes 60 seconds (apparently it's dependent on how many >> dns servers you have listed). > > What happens if you try: > hostNameToAddress("www.webphotospro.com") > and use the result of that as the address for opening the socket? > In my tests, this takes about 4 seconds the first time it is called if > I am connected (which is long enough for the SPOD to appear). When I > am disconnected, it fails instantly and return empty. > This is what libUrl does internally, so if you were connnecting via libUrl it would make no difference. But it might help when opening your own socket connections. Alex Tweedly wrote: > The engine can't return a response to the hostnametoaddress query > until it gets a response from the DNS server (or the query times out), > so it simply blocks until the time-out. That's probably reasonable (or > at least unavoidable) for a blocking call like hostNameToAddress, but > there needs to be a non-blocking version of it, for use in > non-blocking libURL and any other action which is not user-triggered > (or even to make the user-interruptable). Right now, libUrl blocks until the socket connection is established, even for non-blocking calls, so even with engine changes, some modification would be needed. Perhaps this part of libUrl should be looked at again. Going back to the original problem. There had been a lot of reports on OS X discussion groups about frequent failed DNS lookups . The typical symptom was a 60-second delay as the first lookup failed, but a subsequent lookup would work immediately. This affected some recent versions of Panther, possibly in combination with some of the security updates. I was affected for a while, but haven'r seen it recently. I'm assuming it was fixed in one of the many OS X updates. I'm just wondering if this was part of the problem. (But this is clearly not conected to Alex's description of the problem when the router is not connected.) Cheers Dave From chipp at chipp.com Tue Feb 1 05:00:19 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 01 Feb 2005 02:00:19 -0800 Subject: [ANN] Find & Replace patch now available... Message-ID: <41FF5333.3040703@chipp.com> Alex, No Need to fix, tracked it down last night. Turns out there's a problem with shared group references. It manifests itself in a spinning busy icon which never stops and not hits seen in the fields below. I've created a patch stack: go URL "http://www.altuit.com/webs/altuit2/RunRev/altRevSearchFix.rev" This stack will patch the revSearch.rev stack so that the group references are set correct. There's also a button to 'revert' to the old stack, though I'm at a lost why anyone would want to. best, Chipp From chipp at chipp.com Tue Feb 1 05:00:00 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 01 Feb 2005 02:00:00 -0800 Subject: [ANN] Find & Replace patch now available... Message-ID: <41FF5320.8050305@chipp.com> Alex, No Need to fix, tracked it down last night. Turns out there's a problem with shared group references. It manifests itself in a spinning busy icon which never stops and not hits seen in the fields below. I've created a patch stack: go URL "http://www.altuit.com/webs/altuit2/RunRev/altRevSearchFix.rev" This stack will patch the revSearch.rev stack so that the group references are set correct. There's also a button to 'revert' to the old stack, though I'm at a lost why anyone would want to. best, Chipp From chipp at chipp.com Tue Feb 1 05:04:51 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 01 Feb 2005 02:04:51 -0800 Subject: [ANN] Find & Replace patch now available... Message-ID: <41FF5443.3040908@chipp.com> Fix for Rev 2.5 Find&Replace stack. Turns out there's a problem with shared group references. It manifests itself in a spinning busy icon which never stops and no hits seen in the fields below. I've created a patch stack: go URL "http://www.altuit.com/webs/altuit2/RunRev/altRevSearchFix.rev" This stack will patch the revSearch.rev stack so that the group references are set correct. There's also a button to 'revert' to the old stack, though I'm not sure anyone would want to. best, Chipp From jbv.silences at Club-Internet.fr Tue Feb 1 06:40:05 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 01 Feb 2005 12:40:05 +0100 Subject: Problem when building standalone on OSX Message-ID: <41FF6A93.4BFD81@Club-Internet.fr> Hi list, I have a script that uses "the long name of this stack" to find the path of the currently running stack and to a DATA folder located at the same level. Everything works fine for ages on MacOS9, Win and MC for OSX, but when building the standalone with Rev 2.5 on OSX, the following string : .app/Contents/MacOS is added at the end of the stack name, and thus the script fails to detect the real path to the stack... is it a MacOSX thing or a Rev settings problem ? Thanks for any help, JB From ambassador at fourthworld.com Tue Feb 1 07:38:28 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 04:38:28 -0800 Subject: Problem when building standalone on OSX In-Reply-To: <41FF6A93.4BFD81@Club-Internet.fr> References: <41FF6A93.4BFD81@Club-Internet.fr> Message-ID: <41FF7844.3060800@fourthworld.com> jbv wrote: > I have a script that uses "the long name of this stack" > to find the path of the currently running stack and to > a DATA folder located at the same level. > Everything works fine for ages on MacOS9, Win and > MC for OSX, but when building the standalone with > Rev 2.5 on OSX, the following string : > .app/Contents/MacOS > is added at the end of the stack name, and thus the script > fails to detect the real path to the stack... > > is it a MacOSX thing or a Rev settings problem ? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From fde101 at fjrhome.net Tue Feb 1 09:02:41 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 1 Feb 2005 09:02:41 -0500 Subject: Standalones In-Reply-To: References: Message-ID: <208a2cfca94421cbab46001d815593b9@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The other possibility, of course, would be to allow the standalone to be built directly on the Windows machine, but to internally binhex the standalone during construction. Then you'd just use a standard tool on the Mac (Stuffit Expander, for example) to extract the application file, resource fork and all... On Jan 31, 2005, at 7:28 PM, Ben Fisher wrote: > That's too bad that you can't build for classic on Windows. I use a PC > and all the computers at my school are mac classics. Using Dreamcard > player won't work for me. > > Martin, that's a good idea. Could someone please look into this? Or > maybe an enhancement in Bugzilla? > > -Ben > >> I wonder if it would be difficult for RR to make a module for PPC >> which >> *only* built classic standalones. I mean no IDE or any of that, >> simply a >> standalone builder that you could download. You would still need a >> Mac to >> run it, and perhaps a valid license key for Windows or Unix, but you >> wouldn't need to buy 2 copies of studio just so you could still build >> a Mac >> classic standalone despite the fact that you do the development on >> windows. > >> Just musing aloud, > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB/4wC7aqtWrR9cZoRAv2IAJ9+AUaSmY07Q3Y7pZAyUDoD1l+sKwCeNa5H 7/5sfO4ttAX1YmV+LOeKr+k= =VJZo -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jamesjrichards at lineone.net Tue Feb 1 10:13:53 2005 From: jamesjrichards at lineone.net (James Richards) Date: Tue, 1 Feb 2005 15:13:53 +0000 Subject: Socket timeout not working with libUrl In-Reply-To: <20050201141720.9385B9300B8@mail.runrev.com> References: <20050201141720.9385B9300B8@mail.runrev.com> Message-ID: If this is an OS X 10.3.7 issue, some people have been able to kludge a fix for it by entering their ISP's DNS server addresses into the relevant pane in Network preferences. But if it is the identified 10.3.7 problem, you would be likely to have experienced long delays in opening Apple's Mail program. Regards James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 On 1 Feb, 2005, at 14:17, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Mon, 31 Jan 2005 18:40:22 +0100 > From: "R. Hillen" > Subject: Re: use-revolution Digest, Vol 16, Issue 103 > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Hello Frank, > > I would guess that you are using OSX 10.3.7; right? > That could explain your DNS-Problem, as Apple has changed its > DNS-calls. So If I start Apple Mail, I have to wait 50 seconds. > Apple told, that it is a bug, so wait for 10.3.8 or return to 10.3.6. > > Hope it explains. > Richard. From joel.guillod at net2000.ch Tue Feb 1 10:44:09 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 1 Feb 2005 16:44:09 +0100 Subject: SuspendStack on CloseStack In-Reply-To: <20050131064329.947A7930198@mail.runrev.com> References: <20050131064329.947A7930198@mail.runrev.com> Message-ID: Having problem in understand a strange behavior for a stack of mine, I realised that the doc explains that the suspendStack message is also send when closing a stack. But I need to distinguish two situations: (1) when user click on another window than the default stack (which is that the currentStack is suspended) from (2) when user close the default stack. Only the closestack message is sent in situation 2 but both suspendStack and CloseStack are sent in situation 1. How can I know that I am in situation 1? I thought the semantic meaning of suspendstack was precisely to distinguish from the closeStack which is the behavior in Hypercard. I use Rev 2.5, but the documentation does not report any change to this system message since its introduction in 1.0. Summary: (1) clicking on another stack than the default one sends: suspendStack (2) closing a stack sends: suspendStack + CloseStack Question: how can I know in the suspendStack message that I am in situation 1 and not 2? Thanks to any expert. Joel G Dr Jo?l Guillod M?decin-associ? au CHUV Ancien chef de clinique Fbg du Lac 7 2000 Neuch?tel T?l. 032.721.29.29 Fax 032.721.29.30 Email: joel.guillod at net2000.ch From mark at maseurope.net Tue Feb 1 11:28:45 2005 From: mark at maseurope.net (Mark Smith) Date: Tue, 1 Feb 2005 16:28:45 +0000 Subject: Quoting the list In-Reply-To: <20050201141720.9385B9300B8@mail.runrev.com> References: <20050201141720.9385B9300B8@mail.runrev.com> Message-ID: <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> Just an enquiry really...I'm no expert on netiquette, but it sometimes seems like there's a lot of redundant quoting going on on the list, where posts and replies are quoted and requoted many, many times, which makes the list that much harder to read. In fact someone (no doubt by accident) has now quoted a whole digest, encompassing all the topics currently under discussion...would it be a good idea to only quote as much of a thread as is really necessary? Cheers, Mark From martin at materiaprima.fsnet.co.uk Tue Feb 1 11:29:01 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Tue, 1 Feb 2005 17:29:01 +0100 Subject: Standalones In-Reply-To: <208a2cfca94421cbab46001d815593b9@fjrhome.net> References: Message-ID: Maybe, but why wouldn't something that easy have been implemented already? I don't have any inside knowledge but suspect there may be more to it. If, in buiilding the Mac resource fork, MacOS routines are utilised, these would presumably have to be emulated in the engine in order to assemble the resource fork on A.N. Other platform. Martin Baxter >Frank D Engel wrote: > >The other possibility, of course, would be to allow the standalone to >be built directly on the Windows machine, but to internally binhex the >standalone during construction. Then you'd just use a standard tool on >the Mac (Stuffit Expander, for example) to extract the application >file, resource fork and all... > >On Jan 31, 2005, at 7:28 PM, Ben Fisher wrote: > >> That's too bad that you can't build for classic on Windows. I use a PC >> and all the computers at my school are mac classics. Using Dreamcard >> player won't work for me. >> >> Martin, that's a good idea. Could someone please look into this? Or >> maybe an enhancement in Bugzilla? >> >> -Ben >> >>> I wonder if it would be difficult for RR to make a module for PPC >>> which >>> *only* built classic standalones. I mean no IDE or any of that, >>> simply a >>> standalone builder that you could download. You would still need a >>> Mac to >>> run it, and perhaps a valid license key for Windows or Unix, but you >>> wouldn't need to buy 2 copies of studio just so you could still build >>> a Mac >>> classic standalone despite the fact that you do the development on >>> windows. >> >>> Just musing aloud, >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >- ----------------------------------------------------------- >Frank D. Engel, Jr. > >$ ln -s /usr/share/kjvbible /usr/manual >$ true | cat /usr/manual | grep "John 3:16" >John 3:16 For God so loved the world, that he gave his only begotten >Son, that whosoever believeth in him should not perish, but have >everlasting life. >$ >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (Darwin) > >iD8DBQFB/4wC7aqtWrR9cZoRAv2IAJ9+AUaSmY07Q3Y7pZAyUDoD1l+sKwCeNa5H >7/5sfO4ttAX1YmV+LOeKr+k= >=VJZo >-----END PGP SIGNATURE----- > > > >___________________________________________________________ >$0 Web Hosting with up to 120MB web space, 1000 MB Transfer >10 Personalized POP and Web E-mail Accounts, and much more. >Signup at www.doteasy.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From FlexibleLearning at aol.com Tue Feb 1 11:59:36 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 1 Feb 2005 11:59:36 EST Subject: Subject: Re: Quoting the list Message-ID: [...] would it be a good idea to only quote as much of a thread as is really necessary? A timely reminder. Thank you Mark. /H From revdan at danshafer.com Tue Feb 1 12:05:42 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 1 Feb 2005 09:05:42 -0800 Subject: Quoting the list In-Reply-To: <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> References: <20050201141720.9385B9300B8@mail.runrev.com> <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> Message-ID: <08567c8c7f763230ee8a128d31629d08@danshafer.com> Yeah, this issue surfaces from time to time on all the lists I subscribe to. Ultimately, people simply forget to do the editing. I've been championing the cause for years to no avail. Dan On Feb 1, 2005, at 8:28 AM, Mark Smith wrote: > Just an enquiry really...I'm no expert on netiquette, but it sometimes > seems like there's a lot of redundant quoting going on on the list, From mwieder at ahsoftware.net Tue Feb 1 12:27:11 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Feb 2005 09:27:11 -0800 Subject: Searchable archives? In-Reply-To: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com> References: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com> Message-ID: <1954736140.20050201092711@ahsoftware.net> Scott- Monday, January 31, 2005, 9:00:37 PM, you wrote: SS> Is there a searchable archive of this mailing list available anywhere? You might try the plugin at http://www.ahsoftware.net/ArchiveSearch.html. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Tue Feb 1 12:26:56 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 09:26:56 -0800 Subject: Quoting the list In-Reply-To: <08567c8c7f763230ee8a128d31629d08@danshafer.com> References: <20050201141720.9385B9300B8@mail.runrev.com> <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> <08567c8c7f763230ee8a128d31629d08@danshafer.com> Message-ID: <41FFBBE0.3020404@fourthworld.com> Dan Shafer wrote: >> ...it sometimes seems like there's a lot of redundant quoting >> going on on the list, > > Yeah, this issue surfaces from time to time on all the lists > I subscribe to. Ultimately, people simply forget to do the > editing. I've been championing the cause for years to no avail. A lot of email clients are set up by default to put the entire message quoted below the new reply. Mine is too. I manually rearrange things to put quoted posts in top-to-bottom order for two reasons: - Top-to-bottom is how people read, so it can make the relevance of the quoted material more self-evident. - It annoys me to do so, so I quote as little as possible. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Tue Feb 1 12:30:52 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Feb 2005 09:30:52 -0800 Subject: Quoting the list In-Reply-To: <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> References: <20050201141720.9385B9300B8@mail.runrev.com> <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> Message-ID: <334956717.20050201093052@ahsoftware.net> Mark- ...in addition, if folks would use the standard net signature delimiter of (see my signature below) then much of the redundant garbage would automatically be clipped. -- -Mark Wieder mwieder at ahsoftware.net From Cubist at aol.com Tue Feb 1 12:37:35 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Tue, 1 Feb 2005 12:37:35 EST Subject: counting the amount of items in a csv Message-ID: <193.3883eac9.2f31185f@aol.com> sez rev at armbase.com: >I am interested in counting the amount of items in the first line of a >csv. > >How would I do this? First off, be aware that CSV is evil. CSV isn't *one* file format, it's an arbitrary collection of independently-developed file formats which differ from each other in arbitrary ways. because of this, it may not even be *possible* to provide a general solution which covers *all* CSV formats. Having said all that, there *may* be a simple solution for your particular problem. I wouldn't want to raise your hopes prematurely (see 1st paragraph above), but have you tried this? open file WhicheverCSVFile read from file WhicheverCSVFile until EOF close file WhicheverCSVFile put it into Fred put (the number of items in line 1 of Fred) into TheKount Hope this helps... From fde101 at fjrhome.net Tue Feb 1 13:02:54 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 1 Feb 2005 13:02:54 -0500 Subject: counting the amount of items in a csv In-Reply-To: <193.3883eac9.2f31185f@aol.com> References: <193.3883eac9.2f31185f@aol.com> Message-ID: <8b70da93cd85594a6eb046dde26ef54f@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmm... put URL ("file:" & WhicheverCSVFile) into Fred put the number of items in line 1 of Fred into TheKount Should have the same effect, but it is a bit shorter. On Feb 1, 2005, at 12:37 PM, Cubist at aol.com wrote: > open file WhicheverCSVFile > read from file WhicheverCSVFile until EOF > close file WhicheverCSVFile > put it into Fred > put (the number of items in line 1 of Fred) into TheKount - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB/8RP7aqtWrR9cZoRAoLNAKCBaYLEvKTqn/Q/TL2IzeUO6yFONwCfeB3F on2kynpzWV8jtvEsn9cY2+Y= =U3M5 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revdan at danshafer.com Tue Feb 1 13:33:01 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 1 Feb 2005 10:33:01 -0800 Subject: Quoting the list In-Reply-To: <334956717.20050201093052@ahsoftware.net> References: <20050201141720.9385B9300B8@mail.runrev.com> <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> <334956717.20050201093052@ahsoftware.net> Message-ID: That's a new standard on me, Mark. Where does the clipping take place? Are clients supposed to handle this? Dan On Feb 1, 2005, at 9:30 AM, Mark Wieder wrote: > Mark- > > ...in addition, if folks would use the standard net signature > delimiter of (see my signature below) then > much of the redundant garbage would automatically be clipped. > > -- > -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 webmaster at dreamscapesoftware.com Tue Feb 1 13:53:27 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Feb 2005 12:53:27 -0600 Subject: shell start Message-ID: <013101c5088f$50c6ab70$6401a8c0@DEREK> Can anyone please tell me why this isn't working... get shell("cd " & myLocation & " start SBUnet.exe " "e& targetURL "e) I'm trying to launch another instance of my program, with the URL I supply. Unfortunatly it doesn't do anything. This should work...shouldn't it? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From jperryl at ecs.fullerton.edu Tue Feb 1 14:01:21 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 1 Feb 2005 11:01:21 -0800 (PST) Subject: Quoting the list In-Reply-To: <41FFBBE0.3020404@fourthworld.com> Message-ID: Mine does too (PINE). Manual rearrangement is not trivial. Sorry... Judy On Tue, 1 Feb 2005, Richard Gaskin wrote: > A lot of email clients are set up by default to put the entire message > quoted below the new reply. Mine is too. From ambassador at fourthworld.com Tue Feb 1 14:25:25 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 11:25:25 -0800 Subject: [OT] Re: Quoting the list In-Reply-To: References: Message-ID: <41FFD7A5.9010705@fourthworld.com> On Tue, 1 Feb 2005, Richard Gaskin wrote: >> A lot of email clients are set up by default to put the entire >> message quoted below the new reply. Mine is too. Judy Perry wrote: > Mine does too (PINE). Manual rearrangement is not trivial. Precisely. Readability takes effort, and thereby reduces noise. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com DISCLAIMER: One of my favorite waste of bandwidth are corporate lawyers so insecure about their job security that they feel they must invent novel ways to inject themselves throughout an organization. In recent years we've seen this in the form of lengthy disclaimers that counsel advises management must be added to all outgoing mail. I'm no legal expert, so never having seen any lawsuit brought to a screeshing halt when the lawyer enters the courtroom shouting "Ah! But your honor, I have this email disclaimer!" may not mean it's entirely stupid. But it does seem unlikely, from any generic logical sense, that the silliness in the wording of such disclaimers would have any practical benefit to anyone but comedy writers. Most such disclaimers basically say that when an employee chooses to send nuclear secrets in open email, the responsibility for the management of that information falls not on the employee but on the unwitting recipient. No, really. Read them, they're pretty funny. Admittedly, in American courts nearly anything is possible, but if only for a good chuckle I would love to read the court transcript for the precendent-setting case presumably giving rise to this trend in which such a bizarre position was actually supported by a court. That is, if there is one. From b.xavier at internet.lu Tue Feb 1 14:57:56 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 1 Feb 2005 20:57:56 +0100 Subject: shell start In-Reply-To: <013101c5088f$50c6ab70$6401a8c0@DEREK> Message-ID: <20050201200557.B5AC793008B@mail.runrev.com> you should separate the command lines get "cd" && mylocation & cr & \ "start sbunet.exe" get shell(it) not tested but I use it everyday!... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Derek Bump > Sent: Tuesday, February 01, 2005 19:53 > To: How to use Revolution > Subject: shell start > > Can anyone please tell me why this isn't working... > > get shell("cd " & myLocation & " start SBUnet.exe " "e& > targetURL "e) > > I'm trying to launch another instance of my program, with the > URL I supply. Unfortunatly it doesn't do anything. This > should work...shouldn't it? > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > > From revdan at danshafer.com Tue Feb 1 14:56:36 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 1 Feb 2005 11:56:36 -0800 Subject: Quoting the list In-Reply-To: References: Message-ID: <99f4fca294b3fb3ae88f66f6e6dd14cb@danshafer.com> Mail.app on OS X quotes either the entire message or the selected portion of the message. So what I try to do is select the portion of the message to which I'm replying before I hit reply. Seems to work well when I remember to do it! On Feb 1, 2005, at 11:01 AM, Judy Perry wrote: > On Tue, 1 Feb 2005, Richard Gaskin wrote: > >> A lot of email clients are set up by default to put the entire message >> quoted below the new reply. Mine is too. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Tue Feb 1 15:02:56 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 01 Feb 2005 20:02:56 +0000 Subject: Quoting the list In-Reply-To: References: <20050201141720.9385B9300B8@mail.runrev.com> <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> <334956717.20050201093052@ahsoftware.net> Message-ID: <41FFE070.1020507@tweedly.net> Dan Shafer wrote: > That's a new standard on me, Mark. Where does the clipping take place? > Are clients supposed to handle this? > It's quite an old standard (or more properly convention - AFAIK it's not part of any "standard document" as such). I must admit, I thought it was an obsolete standard - didn't realize it was still useful. But a quick google around shows lots of references to it. Mozilla Thunderbird automatically puts this in for you between the body text and the signature file (if used), and automatically trims it out when you do a "reply". AVG (free anti-virus) also uses it to help avoid accumulating messages. I've switched over (back) to using this convention now - thanks Mark. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005 From webmaster at dreamscapesoftware.com Tue Feb 1 15:14:12 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Feb 2005 14:14:12 -0600 Subject: shell start References: <20050201200557.B5AC793008B@mail.runrev.com> Message-ID: <014b01c5089a$98c329c0$6401a8c0@DEREK> > get "cd" && mylocation & cr & \ > "start sbunet.exe" > get shell(it) > > not tested but I use it everyday!... Well, I tested it and nothing happened. Any other ideas? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From fdemarco at ppipubs.com Tue Feb 1 15:19:06 2005 From: fdemarco at ppipubs.com (Frank DeMarco) Date: Tue, 1 Feb 2005 15:19:06 -0500 Subject: Using RunRev with Microsoft Access Message-ID: <001001c5089b$47ceb790$6d010a0a@fdemarco> Does anyone know of a good source of information for getting RunRev and MSAccess communicating; maybe an example stack? Thanks. fdemarco at ppipubs.com From pixelbird at interisland.net Tue Feb 1 14:22:53 2005 From: pixelbird at interisland.net (Ken Norris) Date: Tue, 1 Feb 2005 11:22:53 -0800 Subject: Ackkk! In-Reply-To: <20050201141720.9385B9300B8@mail.runrev.com> References: <20050201141720.9385B9300B8@mail.runrev.com> Message-ID: Hello Richard, > Date: Mon, 31 Jan 2005 18:40:22 +0100 > From: "R. Hillen" > Subject: Re: use-revolution Digest, Vol 16, Issue 103 > > > Hello Frank, snip Please, if you are using the digest list, don't return the entire list like you did, select out the particular item, and copy/paste to replace the subject line. I hope that was just an error, or do you need some instructions on how do deal with digest lists? HTH, Ken N. From martin at materiaprima.fsnet.co.uk Tue Feb 1 15:41:51 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Tue, 1 Feb 2005 15:41:51 -0500 (EST) Subject: Standalones In-Reply-To: Message-ID: Well, I entered an enhancement request in bugilla (#2570). I realised this could be useful to me too as I almost always use my Windows machine for development (it being newest and therefore fastest), but still need to support my legacy Macs for the forseeable future, and currently am struggling to afford the UK renewal price for my lapsed enterprise license. Martin Baxter >That's too bad that you can't build for classic on Windows. I use a PC and >all the computers at my school are mac classics. Using Dreamcard player >won't work for me. > >Martin, that's a good idea. Could someone please look into this? Or maybe >an enhancement in Bugzilla? > >-Ben > >>I wonder if it would be difficult for RR to make a module for PPC which >>*only* built classic standalones. I mean no IDE or any of that, simply a >>standalone builder that you could download. You would still need a Mac to >>run it, and perhaps a valid license key for Windows or Unix, but you >>wouldn't need to buy 2 copies of studio just so you could still build a Mac >>classic standalone despite the fact that you do the development on windows. > >>Just musing aloud, >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Tue Feb 1 15:36:49 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Feb 2005 14:36:49 -0600 Subject: use-revolution Digest, Vol 16, Issue 103 In-Reply-To: References: <20050131145951.27DAD9300A9@mail.runrev.com> Message-ID: <41FFE861.5020306@hyperactivesw.com> On 1/31/05 11:40 AM, R. Hillen wrote: > Hello Frank, > > I would guess that you are using OSX 10.3.7; right? > That could explain your DNS-Problem, as Apple has changed its DNS-calls. > So If I start Apple Mail, I have to wait 50 seconds. > Apple told, that it is a bug, so wait for 10.3.8 or return to 10.3.6. The security update at the end of December fixed this, and the security update released last week also has the fix in it. There was a period of about a month where it was broken. Unfortunately, the security update that originally broke DNS lookup also broke it on OS X version 10.2.8 and they have NOT released a fix for it on that OS. DNS lookup is still majorly hosed on my 10.2.8 machine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From webmaster at dreamscapesoftware.com Tue Feb 1 15:38:43 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Feb 2005 14:38:43 -0600 Subject: Bugzilla Message-ID: <016601c5089e$058fc3d0$6401a8c0@DEREK> Am I the only one. I'd like to be able to view my bugs, but when I click the "My Bugs" link it always says "zaroo" bugs found. About the only way I've been able to keep a list is to vote for every bug or enhancement I find. Or am I doing something wrong? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From jbv.silences at Club-Internet.fr Tue Feb 1 16:04:02 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 01 Feb 2005 22:04:02 +0100 Subject: Problem when building standalone on OSX References: <41FF6A93.4BFD81@Club-Internet.fr> <41FF7844.3060800@fourthworld.com> Message-ID: <41FFEEC2.AE5A98C3@Club-Internet.fr> Thanks a lot Richard. JB From wdesigns at austin.rr.com Tue Feb 1 16:49:15 2005 From: wdesigns at austin.rr.com (Douglas Westbrook) Date: Tue, 1 Feb 2005 15:49:15 -0600 Subject: Selecting or deleting in an image by color or color range? Message-ID: <6624b10572217dfd3f5bee5735bdb94e@austin.rr.com> Can an image have a selection by color or color range from within Runtime so as to delete that color or range of colors in the image? It would be like the eraser tool for a color. From webmaster at dreamscapesoftware.com Tue Feb 1 16:58:11 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Feb 2005 15:58:11 -0600 Subject: Open Control Panel via Shell in Rev Message-ID: <019c01c508a9$1f80b0f0$6401a8c0@DEREK> Anyone know how to open a Windows Control Panel, let's say Internet Options, via the Windows Shell in Rev 2.5? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From fde101 at fjrhome.net Tue Feb 1 17:07:26 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 1 Feb 2005 17:07:26 -0500 Subject: Open Control Panel via Shell in Rev In-Reply-To: <019c01c508a9$1f80b0f0$6401a8c0@DEREK> References: <019c01c508a9$1f80b0f0$6401a8c0@DEREK> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yep: get shell("control inetcpl.cpl") Note: this will stall your app until the control panel is closed. The .cpl files are in c:\windows\system32 (modify if needed to suit your installation; e.g. d:\windows or e:\winnt or whatever); you don't need to give the full path to the .cpl file, but you might find this tidbit useful if trying to open one of the other control panels and wondering what the filename is for that particular one... Also, it is possible that one .cpl file may contain multiple control panels; I forget exactly how to handle that situation, but there is a way to do it... I think you had to specify the filename, followed by the actual name of the control panel in quotes or something like that? On Feb 1, 2005, at 4:58 PM, Derek Bump wrote: > Anyone know how to open a Windows Control Panel, let's say Internet > Options, via the Windows Shell in Rev 2.5? > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB//2g7aqtWrR9cZoRAkZUAKCC2gtSbfUmprn4vt0FmA1+hGGCaACfWH6W /v6/ISCnVZQK+/AS0FYcUBg= =Xzj5 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From alex at tweedly.net Tue Feb 1 17:07:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 01 Feb 2005 22:07:55 +0000 Subject: Bugzilla In-Reply-To: <016601c5089e$058fc3d0$6401a8c0@DEREK> References: <016601c5089e$058fc3d0$6401a8c0@DEREK> Message-ID: <41FFFDBB.2050008@tweedly.net> Derek Bump wrote: >Am I the only one. I'd like to be able to view my bugs, but when I click the "My Bugs" link it always says "zaroo" bugs found. About the only way I've been able to keep a list is to vote for every bug or enhancement I find. > >Or am I doing something wrong? > > The preset query for "My Bugs" has the default setting of only giving those which have status = "New", "Assigned" or "Reopened" All your bugs (like most of mine) are still in state "Unconfirmed" Add the other status options, put your email (or a substring like "dreamscape") in for "reporter" and click the "Remember this as my default query" checkbox. I do worry that so many bugs remain in Unconfirmed status for so long .... -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005 From webmaster at dreamscapesoftware.com Tue Feb 1 17:15:22 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Feb 2005 16:15:22 -0600 Subject: Open Control Panel via Shell in Rev References: <019c01c508a9$1f80b0f0$6401a8c0@DEREK> Message-ID: <01a801c508ab$86012920$6401a8c0@DEREK> > get shell("control inetcpl.cpl") Works Perfectly! > Note: this will stall your app until the control panel is closed. This didn't happen at all, but we'll see when it becomes a standalone. :) Thank you! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Tue Feb 1 17:17:07 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Feb 2005 16:17:07 -0600 Subject: Bugzilla References: <016601c5089e$058fc3d0$6401a8c0@DEREK> <41FFFDBB.2050008@tweedly.net> Message-ID: <01ad01c508ab$c46f3760$6401a8c0@DEREK> > Add the other status options, put your email (or a substring like > "dreamscape") in for "reporter" and click the "Remember this as my > default query" checkbox. Thank you for the suggestion. I will do that. > I do worry that so many bugs remain in Unconfirmed status for so long .... Yes, makes me think that no one cares about my bugs. ;) Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From userev at canelasoftware.com Tue Feb 1 17:18:22 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 1 Feb 2005 14:18:22 -0800 Subject: Disappearing Mouse!!?? In-Reply-To: <41F9A123.3010300@fourthworld.com> References: <41F820F4.6000302@crcom.net> <41F8338A.6090402@tweedly.net> <41F87D25.8010605@hyperactivesw.com> <41F8C205.8070307@tweedly.net> <41F9195D.8050203@hyperactivesw.com> <26B851FD-7095-11D9-AF4D-000A959D0AC6@hindu.org> <41F9A123.3010300@fourthworld.com> Message-ID: <20c110ff07d0adc9894f92518b6d9a35@canelasoftware.com> On Jan 27, 2005, at 6:19 PM, Richard Gaskin wrote: >> My cursor still regularly disappears. (OSX) I thought it was my stack >> (objects on top of the text field) but, it still happens not >> infrequently in the script editor... > > Could an errant image object have wound up in your copy of the script > editor? I thought the same thing when it started happening to me. So I downloaded a fresh copy of Rev and still get the problem. It happens on one of my stacks often. Others do not exhibit the problem. Could be a hint of something. -- Best regards, Mark Talluto http://www.canelasoftware.com From webmaster at dreamscapesoftware.com Tue Feb 1 17:25:31 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Feb 2005 16:25:31 -0600 Subject: shell start References: <013101c5088f$50c6ab70$6401a8c0@DEREK> Message-ID: <01c301c508ac$f0ca8b10$6401a8c0@DEREK> I re-looked at the Sons of Thunder site and realized my mistake. The following works... replace "/" with "\" in myLocation get shell("cd " & myLocation & " & start SBUnet.exe " \\ "e& targetURL "e) Thanks for the help! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From ambassador at fourthworld.com Tue Feb 1 17:32:22 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 14:32:22 -0800 Subject: Bugzilla In-Reply-To: <01ad01c508ab$c46f3760$6401a8c0@DEREK> References: <016601c5089e$058fc3d0$6401a8c0@DEREK> <41FFFDBB.2050008@tweedly.net> <01ad01c508ab$c46f3760$6401a8c0@DEREK> Message-ID: <42000376.2030201@fourthworld.com> Derek Bump wrote: >>I do worry that so many bugs remain in Unconfirmed status for so long .... > > Yes, makes me think that no one cares about my bugs. ;) If there was ever a cue for someone at RunRev to chime in on the list, I think I just heard one... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Tue Feb 1 17:52:50 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Feb 2005 15:52:50 -0700 Subject: Quoting the list In-Reply-To: <334956717.20050201093052@ahsoftware.net> References: <20050201141720.9385B9300B8@mail.runrev.com> <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> <334956717.20050201093052@ahsoftware.net> Message-ID: <1d55fbb9de2a1aa37328f67f1eea662e@swcp.com> On Feb 1, 2005, at 10:30 AM, Mark Wieder wrote: > ...in addition, if folks would use the standard net signature > delimiter of (see my signature below) then > much of the redundant garbage would automatically be clipped. I knew something similar was popular in usenet. Is that an email standard? What standard is that? I assume you mean hyphen. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From sarahr at genesearch.com.au Tue Feb 1 17:53:26 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 2 Feb 2005 08:53:26 +1000 Subject: Windows radio buttons Message-ID: <31cee1e5783a0da964a7ca7763e817bb@genesearch.com.au> Hi All, I normally just use & develop for Mac OS X but I am currently working on a small app for Windows as well. My problem occurs when people use the keyboard to activate a radio button. I have set up all the buttons in the correct tab order, so when tab is pressed, the dotted outline moves from button to button correctly, then pressing Enter effectively clicks the selected button. This all works OK except that radio buttons don't unhilite the other members of the radio button group. They work fine when actually mouse-clicked but not when done via the keyboard. Has anyone else noticed this? Am I doing something that is considered wrong in the Windows world? Are radio buttons normally excluded from keyboard selection? I guess I can put in the script to manually unhilite the other radios but it seems like a bug to me :-) TIA, Sarah From rev at armbase.com Tue Feb 1 18:04:43 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 01 Feb 2005 23:04:43 +0000 Subject: merge 3 channels to form rgb Message-ID: <6.1.2.0.0.20050201230224.024cb370@mail.armbase.com> Hi All. If I had 3 greyscale images (or indeed 3 rgb's) how would I merge each image to form an rgb? IE image one into red image2 into green image 3 into blue Anyone done this cheers bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 28/01/2005 From fde101 at fjrhome.net Tue Feb 1 18:13:57 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 1 Feb 2005 18:13:57 -0500 Subject: Open Control Panel via Shell in Rev In-Reply-To: <01a801c508ab$86012920$6401a8c0@DEREK> References: <019c01c508a9$1f80b0f0$6401a8c0@DEREK> <01a801c508ab$86012920$6401a8c0@DEREK> Message-ID: <8c778d8731be5d4f6b611d66a08377ab@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oops - apparently some windows programs (including control.exe) release the shell immediately after starting. So yeah, that shouldn't stall the stack then. Cool. On Feb 1, 2005, at 5:15 PM, Derek Bump wrote: >> Note: this will stall your app until the control panel is closed. > > This didn't happen at all, but we'll see when it becomes a standalone. > :) - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAA027aqtWrR9cZoRAn71AJ9jQ9z1HBZ+h2768s1+gg8GZu/lAACeMkYP ENLui5ywtSdor+4JRoGPOk0= =Jz6A -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From mwieder at ahsoftware.net Tue Feb 1 18:15:49 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Feb 2005 15:15:49 -0800 Subject: Quoting the list In-Reply-To: References: <20050201141720.9385B9300B8@mail.runrev.com> <57F57E68-746E-11D9-AF4B-000D93C19756@maseurope.net> <334956717.20050201093052@ahsoftware.net> Message-ID: <14225654609.20050201151549@ahsoftware.net> Dan- Tuesday, February 1, 2005, 10:33:01 AM, you wrote: DS> That's a new standard on me, Mark. Where does the clipping take place? DS> Are clients supposed to handle this? Most modern email clients not made by Microsoft will handle the delimiting properly when you reply to a message. I believe the convention is that the message is clipped at the lowest sig delimiter. And it's a recommendation, not a requirement - these are RFC's, after all, not laws laid down from above. But check out RFCs 2646.4.3, 3676.4.3 and 6, and especially 1036.4.3.2. -- -Mark Wieder mwieder at ahsoftware.net From boinjyboing at hotmail.com Tue Feb 1 18:41:06 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Tue, 1 Feb 2005 15:41:06 -0800 Subject: shell start Message-ID: You'll need to separate that into two different lines. Try putting a return after myLocation. If you're still having problems, I've found that sometimes if you write all the shell data to a temporary .bat file it will work better. That way also you can debug by examining the .bat to make sure the commands look right. A tip:If "myLocation" isn't on the same drive as the SBUnet.exe program, your shell might not work. The cd command will change the directory but *not* the drive. This used to drive me nuts. -Ben >Can anyone please tell me why this isn't working... >get shell("cd " & myLocation & " start SBUnet.exe " "e& targetURL "e) >I'm trying to launch another instance of my program, with the URL I supply. Unfortunatly it doesn't do >anything. This should work...shouldn't it? From boinjyboing at hotmail.com Tue Feb 1 18:52:17 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Tue, 1 Feb 2005 15:52:17 -0800 Subject: Selecting or deleting in an image by color or color range? Message-ID: Here's something I would use: (put in the script of the image) on mouseUp put the mousecolor into mcolor put numtochar(0) & numtochar(item 1 of mcolor) into hexcolor put numtochar(item 2 of mcolor) & numtochar(item 3 of mcolor) after hexcolor put numtochar(255)&numtochar(255)& numtochar(255)&numtochar(255) into blankcolor put the imagedata of me into idata replace hexcolor with blankcolor in idata set the imagedata of me to idata end mouseUp Now isn't that elegant!! This will turn all the instances of that color white, or at least it should. You'll need to use maskdata if you want to make the areas transparent. (This script is untested.) -Ben >Can an image have a selection by color or color range from within >Runtime so as to delete that color or range of colors in the image? It >would be like the eraser tool for a color. From boinjyboing at hotmail.com Tue Feb 1 18:56:32 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Tue, 1 Feb 2005 15:56:32 -0800 Subject: Open Control Panel via Shell in Rev Message-ID: Hi Derek, This page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/conpanel.asp should answer your question. -Ben -quote- The user or an application can start a Control Panel item by executing it directly from the command line prompt. An application can open the Control Panel programmatically using the WinExec function. WinExec("c:\windows\system32\control.exe", SW_NORMAL); The following example shows how an application can start the Control Panel item named MyCpl.cpl by using the WinExec function. WinExec("c:\windows\system32\control.exe MyCpl.cpl", SW_NORMAL); When Control Panel starts, it immediately executes the Control Panel item MyCpl.cpl. After the user finishes using the item and closes it, Control Panel ends. When you use the WinExec function, the system can recognize special Control Panel commands. control.exe desktop Launches the Display Properties window. control.exe color Launches the Display Properties window with the Appearance tab preselected. control.exe date/time Launches the Date and Time Properties window. control.exe international Launches the Regional and Language Options window. control.exe mouse Launches the Mouse Properties window. control.exe keyboard Launches the Keyboard Properties window. control.exe printers Displays the Printers and Faxes folder. control.exe fonts Displays the Fonts folder. For Windows 2000 and later systems: control.exe folders Launches the Folder Options window. control.exe netware Launches the Novell NetWare window (if installed). control.exe telephony Launches the Phone and Modem Options window. control.exe admintools Displays the Administrative Tools folder. control.exe schedtasks Displays the Scheduled Tasks folder. control.exe netconnections Displays the Network Connections folder. control.exe infrared Launches the Infrared Monitor window (if installed). control.exe userpasswords Launches the User Accounts window. From steinman at midsouth.rr.com Tue Feb 1 19:12:08 2005 From: steinman at midsouth.rr.com (Scott Steinman) Date: Tue, 1 Feb 2005 18:12:08 -0600 Subject: Searchable archives? In-Reply-To: <20050201222219.24F779300FF@mail.runrev.com> References: <20050201222219.24F779300FF@mail.runrev.com> Message-ID: <71213eda921ad920b5bb260f7ff23613@midsouth.rr.com> Mark, thanks for the response. Scott B. Steinman, O.D., Ph.D., F.A.A.O. Professor, Southern College of Optometry Chair, Open Source Purely-Graphical Programming Language Initiative (www.ospgli.org) Author, "Visual Programming with Prograph CPX", Manning/Prentice-Hall, 1995 (www.manning.com/steinman). Author, "Foundations of Binocular Vision", McGraw-Hill, 2000 (books.mcgraw-hill.com/cgi-bin/pbg/0838526705.html) Certified non-Microsoft Solutions Provider 1245 Madison Avenue Memphis, TN 38104-2222 (901) 722-3381 steinman at sco dot edu [work] steinman at midsouth dot rr dot com [home] From ambassador at fourthworld.com Tue Feb 1 19:19:05 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 16:19:05 -0800 Subject: [OT] Win convention question Message-ID: <42001C79.5080500@fourthworld.com> On a Mac, you customarily install an app by dragging the app or a folder from a DMG to your drive. Uninstalling means simply dragging it to the trach, and any preferences files are left behind. On Windows I use Wise Install to copy the app into its own folder in /Program Files/, and when the app is run it puts its prefs data in a folder within the user's Documents and Settings folder. Historically I've treated everything in the Documents and Settings folder as belonging to the user, and do not bother with uninstalling. Moreover, on multi-user systems I may not know where to find all of the user Documents and Settings folders for everyone who may have run the app. So what is the normal convention for uninstall on Win XP? Should I: a) leave prefs in the user's Documents and Settings files as is common with files in the Mac's Preferences folder? b) Delete only the prefs data in the current user's Documents and Settings folder? c) Attempt to delete prefs from the Documents and Settings folders for all users on the computer? Extra bonus points for Win HIG verse and chapter; I couldn't find the section on how to handle such things. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From boinjyboing at hotmail.com Tue Feb 1 19:40:27 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Tue, 1 Feb 2005 16:40:27 -0800 Subject: Selecting or deleting in an image by color or color range? Message-ID: Oops, The script worked for everything I tried. I guess in theory it might possibly erase unintended colors, although the odds of this are slim. In imagedata the colors are handled as a set of four, with the first entry always being zero. My solution might, trying to delete the color 0,12,12, end up accidentally turning the color (0),12,12,13 into (0),0,0,13. A revised solution would use offset to find matches. If the mod base 4 of the offset isn't 1, then don't replace. This hopefully would fix the problem. Tell me if you need clarification of this. -Ben From fde101 at fjrhome.net Tue Feb 1 19:50:11 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 1 Feb 2005 19:50:11 -0500 Subject: [OT] Win convention question In-Reply-To: <42001C79.5080500@fourthworld.com> References: <42001C79.5080500@fourthworld.com> Message-ID: <3b135e464149039ce6f180c3671e8fcd@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can't possibly be expected to track down prefs files for each user on a multiuser system. Consider that the uninstaller may be running on a system where the software would be accessed by users who have roaming profiles on a windows server; the preferences would not be stored on the local machine, and the account under which the installer is run may not even have access to the users' profiles in order to delete the prefs files even if it tried! What are the bonus points good 4, btw? ;-) On Feb 1, 2005, at 7:19 PM, Richard Gaskin wrote: > On a Mac, you customarily install an app by dragging the app or a > folder from a DMG to your drive. Uninstalling means simply dragging > it to the trach, and any preferences files are left behind. > > On Windows I use Wise Install to copy the app into its own folder in > /Program Files/, and when the app is run it puts its prefs data in a > folder within the user's Documents and Settings folder. > > Historically I've treated everything in the Documents and Settings > folder as belonging to the user, and do not bother with uninstalling. > Moreover, on multi-user systems I may not know where to find all of > the user Documents and Settings folders for everyone who may have run > the app. > > So what is the normal convention for uninstall on Win XP? > > Should I: > > a) leave prefs in the user's Documents and Settings files > as is common with files in the Mac's Preferences folder? > > b) Delete only the prefs data in the current user's Documents > and Settings folder? > > c) Attempt to delete prefs from the Documents and Settings > folders for all users on the computer? > > > Extra bonus points for Win HIG verse and chapter; I couldn't find the > section on how to handle such things. > > -- > 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 > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCACPE7aqtWrR9cZoRAmlKAJ9Cz7C0NTrr39BRv/JvWQaXJmikFgCdF0lu 5M79eRCx51RuEUFqRfv9Kt8= =c/5/ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From alex at tweedly.net Tue Feb 1 20:18:05 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Feb 2005 01:18:05 +0000 Subject: Expression calculations in message box Message-ID: <42002A4D.6010006@tweedly.net> Open a new Runrev session. Open the message box (single line) Type into it put 1 into m; put ((m)+9) What value should appear ? I expected 10 - but I actually get 1 If I put a space between the two "("s - i.e. put 1 into m; put ( (m)+9) then I do indeed get 10. Don't see the same problem when using the multi-line message box - but this is baffling me. Is there something special about the message box that would explain this anomaly ? Or is there something non-obvious (to me) about this expression ? Thanks -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005 From ambassador at fourthworld.com Tue Feb 1 21:16:20 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 18:16:20 -0800 Subject: [OT] Win convention question In-Reply-To: <3b135e464149039ce6f180c3671e8fcd@fjrhome.net> References: <42001C79.5080500@fourthworld.com> <3b135e464149039ce6f180c3671e8fcd@fjrhome.net> Message-ID: <420037F4.2010504@fourthworld.com> Frank D. Engel, Jr. wrote: > On Feb 1, 2005, at 7:19 PM, Richard Gaskin wrote: > >> On a Mac, you customarily install an app by dragging the app or a >> folder from a DMG to your drive. Uninstalling means simply dragging >> it to the trach, and any preferences files are left behind. >> >> On Windows I use Wise Install to copy the app into its own folder in >> /Program Files/, and when the app is run it puts its prefs data in a >> folder within the user's Documents and Settings folder. >> >> Historically I've treated everything in the Documents and Settings >> folder as belonging to the user, and do not bother with uninstalling. >> Moreover, on multi-user systems I may not know where to find all of >> the user Documents and Settings folders for everyone who may have run >> the app. >> >> So what is the normal convention for uninstall on Win XP? >> >> Should I: >> >> a) leave prefs in the user's Documents and Settings files >> as is common with files in the Mac's Preferences folder? >> >> b) Delete only the prefs data in the current user's Documents >> and Settings folder? >> >> c) Attempt to delete prefs from the Documents and Settings >> folders for all users on the computer? >> >> >> Extra bonus points for Win HIG verse and chapter; I couldn't find the >> section on how to handle such things. > > You can't possibly be expected to track down prefs files for each user > on a multiuser system. Consider that the uninstaller may be running > on a system where the software would be accessed by users who have > roaming profiles on a windows server; the preferences would not be > stored on the local machine, and the account under which the installer > is run may not even have access to the users' profiles in order to > delete the prefs files even if it tried! Good point. So I can rule out #3. So should I bother with #2, or treat the user's Documents folder like Mac developers treat the Prefs folder and not bother with deleting it? Is there an established convention? I could only find a recommendation from Micro$oft on cleaning up any added registry entries, and I'm already doing that. > What are the bonus points good 4, btw? ;-) At the moment, Karma. :) But if someone can point me to where the Win HIG tells me I should leave the user's Documents and Settings folder alone I'll give them a license for their choice of WebMerge or devolution. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ps1 at softseven.org Tue Feb 1 21:17:03 2005 From: ps1 at softseven.org (Paul Salyers) Date: Tue, 01 Feb 2005 20:17:03 -0600 Subject: check box help Message-ID: <6.1.1.1.2.20050201201524.02633ec0@softseven.org> How do you make a check box carry out instructions when checked or not checked? EX: Do one thing when checked, do another thing when unchecked Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From sarahr at genesearch.com.au Tue Feb 1 21:35:28 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 2 Feb 2005 12:35:28 +1000 Subject: check box help In-Reply-To: <6.1.1.1.2.20050201201524.02633ec0@softseven.org> References: <6.1.1.1.2.20050201201524.02633ec0@softseven.org> Message-ID: <171c38676dcb70d1a3875f90a3c40557@genesearch.com.au> on mouseUp if the hilite of me then -- do checked stuff else -- do unchecked stuff end if end mouseUp Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 2 Feb 2005, at 12:24 pm, Paul Salyers wrote: > How do you make a check box carry out instructions when checked or not > checked? > > EX: > Do one thing when checked, do another thing when unchecked > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org From katir at hindu.org Tue Feb 1 21:36:30 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 1 Feb 2005 16:36:30 -1000 Subject: Scrollbar documentation Message-ID: <3F109882-74C3-11D9-AF4D-000A959D0AC6@hindu.org> I've never used scroll bars and now need to figure it out... having trouble with the docs. which say: "The scrollbar object has a number of properties and messages associated with it. To see a list of messages that can be sent to a scrollbar as a result of user actions or internal Revolution events, open the "Transcript Language Dictionary" page of the main Documentation window, and choose "Scrollbar Messages" from the Show menu at the top. To see a list of all the properties a scrollbar can have, choose "Scrollbar Properties" from the Show menu." I don't see any of this... if one enters "scrollbar" with the dictionary on... is the filter giving us what is described above? I can only assume so. How do I change the size of the icon used for the thumb on a slider set to "show value" ? This little guy is pretty "fat" and I would like to make him a bit smaller Sivakatirswami From bvlahos at mac.com Tue Feb 1 21:40:08 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 1 Feb 2005 18:40:08 -0800 Subject: check box help In-Reply-To: <6.1.1.1.2.20050201201524.02633ec0@softseven.org> References: <6.1.1.1.2.20050201201524.02633ec0@softseven.org> Message-ID: Checking and unchecking the button is the same hiliting it. Just make a new check button and put the following script in it. on mouseUp if the hilite of me is true then beep else end if end mouseUp You should only hear the beep when putting a check in the box. Bill Vlahos On Feb 1, 2005, at 6:17 PM, Paul Salyers wrote: > How do you make a check box carry out instructions when checked or not > checked? > > EX: > Do one thing when checked, do another thing when unchecked > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Tue Feb 1 21:50:48 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 1 Feb 2005 16:50:48 -1000 Subject: Set scrollbar values to decimals -- 1/100's ths Message-ID: <3E09872B-74C5-11D9-AF4D-000A959D0AC6@hindu.org> I set a scroll bar number format to "#.00" but I am unable to set the beginning and ending values to a decimal value.. Are we only allowed positive whole integers ? (That's what I seem to be limited to...) From jimlyons at earthlink.net Tue Feb 1 22:28:27 2005 From: jimlyons at earthlink.net (Jim Lyons) Date: Tue, 1 Feb 2005 22:28:27 -0500 Subject: Expression calculations in message box In-Reply-To: <20050202025106.30470930126@mail.runrev.com> References: <20050202025106.30470930126@mail.runrev.com> Message-ID: <8083FC62-74CA-11D9-B9B5-000A95893982@earthlink.net> Wow, that's a good one. Verified on Rev 2.5, OS 10.3. I have seen some serious wonkiness before in the message box handling of expressions. I remember I had to put an expression involving arrays into a handler in the stack I was working on and invoke that to evaluate it correctly; I was quite sure it wasn't because of context, or variable scope, it was really something simple. But that's the sort of thing that happens late at night, at the same time as several other things that should work don't. I couldn't recall how to reproduce it. Maybe this will be a clue to the faulty script... Jim Alex Tweedly wrote: > Open a new Runrev session. > Open the message box (single line) > Type into it > put 1 into m; put ((m)+9) > > What value should appear ? > I expected 10 - but I actually get 1 > > If I put a space between the two "("s - i.e. > put 1 into m; put ( (m)+9) > then I do indeed get 10. > > Don't see the same problem when using the multi-line message box - but > this is baffling me. > Is there something special about the message box that would explain > this > anomaly ? > Or is there something non-obvious (to me) about this expression ? From katir at hindu.org Tue Feb 1 22:50:06 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 1 Feb 2005 17:50:06 -1000 Subject: Printing Crashes Rev in OSX Message-ID: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> Mac OSX printing greyscale to a Xerox Docucolor 3535. The following seems to be a simple enough: on printTranscript put the cHeader of me into tPrintTranscript put cr & cr after tPrintTranscript put fld "Transcript" after tPrintTranscript revShowPrintdialog, true,true revPrintText tPrintTranscript end printTranscript the "job" prints OK, but then, Rev crashes immediately after sending the data to the printer. ?? any clues? Sivakatirswami From katir at hindu.org Tue Feb 1 22:57:31 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 1 Feb 2005 17:57:31 -1000 Subject: Disappearing Mouse!!?? In-Reply-To: <41F9A123.3010300@fourthworld.com> References: <41F820F4.6000302@crcom.net> <41F8338A.6090402@tweedly.net> <41F87D25.8010605@hyperactivesw.com> <41F8C205.8070307@tweedly.net> <41F9195D.8050203@hyperactivesw.com> <26B851FD-7095-11D9-AF4D-000A959D0AC6@hindu.org> <41F9A123.3010300@fourthworld.com> Message-ID: <900301A9-74CE-11D9-AF4D-000A959D0AC6@hindu.org> Highly unlikely, but happy to do an autopsy on the script editor (oops, he's still alive!) if I knew how... can I force it to topLevel somehow? Of course, I would need to do that at the very moment the cursor goes away... no recipe yet for his occasional shyness. > >> My cursor still regularly disappears. (OSX) I thought it was my stack >> (objects on top of the text field) but, it still happens not >> infrequently in the script editor... > On Jan 27, 2005, at 4:19 PM, Richard Gaskin wrote: > Could an errant image object have wound up in your copy of the script > editor? From katir at hindu.org Tue Feb 1 23:09:33 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 1 Feb 2005 18:09:33 -1000 Subject: Printing Crashes Rev in OSX In-Reply-To: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> Message-ID: <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> OK problem solved and an important lesson learned. he who fails to "break" on each case may experience strange anomalies the culprint was in the menu selection switch statement case "Print" printTranscript case "Quit" save this stack quit break end switch changing this to case "Print" printTranscript break case "Quit" save this stack quit break and printing worked fine and Rev remained alive.. one would not expect the switch to dropdown to "quit" since quit was not chosen, but that appears to be what happened. case closed.... On Feb 1, 2005, at 5:50 PM, Sivakatirswami wrote: > Mac OSX printing greyscale to a Xerox Docucolor 3535. > > The following seems to be a simple enough: > > on printTranscript > put the cHeader of me into tPrintTranscript > put cr & cr after tPrintTranscript > put fld "Transcript" after tPrintTranscript > revShowPrintdialog, true,true > revPrintText tPrintTranscript > end printTranscript > > the "job" prints OK, but then, Rev crashes immediately after sending > the data to the printer. > > ?? any clues? > > Sivakatirswami > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Feb 1 23:25:10 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 20:25:10 -0800 Subject: Disappearing Mouse!!?? In-Reply-To: <900301A9-74CE-11D9-AF4D-000A959D0AC6@hindu.org> References: <41F820F4.6000302@crcom.net> <41F8338A.6090402@tweedly.net> <41F87D25.8010605@hyperactivesw.com> <41F8C205.8070307@tweedly.net> <41F9195D.8050203@hyperactivesw.com> <26B851FD-7095-11D9-AF4D-000A959D0AC6@hindu.org> <41F9A123.3010300@fourthworld.com> <900301A9-74CE-11D9-AF4D-000A959D0AC6@hindu.org> Message-ID: <42005626.3010307@fourthworld.com> Sivakatirswami wrote: > Highly unlikely, but happy to do an autopsy on the script editor (oops, > he's still alive!) if I knew how... can I force it to topLevel somehow? > Of course, I would need to do that at the very moment the cursor goes > away... no recipe yet for his occasional shyness. The Object Browser in devolution will let you examine any object -- you can toplevel any stack by just double-clicking it in the Stacks list. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revdan at danshafer.com Tue Feb 1 23:38:23 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 1 Feb 2005 20:38:23 -0800 Subject: Printing Crashes Rev in OSX In-Reply-To: <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> Message-ID: <763cd283db6588109cf02569fe0864f5@danshafer.com> Actually, the drop-through is exactly what I'd expect. ;-) Otherwise, how would you execute more than one case in a switch statement? On Feb 1, 2005, at 8:09 PM, Sivakatirswami wrote: > one would not expect the switch to dropdown to "quit" since quit was > not chosen, but that appears to be what happened. From ptrendler at bigpond.com Wed Feb 2 00:39:44 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Wed, 2 Feb 2005 15:39:44 +1000 Subject: [OT] Win convention question References: <42001C79.5080500@fourthworld.com> Message-ID: <000e01c508e9$9cbb2600$0100000a@super> Richard, I don't know if this is of any use. Interesting reading, anyway. A lot of apps seem to break these specs. Design Specifications and Guidelines - Integrating with the System http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/ch11d.asp Then click: Installation (covers uninstalling) Pat patrend at bigpond.com ----- Original Message ----- From: "Richard Gaskin" To: "How to use Revolution" Sent: Wednesday, February 02, 2005 10:19 AM Subject: [OT] Win convention question > On a Mac, you customarily install an app by dragging the app or a folder > from a DMG to your drive. Uninstalling means simply dragging it to the > trach, and any preferences files are left behind. > > On Windows I use Wise Install to copy the app into its own folder in > /Program Files/, and when the app is run it puts its prefs data in a > folder within the user's Documents and Settings folder. > > Historically I've treated everything in the Documents and Settings folder > as belonging to the user, and do not bother with uninstalling. Moreover, > on multi-user systems I may not know where to find all of the user > Documents and Settings folders for everyone who may have run the app. > > So what is the normal convention for uninstall on Win XP? > > Should I: > > a) leave prefs in the user's Documents and Settings files > as is common with files in the Mac's Preferences folder? > > b) Delete only the prefs data in the current user's Documents > and Settings folder? > > c) Attempt to delete prefs from the Documents and Settings > folders for all users on the computer? > > > Extra bonus points for Win HIG verse and chapter; I couldn't find the > section on how to handle such things. > > -- > 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 ambassador at fourthworld.com Wed Feb 2 01:01:50 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Feb 2005 22:01:50 -0800 Subject: [OT] Win convention question In-Reply-To: <000e01c508e9$9cbb2600$0100000a@super> References: <42001C79.5080500@fourthworld.com> <000e01c508e9$9cbb2600$0100000a@super> Message-ID: <42006CCE.5040303@fourthworld.com> Pat Trendler wrote: > I don't know if this is of any use. Interesting reading, anyway. A lot > of apps seem to break these specs. > > Design Specifications and Guidelines - Integrating with the System > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/ch11d.asp > > Then click: Installation (covers uninstalling) Drag. I was hoping to find an excuse to be as lazy as OS X encourages developers to be. Oh well, won't be hard to accomodate... Thanks for the link. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at elementarysoftware.com Wed Feb 2 02:19:19 2005 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 1 Feb 2005 23:19:19 -0800 Subject: SpellCheck (re-inventing the wheel) Message-ID: After seeing this thread on SpellCheck I've added a stack to revonline under Utilities -> "Spell Checker in OSX" or Scott's user space. This stack demonstrates how to use Jean-Baptiste LE STANG's < http://www.lestang.org/ > free Scripting Addition XSpell.osax to add OSX's spell checking ability to a Revolution stack or application running under OSX 10.3 or better. I've included scripts for saving to and reading from a custom user dictionary as well as a script for automatically installing XSpell from a .app if XSpell has been previously copied into the .app's bundle. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From nicolas_cueto at yahoo.com Wed Feb 2 02:42:59 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Wed, 2 Feb 2005 16:42:59 +0900 Subject: Rev and alternative input devices References: <20050127103414.A72A09300F8@mail.runrev.com><2E415AC9-7056-11D9-9DDA-000D93C19756@maseurope.net> <468B433A-7068-11D9-847D-000A9569F8B0@lacscentre.co.uk> Message-ID: <025501c508fa$d1fd6ce0$0c01a8c0@890Mhz> Hello All, >From a BBC article about young pupils learning Spanish by dancing (!), I was interested to discover that a "dance-mat" can be connected to a PC. This got me pondering... ... are there other mat-like input devices for the PC? ... could this dance-mat or other such devices interface with Revolution? ... how would such an interface be scripted ("on leftFootUp"?!)? The idea of combining Rev with a wild input device like this, well, my primary-grade learners would go gagga over it. Thank you as always. Cheers, Nicolas Cueto niconiko language school From scott at tactilemedia.com Wed Feb 2 03:32:26 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 02 Feb 2005 00:32:26 -0800 Subject: Rev and alternative input devices In-Reply-To: <025501c508fa$d1fd6ce0$0c01a8c0@890Mhz> Message-ID: Recently, Nicolas Cueto wrote: > From a BBC article about young pupils learning Spanish by dancing (!), I was > interested to discover that a "dance-mat" can be connected to a PC. This got > me pondering... > > ... are there other mat-like input devices for the PC? > > ... could this dance-mat or other such devices interface with Revolution? > > ... how would such an interface be scripted ("on leftFootUp"?!)? > > The idea of combining Rev with a wild input device like this, well, my > primary-grade learners would go gagga over it. A quick Web search discovered this: http://www.levelsix.com/product_info.php?cPath=21&products_id=30 The difficult part is finding some way to trap the mat signals over USB. USB communication has come up repeatedly on this list and as far as I know, no one has successfully implemented this in Rev, aside from using a USB serial adapter on older(?) Mac systems. (My hope is someone will prove me wrong and say "Hey wait, we've been doing USB with Rev for years!") On a related note, I once did very much the same thing as you mention above with a device called the Sega Activator (http://www.vidgame.net/SEGA/peripherals.htm#12) This ring sits on the floor of whatever room you're in and bounces infra red beams off the ceiling. You stand in the middle of the ring and move your arms and legs to interrupt the beams and thus trigger events. Using an adapter provided by a now long defunct company, you could enable the Activator to control a Rev (then MetaCard) stack on your computer. I made a virtual sound machine that kids at my son's preschool could stand in and trigger sound effects in time with a music track. At first it worked but I forgot kids' tendency to repeatedly pound on something to see what happens. They would stand in the Activator and block the beams for several seconds, thus creating long loops of sounds that would effectively lock up the machine until the sounds were done. I should have limited the number of times a sound could be triggered so the kids couldn't overload the system. Anyway, not an answer to your question, but maybe a little helpful advice. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From martin at materiaprima.fsnet.co.uk Wed Feb 2 03:58:11 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 2 Feb 2005 03:58:11 -0500 (EST) Subject: Windows radio buttons In-Reply-To: <31cee1e5783a0da964a7ca7763e817bb@genesearch.com.au> Message-ID: >Sarah Reichelt wrote: > >I normally just use & develop for Mac OS X but I am currently working >on a small app for Windows as well. My problem occurs when people use >the keyboard to activate a radio button. I have set up all the buttons >in the correct tab order, so when tab is pressed, the dotted outline >moves from button to button correctly, then pressing Enter effectively >clicks the selected button. This all works OK except that radio buttons >don't unhilite the other members of the radio button group. They work >fine when actually mouse-clicked but not when done via the keyboard. > >Has anyone else noticed this? Am I doing something that is considered >wrong in the Windows world? Are radio buttons normally excluded from >keyboard selection? I guess I can put in the script to manually >unhilite the other radios but it seems like a bug to me :-) > >TIA, >Sarah Yes Sarah, I discovered this a long time back. Same thing happens on Linux. I routinely use handlers to set the hilites of the radio buttons by script. Actually I lazily trigger these handlers on mouseup as well because it doesn't do any harm. It's not what I initially expected to happen and should probably be Bugzilla'd, though whether it's strictly a bug or an enhancement request I'm not sure. I'd do it but I think my Rev version (2.1.2) is probably too old for Bugzilla. Martin Baxter From xbury.cs at clearstream.com Wed Feb 2 01:52:36 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 2 Feb 2005 07:52:36 +0100 Subject: [OT] Win convention question Message-ID: First of all you should delete you registry entries and application files which is normal. What is ultra bad is to delete the folder if there is any preferences. If you need to reinstall you will have teh same problem as with runrev resetting all your prefs again... Very bad... GTR does this and you loose ALL your scores, car modifications, settings and if you added mp3s to the music folder, you will loose those too! It happened but found a backup I was only too glad to have made! I can't tell you how disgusted I was when I found out it had deleted everything. Secondly, if you use the command get shell("set") you will find a bunch of variables to help you find what you need. Notice this is not the regular PC installation you see everyday by default! Also note, all the first words can be called via %NAME% to get that value in a shell. like %SystemRoot% is your system folder... C:\home\Administrator>set ALLUSERSPROFILE=D:\home\All Users <- where the "my documents would be APPDATA=D:\home\Administrator\Application Data ClusterLog=C:\WINNT\Cluster\cluster.log CommonProgramFiles=D:\app\common COMPUTERNAME=ZEROZEROSIX ComSpec=C:\WINNT\system32\cmd.exe HOMEDRIVE=C: HOMEPATH=\home\Administrator LOGONSERVER=\\ZEROZEROSIX NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=D:\app\Windows Resource Kits\Tools\;C:\WINNT\system32;C:\WINNT;C:\WINNT\Sys tem32\Wbem;D:\app\SecureCRT\;D:\app\AIXNT;D:\app\Symantec\pcAnywhere\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0209 ProgramFiles=D:\app PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINNT TEMP=D:\home\ADMINI~1\LOCALS~1\Temp TMP=D:\home\ADMINI~1\LOCALS~1\Temp USERDOMAIN=ZEROZEROSIX USERNAME=Administrator USERPROFILE=D:\home\Administrator windir=C:\WINNT What you want is either %ProgramFiles% --- the default application folder where you would install your stuff or %CommonProgramFiles% --- settings - but optional or %USERPROFILE% where my documents would be and the famous D:\home\USERNAME\Application Data\myapp\ for example... AFAIK, it works on NT4 until W2K3 no prob... So first, the settings should be either in - the registry (not the best place but easy to find) - the program's folder - default for all programs - the program's common files - usually shared information for applications although it's not always for sharing purposes that it's there - I would avoid this anyway... For multiusers, the prefs is either in the registry or the UserProfile where you want. but the userprofile app data folder is the right place. Windows HIG are futile ;)) cheers Xavier On 02.02.2005 03:16:20 use-revolution-bounces wrote: >Frank D. Engel, Jr. wrote: >> On Feb 1, 2005, at 7:19 PM, Richard Gaskin wrote: >> >>> On a Mac, you customarily install an app by dragging the app or a >>> folder from a DMG to your drive. Uninstalling means simply dragging >>> it to the trach, and any preferences files are left behind. >>> >>> On Windows I use Wise Install to copy the app into its own folder in >>> /Program Files/, and when the app is run it puts its prefs data in a >>> folder within the user's Documents and Settings folder. >>> >>> Historically I've treated everything in the Documents and Settings >>> folder as belonging to the user, and do not bother with uninstalling. >>> Moreover, on multi-user systems I may not know where to find all of >>> the user Documents and Settings folders for everyone who may have run >>> the app. >>> >>> So what is the normal convention for uninstall on Win XP? >>> >>> Should I: >>> >>> a) leave prefs in the user's Documents and Settings files >>> as is common with files in the Mac's Preferences folder? >>> >>> b) Delete only the prefs data in the current user's Documents >>> and Settings folder? >>> >>> c) Attempt to delete prefs from the Documents and Settings >>> folders for all users on the computer? >>> >>> >>> Extra bonus points for Win HIG verse and chapter; I couldn't find the >>> section on how to handle such things. >> >> You can't possibly be expected to track down prefs files for each user >> on a multiuser system. Consider that the uninstaller may be running >> on a system where the software would be accessed by users who have >> roaming profiles on a windows server; the preferences would not be >> stored on the local machine, and the account under which the installer >> is run may not even have access to the users' profiles in order to >> delete the prefs files even if it tried! > >Good point. So I can rule out #3. > >So should I bother with #2, or treat the user's Documents folder like >Mac developers treat the Prefs folder and not bother with deleting it? > >Is there an established convention? > >I could only find a recommendation from Micro$oft on cleaning up any >added registry entries, and I'm already doing that. > > >> What are the bonus points good 4, btw? ;-) > >At the moment, Karma. :) But if someone can point me to where the Win >HIG tells me I should leave the user's Documents and Settings folder >alone I'll give them a license for their choice of WebMerge or devolution. ----------------------------------------- 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 kevin at runrev.com Wed Feb 2 06:04:03 2005 From: kevin at runrev.com (Kevin Miller) Date: Wed, 02 Feb 2005 11:04:03 +0000 Subject: Bugzilla In-Reply-To: <01ad01c508ab$c46f3760$6401a8c0@DEREK> Message-ID: On 1/2/05 10:17 pm, "Derek Bump" wrote: >> Add the other status options, put your email (or a substring like >> "dreamscape") in for "reporter" and click the "Remember this as my >> default query" checkbox. > > Thank you for the suggestion. I will do that. > >> I do worry that so many bugs remain in Unconfirmed status for so long .... > > Yes, makes me think that no one cares about my bugs. ;) Right now the status on the database is somewhat behind the actual status of the bugs. We bring the two into sync in batches from time to time, so you should see a lot of movement in the near future. I hear what you're saying about confirming bugs faster, its something we aim to gradually improve on over the course of the year. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From ambassador at fourthworld.com Wed Feb 2 06:32:57 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Feb 2005 03:32:57 -0800 Subject: [OT] Win convention question In-Reply-To: References: Message-ID: <4200BA69.7050007@fourthworld.com> xbury.cs at clearstream.com wrote: > First of all you should delete you registry entries and application files > which is normal. > > What is ultra bad is to delete the folder if there is any preferences. If > you need to reinstall > you will have teh same problem as with runrev resetting all your prefs > again... Very bad... Agreed. What I've done instead is use the Application Settings folder, which is hidden from users be default. Thanks to the handy tips at SonsOThunder.com I was able to find the constant that Win98 through XP uses to return the path to that folder: specialFolderPath(26) So now I don't touch anything in the user's My Documents folder, only Application Settings. I think I'll cover storing prefs in my next revJournal article. There's far more to it than it would seem at first glance. One of this byproducts of this odyssey is a bit of a disappointment in Apple: it's a rare day when Micro$oft offers a clear usability advantage of Apple, yet Micro$oft has a stronger position on an app cleaning up after itself than Apple's "toss the app in the Trash and let the user figure out what to do with the prefs file" approach. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kresten.bjerg at psy.ku.dk Tue Feb 1 23:35:12 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Wed, 02 Feb 2005 12:35:12 +0800 Subject: Scripting of buttonproducing field to give buttons backgroundBehavior Message-ID: <4200587F.9CB6ECC6@psy.ku.dk> Thank you for your reply, it was very helpfull. It works, and so simple best regards Kresten From kresten.bjerg at psy.ku.dk Tue Feb 1 23:39:37 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Wed, 02 Feb 2005 12:39:37 +0800 Subject: Strange reaction from dreamcard player and from launch classic Message-ID: <42005988.E0A592AA@psy.ku.dk> Somehow both these programs start making an internet connection--- with no further result---and on the menu only show a help item, cannot even be closed. Whats in it. Dreamcard works OK, !? From jhurley at infostations.com Wed Feb 2 09:18:42 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 2 Feb 2005 06:18:42 -0800 Subject: Expression calculations in message box In-Reply-To: <20050202025107.3AB5F930127@mail.runrev.com> References: <20050202025107.3AB5F930127@mail.runrev.com> Message-ID: > >AlexTweedy wrote: >Open a new Runrev session. >Open the message box (single line) >Type into it > put 1 into m; put ((m)+9) > >What value should appear ? >I expected 10 - but I actually get 1 > >If I put a space between the two "("s - i.e. > put 1 into m; put ( (m)+9) >then I do indeed get 10. > >Don't see the same problem when using the multi-line message box - but >this is baffling me. >Is there something special about the message box that would explain this >anomaly ? >Or is there something non-obvious (to me) about this expression ? > >Thanks > >-- >Alex Tweedly http://www.tweedly.net Alex, I can confirm your results in RR 2.2.1, Mac OS X . I also find that put 1 into m; put (m+9) gives the expected value of 10 There used (Run Rev 1.1) to be significant differences between the behavior of message box commands and the same commands executed in other controls--buttons for example. Even in your case-- put 1 into m; put ((m)+9)-- will give 10 if executed in a button handler. But, on the positive side, most of the old message box problems have been fixed. Jim From BNZ2 at CDC.GOV Wed Feb 2 09:26:49 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 2 Feb 2005 09:26:49 -0500 Subject: Searchable archives? Message-ID: <64878EF567131D4596246171F75FD4A9469F7B@m-epo-1.epo.cdc.gov> This is the searchable archive I use: http://www.mail-archive.com/use-revolution at lists.runrev.com/ It seems to work pretty well. Every once in a while it cannot access an article that it finds in a search - when that happens, google seems to work. From fde101 at fjrhome.net Wed Feb 2 09:40:46 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 2 Feb 2005 09:40:46 -0500 Subject: Scrollbar documentation In-Reply-To: <3F109882-74C3-11D9-AF4D-000A959D0AC6@hindu.org> References: <3F109882-74C3-11D9-AF4D-000A959D0AC6@hindu.org> Message-ID: <8f7c815be82c719805fd82f86375f3d1@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chalk up another place where the docs need to be updated! You are using Rev 2.5, right? From the documentation window, click on the "Objects" button, with the "Filter with:" field empty. Expand "Objects", then "Scrollbar" on the left. From there you can get the lists of properties and messages. Look at the "thumbSize" and "thumbPosition" properties; not sure if these work for sliders or not, but offhand they seem to be the closest match. On Feb 1, 2005, at 9:36 PM, Sivakatirswami wrote: > I've never used scroll bars and now need to figure it out... having > trouble with the docs. which say: > > "The scrollbar object has a number of properties and messages > associated with it. To see a list of messages that can be sent to a > scrollbar as a result of user actions or internal Revolution events, > open the "Transcript Language Dictionary" page of the main > Documentation window, and choose "Scrollbar Messages" from the Show > menu at the top. To see a list of all the properties a scrollbar can > have, choose "Scrollbar Properties" from the Show menu." > > I don't see any of this... > > if one enters "scrollbar" with the dictionary on... is the filter > giving us what is described above? I can only assume so. > > How do I change the size of the icon used for the thumb on a slider > set to "show value" ? This little guy is pretty "fat" and I would like > to make him a bit smaller > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAOZv7aqtWrR9cZoRAm19AJ0f7eWGUCmObe7hbKxqLGg76ILA7gCcCA35 M3Pq8n0uEOzKFK9KMzNVT74= =qgUs -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jhurley at infostations.com Wed Feb 2 09:56:06 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 2 Feb 2005 06:56:06 -0800 Subject: et scrollbar values to decimals -- 1/100's ths In-Reply-To: <20050202144138.D6ABB93012E@mail.runrev.com> References: <20050202144138.D6ABB93012E@mail.runrev.com> Message-ID: > >Sivakatirswami wrote: >I set a scroll bar number format to "#.00" but I am unable to set the >beginning and ending values to a decimal value.. Are we only allowed >positive whole integers ? (That's what I seem to be limited to...) > Yes, only positive integers. But you can achieve the fractional effect in the scroll bar handler. For example in a scroll bar with 0 and 100 as the start and end values: on scrollbarDrag newThumbPosition set numberformat to ".00" put 100 - newThumbPosition into temp--or "put the endvalue of me - newThumbPosition" put temp/100 into myValue put myVlaue into field "myField" end scrollbarDrag This, in effect, reverses the start and end values, and puts a decimal value into myField. There's no limit to the way in which you can manipulate the value returned by the thumb position. Jim From fde101 at fjrhome.net Wed Feb 2 10:24:32 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 2 Feb 2005 10:24:32 -0500 Subject: [OT] Win convention question In-Reply-To: <4200BA69.7050007@fourthworld.com> References: <4200BA69.7050007@fourthworld.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Why don't you just use an existing installation package such as Inno Setup (http://www.jrsoftware.org/isinfo.php), since that will provide these things for you "for free"? Inno Setup will let you specify files to be copied, where to place them, registry entries to be installed (and removed), it automatically handles placing your program in Add/Remove Programs (and provides an uninstaller), and it is used by numerous other projects, so that the interface will be familiar to many people (and it's quite similar to many other installation programs, enough so that even someone who never did use an Inno Setup installer but who has installed other programs should have no trouble using it). It allows for a great deal of customization, and if you get the ISTool script editor in the QuickStart pack, it is very easy to use... well, for a Windows program anyway ;-) You can also trigger an external program, so if there are "oddball" tasks to be performed when installing or uninstalling your program, you can create a small tool with just the functionality needed to handle those particular tasks, and call on that tool during the installation or uninstallation process. Did I mention that this is free? Other tools are available as well... On Feb 2, 2005, at 6:32 AM, Richard Gaskin wrote: > xbury.cs at clearstream.com wrote: >> First of all you should delete you registry entries and application >> files which is normal. >> What is ultra bad is to delete the folder if there is any >> preferences. If you need to reinstall >> you will have teh same problem as with runrev resetting all your >> prefs again... Very bad... > > Agreed. What I've done instead is use the Application Settings > folder, which is hidden from users be default. Thanks to the handy > tips at SonsOThunder.com I was able to find the constant that Win98 > through XP uses to return the path to that folder: > > specialFolderPath(26) > > So now I don't touch anything in the user's My Documents folder, only > Application Settings. > > I think I'll cover storing prefs in my next revJournal article. > There's far more to it than it would seem at first glance. > > One of this byproducts of this odyssey is a bit of a disappointment in > Apple: it's a rare day when Micro$oft offers a clear usability > advantage of Apple, yet Micro$oft has a stronger position on an app > cleaning up after itself than Apple's "toss the app in the Trash and > let the user figure out what to do with the prefs file" approach. > > -- > 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 > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAPCw7aqtWrR9cZoRAuTBAJ0TIWPTsfjpDBAFVDQ8GsfPjK3IVgCghVYl tw1WIqc6h2yu76YZOlOig8c= =UPUb -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From BNZ2 at CDC.GOV Wed Feb 2 11:46:52 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 2 Feb 2005 11:46:52 -0500 Subject: Scrolling groups get messed up after saving Message-ID: <64878EF567131D4596246171F75FD4A9469F7E@m-epo-1.epo.cdc.gov> It is a cosmetic problem mainly, but still annoying. After saving a stack with a scrolling group containing a number of objects - the objects in that group appear doubled - or otherwise messed up. Various things, such as selected those objects with the selector tool, will restore the appearance of the group to normal. My question is this - does anyone know of a simple command to put inside a save script that will restore the look of the card after it has been saved? From ps1 at softseven.org Wed Feb 2 11:50:53 2005 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 02 Feb 2005 10:50:53 -0600 Subject: SpecialFolderPath In-Reply-To: <6.1.1.1.2.20050121125951.02760da8@softseven.org> References: <20050113091727.9B5EF9300E2@mail.runrev.com> <2E569938-657A-11D9-A991-0003930A9F94@wanadoo.fr> <6.1.1.1.2.20050121125951.02760da8@softseven.org> Message-ID: <6.1.1.1.2.20050202104859.027b85b0@softseven.org> At 01:05 PM 1/21/2005, you wrote: >the specialFolderPath of folderIdentifier >specialFolderPath(folderIdentifier) > >specialFolderPath("Preferences") >set the defaultFolder to specialFolderPath("documents") >put specialFolderPath("asup") into appSupportFolder -- special constant > > >I need help one last time. :) > >I found the above code on Rev doc-help section by searching for "Special" >but as usually no coding help! > >can some1 help me with a small stack that will place an icon on the desk >top to run the program from the current location. > >Thank you Can some1 give a working stack example for desktop, Start menu, & Programs menu? I want this fir PC, but also like it for Mac & Linux. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From b.xavier at internet.lu Wed Feb 2 12:06:06 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 2 Feb 2005 18:06:06 +0100 Subject: Scrolling groups get messed up after saving In-Reply-To: <64878EF567131D4596246171F75FD4A9469F7E@m-epo-1.epo.cdc.gov> Message-ID: <20050202171348.8A2EE930067@mail.runrev.com> This would do it... on closecard set the vscroll of group badgroup to 0 pass closecard end closestack > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Wednesday, February 02, 2005 17:47 > To: How to use Revolution > Subject: Scrolling groups get messed up after saving > > It is a cosmetic problem mainly, but still annoying. After > saving a stack with a scrolling group containing a number of > objects - the objects in that group appear doubled - or > otherwise messed up. Various things, such as selected those > objects with the selector tool, will restore the appearance > of the group to normal. > > My question is this - does anyone know of a simple command to > put inside a save script that will restore the look of the > card after it has been saved? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Wed Feb 2 12:27:53 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 2 Feb 2005 18:27:53 +0100 Subject: Scrolling groups get messed up after saving In-Reply-To: <20050202171348.8A2EE930067@mail.runrev.com> Message-ID: <20050202173534.DC669930069@mail.runrev.com> I forgot ! My favorite link at Runrev -v:p http://support.runrev.com/bugdatabase/enter_bug.cgi?product=Revolution I'll add a max of votes and a couple examples like when in edit mode if you scroll the group Revo don't refresh it correctly! Tip: Always "set the locklocation of group x to true" if they have controls in them. For the geometry manager it's quite important or they might resize intempestively (or normally) under different situations like resize the window or move an object inside... Cheerios! Xavier -- Stack up at MonsieurX.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX > Sent: Wednesday, February 02, 2005 18:06 > To: 'How to use Revolution' > Subject: RE: Scrolling groups get messed up after saving > > This would do it... > > on closecard > set the vscroll of group badgroup to 0 > pass closecard > end closestack > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf > Of Lynch, > > Jonathan > > Sent: Wednesday, February 02, 2005 17:47 > > To: How to use Revolution > > Subject: Scrolling groups get messed up after saving > > > > It is a cosmetic problem mainly, but still annoying. After saving a > > stack with a scrolling group containing a number of objects - the > > objects in that group appear doubled - or otherwise messed > up. Various > > things, such as selected those objects with the selector tool, will > > restore the appearance of the group to normal. > > > > My question is this - does anyone know of a simple command to put > > inside a save script that will restore the look of the card > after it > > has been saved? > > _______________________________________________ > > 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 Feb 2 12:31:36 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 2 Feb 2005 11:31:36 -0600 Subject: Getting Directory Tree Message-ID: <001501c5094d$0c296b60$6401a8c0@DEREK> I'm at a loss. I've spent the last 3 hours trying to make a script that will look at 1 directory and provide a complete hierarchial list of all files within all folders and subfolders, and I can't make it work. Has anyone else attempted this, and been successful? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From alptex2 at orwell.net Wed Feb 2 12:27:15 2005 From: alptex2 at orwell.net (T. R. Ponn) Date: Wed, 02 Feb 2005 12:27:15 -0500 Subject: Command Line Start up/Exit Message-ID: <42010D73.3020902@orwell.net> Hello...and Help! I would like to add a feature to my app that would allow Win/Lin/OSX users to: 1. Start the app up from the command line 2. Make certain settings and load files into the hardware my app is controlling 3. Exit the app Simple enough...I *think*...using: Example: From the command line, user enters on startUp get setROMMask(word 2 of $1) -- function to set the ROM mask of the hardware, in this example the mask is set to 512K get loadFile(word 2 of $2) -- function to load a file into the hardware memory, in this example "file.hex" is loaded quit end startup This, however, doesn't give the user any feedback...were errors encountered during setup or file loading? So....I would like to return any errors back to the user. How do I accomplish this? Do I use a shell command before I quit? Thanks for any help you can lend! Best Regards, Tim Ponn From BNZ2 at CDC.GOV Wed Feb 2 12:28:37 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 2 Feb 2005 12:28:37 -0500 Subject: Scrolling groups get messed up after saving Message-ID: <64878EF567131D4596246171F75FD4A9469F80@m-epo-1.epo.cdc.gov> I am encountering the problem while saving, rather than while closing. I tried setting the vscroll to 0 - but it did not work. I even tried sending a custom message to the stack in 1 tick (after saving), then having that custom handler set the vscroll to 0 - but still no luck. Thanks for trying though - any other suggestions? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Wednesday, February 02, 2005 12:06 PM To: 'How to use Revolution' Subject: RE: Scrolling groups get messed up after saving This would do it... on closecard set the vscroll of group badgroup to 0 pass closecard end closestack > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Wednesday, February 02, 2005 17:47 > To: How to use Revolution > Subject: Scrolling groups get messed up after saving > > It is a cosmetic problem mainly, but still annoying. After > saving a stack with a scrolling group containing a number of > objects - the objects in that group appear doubled - or > otherwise messed up. Various things, such as selected those > objects with the selector tool, will restore the appearance > of the group to normal. > > My question is this - does anyone know of a simple command to > put inside a save script that will restore the look of the > card after it has been saved? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Wed Feb 2 13:07:18 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 2 Feb 2005 10:07:18 -0800 (PST) Subject: Ackkk! In-Reply-To: Message-ID: I don't know about Richard, Ken, but, as we both just said, this isn't always trivial. For example: in PINE, no matter how long I resize the window, I only get just so many visible lines at once. Right now, the last line is: > > Subject: Re: use-revolution Digest, Vol 16, Issue 103 and I'm not yet to your part of it. Can't scroll down in reply mode AFAIK. Not quickly, not easily, but have to use the arrow key. Very tedious. Hence why I reply above and not below. Sorry... Judy --from here I CAN delete stuff okay... From BNZ2 at CDC.GOV Wed Feb 2 13:51:47 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 2 Feb 2005 13:51:47 -0500 Subject: Rev compatible free web host? Message-ID: <64878EF567131D4596246171F75FD4A90EC5FF@m-epo-1.epo.cdc.gov> I need to test a program that automatically downloads a stack once per day. All the free webhosts that I have found block files with non-standard extensions - some block you from uploading them, and others block you from accessing them after they have been uploaded. Can anyone suggest a free web host that would allow me to access a stack with a .rev extension (or a custom extension) from a stack running on my computer? Thanks, Jonathan From fde101 at fjrhome.net Wed Feb 2 14:13:47 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 2 Feb 2005 14:13:47 -0500 Subject: Rev compatible free web host? In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5FF@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5FF@m-epo-1.epo.cdc.gov> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As an alternative: "misname" the stack with one of the "standard" extensions. You can have your program rename it back after downloading it, if you are storing it on a disk somewhere. On Feb 2, 2005, at 1:51 PM, Lynch, Jonathan wrote: > I need to test a program that automatically downloads a stack once per > day. All the free webhosts that I have found block files with > non-standard extensions - some block you from uploading them, and > others > block you from accessing them after they have been uploaded. > > Can anyone suggest a free web host that would allow me to access a > stack > with a .rev extension (or a custom extension) from a stack running on > my > computer? > > Thanks, > > Jonathan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCASZs7aqtWrR9cZoRAq40AJ9A3UFiWBCwUfpszq+lcAgU4jKtDACbBqnz uhjBSzfoqjdBTZ7mB4dzGe4= =nocp -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From BNZ2 at CDC.GOV Wed Feb 2 14:15:11 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 2 Feb 2005 14:15:11 -0500 Subject: Rev compatible free web host? Message-ID: <64878EF567131D4596246171F75FD4A9469F84@m-epo-1.epo.cdc.gov> Heh... Now that is a good idea! Thanks -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. Engel, Jr. Sent: Wednesday, February 02, 2005 2:14 PM To: How to use Revolution Subject: Re: Rev compatible free web host? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As an alternative: "misname" the stack with one of the "standard" extensions. You can have your program rename it back after downloading it, if you are storing it on a disk somewhere. On Feb 2, 2005, at 1:51 PM, Lynch, Jonathan wrote: > I need to test a program that automatically downloads a stack once per > day. All the free webhosts that I have found block files with > non-standard extensions - some block you from uploading them, and > others > block you from accessing them after they have been uploaded. > > Can anyone suggest a free web host that would allow me to access a > stack > with a .rev extension (or a custom extension) from a stack running on > my > computer? > > Thanks, > > Jonathan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCASZs7aqtWrR9cZoRAq40AJ9A3UFiWBCwUfpszq+lcAgU4jKtDACbBqnz uhjBSzfoqjdBTZ7mB4dzGe4= =nocp -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From alex at tweedly.net Wed Feb 2 14:19:50 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Feb 2005 19:19:50 +0000 Subject: Getting Directory Tree In-Reply-To: <001501c5094d$0c296b60$6401a8c0@DEREK> References: <001501c5094d$0c296b60$6401a8c0@DEREK> Message-ID: <420127D6.9080007@tweedly.net> Derek Bump wrote: >I'm at a loss. I've spent the last 3 hours trying to make a script that will look at 1 directory and provide a complete hierarchial list of all files within all folders and subfolders, and I can't make it work. > >Has anyone else attempted this, and been successful? > > Courtesy of Frederic Rinaldi's "filter demo" - his site is off-line, or moved and I can't find it, so here's the script below .... beware line wrap (and French error messages !) ..... beware - it automatically filters a couple of kinds of files - check if those are suitable for you > function AllFiles theFolder,addFullPath,allInfos > --returns full path of all enclosed files > local startFolder > > set cursor to busy > > if last char of theFolder is not "/" > then put "/" after theFolder > > if startFolder is empty > then put theFolder into startFolder > > set the defaultFolder to theFolder > if the result is not empty > then > beep > answer error "R?pertoire inexistant:" & return & return & > theFolder titled "Erreur" > exit to top > end if > > put the detailed files into filesList > filter filesList without ".*" > filter filesList without "Icon%0D*" > filter filesList without "*,MACSfdrp" -- remove folder aliases > > put the folders into foldersList > filter foldersList without ".*" > > repeat for each line loopFolder in foldersList > put AllFiles(thefolder & loopFolder & "/",addFullPath,allInfos) & > return after resultList > end repeat > > repeat with i=number of lines of filesList down to 1 > set cursor to busy > > if addFullPath > then put MyURLEncode(theFolder) before line i of filesList > > if allInfos = false > then put item 1 of line i of filesList into line i of filesList > end repeat > > get resultList & filesList > sort lines of it > > return word 1 to -1 of it -- strip empty lines > end AllFiles > > function MyURLEncode what > put URLEncode(what) into what > replace "%2F" with "/" in what > return what > end MyURLEncode -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005 From got at mindspring.com Wed Feb 2 14:23:27 2005 From: got at mindspring.com (Gordon Tillman) Date: Wed, 2 Feb 2005 13:23:27 -0600 Subject: Getting Directory Tree In-Reply-To: <420127D6.9080007@tweedly.net> References: <001501c5094d$0c296b60$6401a8c0@DEREK> <420127D6.9080007@tweedly.net> Message-ID: Hi Derek, > I'm at a loss. I've spent the last 3 hours trying to make a script > that will look at 1 directory and provide a complete hierarchial list > of all files within all folders and subfolders, and I can't make it > work. > > Has anyone else attempted this, and been successful? How about something like this? function GetFolderContents pFolder local tSaveDefaultFolder, tFolder, tFolders, tList put the defaultFolder into tSaveDefaultFolder set the defaultFolder to pFolder get the folders filter it without "." filter it without ".." put it into tFolders local tFiles, tFile get the files put it into tFiles put pFolder & return after tList repeat for each line tFile in tFiles put pFolder & "/" & tFile & return after tList end repeat repeat for each line tFolder in tFolders put GetFolderContents(tFolder) after tList end repeat set the defaultFolder to tSaveDefaultFolder return tList end GetFolderContents --gordy From got at mindspring.com Wed Feb 2 14:29:00 2005 From: got at mindspring.com (Gordon Tillman) Date: Wed, 2 Feb 2005 13:29:00 -0600 Subject: Getting Directory Tree In-Reply-To: References: <001501c5094d$0c296b60$6401a8c0@DEREK> <420127D6.9080007@tweedly.net> Message-ID: Hi Derek, I left one small piece out, sorry! function GetFolderContents pFolder local tSaveDefaultFolder, tFolder, tFolders, tList put the defaultFolder into tSaveDefaultFolder set the defaultFolder to pFolder get the folders filter it without "." filter it without ".." put it into tFolders local tFiles, tFile get the files put it into tFiles put pFolder & return after tList repeat for each line tFile in tFiles put pFolder & "/" & tFile & return after tList end repeat repeat for each line tFolder in tFolders put GetFolderContents(pFolder & "/" & tFolder) after tList end repeat set the defaultFolder to tSaveDefaultFolder return tList end GetFolderContents --gordy From b.xavier at internet.lu Wed Feb 2 14:45:24 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 2 Feb 2005 20:45:24 +0100 Subject: stacks in use, libraries, etc... In-Reply-To: Message-ID: <20050202195305.E779A930136@mail.runrev.com> Howdy! It just hit me, after more than a decade of HyperCard, MetaCard or RunRev... Maybe im the only one in this situation... ;) How can you tell which stack made which stackinuse his? IOW, how can you tell which stack loaded which library or stackinuse? Surely a global could help in this case to keep track, which is what I do but I just noticed XOS is now both in the frontscript (normal) and the stacksinuse (I didn't put it there! Please dont suggest it did it itself! ;) I guess the RevIDE hidden Home stack takes those frontscripts as a priority) but still you can't tell which stack loaded what! Is this worth my going to bugzilla to suggest this improvement or is there something I missed? Cheers Xavier -- MonsieurX.com - stacks of free stacks! From ambassador at fourthworld.com Wed Feb 2 15:33:48 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Feb 2005 12:33:48 -0800 Subject: [OT] Win convention question In-Reply-To: References: <4200BA69.7050007@fourthworld.com> Message-ID: <4201392C.8090001@fourthworld.com> Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Why don't you just use an existing installation package such as Inno > Setup (http://www.jrsoftware.org/isinfo.php), since that will provide > these things for you "for free"? Thanks for the recommendation but I already use Wise Install, the second-most popular installation package for Windows, with all the power of the market-leading InstallShield but with the option of doing things in much simpler ways. But even the most powerful installer won't make design decisions for me. That's where learning the conventions/guidelines comes in. Like most intaller packages, Wise Install can remove everything it installs rather easily and by default, registry settings and all. But it can't remove what it doesn't know about, and in my case there are elements in my app very much like cache files that should ideally be removed but don't exist during installation, so no installer can know about them at install time. Because the Mac convention fo such things is so slackerly, it was easy for someone like me who spends more time in OS X than XP to consider a more slackerly approach to uninstall. But the MSDN page Pat Trendler found makes it clear that the recommendation is not slackerly at all, so I've added code to my app which modifies the install log Wise Uninstall uses to remove elements -- now everything is compliant and I have two fewer bug reports on my to-do list today. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tbandi at swissonline.ch Wed Feb 2 15:44:49 2005 From: tbandi at swissonline.ch (Till Bandi) Date: Wed, 2 Feb 2005 21:44:49 +0100 Subject: Getting Directory Tree In-Reply-To: <420127D6.9080007@tweedly.net> References: <001501c5094d$0c296b60$6401a8c0@DEREK> <420127D6.9080007@tweedly.net> Message-ID: <248380f223071ac04ffebfdb58dce63b@swissonline.ch> Rinaldi's Site is: http://rinaldicollection.free.fr/ Till Am 02.02.2005 um 20:19 schrieb Alex Tweedly: > Derek Bump wrote: > >> I'm at a loss. I've spent the last 3 hours trying to make a script >> that will look at 1 directory and provide a complete hierarchial list >> of all files within all folders and subfolders, and I can't make it >> work. >> >> Has anyone else attempted this, and been successful? >> > Courtesy of Frederic Rinaldi's "filter demo" - his site is off-line, > or moved and I can't find it, so here's the script below > .... beware line wrap (and French error messages !) > ..... beware - it automatically filters a couple of kinds of files - > check if those are suitable for you > >> function AllFiles theFolder,addFullPath,allInfos >> --returns full path of all enclosed files >> local startFolder >> set cursor to busy >> if last char of theFolder is not "/" >> then put "/" after theFolder >> if startFolder is empty >> then put theFolder into startFolder >> set the defaultFolder to theFolder >> if the result is not empty >> then >> beep >> answer error "R?pertoire inexistant:" & return & return & >> theFolder titled "Erreur" >> exit to top >> end if >> put the detailed files into filesList >> filter filesList without ".*" >> filter filesList without "Icon%0D*" >> filter filesList without "*,MACSfdrp" -- remove folder aliases >> put the folders into foldersList >> filter foldersList without ".*" >> repeat for each line loopFolder in foldersList >> put AllFiles(thefolder & loopFolder & "/",addFullPath,allInfos) & >> return after resultList >> end repeat >> repeat with i=number of lines of filesList down to 1 >> set cursor to busy >> if addFullPath >> then put MyURLEncode(theFolder) before line i of filesList >> if allInfos = false >> then put item 1 of line i of filesList into line i of filesList >> end repeat >> get resultList & filesList >> sort lines of it >> return word 1 to -1 of it -- strip empty lines >> end AllFiles >> >> function MyURLEncode what >> put URLEncode(what) into what >> replace "%2F" with "/" in what >> return what >> end MyURLEncode > > -- Alex. From rev at armbase.com Wed Feb 2 15:55:26 2005 From: rev at armbase.com (Bob Hartley) Date: Wed, 02 Feb 2005 20:55:26 +0000 Subject: Getting Directory Tree Message-ID: <6.1.2.0.0.20050202204746.0250ad60@mail.armbase.com> On 02/02/2005 17:31:36, How to use Revolution (use-revolution at lists.runrev.com) wrote: > I'm at a loss. I've spent the last 3 hours trying to make a script that > will look at 1 directory and provide a complete hierarchial list of all > files within all folders and subfolders, and I can't make it work. > > Has anyone else attempted this, and been successful Hi there I dont have one that gets all files. But I do have one that gets selected files. Get the rev file at http://www.gla.ac.uk/~rh82p/ cheers bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 28/01/2005 From michaell at unimelb.edu.au Wed Feb 2 17:04:12 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Thu, 3 Feb 2005 09:04:12 +1100 Subject: et scrollbar values to decimals -- 1/100's ths Message-ID: > >Sivakatirswami wrote: >I set a scroll bar number format to "#.00" but I am unable to set the >beginning and ending values to a decimal value.. Are we only allowed >positive whole integers ? (That's what I seem to be limited to...) > You can set the start and endvalues to non integers by script and from the messagebox. In my opinion the values and behaviour of scrollbars are poorly thought-out and the scrollbar object properties inspector is confusing and limited. I'm alone in these opinions, however... Regards, -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From davis.phil at comcast.net Wed Feb 2 17:21:11 2005 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 02 Feb 2005 14:21:11 -0800 Subject: Getting Directory Tree In-Reply-To: <001501c5094d$0c296b60$6401a8c0@DEREK> References: <001501c5094d$0c296b60$6401a8c0@DEREK> Message-ID: <42015257.4040408@comcast.net> I have an example stack that does what you want. Paste the following into your message box: go stack url "http://runrev.lifebits.org/buildtree.rev" You can pop it open and see what I'm doing to make it work. Phil Davis Derek Bump wrote: > I'm at a loss. I've spent the last 3 hours trying to make a script that will look at 1 directory and provide a complete hierarchial list of all files within all folders and subfolders, and I can't make it work. > > Has anyone else attempted this, and been successful? > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > > > > ------------------------------------------------------------------------ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From michaell at unimelb.edu.au Wed Feb 2 17:57:22 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Thu, 3 Feb 2005 09:57:22 +1100 Subject: command-option-click edit Message-ID: When we command-option-click on a control we can conveniently edit its script. However, if we are in browse mode then we also activate any mouseUp handler in the control. I think that is bad behaviour because I'm always intending to edit the script, not activate the control. I am a slow learner and make the mistake many times a day. I'm very tired of it. You might be too. Are there any circumstances when you would WANT to activate the control with the click that opens the script editor in the IDE? There is certainly circumstances where it is annoying: if a button has a long-lasting script, or if the button initiates a series of message calls to part of its own script. There are at least two bugzilla reports about this behaviour, but they are resolved as not a bug (1884) and as a duplicate (1966). I would be very pleased if Alex Tweedy would re-open BZ bug #1884, and if all of you would vote for it. Regards, -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From katir at hindu.org Wed Feb 2 18:17:57 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 2 Feb 2005 13:17:57 -1000 Subject: Printing Crashes Rev in OSX In-Reply-To: <763cd283db6588109cf02569fe0864f5@danshafer.com> References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> Message-ID: Dan, Indeed, one would expect the drop-through if there is no "break" but, how would case "Quit" evaluate to "true" when the parameter passed from the menuPick was "Print" ?? That's what is mysterious. Sivakatirswami On Feb 1, 2005, at 6:38 PM, Dan Shafer wrote: > Actually, the drop-through is exactly what I'd expect. ;-) Otherwise, > how would you execute more than one case in a switch statement? > > > On Feb 1, 2005, at 8:09 PM, Sivakatirswami wrote: > >> one would not expect the switch to dropdown to "quit" since quit was >> not chosen, but that appears to be what happened. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Wed Feb 2 18:26:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Feb 2005 23:26:38 +0000 Subject: command-option-click edit In-Reply-To: References: Message-ID: <420161AE.8090107@tweedly.net> Michael J. Lew wrote: > When we command-option-click on a control we can conveniently edit its > script. However, if we are in browse mode then we also activate any > mouseUp handler in the control. I think that is bad behaviour because > I'm always intending to edit the script, not activate the control. I > am a slow learner and make the mistake many times a day. I'm very > tired of it. You might be too. > > Are there any circumstances when you would WANT to activate the > control with the click that opens the script editor in the IDE? There > is certainly circumstances where it is annoying: if a button has a > long-lasting script, or if the button initiates a series of message > calls to part of its own script. > > There are at least two bugzilla reports about this behaviour, but they > are resolved as not a bug (1884) and as a duplicate (1966). I would be > very pleased if Alex Tweedy would re-open BZ bug #1884, and if all of > you would vote for it. Michael, I found Kevin's argument that "there have been many complaints that the IDE interferes too much" was quite convincing, so I'd need some persuading. (I do agree with you that this seems unlikely to interfere with anything anyone is trying to do - but non-interference seems like a pretty good principle, that should only be broken when the case for it is compelling). I now use "Inspector Gadget" by Jerry Daniels - see the announcement at http://lists.runrev.com/pipermail/use-revolution/2004-September/044034.html (but use the second URL, not the top one). This provides the functionality based only on Ctrl-Alt-hover (only it now works every time, unlike the rather vague, imperfect way it used to work in 2.2), and combines it with other useful features. I'd recommend trying that and see if it satisfies the need for a quick way to get into script editor. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005 From katir at hindu.org Wed Feb 2 18:59:47 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 2 Feb 2005 13:59:47 -1000 Subject: CGI access to PostGreSQL Message-ID: <844FD9FE-7576-11D9-AF4D-000A959D0AC6@hindu.org> We have a POSTGreSQL dBase running on a linux box This we expected to work, but does not. I *can* access the dbase from a stack, remotely from my desk top in the 2.5 rev IDE. #!/usr/local/bin/revolution on startup ? put revOpenDatabase("Postgresql","himalayanacademy.com","cybertalks","htoday ","--real password goes here--") into pConnectionID ? if (pConnectionID) is a number then ??? put "Your Cybertalks data base opened successfully with connection ID " into tResult ??? put pConnectionID after tResult ??? put tResult ? else ??? put "Gosh darn, what's up?? The data base connection failed." end startup Running this from terminal returns these errors ./blurb.rev /usr/local/bin/revolution: Script parsing error at line 13, column 1 /usr/local/bin/revolution: Can't load stack or script ./blurb.rev Do I need to have some PostGreSQL libraries loaded? Sivakatirswami From ambassador at fourthworld.com Wed Feb 2 19:13:08 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Feb 2005 16:13:08 -0800 Subject: command-option-click edit In-Reply-To: <420161AE.8090107@tweedly.net> References: <420161AE.8090107@tweedly.net> Message-ID: <42016C94.2090904@fourthworld.com> Alex Tweedly wrote: > I found Kevin's argument that "there have been many complaints that the > IDE interferes too much" was quite convincing, so I'd need some > persuading. (I do agree with you that this seems unlikely to interfere > with anything anyone is trying to do - but non-interference seems like a > pretty good principle, that should only be broken when the case for it > is compelling). Agreed. That was part of my thinking when I built devolution's Object Browser. It has a Script column in the object list showint the number of lines in a script, and double-clicking in that column will open the script editor for that object. Cards and stacks have a similar functionality accessed from a context menu in those lists. Screenshot: Relying on key commands runs the risk of conflicting with something you might be doing, but having a separate mechanism like devo's Object Browser not only lets you get to those scripts but also to scripts which you might not otherwise be able to get to, like groups, hidden, or off-screen objects. devolution is available for free use at: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From fde101 at fjrhome.net Wed Feb 2 19:23:26 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 2 Feb 2005 19:23:26 -0500 Subject: Printing Crashes Rev in OSX In-Reply-To: References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alas, the rather stupid syntax introduced by C (or some older language) and quickly adopted by the masses! Stupid nevertheless. In C, Transcript, etc. - once you match a single 'case', any future 'case' items are ignored. 'break' gets you out. This is because C, etc. limit you to *one* matching item per 'case'; in essence: switch whatever case 1: do this; break; case 2: do this; break; ... end switch what if you want the same code to execute for both 3 and 4? In C/Transcript, you can't do this: switch whatever case 3, 4: do this; break; ... end switch so you do this instead: switch whatever case 3: case 4: do this; break; ... end switch and the 'case 4' is ignored if the '3' matches, allowing for multiple matching cases like this. Pascal, Ada, etc. have the superior syntax; in Ada for example: case whatever is when 1 ==> do this; when 2 ==> do this; when 3 | 4 ==> do this; when others ==> do this; end case; No messy 'break' statements to deal with, and it is still rather readable. You can do ranges, too, like when 4..7 ==> do this; Pascal's syntax looks slightly different, but is similar: case whatever of 1: do this; 2: do this; 3, 4: do this; end; On Feb 2, 2005, at 6:17 PM, Sivakatirswami wrote: > Dan, Indeed, one would expect the drop-through if there is no "break" > > but, how would > > case "Quit" > > evaluate to "true" when the parameter > passed from the menuPick was "Print" > ?? > > That's what is mysterious. > > Sivakatirswami > > > > On Feb 1, 2005, at 6:38 PM, Dan Shafer wrote: > >> Actually, the drop-through is exactly what I'd expect. ;-) Otherwise, >> how would you execute more than one case in a switch statement? >> >> >> On Feb 1, 2005, at 8:09 PM, Sivakatirswami wrote: >> >>> one would not expect the switch to dropdown to "quit" since quit >>> was not chosen, but that appears to be what happened. >> >> _______________________________________________ >> 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 > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAW8D7aqtWrR9cZoRAsEYAJ9+v6KqR2PTrDZjMxk8Qkp7E7UhwgCfS9G6 G+mIHPJJVnEV79RTfevyFfY= =BKxd -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From scott at tactilemedia.com Wed Feb 2 19:51:15 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 02 Feb 2005 16:51:15 -0800 Subject: Printing Crashes Rev in OSX In-Reply-To: Message-ID: Recently, Frank D. Engel, Jr. wrote: > what if you want the same code to execute for both 3 and 4? In > C/Transcript, you can't do this: > > switch whatever > case 3, 4: do this; break; > ... > end switch If you can stomach being a little verbose, you can do this: switch case whatever = 1 do this break case whatever = 2 do this break case whatever = 3 and whatever = 4 do otherStuff end switch Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Wed Feb 2 19:58:08 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 02 Feb 2005 18:58:08 -0600 Subject: Printing Crashes Rev in OSX In-Reply-To: References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> Message-ID: <42017720.1000201@chipp.com> Frank, One of the nice parts of having a break in your switch statement is so that you can 'preprocess' stuff in-line. For instance, switch tName case "Boss" put "Yo, Boss, fyi stuff I'm sending out..." &cr into tStr case "john" put "Dear John" after tStr break case "sally" put "hello Sally" after tStr break end switch How would you it in ADA? best, Chipp Frank D. Engel, Jr. wrote: > matching cases like this. Pascal, Ada, etc. have the superior syntax; > in Ada for example: > > case whatever is > when 1 ==> do this; > when 2 ==> do this; > when 3 | 4 ==> do this; > when others ==> do this; > end case; From fde101 at fjrhome.net Wed Feb 2 19:58:17 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 2 Feb 2005 19:58:17 -0500 Subject: Printing Crashes Rev in OSX In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In Rev (Transcript) perhaps, but not in C or most other languages which use the switch/case/break syntax. And you still have to remember to place those 'break' statements appropriately... On Feb 2, 2005, at 7:51 PM, Scott Rossi wrote: > Recently, Frank D. Engel, Jr. wrote: > >> what if you want the same code to execute for both 3 and 4? In >> C/Transcript, you can't do this: >> >> switch whatever >> case 3, 4: do this; break; >> ... >> end switch > > > If you can stomach being a little verbose, you can do this: > > switch > case whatever = 1 > do this > break > case whatever = 2 > do this > break > case whatever = 3 and whatever = 4 > do otherStuff > end switch > > > 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 > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAXcs7aqtWrR9cZoRAjHFAJ0SHOaTpLTH8y4pOGf8GLmRs0BGhQCeNplj AUKFLUSu/tPEowJbPoMwZuY= =BMdy -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From dsc at swcp.com Wed Feb 2 20:05:47 2005 From: dsc at swcp.com (Dar Scott) Date: Wed, 2 Feb 2005 18:05:47 -0700 Subject: Printing Crashes Rev in OSX In-Reply-To: References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> Message-ID: <891ee76f8c0de18709a8bb9c287cb24a@swcp.com> On Feb 2, 2005, at 5:23 PM, Frank D. Engel, Jr. wrote: > Alas, the rather stupid syntax introduced by C (or some older > language) and quickly adopted by the masses! Stupid nevertheless. Thank you. I was going to say something, but thought I had overdone my comments on the negative effects of C. You said it much better anyway. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From gjbalzano at popmail.ucsd.edu Wed Feb 2 20:06:01 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Wed, 2 Feb 2005 17:06:01 -0800 Subject: Groups and cloning In-Reply-To: <025501c508fa$d1fd6ce0$0c01a8c0@890Mhz> References: <20050127103414.A72A09300F8@mail.runrev.com><2E415AC9-7056-11D9-9DDA-000D93C19756@maseurope.net> <468B433A-7068-11D9-847D-000A9569F8B0@lacscentre.co.uk> <025501c508fa$d1fd6ce0$0c01a8c0@890Mhz> Message-ID: Hi all, I'm learning about the wonderful world of groups. I know about the "owner", but is there an easy way to get the "owned"? Right now, the only way I have figured out to "get at" the members of a group is to use a repeat loop, as in repeat with i=1 to the number of controls of group X do something with control i of group X end repeat More to the meat of my problem, suppose one wanted to create a 'clone' of one of these group members. Some simple mouse interaction like clicking on a group member would create a copy of the control, stuck to the mouse until the user clicked somewhere to "drop" it. Mouse stuff aside, "clone" all by itself doesn't do what I want, because it creates, not a new ungrouped control that looks like the clicked-on control, but another group member. This makes sense, I suppose, since you are "cloning" all of the properties of the control, including its owner. So how does one do what I want? Does one have to ungroup and regroup? The "owner" property is not directly settable (right?), or I'd just set the owner of the new 'cloned' control to the card (instead of the group). Seems like this should be simpler than I'm making it .... Thanks for any enlightenment from the group on this, Jerry Balzano From revdan at danshafer.com Wed Feb 2 20:11:36 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 2 Feb 2005 17:11:36 -0800 Subject: Printing Crashes Rev in OSX In-Reply-To: References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> Message-ID: <82049983ff44ee5409cfe6356fc5354b@danshafer.com> In your specific case, it couldn't, of course, but the logic has to be built for situations where more than one case might apply to a given situation. Dan On Feb 2, 2005, at 3:17 PM, Sivakatirswami wrote: > Dan, Indeed, one would expect the drop-through if there is no "break" > > but, how would > > case "Quit" > > evaluate to "true" when the parameter > passed from the menuPick was "Print" > ?? > > That's what is mysterious. From chipp at chipp.com Wed Feb 2 22:54:19 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 02 Feb 2005 21:54:19 -0600 Subject: Groups and cloning In-Reply-To: References: <20050127103414.A72A09300F8@mail.runrev.com><2E415AC9-7056-11D9-9DDA-000D93C19756@maseurope.net> <468B433A-7068-11D9-847D-000A9569F8B0@lacscentre.co.uk> <025501c508fa$d1fd6ce0$0c01a8c0@890Mhz> Message-ID: <4201A06B.1030708@chipp.com> Jerry, How about copy btn "myButton" to this card or something along those lines..? -Chipp Jerry Balzano wrote: > More to the meat of my problem, suppose one wanted to create a 'clone' > of one of these group members. Some simple mouse interaction like > clicking on a group member would create a copy of the control, stuck to > the mouse until the user clicked somewhere to "drop" it. Mouse stuff > aside, "clone" all by itself doesn't do what I want, because it creates, > not a new ungrouped control that looks like the clicked-on control, but > another group member. This makes sense, I suppose, since you are > "cloning" all of the properties of the control, including its owner. So > how does one do what I want? Does one have to ungroup and regroup? The > "owner" property is not directly settable (right?), or I'd just set the > owner of the new 'cloned' control to the card (instead of the group). > Seems like this should be simpler than I'm making it .... From webmaster at dreamscapesoftware.com Wed Feb 2 23:38:41 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 2 Feb 2005 22:38:41 -0600 Subject: [OT] Win convention question References: <4200BA69.7050007@fourthworld.com> <4201392C.8090001@fourthworld.com> Message-ID: <000a01c509aa$3d16ec90$6401a8c0@DEREK> > But it can't remove what it doesn't know about, and in my case there are > elements in my app very much like cache files that should ideally be > removed but don't exist during installation, so no installer can know > about them at install time. While I definately agree with this statement, InnoSetup has an advantage in the uninstallation area. It can be scripted to removed files that did not exist during Installation. You could script it to either read a log to delete what's new, or you can script it to delete the Cache folder itself. It also has 1 of the biggest advantages of all though, it's free! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From jacque at hyperactivesw.com Wed Feb 2 23:42:14 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Feb 2005 22:42:14 -0600 Subject: Groups and cloning In-Reply-To: References: <20050127103414.A72A09300F8@mail.runrev.com><2E415AC9-7056-11D9-9DDA-000D93C19756@maseurope.net> <468B433A-7068-11D9-847D-000A9569F8B0@lacscentre.co.uk> <025501c508fa$d1fd6ce0$0c01a8c0@890Mhz> Message-ID: <4201ABA6.1020102@hyperactivesw.com> On 2/2/05 7:06 PM, Jerry Balzano wrote: > More to the meat of my problem, suppose one wanted to create a 'clone' > of one of these group members. Some simple mouse interaction like > clicking on a group member would create a copy of the control, stuck to > the mouse until the user clicked somewhere to "drop" it. Mouse stuff > aside, "clone" all by itself doesn't do what I want, because it creates, > not a new ungrouped control that looks like the clicked-on control, but > another group member. This makes sense, I suppose, since you are > "cloning" all of the properties of the control, including its owner. So > how does one do what I want? Use the "copy" command instead: copy btn 1 to this cd Makes a copy of button 1 on the card layer rather than inside the group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Feb 3 00:01:55 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Feb 2005 23:01:55 -0600 Subject: command-option-click edit In-Reply-To: References: Message-ID: <4201B043.3000500@hyperactivesw.com> On 2/2/05 4:57 PM, Michael J. Lew wrote: > When we command-option-click on a control we can conveniently edit its > script. However, if we are in browse mode then we also activate any > mouseUp handler in the control. I think that is bad behaviour because > I'm always intending to edit the script, not activate the control. I am > a slow learner and make the mistake many times a day. I'm very tired of > it. You might be too. > > Are there any circumstances when you would WANT to activate the control > with the click that opens the script editor in the IDE? There is > certainly circumstances where it is annoying: if a button has a > long-lasting script, or if the button initiates a series of message > calls to part of its own script. > > There are at least two bugzilla reports about this behaviour, but they > are resolved as not a bug (1884) and as a duplicate (1966). I would be > very pleased if Alex Tweedy would re-open BZ bug #1884, and if all of > you would vote for it. I couldn't agree more. I didn't like the old "hover" method, I much prefer Cmd-Opt-click because it has been a standard way to edit scripts in all xtalks for the last 18 years. I'm used to it. It's in my muscle memory. But there is never a situation where I Cmd-Opt-click on an object and want the object's script to execute. If I wanted that, I wouldn't be holding down those keys. I suppose we could make the argument that changing the behavior would prohibit the creation of buttons that respond to Cmd-Opt-click. That's true, it would. Aside from the fact that a button like that is pretty awful interface, suspending the development environment to test these buttons would be a small price to pay. It wouldn't happen very often, or at least I hope it wouldn't. I also miss the ability to Cmd-Opt-click on the script editor window itself and have the script close without saving changes. This is something else that has been in both HyperCard and MetaCard forever, and I *always* use it by accident in Revolution to close the window -- and end up editing the script of the script editor. It makes me crazy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ps1 at softseven.org Thu Feb 3 00:25:20 2005 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 02 Feb 2005 23:25:20 -0600 Subject: create a patch upgrade In-Reply-To: <4201B043.3000500@hyperactivesw.com> References: <4201B043.3000500@hyperactivesw.com> Message-ID: <6.1.1.1.2.20050202232251.02717c98@softseven.org> Is making a patch for a program easy or hard to change minor things on a program that has already been compiled into an exe? This will be for the user to upgrade without having to dl the whole program. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From Signe.Sanne at roman.uib.no Thu Feb 3 03:27:19 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Thu, 03 Feb 2005 09:27:19 +0100 Subject: SpecialFolderPath In-Reply-To: <6.1.1.1.2.20050202104859.027b85b0@softseven.org> References: <20050113091727.9B5EF9300E2@mail.runrev.com> <2E569938-657A-11D9-A991-0003930A9F94@wanadoo.fr> <6.1.1.1.2.20050121125951.02760da8@softseven.org> <6.1.1.1.2.20050202104859.027b85b0@softseven.org> Message-ID: <4201E067.8070706@roman.uib.no> >> can some1 help me with a small stack that will place an icon on the >> desk top to run the program from the current location. >> >> Thank you > > > > > > Can some1 give a working stack example for desktop, Start menu, & > Programs menu? > > I want this fir PC, but also like it for Mac & Linux. > Hello I'm not quite sure if you know how to make a shortcut icon(on PC)...if that may solve your problem: on makeShortcut global gLongNameFile put specialFolderPath("desktop")& "/DysEngMP.lnk" into snarvei --Here the word "DysEngMP" should be replaced --with the short name of the application. The rest ".lnk" remains as it is. create alias(snarvei) to file gLongNameFile end makeShortcut Strangely enough, this same wording including "file" will as well make a shortcut to a folder! Signe Marie Sanne From frank at backtalk.com Thu Feb 3 03:38:28 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 3 Feb 2005 08:38:28 +0000 Subject: SpecialFolderPath In-Reply-To: <20050202223630.DB04C930155@mail.runrev.com> References: <20050202223630.DB04C930155@mail.runrev.com> Message-ID: Paul, You don't typically add icons within Rev, you do it with an installer. I'd check out Monte's installer -- it does a nice job building simple installers on both Mac and Windows. http://www.sweattechnologies.com/InstallGadget/ -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Feb 2, 2005, at 10:36 PM, use-revolution-request at lists.runrev.com wrote: > From: Paul Salyers > Subject: Re: SpecialFolderPath > To: How to use Revolution > Message-ID: <6.1.1.1.2.20050202104859.027b85b0 at softseven.org> > Content-Type: text/plain; charset="us-ascii"; format=flowed > > At 01:05 PM 1/21/2005, you wrote: > > > >> the specialFolderPath of folderIdentifier >> specialFolderPath(folderIdentifier) >> >> specialFolderPath("Preferences") >> set the defaultFolder to specialFolderPath("documents") >> put specialFolderPath("asup") into appSupportFolder -- special >> constant >> >> >> I need help one last time. :) >> >> I found the above code on Rev doc-help section by searching for >> "Special" >> but as usually no coding help! >> >> can some1 help me with a small stack that will place an icon on the >> desk >> top to run the program from the current location. >> >> Thank you > > > > > Can some1 give a working stack example for desktop, Start menu, & > Programs menu? > > I want this fir PC, but also like it for Mac & Linux. > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org From frank at backtalk.com Thu Feb 3 03:45:37 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 3 Feb 2005 08:45:37 +0000 Subject: Scrolling groups get messed up after saving In-Reply-To: <20050202223630.DB04C930155@mail.runrev.com> References: <20050202223630.DB04C930155@mail.runrev.com> Message-ID: Jonathan, Are you choosing save from the file menu while the stack is still open, and after the save completes the stack is messed up? Or are you closing the stack after the save, and on reopen it's messed up? -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Feb 2, 2005, at 10:36 PM, use-revolution-request at lists.runrev.com wrote: > From: "Lynch, Jonathan" > Subject: RE: Scrolling groups get messed up after saving > To: , "How to use Revolution" > > Message-ID: > <64878EF567131D4596246171F75FD4A9469F80 at m-epo-1.epo.cdc.gov> > Content-Type: text/plain; charset="US-ASCII" > > I am encountering the problem while saving, rather than while closing. > > I tried setting the vscroll to 0 - but it did not work. > > I even tried sending a custom message to the stack in 1 tick (after > saving), then having that custom handler set the vscroll to 0 - but > still no luck. > > Thanks for trying though - any other suggestions? > From BNZ2 at CDC.GOV Thu Feb 3 08:46:09 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 3 Feb 2005 08:46:09 -0500 Subject: Scrolling groups get messed up after saving Message-ID: <64878EF567131D4596246171F75FD4A90EC608@m-epo-1.epo.cdc.gov> On reopening the card, it is fine - it is just that scrolling groups looked messed up after a save - no closing the card involved. From webmaster at dreamscapesoftware.com Thu Feb 3 10:03:53 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 3 Feb 2005 09:03:53 -0600 Subject: create a patch upgrade References: <4201B043.3000500@hyperactivesw.com> <6.1.1.1.2.20050202232251.02717c98@softseven.org> Message-ID: <002801c50a01$9596a4d0$6401a8c0@DEREK> A patch is usually a complex task when done on your own. If you are patching a compiled EXE file then you need to compaire the COMPILED code of both programs to see what needs to be changed. If your bold enough, you could try to do the compairison yourself, but I would recomend finding a patching program and just have your users download the patch either automatically in your software or from your web site. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Thu Feb 3 10:09:45 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 3 Feb 2005 09:09:45 -0600 Subject: Getting Directory Tree References: <001501c5094d$0c296b60$6401a8c0@DEREK><420127D6.9080007@tweedly.net> Message-ID: <004e01c50a02$65b17c30$6401a8c0@DEREK> Thank you Gordon, Bob, Till, Phil and Alex. All of your suggestions worked great and I was able to fix what was wrong with my function. Thank you so much! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From frank at backtalk.com Thu Feb 3 11:51:43 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 3 Feb 2005 16:51:43 +0000 Subject: Scrolling groups get messed up after saving In-Reply-To: <20050203170014.DD4C5930150@mail.runrev.com> References: <20050203170014.DD4C5930150@mail.runrev.com> Message-ID: Jonathan , Yes, I've seen the same thing. There appears to be an instant when the save dialog is still up, the stack gets saved, the scrollbar moves just slightly, the save dialog disappears, and the bits under the dialog box are restored incorrectly (so everything is off by 2-3 pixels). Looks like sh-t, but there seems to be nothing I can do about it. Is this a problem on during development, or are you seeing this in an application as well? If it's just during development, I find that scrolling up and down a little fixes the visual garbage. -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Feb 3, 2005, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > From: "Lynch, Jonathan" > Subject: RE: Scrolling groups get messed up after saving > To: "How to use Revolution" > Message-ID: > <64878EF567131D4596246171F75FD4A90EC608 at m-epo-1.epo.cdc.gov> > Content-Type: text/plain; charset="utf-8" > > On reopening the card, it is fine - it is just that scrolling groups > looked messed up after a save - no closing the card involved. > From ambassador at fourthworld.com Thu Feb 3 12:57:50 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 03 Feb 2005 09:57:50 -0800 Subject: Contract Tester Needed Message-ID: <4202661E.7020609@fourthworld.com> I have some clients who could benefit from having a good tester available periodically to pound on some apps. The ideal candidate: - uses at least two computers, one running OS X and the other XP; extra bonus points for Linux but not currently essential - can be available on a week's notice for 4 to 12 hours of testing, sometimes more (we usually provide much more than a week's notice, but sometimes the schedule gets wacky) - possesses a nit-picky curmudgeonly quality just this side of aggression to motivate serious pounding :) - has a creative streak to find novel ways to break an app If interested please send your hourly rate and a description of your background in testing via private email to me at -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gjbalzano at popmail.ucsd.edu Thu Feb 3 13:40:16 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Thu, 3 Feb 2005 10:40:16 -0800 Subject: Groups and cloning In-Reply-To: <4201ABA6.1020102@hyperactivesw.com> References: <20050127103414.A72A09300F8@mail.runrev.com><2E415AC9-7056-11D9-9DDA-000D93C19756@maseurope.net> <468B433A-7068-11D9-847D-000A9569F8B0@lacscentre.co.uk> <025501c508fa$d1fd6ce0$0c01a8c0@890Mhz> <4201ABA6.1020102@hyperactivesw.com> Message-ID: <0BE58BDB-7613-11D9-A313-000393780570@popmail.ucsd.edu> Thanks, Chipp & Jacque, that worked. Since this difference between "copy" and "clone" might be missed by someone else (and also just for fun), I added a "web note" to the "copy" command (hmmm, maybe I should have added it to "clone" instead), and ? perhaps I shouldn't be amazed by this ? that worked just fine too! (i.e. I can download/read my web note when I'm on a different computer). - Jerry On Feb 2, 2005, at 8:42 PM, J. Landman Gay wrote: >> More to the meat of my problem, suppose one wanted to create a >> 'clone' of one of these group members. Some simple mouse interaction >> like clicking on a group member would create a copy of the control, >> stuck to the mouse until the user clicked somewhere to "drop" it. >> Mouse stuff aside, "clone" all by itself doesn't do what I want, >> because it creates, not a new ungrouped control that looks like the >> clicked-on control, but another group member. This makes sense, I >> suppose, since you are "cloning" all of the properties of the >> control, including its owner. So how does one do what I want? > > Use the "copy" command instead: > > copy btn 1 to this cd > > Makes a copy of button 1 on the card layer rather than inside the > group. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > Jerry, > > How about > > copy btn "myButton" to this card > > or something along those lines..? > > -Chipp From chipp at chipp.com Thu Feb 3 13:44:52 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 03 Feb 2005 12:44:52 -0600 Subject: New Externals... Message-ID: <42027124.6030906@chipp.com> The recent altBrowser bundle offering was a success thanks to RR users all over the world. A personal thank-you from Chris and I for all of your support. And thanks to RunRev for an excellent job of helping to get the word out. We're currently working on a free upgrade for altBrowser (both Mac and PC) which we hope will be out next week. So, this got Chris and I thinking about other externals. Before we started, we wanted to get some feedback from RR users as which externals you would like to see. Keep in mind, they need to be cross-platform, and they need to have some sort of mass market appeal. Here are a couple of ideas we have: 1) USB external support. That about says it all right there! 2) Image Effects library. The ability to import/export many different formats, apply special effects like dropped shadows, borders, sharpen and blur and more. If you have any other ideas, please let us know, either on this list or off. Thanks again! -Chipp Walters Altuit, Inc. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 From gjbalzano at popmail.ucsd.edu Thu Feb 3 13:52:47 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Thu, 3 Feb 2005 10:52:47 -0800 Subject: Searchable archives? In-Reply-To: <1954736140.20050201092711@ahsoftware.net> References: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com> <1954736140.20050201092711@ahsoftware.net> Message-ID: I downloaded this plugin and I really like it. For some reason, though, Mark, when I click on a message and then hit the "by date" button, I (almost) always seem to get the "August 2002" archives by date, regardless of which message I've selected. Am I misunderstanding the function of this button? - Jerry On Feb 1, 2005, at 9:27 AM, Mark Wieder wrote: > Scott- > > Monday, January 31, 2005, 9:00:37 PM, you wrote: > > SS> Is there a searchable archive of this mailing list available > anywhere? > > You might try the plugin at > http://www.ahsoftware.net/ArchiveSearch.html. > > -- > -Mark Wieder > mwieder at ahsoftware.net From stephenREVOLUTION at barncard.com Thu Feb 3 13:52:39 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 3 Feb 2005 10:52:39 -0800 Subject: New Externals... Message-ID: Hey, Chipp - A MP3 or OORG VORBIS external for playback. Streaming send and receive would be a great bonus. Many players support OORG VORBIS. Isn't the core code for the latter format Open Source? sqb > >If you have any other ideas, please let us know, either on this list or off. > >Thanks again! > >-Chipp Walters >Altuit, Inc. From gwalias-rev at yahoo.com Thu Feb 3 14:01:04 2005 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Thu, 3 Feb 2005 11:01:04 -0800 (PST) Subject: New Externals... In-Reply-To: <42027124.6030906@chipp.com> Message-ID: <20050203190104.96528.qmail@web51103.mail.yahoo.com> Dear Chipp An "externals external" would be great. Something that could expose the functions and type requirements in standard windows dlls or *nix .so shared library (and their OSX equivalents). As is already the case in C#, Java or some of the flavors of Basic, you could then import these functions directly into transcript something like ... externalHandle = altuitUseExternal("mylib.dll") IMHO runrev really needs a more accessible interface to the vast wealth of shared libraries that exist out there, without having to write wrappers for every new library you want to use. I would love to be able to use OpenGL from within rev for example and create interactive 3D viewports on my rev stacks. OT: Wouldn't it be great to have .NET bindings for rev, especially since it seems that .NET is going to be a genuinely cross-platform runtime (please no Java Vs. .NET flames or any other anti-MS invective - I'm no great fan of MS, but it seems that they've finally done something right with .NET) Best Gordon --- Chipp Walters wrote: > The recent altBrowser bundle offering was a success > thanks to RR users > all over the world. A personal thank-you from Chris > and I for all of > your support. And thanks to RunRev for an excellent > job of helping to > get the word out. > > We're currently working on a free upgrade for > altBrowser (both Mac and > PC) which we hope will be out next week. > > So, this got Chris and I thinking about other > externals. Before we > started, we wanted to get some feedback from RR > users as which externals > you would like to see. Keep in mind, they need to be > cross-platform, and > they need to have some sort of mass market appeal. > > Here are a couple of ideas we have: > > 1) USB external support. That about says it all > right there! > > 2) Image Effects library. The ability to > import/export many different > formats, apply special effects like dropped shadows, > borders, sharpen > and blur and more. > > If you have any other ideas, please let us know, > either on this list or off. > > Thanks again! > > -Chipp Walters > Altuit, Inc. > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.4 - Release > Date: 2/1/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From gjbalzano at popmail.ucsd.edu Thu Feb 3 14:20:42 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Thu, 3 Feb 2005 11:20:42 -0800 Subject: New Externals... In-Reply-To: <42027124.6030906@chipp.com> References: <42027124.6030906@chipp.com> Message-ID: Would something like "HyperMIDI"-type externals be too "vertical" a market? - Jerry On Feb 3, 2005, at 10:44 AM, Chipp Walters wrote: > The recent altBrowser bundle offering was a success thanks to RR users > all over the world. A personal thank-you from Chris and I for all of > your support. And thanks to RunRev for an excellent job of helping to > get the word out. > > We're currently working on a free upgrade for altBrowser (both Mac and > PC) which we hope will be out next week. > > So, this got Chris and I thinking about other externals. Before we > started, we wanted to get some feedback from RR users as which > externals you would like to see. Keep in mind, they need to be > cross-platform, and they need to have some sort of mass market appeal. From fde101 at fjrhome.net Thu Feb 3 14:24:13 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 3 Feb 2005 14:24:13 -0500 Subject: New Externals... In-Reply-To: <20050203190104.96528.qmail@web51103.mail.yahoo.com> References: <20050203190104.96528.qmail@web51103.mail.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "Going to be" cross-platform? Check here: http://www.mono-project.com/ Hmm... what about a Rev runtime for .net? I think .net will be available for Windows Mobile soon (is it already?), so a .net runtime version would automatically provide support for software on Windows Mobile, Windows itself (2000+, correct?), and apparently Mono-supported platforms as well (various flavors of Linux, plus OS X more or less -- more soon, I hope) -- and possibly even future platforms which don't even exist yet! On Feb 3, 2005, at 2:01 PM, Gordon Webster wrote: > Dear Chipp > > An "externals external" would be great. Something that > could expose the functions and type requirements in > standard windows dlls or *nix .so shared library (and > their OSX equivalents). > > As is already the case in C#, Java or some of the > flavors of Basic, you could then import these > functions directly into transcript something like ... > > externalHandle = altuitUseExternal("mylib.dll") > > IMHO runrev really needs a more accessible interface > to the vast wealth of shared libraries that exist out > there, without having to write wrappers for every new > library you want to use. I would love to be able to > use OpenGL from within rev for example and create > interactive 3D viewports on my rev stacks. > > OT: Wouldn't it be great to have .NET bindings for > rev, especially since it seems that .NET is going to > be a genuinely cross-platform runtime (please no Java > Vs. .NET flames or any other anti-MS invective - I'm > no great fan of MS, but it seems that they've finally > done something right with .NET) > > Best > > Gordon > > > > > --- Chipp Walters wrote: > >> The recent altBrowser bundle offering was a success >> thanks to RR users >> all over the world. A personal thank-you from Chris >> and I for all of >> your support. And thanks to RunRev for an excellent >> job of helping to >> get the word out. >> >> We're currently working on a free upgrade for >> altBrowser (both Mac and >> PC) which we hope will be out next week. >> >> So, this got Chris and I thinking about other >> externals. Before we >> started, we wanted to get some feedback from RR >> users as which externals >> you would like to see. Keep in mind, they need to be >> cross-platform, and >> they need to have some sort of mass market appeal. >> >> Here are a couple of ideas we have: >> >> 1) USB external support. That about says it all >> right there! >> >> 2) Image Effects library. The ability to >> import/export many different >> formats, apply special effects like dropped shadows, >> borders, sharpen >> and blur and more. >> >> If you have any other ideas, please let us know, >> either on this list or off. >> >> Thanks again! >> >> -Chipp Walters >> Altuit, Inc. >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.4 - Release >> Date: 2/1/2005 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > ===== > :::::::::: Gordon Webster :::::::::: > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAnpf7aqtWrR9cZoRAqZ5AJ93Wb8hHm24IErBV9TqLIyZg4Z9rgCfeYJ1 ZoX0uUgySp6uYup7CrdDI4A= =Dtie -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From gwalias-rev at yahoo.com Thu Feb 3 14:49:49 2005 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Thu, 3 Feb 2005 11:49:49 -0800 (PST) Subject: New Externals... In-Reply-To: Message-ID: <20050203194949.64996.qmail@web51101.mail.yahoo.com> Dear Frank I know about Mono and the like, but I said "going to be cross platform" in the sense of it being a mature technology for all platforms. I believe there are still some minor differences between the Mono CLR and class libraries and the "official" MS versions (mostly centered around the GUI components I believe). BTW: I think the MS team did a great job with C#, which has a wonderfully clean, consistent and uncluttered syntax. I have found that the only real learning curve for C# (if you've programmed in Java or C++) is in learning the new names of all the base classes. Best Gordon --- "Frank D. Engel, Jr." wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > "Going to be" cross-platform? Check here: > > http://www.mono-project.com/ > > > Hmm... what about a Rev runtime for .net? I think > .net will be > available for Windows Mobile soon (is it already?), > so a .net runtime > version would automatically provide support for > software on Windows > Mobile, Windows itself (2000+, correct?), and > apparently Mono-supported > platforms as well (various flavors of Linux, plus OS > X more or less -- > more soon, I hope) -- and possibly even future > platforms which don't > even exist yet! > > > On Feb 3, 2005, at 2:01 PM, Gordon Webster wrote: > > > Dear Chipp > > > > An "externals external" would be great. Something > that > > could expose the functions and type requirements > in > > standard windows dlls or *nix .so shared library > (and > > their OSX equivalents). > > > > As is already the case in C#, Java or some of the > > flavors of Basic, you could then import these > > functions directly into transcript something like > ... > > > > externalHandle = > altuitUseExternal("mylib.dll") > > > > IMHO runrev really needs a more accessible > interface > > to the vast wealth of shared libraries that exist > out > > there, without having to write wrappers for every > new > > library you want to use. I would love to be able > to > > use OpenGL from within rev for example and create > > interactive 3D viewports on my rev stacks. > > > > OT: Wouldn't it be great to have .NET bindings for > > rev, especially since it seems that .NET is going > to > > be a genuinely cross-platform runtime (please no > Java > > Vs. .NET flames or any other anti-MS invective - > I'm > > no great fan of MS, but it seems that they've > finally > > done something right with .NET) > > > > Best > > > > Gordon > > > > > > > > > > --- Chipp Walters wrote: > > > >> The recent altBrowser bundle offering was a > success > >> thanks to RR users > >> all over the world. A personal thank-you from > Chris > >> and I for all of > >> your support. And thanks to RunRev for an > excellent > >> job of helping to > >> get the word out. > >> > >> We're currently working on a free upgrade for > >> altBrowser (both Mac and > >> PC) which we hope will be out next week. > >> > >> So, this got Chris and I thinking about other > >> externals. Before we > >> started, we wanted to get some feedback from RR > >> users as which externals > >> you would like to see. Keep in mind, they need to > be > >> cross-platform, and > >> they need to have some sort of mass market > appeal. > >> > >> Here are a couple of ideas we have: > >> > >> 1) USB external support. That about says it all > >> right there! > >> > >> 2) Image Effects library. The ability to > >> import/export many different > >> formats, apply special effects like dropped > shadows, > >> borders, sharpen > >> and blur and more. > >> > >> If you have any other ideas, please let us know, > >> either on this list or off. > >> > >> Thanks again! > >> > >> -Chipp Walters > >> Altuit, Inc. > >> > >> > >> -- > >> No virus found in this outgoing message. > >> Checked by AVG Anti-Virus. > >> Version: 7.0.300 / Virus Database: 265.8.4 - > Release > >> Date: 2/1/2005 > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> > > > http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > ===== > > :::::::::: Gordon Webster :::::::::: > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - > ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave > his only begotten > Son, that whosoever believeth in him should not > perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCAnpf7aqtWrR9cZoRAqZ5AJ93Wb8hHm24IErBV9TqLIyZg4Z9rgCfeYJ1 > ZoX0uUgySp6uYup7CrdDI4A= > =Dtie > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB > Transfer > 10 Personalized POP and Web E-mail Accounts, and > much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From katir at hindu.org Thu Feb 3 15:14:35 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 3 Feb 2005 10:14:35 -1000 Subject: Printing Crashes Rev in OSX In-Reply-To: <82049983ff44ee5409cfe6356fc5354b@danshafer.com> References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> <82049983ff44ee5409cfe6356fc5354b@danshafer.com> Message-ID: <39670EFA-7620-11D9-B49A-000A959D0AC6@hindu.org> Ah... but that puts us back to original issue, Revolution *did* quit, immediately after running the print job, even though the menuPick parameter was only "Print" ... it processed the next case on menuPick pWhichItem switch pWhichItem case "Print" printTranscript case "Quit" save this stack quit break end switch end menuPick # result: print job is done, Revolution quits on menuPick pWhichItem switch pWhichItem case "Print" printTranscript break case "Quit" save this stack quit break end switch end menuPick # result: print job done; Revolution stays alive. ?? Sivakatirswami On Feb 2, 2005, at 3:11 PM, Dan Shafer wrote: > In your specific case, it couldn't, of course, but the logic has to be > built for situations where more than one case might apply to a given > situation. > > Dan > > On Feb 2, 2005, at 3:17 PM, Sivakatirswami wrote: > >> Dan, Indeed, one would expect the drop-through if there is no "break" >> >> but, how would >> >> case "Quit" >> >> evaluate to "true" when the parameter >> passed from the menuPick was "Print" >> ?? >> >> That's what is mysterious. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From djh at mac.com Thu Feb 3 15:21:28 2005 From: djh at mac.com (Derek Hadlington) Date: Thu, 3 Feb 2005 20:21:28 -0000 Subject: New Externals... In-Reply-To: Message-ID: <200502032021.j13KLRbF025472@mac.com> Hi, Windows Mobile platforms have had .Net capability for a while via the .Net Compact Framework and controls support from vendors such as ComponentOne. Visual Studio IDE (Professional and above) provides projects 'out of box' for Mobile devices and even an emulator to test your application without having a PDA/Smart Device. Current .Net framework (1.1) Will work on Windows Platforms all the Way back to NT4 SP6a with certain caveats. Mono on Linux works quite nicely and I regularly build on MS .Net and run on windows and Vice Versa. Only real weakness at moment is the Windows Forms Implementation on Mono is a 'work in progress' and relies on Wine emulation. Iam using GTK bindings on .Net to address this for now. A lot of these limitations are been addressed in future versions as well as VS2005 compatibility and now Novell is stewarding the effort its moving along at quite a rate. There will always be some minor differences ( IP issues and certain frameworks not been useful on non Windows environments). Like most things in theory ( I think :-)) )Revolution could be made so that it emits Mono/MS .Net compatible ILASM code which could be run on top of a .Net or Mono runtime enivronment. Points to note here are :- Would need a ground up rewrite of Revolution to generate ILASM instead of Its own integrated custom bytecode engine and code model. A BIG Job I would expect ! Revolution as it is has the nice feature of very easy deployment with most applications been comprised of a single file approx 2MB in size. Mono and .Net are in the 20 to 40 MB range unless frameworks etc are already installed on system its to be deployed on ( Very uncommon currently ). Solution to reduce .Net size and not require framework to be installed globally do exist and cost is $$$$ ( Xenocode $1500 !! ). This issue often occurs with Java too :-) I would personally think a better course to take would be the one Gordon suggested in his OT, namely make it easy to bind to .Net/Mono in a similar Way to how you can use .Net functionality from ActiveState Perl using PerlNet supplied with their Perl Development Kit. Phew that got a bit too long and OT :-)) Cheers Derek -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. Engel, Jr. Sent: 03 February 2005 19:24 To: How to use Revolution Subject: Re: New Externals... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "Going to be" cross-platform? Check here: http://www.mono-project.com/ Hmm... what about a Rev runtime for .net? I think .net will be available for Windows Mobile soon (is it already?), so a .net runtime version would automatically provide support for software on Windows Mobile, Windows itself (2000+, correct?), and apparently Mono-supported platforms as well (various flavors of Linux, plus OS X more or less -- more soon, I hope) -- and possibly even future platforms which don't even exist yet! On Feb 3, 2005, at 2:01 PM, Gordon Webster wrote: > Dear Chipp > > An "externals external" would be great. Something that > could expose the functions and type requirements in > standard windows dlls or *nix .so shared library (and > their OSX equivalents). > > As is already the case in C#, Java or some of the > flavors of Basic, you could then import these > functions directly into transcript something like ... > > externalHandle = altuitUseExternal("mylib.dll") > > IMHO runrev really needs a more accessible interface > to the vast wealth of shared libraries that exist out > there, without having to write wrappers for every new > library you want to use. I would love to be able to > use OpenGL from within rev for example and create > interactive 3D viewports on my rev stacks. > > OT: Wouldn't it be great to have .NET bindings for > rev, especially since it seems that .NET is going to > be a genuinely cross-platform runtime (please no Java > Vs. .NET flames or any other anti-MS invective - I'm > no great fan of MS, but it seems that they've finally > done something right with .NET) > > Best > > Gordon > > > > > --- Chipp Walters wrote: > >> The recent altBrowser bundle offering was a success >> thanks to RR users >> all over the world. A personal thank-you from Chris >> and I for all of >> your support. And thanks to RunRev for an excellent >> job of helping to >> get the word out. >> >> We're currently working on a free upgrade for >> altBrowser (both Mac and >> PC) which we hope will be out next week. >> >> So, this got Chris and I thinking about other >> externals. Before we >> started, we wanted to get some feedback from RR >> users as which externals >> you would like to see. Keep in mind, they need to be >> cross-platform, and >> they need to have some sort of mass market appeal. >> >> Here are a couple of ideas we have: >> >> 1) USB external support. That about says it all >> right there! >> >> 2) Image Effects library. The ability to >> import/export many different >> formats, apply special effects like dropped shadows, >> borders, sharpen >> and blur and more. >> >> If you have any other ideas, please let us know, >> either on this list or off. >> >> Thanks again! >> >> -Chipp Walters >> Altuit, Inc. >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.4 - Release >> Date: 2/1/2005 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > ===== > :::::::::: Gordon Webster :::::::::: > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAnpf7aqtWrR9cZoRAqZ5AJ93Wb8hHm24IErBV9TqLIyZg4Z9rgCfeYJ1 ZoX0uUgySp6uYup7CrdDI4A= =Dtie -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at cableone.net Thu Feb 3 15:23:15 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 3 Feb 2005 13:23:15 -0700 Subject: "refresh" the Finder? Message-ID: <1107462328_184134@S2.cableone.net> Does anyone know of some way that one can ?refresh? the Finder under OS X? I?m not even really sure if that?s the right question or not. Let me explain. I have an application that runs from CD-ROM. When the program launches, it copies certain temporary files to the user?s preferences folder on the hard drive. When the program exits, it deletes those files if the user chooses to. The problem is that the folder where I store the files does not really get deleted or something. It?s hard to explain. But if I navigate to the Preferences folder, I see my temporary folder momentarily before it disappears. Now, if I do that in between sessions of running my application, everything?s fine. But if I don?t, then when the app runs again, I get a file copy error. And it's strange because you would think that if the files were there it would just overwrite them, but that's not the case. Anyone know why this would be? Has anyone seen anything like this before? It?s kind of the same thing where if you save a file from some program (TextEdit for example) the file does not always appear listed in the Finder until you refresh the view somehow (move to another folder then back). Anyone have any ideas on this? Something in Transciprt would be great, but AppleScript or a shell command would be welcome too. Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 From gbojsza at gmail.com Thu Feb 3 15:27:23 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 3 Feb 2005 15:27:23 -0500 Subject: New Externals... In-Reply-To: <200502032021.j13KLRbF025472@mac.com> References: <200502032021.j13KLRbF025472@mac.com> Message-ID: <3d8af41505020312273326449a@mail.gmail.com> Hi Chipp, >From what I could tell on the list over time would be a Filemaker Pro style database. SQLite is free and well supported. Making it an external and giving the rev community a "starter" interface might appeal to the masses? Maybe a follow on business would be a rev plugin that could utilize the SQLite as a table object? And a personal favorite would to have a graphing module that would create serveral types of graphs that excel produces...this may have the largest mass appeal? This would give the rev users the ability to add a standard desired component to their projects. A math engine external? An ssh client? Just a few of my wishes. Maybe regards. On Thu, 3 Feb 2005 20:21:28 -0000, Derek Hadlington wrote: > Hi, > Windows Mobile platforms have had .Net capability for a while via the .Net > Compact Framework and controls support from vendors such as ComponentOne. > Visual Studio IDE (Professional and above) provides projects 'out of box' > for Mobile devices and even an emulator to test your application without > having a PDA/Smart Device. > > Current .Net framework (1.1) Will work on Windows Platforms all the Way back > to NT4 SP6a with certain caveats. > > Mono on Linux works quite nicely and I regularly build on MS .Net and run on > windows and Vice Versa. Only real weakness at moment is the Windows Forms > Implementation on Mono is a 'work in progress' and relies on Wine emulation. > Iam using GTK bindings on .Net to address this for now. > A lot of these limitations are been addressed in future versions as well as > VS2005 compatibility and now Novell is stewarding the effort its moving > along at quite a rate. There will always be some minor differences ( IP > issues and certain frameworks not been useful on non Windows environments). > > Like most things in theory ( I think :-)) )Revolution could be made so that > it emits Mono/MS .Net compatible ILASM code which could be run on top of a > .Net or Mono runtime enivronment. Points to note here are :- > > Would need a ground up rewrite of Revolution to generate ILASM instead of > Its own integrated custom bytecode engine and code model. A BIG Job I > would expect ! > > Revolution as it is has the nice feature of very easy deployment with > most applications been comprised of a single file approx 2MB in size. > Mono and .Net are in the 20 to 40 MB range unless frameworks etc are > already installed on system its to be deployed on ( Very uncommon > currently ). Solution to reduce .Net size and not require framework to > be installed globally do exist and cost is $$$$ ( Xenocode $1500 !! ). > This issue often occurs with Java too :-) > > I would personally think a better course to take would be the one Gordon > suggested in his OT, namely make it easy to bind to .Net/Mono in a similar > Way to how you can use .Net functionality from ActiveState Perl using > PerlNet supplied with their Perl Development Kit. > > Phew that got a bit too long and OT :-)) > > Cheers > Derek > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. > Engel, Jr. > Sent: 03 February 2005 19:24 > To: How to use Revolution > Subject: Re: New Externals... > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > "Going to be" cross-platform? Check here: > > http://www.mono-project.com/ > > Hmm... what about a Rev runtime for .net? I think .net will be > available for Windows Mobile soon (is it already?), so a .net runtime > version would automatically provide support for software on Windows > Mobile, Windows itself (2000+, correct?), and apparently Mono-supported > platforms as well (various flavors of Linux, plus OS X more or less -- > more soon, I hope) -- and possibly even future platforms which don't > even exist yet! > > On Feb 3, 2005, at 2:01 PM, Gordon Webster wrote: > > > Dear Chipp > > > > An "externals external" would be great. Something that > > could expose the functions and type requirements in > > standard windows dlls or *nix .so shared library (and > > their OSX equivalents). > > > > As is already the case in C#, Java or some of the > > flavors of Basic, you could then import these > > functions directly into transcript something like ... > > > > externalHandle = altuitUseExternal("mylib.dll") > > > > IMHO runrev really needs a more accessible interface > > to the vast wealth of shared libraries that exist out > > there, without having to write wrappers for every new > > library you want to use. I would love to be able to > > use OpenGL from within rev for example and create > > interactive 3D viewports on my rev stacks. > > > > OT: Wouldn't it be great to have .NET bindings for > > rev, especially since it seems that .NET is going to > > be a genuinely cross-platform runtime (please no Java > > Vs. .NET flames or any other anti-MS invective - I'm > > no great fan of MS, but it seems that they've finally > > done something right with .NET) > > > > Best > > > > Gordon > > > > > > > > > > --- Chipp Walters wrote: > > > >> The recent altBrowser bundle offering was a success > >> thanks to RR users > >> all over the world. A personal thank-you from Chris > >> and I for all of > >> your support. And thanks to RunRev for an excellent > >> job of helping to > >> get the word out. > >> > >> We're currently working on a free upgrade for > >> altBrowser (both Mac and > >> PC) which we hope will be out next week. > >> > >> So, this got Chris and I thinking about other > >> externals. Before we > >> started, we wanted to get some feedback from RR > >> users as which externals > >> you would like to see. Keep in mind, they need to be > >> cross-platform, and > >> they need to have some sort of mass market appeal. > >> > >> Here are a couple of ideas we have: > >> > >> 1) USB external support. That about says it all > >> right there! > >> > >> 2) Image Effects library. The ability to > >> import/export many different > >> formats, apply special effects like dropped shadows, > >> borders, sharpen > >> and blur and more. > >> > >> If you have any other ideas, please let us know, > >> either on this list or off. > >> > >> Thanks again! > >> > >> -Chipp Walters > >> Altuit, Inc. > >> > >> > >> -- > >> No virus found in this outgoing message. > >> Checked by AVG Anti-Virus. > >> Version: 7.0.300 / Virus Database: 265.8.4 - Release > >> Date: 2/1/2005 > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> > > http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > ===== > > :::::::::: Gordon Webster :::::::::: > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCAnpf7aqtWrR9cZoRAqZ5AJ93Wb8hHm24IErBV9TqLIyZg4Z9rgCfeYJ1 > ZoX0uUgySp6uYup7CrdDI4A= > =Dtie > -----END PGP SIGNATURE----- > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.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 jperryl at ecs.fullerton.edu Thu Feb 3 15:38:43 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 3 Feb 2005 12:38:43 -0800 (PST) Subject: New Externals... In-Reply-To: <42027124.6030906@chipp.com> Message-ID: how about irregularly-shaped objects? Judy On Thu, 3 Feb 2005, Chipp Walters wrote: > So, this got Chris and I thinking about other externals. Before we > started, we wanted to get some feedback from RR users as which externals > you would like to see. Keep in mind, they need to be cross-platform, and > they need to have some sort of mass market appeal. From fde101 at fjrhome.net Thu Feb 3 15:43:29 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 3 Feb 2005 15:43:29 -0500 Subject: "refresh" the Finder? In-Reply-To: <1107462328_184134@S2.cableone.net> References: <1107462328_184134@S2.cableone.net> Message-ID: <8619095027bed3d8e138e1a7a71aebea@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Clicking on the window (or in the case of the desktop, on the desktop) refreshes the display. Meanwhile, you could try using AppleScript to tell the finder to delete the file or folder, rather than deleting it from Rev... maybe the Finder will automatically refresh itself if you do it that way? Not sure, just a thought. On Feb 3, 2005, at 3:23 PM, Chris Sheffield wrote: > Does anyone know of some way that one can ?refresh? the Finder under > OS X? > I?m not even really sure if that?s the right question or not. Let me > explain. > > I have an application that runs from CD-ROM. When the program > launches, it > copies certain temporary files to the user?s preferences folder on the > hard > drive. When the program exits, it deletes those files if the user > chooses > to. The problem is that the folder where I store the files does not > really > get deleted or something. It?s hard to explain. But if I navigate to > the > Preferences folder, I see my temporary folder momentarily before it > disappears. Now, if I do that in between sessions of running my > application, everything?s fine. But if I don?t, then when the app runs > again, I get a file copy error. And it's strange because you would > think > that if the files were there it would just overwrite them, but that's > not > the case. Anyone know why this would be? Has anyone seen anything > like > this before? It?s kind of the same thing where if you save a file > from some > program (TextEdit for example) the file does not always appear listed > in the > Finder until you refresh the view somehow (move to another folder then > back). > > Anyone have any ideas on this? Something in Transciprt would be > great, but > AppleScript or a shell command would be welcome too. > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAozz7aqtWrR9cZoRAqmSAJ0UEztgy3nxGv3b9a/roCq1/2yUowCghUid rWYEnl0sEmzd0JRl4c2kkqA= =GzJy -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Thu Feb 3 15:51:06 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 3 Feb 2005 15:51:06 -0500 Subject: New Externals... In-Reply-To: <200502032021.j13KLRbF025472@mac.com> References: <200502032021.j13KLRbF025472@mac.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Uh -- not what I meant. I meant port Rev's engine (including the existing bytecode interpreter) to run on .net's CLR -- just another port of the engine, much as there is already a port for Windows, another for OS X, one for Classic, etc. A somewhat simpler task than the one suggested (quoted below), I suspect. On Feb 3, 2005, at 3:21 PM, Derek Hadlington wrote: > Like most things in theory ( I think :-)) )Revolution could be made so > that > it emits Mono/MS .Net compatible ILASM code which could be run on top > of a > .Net or Mono runtime enivronment. Points to note here are :- > > Would need a ground up rewrite of Revolution to generate ILASM instead > of > Its own integrated custom bytecode engine and code model. A BIG Job I > would expect ! - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAo687aqtWrR9cZoRApp9AJ9TeadRWIlZyNTDtaUxgdw/ZA9CdACdEc+E s8fJCcIVgsdp0L34ZUnddHc= =85sO -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Thu Feb 3 15:59:08 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 03 Feb 2005 12:59:08 -0800 Subject: filtering for one type with multiple extensions Message-ID: <4202909C.4090000@fourthworld.com> I need to filter a file selection dialog for multiple extensions for the same type. For example, MPEGs can be either "*.mpg" or "*.mpeg". I know how to list them separately, but how do I make one entry which will filter for MPEGs ending in both ".mpg" and ".mpeg"? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From chipp at chipp.com Thu Feb 3 16:12:18 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 03 Feb 2005 15:12:18 -0600 Subject: filtering for one type with multiple extensions In-Reply-To: <4202909C.4090000@fourthworld.com> References: <4202909C.4090000@fourthworld.com> Message-ID: <420293B2.9080909@chipp.com> answer file "fred" with filter "Jpegs,*.jpg;*.jpeg" Richard Gaskin wrote: > I need to filter a file selection dialog for multiple extensions for the > same type. For example, MPEGs can be either "*.mpg" or "*.mpeg". > > I know how to list them separately, but how do I make one entry which > will filter for MPEGs ending in both ".mpg" and ".mpeg"? > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 From glenb at napier.govt.nz Thu Feb 3 16:12:46 2005 From: glenb at napier.govt.nz (Glen Boyd) Date: Fri, 04 Feb 2005 10:12:46 +1300 Subject: filtering for one type with multiple extensions In-Reply-To: <4202909C.4090000@fourthworld.com> References: <4202909C.4090000@fourthworld.com> Message-ID: <420293CE.3010106@napier.govt.nz> Hi Richard, Richard Gaskin wrote: > I need to filter a file selection dialog for multiple extensions for the > same type. For example, MPEGs can be either "*.mpg" or "*.mpeg". > > I know how to list them separately, but how do I make one entry which > will filter for MPEGs ending in both ".mpg" and ".mpeg"? I just did a quick test using "ask file" with a filter defined like this: "Choices,*.c1;*.c2" and it appears to produce the result you are after. regards -- Glen Boyd Network Administrator Napier City Council Private Bag 6010, Napier, New Zealand Phone: +64-6-8344119 Fax: +64-6-8357574 ###################################################################### Attention: This e-mail message and accompanying data may contain information that is confidential and subject to legal privilege. Any information provided is given in good faith. However unless specifically stated to the contrary, Napier City Council accepts no liability for the content of this e-mail or for the consequences of any action taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you received this e-mail message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. From pevensen at siboneylg.com Thu Feb 3 16:19:25 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 03 Feb 2005 15:19:25 -0600 Subject: Standalones In-Reply-To: References: Message-ID: <6.2.0.14.2.20050203151854.045215b8@exchange.slg.com> Not to add fuel to the fire, but RealBasic on Windows can create classic apps. They just generate a .bin file which you unpack on the Mac. At 08:20 PM 1/29/2005, you wrote: >On 1/29/05 4:56 PM, "Ben Fisher" wrote: > > > I'm using Rev 2.5 on Windows XP. When I open up the Standalone Application > > Settings, the "Mac OS" icon is grayed out. I'd like to be able to save as a > > Mac classic standalone. Is this still possible? I'd rather not have to use > > Dreamcard Player. > >Sorry, OS 9 standalones can't be build on Windows because of the resource >fork requirements that are stripped out under WIndows. OS X is different >because everything is a file, but I haven't build any Mac apps on Windows so >I don't know how well this works. The only way to create a Mac classic >standalone is on a Mac, AFAIK. > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From ambassador at fourthworld.com Thu Feb 3 16:23:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 03 Feb 2005 13:23:15 -0800 Subject: filtering for one type with multiple extensions - nevermind In-Reply-To: <4202909C.4090000@fourthworld.com> References: <4202909C.4090000@fourthworld.com> Message-ID: <42029643.1010501@fourthworld.com> Richard Gaskin wrote: > I need to filter a file selection dialog for multiple extensions for the > same type. For example, MPEGs can be either "*.mpg" or "*.mpeg". > > I know how to list them separately, but how do I make one entry which > will filter for MPEGs ending in both ".mpg" and ".mpeg"? I found the answer -- sometimes it helps to RTFM. :) I had misread the docs the first time, but a re-read gave me the solution: answer file with filter "QuickTime files,*mov"&cr \ &"MPEG video files,*.mpg;*.mpeg" -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revlist at cableone.net Thu Feb 3 16:37:18 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 3 Feb 2005 14:37:18 -0700 Subject: "refresh" the Finder? In-Reply-To: <8619095027bed3d8e138e1a7a71aebea@fjrhome.net> Message-ID: <1107466763_185703@S2.cableone.net> Thanks, Frank. I used AppleScript to delete my folder and that seems to work. The problem now is that it just places the folder in the Trash, and it didn't do that before. Does anyone know if there's a way to remove a specific folder from the trash using AppleScript? I tried using the empty command followed by the reference to the folder in the trash, but it didn't work. If not, I'll just empty the trash, but I thought that's probably not a very nice thing to do. Shouldn't be a big deal in this case, however. Sorry this is kind of OT. Thanks again, Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. Engel, Jr. Sent: Thursday, February 03, 2005 1:43 PM To: How to use Revolution Subject: Re: "refresh" the Finder? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Clicking on the window (or in the case of the desktop, on the desktop) refreshes the display. Meanwhile, you could try using AppleScript to tell the finder to delete the file or folder, rather than deleting it from Rev... maybe the Finder will automatically refresh itself if you do it that way? Not sure, just a thought. On Feb 3, 2005, at 3:23 PM, Chris Sheffield wrote: > Does anyone know of some way that one can ?refresh? the Finder under > OS X? > I?m not even really sure if that?s the right question or not. Let me > explain. > > I have an application that runs from CD-ROM. When the program > launches, it > copies certain temporary files to the user?s preferences folder on the > hard > drive. When the program exits, it deletes those files if the user > chooses > to. The problem is that the folder where I store the files does not > really > get deleted or something. It?s hard to explain. But if I navigate to > the > Preferences folder, I see my temporary folder momentarily before it > disappears. Now, if I do that in between sessions of running my > application, everything?s fine. But if I don?t, then when the app runs > again, I get a file copy error. And it's strange because you would > think > that if the files were there it would just overwrite them, but that's > not > the case. Anyone know why this would be? Has anyone seen anything > like > this before? It?s kind of the same thing where if you save a file > from some > program (TextEdit for example) the file does not always appear listed > in the > Finder until you refresh the view somehow (move to another folder then > back). > > Anyone have any ideas on this? Something in Transciprt would be > great, but > AppleScript or a shell command would be welcome too. > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAozz7aqtWrR9cZoRAqmSAJ0UEztgy3nxGv3b9a/roCq1/2yUowCghUid rWYEnl0sEmzd0JRl4c2kkqA= =GzJy -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 From michaell at unimelb.edu.au Thu Feb 3 17:02:23 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Fri, 4 Feb 2005 09:02:23 +1100 Subject: New Externals... Message-ID: I would make use of an empty external that took a list of parameters and returned a list of parameters without altering them! What I really want is to be able to use the enormous resource of proven algorithms that are available for doing mathematical stuff quickly. I imagine that I would take the source of the empty external and put the algorithm into its guts and then compile it for use. That would allow me to make lots of useful things at little effort. Maybe my lack of understanding of externals is showing :-) -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From gregory.lypny at videotron.ca Thu Feb 3 17:02:18 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 03 Feb 2005 17:02:18 -0500 Subject: SOAP Tutorial Stack Message-ID: Hello everyone, There used to be a nice tutorial stack on SOAP. Can anyone tell me where I can find it? Regards, Greg From eric.chatonet at wanadoo.fr Thu Feb 3 17:26:03 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Thu, 3 Feb 2005 23:26:03 +0100 Subject: Announcement: SIX PLUGINS for Revolution 2.x. and more to come Message-ID: <0a6a279525bac35c86ab3df89369900d@wanadoo.fr> Hi everyone, I am happy to announce I have released 6 sophisticated plugins/utilities for Revolution 2.x. All are supplied with a bilingual (English/French) help stack and have been optimized for Mac OS X and Windows XP. Most of them are offered free of charge. With an amazing look and smart functions: - Color Picker lets you easily pick up, manage, store and apply colors and color sets to objects. - Guides Picker provides intelligent on-screen guides and a ?weaver lens? (magnifying glass) to help you build sophisticated interfaces easily. - Encoded Text Picker translates plain vanilla ASCII text?from/into HTML and/or URLEncode with smart additional features. - Message Box Picker enhances the Rev message box. - Navigation Picker provides easy navigation and card management. - Objects Picker lets you edit all the properties/scripts of the objects within your project with one click and perform dozens of powerful actions. Other are in the works: Report Picker, Windows Picker, Backups Picker... For further details, screenshots and downloads, please visit http://www.sosmartsoftware.com/ With friendly greetings, Eric Chatonet ------------------------------------------------------------------------ ------------ For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------------ ------------ Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ------------------------------------------------------------------------ ------------ From frank at backtalk.com Thu Feb 3 18:14:49 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 3 Feb 2005 23:14:49 +0000 Subject: GIF export scaling problems Message-ID: <66D8E3E0-7639-11D9-A1EF-000A9580FCCE@backtalk.com> Has anyone else tried to use the GIF export? It appears to work in 2.2 without a key (the patent ran out just before 2.2 was released). The problem I'm having is that when you scale the GIF image smaller it looks terrible. Does anyone know if there's a command that will tell RunRev it to do a better job of scaling, maybe something like resizeQuality? Or will I have to output a temp jpeg image, read it back in and re-output as a GIF? Thanks, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From soapdog at mac.com Thu Feb 3 18:51:20 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 3 Feb 2005 21:51:20 -0200 Subject: OT Windows Mobile (was Re: New Externals...) In-Reply-To: References: <20050203190104.96528.qmail@web51103.mail.yahoo.com> Message-ID: <081ec004f44b852b785f04373236df98@mac.com> On Feb 3, 2005, at 5:24 PM, Frank D. Engel, Jr. wrote: > I think .net will be available for Windows Mobile soon (is it > already?), so a .net runtime version would automatically provide > support for software on Windows Mobile, Windows itself (2000+, > correct?) it is right now, it's called .NET CF or in plain english DotNET Compact Framework, my iPAQ rx3400 running windows mobile 2003 SE runs it fine, I even created a hello world for it in my mac using DotGNU project... but for the whole infinite love of God, I would rather be with Rev! Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From michaell at unimelb.edu.au Thu Feb 3 19:07:11 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Fri, 4 Feb 2005 11:07:11 +1100 Subject: clone this card Message-ID: Strangely, I am unable to clone cards. This script in the message box or in a mouseUp handler in a button doesn't add to the number of cards and the it variable is stuck on the current card: clone this card; put it & return & the number of cards in this stack It should make me a new card, shouldn't it? -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From fde101 at fjrhome.net Thu Feb 3 19:12:42 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 3 Feb 2005 19:12:42 -0500 Subject: clone this card In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is the stack encrypted (is a password set)? If so, you can't clone cards in that stack. On Feb 3, 2005, at 7:07 PM, Michael J. Lew wrote: > Strangely, I am unable to clone cards. This script in the message box > or in a mouseUp handler in a button doesn't add to the number of cards > and the it variable is stuck on the current card: > > clone this card; put it & return & the number of cards in this stack > > It should make me a new card, shouldn't it? > > > -- > Michael J. Lew > > Senior Lecturer > Department of Pharmacology > The University of Melbourne > Parkville 3010 > Victoria > Australia > > Phone +613 8344 8304 > > ** > New email address: michaell at unimelb.edu.au > ** > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCAr377aqtWrR9cZoRAv0sAJ4vfQrjJStOCWwJnFtlmKYPt7cNiACfbAQL pTXxmssyMoFKIrPf3ft8yGk= =P8PU -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From tsj at unimelb.edu.au Thu Feb 3 19:16:56 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 4 Feb 2005 11:16:56 +1100 Subject: "refresh" the Finder? In-Reply-To: <20050203204314.26ED0930179@mail.runrev.com> Message-ID: <145C6492-7642-11D9-8FBD-000393AEC28C@unimelb.edu.au> > From: "Chris Sheffield" > Date: Fri Feb 4, 2005 7:23:15 AM Australia/Melbourne > To: "RevList" > Subject: "refresh" the Finder? > Reply-To: How to use Revolution > > > Does anyone know of some way that one can ?refresh? the Finder under > OS X? > I?m not even really sure if that?s the right question or not. Let me > explain. > > I have an application that runs from CD-ROM. When the program > launches, it > copies certain temporary files to the user?s preferences folder on the > hard > drive. When the program exits, it deletes those files if the user > chooses > to. The problem is that the folder where I store the files does not > really > get deleted or something. It?s hard to explain. But if I navigate to > the > Preferences folder, I see my temporary folder momentarily before it > disappears. Now, if I do that in between sessions of running my > application, everything?s fine. But if I don?t, then when the app runs > again, I get a file copy error. And it's strange because you would > think > that if the files were there it would just overwrite them, but that's > not > the case. Anyone know why this would be? Has anyone seen anything > like > this before? It?s kind of the same thing where if you save a file > from some > program (TextEdit for example) the file does not always appear listed > in the > Finder until you refresh the view somehow (move to another folder then > back). > > Anyone have any ideas on this? Something in Transciprt would be > great, but > AppleScript or a shell command would be welcome too. Chris - I had the same (very frustrating) problem a while back. No fix, sorry, but a couple of workarounds... 1. use applescript to move the files to the trash... this script will move a specifed folder (containing your files) to the trash (sort of what you want?) on trashMacFolder srcFolder if there is a folder srcFolder then put "tell application" && quote & "Finder" & quote & cr & tab & "move folder" && revPathtoApplescript(srcFolder) && "to trash" && cr & "end tell" into tScript do tScript as AppleScript end if end trashMacFolder 2. use the rename command to move them to the trash Cheers, Terry... > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From dsquance at elkvalley.net Thu Feb 3 19:22:32 2005 From: dsquance at elkvalley.net (David Squance) Date: Thu, 3 Feb 2005 17:22:32 -0700 Subject: clone this card In-Reply-To: References: Message-ID: <0f1e6e9f4b1b593327221e3a7b10abbf@elkvalley.net> Worked for me. Mac OS 10.3.7 RR 2.1.2 I just tried it in the message box. Dave On Feb 3, 2005, at 5:07 PM, Michael J. Lew wrote: > clone this card; put it & return & the number of cards in this stack From rjb at robelko.com Thu Feb 3 19:32:31 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 4 Feb 2005 01:32:31 +0100 Subject: "refresh" the Finder? In-Reply-To: <1107466763_185703@S2.cableone.net> References: <1107466763_185703@S2.cableone.net> Message-ID: >Thanks, Frank. I used AppleScript to delete my folder and that seems to >work. > >The problem now is that it just places the folder in the Trash, and it >didn't do that before. Does anyone know if there's a way to remove a >specific folder from the trash using AppleScript? I tried using the empty >command followed by the reference to the folder in the trash, but it didn't >work. If not, I'll just empty the trash, but I thought that's probably not >a very nice thing to do. Shouldn't be a big deal in this case, however. > >Sorry this is kind of OT. > >Thanks again, > >Chris Sheffield >Software Development >Read Naturally > Have you tried to move the file trash through applescript/finder and then delete it from the trash using Rev's delete file command? People usually do not have trash open, so any update delay should not be an issue. Robert From frank at backtalk.com Thu Feb 3 19:39:22 2005 From: frank at backtalk.com (Frank Leahy) Date: Fri, 4 Feb 2005 00:39:22 +0000 Subject: GIF scaling problems followup... Message-ID: <368DEC26-7645-11D9-A1EF-000A9580FCCE@backtalk.com> I'm thinking that the scaling problems I'm seeing with resizing GIFs is related to their being 8-bit. I've tried resizing, then exporting to a jpeg file, then reimporting and exporting to a GIF. I can see that the temp jpeg file looks great, but the exported GIF still looks like sh-t. Anyone know if there's a hidden 24-8 scaling quality command lurking somewhere? Thanks, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From boinjyboing at hotmail.com Thu Feb 3 20:01:37 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Thu, 3 Feb 2005 17:01:37 -0800 Subject: Arrays Message-ID: I'm using fairly large arrays. These need to be stored as a file on the hard drive or in some other manner. The trick is that they have to be quickly retrieved. The way I'm handling this now is to write all the elements of the array into return-delimited data, compressing this data, and then writing it to the file. This is slow to retrieve. I know that it's slow to find the nth line of something, but I can't think of another way to delimit the data. Can anyone think of a way to store an array? Can it be saved into the stack somehow? -Ben From alex at tweedly.net Thu Feb 3 20:20:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 01:20:28 +0000 Subject: [ANN] Find & Replace patch now available... In-Reply-To: <41FF5320.8050305@chipp.com> References: <41FF5320.8050305@chipp.com> Message-ID: <4202CDDC.6050500@tweedly.net> Chipp Walters wrote: > Alex, > > No Need to fix, tracked it down last night. Turns out there's a problem > with shared group references. It manifests itself in a spinning busy > icon which never stops and not hits seen in the fields below. I've > created a patch stack: > > go URL "http://www.altuit.com/webs/altuit2/RunRev/altRevSearchFix.rev" > > This stack will patch the revSearch.rev stack so that the group > references are set correct. There's also a button to 'revert' to the old > stack, though I'm at a lost why anyone would want to. Thanks Chipp - it's great to have others find such answers for you :-) Sorry to be slow in saying "thanks"- I started an email reply immediately, but got sidetracked on to how it would be good to have pointers to this and other unofficial IDE fixes (e.g. Ken's fix for search/filter) collected on some "well-known" web page. And then I got further side-tracked on to the topic of finding all the Rev goodies that are available (but often hard to find) on the widely scattered personal web pages. And that led me on to RevOnline and the missing features it lacks for searching and qualifying the scripts available. And that led to ..... Well - there was a lot of stuff that I probably should collect into 3 or 4 focused emails and send someday, but this note of thanks shouldn't wait for me to do that ... -- -Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From gizmotron at earthlink.net Thu Feb 3 20:32:22 2005 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 3 Feb 2005 17:32:22 -0800 Subject: Arrays In-Reply-To: <20050204011621.A2984930191@mail.runrev.com> Message-ID: <9E095128-764C-11D9-AE58-000A95743F7A@earthlink.net> On Thursday, February 3, 2005, at 05:16 PM, use-revolution-request at lists.runrev.com wrote: > Can anyone think of a way to store an array? Can it be saved into the > stack somehow? > > -Ben I use my pull-parser all the time to store and then repopulate an array. I store both text and binary/base64 encoded in the simple XML format. Check the archives for pull-parser, MTML, array manipulation... somewhere in there is my pull-parser functions. I'm on digest to cc to me if you need more. Mark From alex at tweedly.net Thu Feb 3 20:29:47 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 01:29:47 +0000 Subject: Expression calculations in message box In-Reply-To: References: <20050202025107.3AB5F930127@mail.runrev.com> Message-ID: <4202D00B.8090504@tweedly.net> Jim Hurley wrote: > There used (Run Rev 1.1) to be significant differences between the > behavior of message box commands and the same commands executed in > other controls--buttons for example. Even in your case-- put 1 into m; > put ((m)+9)-- will give 10 if executed in a button handler. > > But, on the positive side, most of the old message box problems have > been fixed. > Thanks Jim H and Jim L. I guess I've just been lucky in coming late to the party - I knew nothing about earlier problems with the message box. Bugzilla 2580 submitted. -- - Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From davis.phil at comcast.net Thu Feb 3 20:41:08 2005 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 03 Feb 2005 17:41:08 -0800 Subject: Arrays In-Reply-To: References: Message-ID: <4202D2B4.6010402@comcast.net> I love questions like this one. on saveArray global gBigArray -- target a specific custom property set set the customPropertySet of stack "allMyArrays" to "uBigArray" -- replace all elements of 'uBigArray' CPS with 'gBigArray' set the customProperties of stack "allMyArrays" to gBigArray -- save it save stack "allMyArrays" end saveArray Then three days later, to get those values back into an array variable: on loadArray global gOtherBigArray -- target a specific custom property set set the customPropertySet of stack "allMyArrays" to "uBigArray" -- replace all elements of 'gOtherBigArray' with the 'uBigArray' CPS put the customProperties of stack "allMyArrays" into gOtherBigArray end loadArray HTH - Phil Davis Ben Fisher wrote: > I'm using fairly large arrays. These need to be stored as a file on the hard drive or in some other manner. The trick is that they have to be quickly retrieved. > > The way I'm handling this now is to write all the elements of the array into return-delimited data, compressing this data, and then writing it to the file. This is slow to retrieve. I know that it's slow to find the nth line of something, but I can't think of another way to delimit the data. > > Can anyone think of a way to store an array? Can it be saved into the stack somehow? > > -Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Thu Feb 3 20:53:03 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 3 Feb 2005 17:53:03 -0800 (PST) Subject: New Externals... In-Reply-To: <20050204011621.BE1F6930192@mail.runrev.com> Message-ID: <20050204015303.56950.qmail@web40528.mail.yahoo.com> > On Thu, 3 Feb 2005, Chipp Walters wrote: > > So, this got Chris and I thinking about other > externals. Before we > started, we wanted to get some feedback from RR > users as which externals > you would like to see. Keep in mind, they need to > be cross-platform, and > they need to have some sort of mass market appeal. Create an external that puts Macromedia Flash animations or openGL graphics inside a card. With full capabilities to handle most mouse events and data sharing between RR and them. ;-) al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From alex at tweedly.net Thu Feb 3 21:07:46 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 02:07:46 +0000 Subject: New Externals... In-Reply-To: <42027124.6030906@chipp.com> References: <42027124.6030906@chipp.com> Message-ID: <4202D8F2.20005@tweedly.net> Chipp Walters wrote: > So, this got Chris and I thinking about other externals. Before we > started, we wanted to get some feedback from RR users as which > externals you would like to see. Keep in mind, they need to be > cross-platform, and they need to have some sort of mass market appeal. > > Here are a couple of ideas we have: > > 1) USB external support. That about says it all right there! > > 2) Image Effects library. The ability to import/export many different > formats, apply special effects like dropped shadows, borders, sharpen > and blur and more. > > If you have any other ideas, please let us know, either on this list > or off. 1. What Gordon said - an external to make it easy to use existing libraries (dlls). Probably based on SWIG (as used by Perl, Python and many others). 2. 3D graphics interface. Interface to OpenGL, or maybe SDL 3. VOIP toolkit. Interface to existing SIP libraries, and controllable audio encoding (G711 or 723 or later, with the external managing all packet sending and reception). Choice of external talking either to hardware (i.e. handset or mic/spkrs) or passing audio buffers to the Transcript [and similarly taking audio buffer from Transcript and encoding/sending it]. 4. numeric array/math package. 5. Does it NEED to be cross platform ???? If not - easy mechanism to interface to COM on Windows -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From michaell at unimelb.edu.au Thu Feb 3 21:16:57 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Fri, 4 Feb 2005 13:16:57 +1100 Subject: clone this card Message-ID: No, the stack is not locked, encrypted or anything. In a brand new mainstack I can clone buttons, fields and the stack itself, but not cards. Very strange. Maybe I should reinstall Rev.... At 8:16 PM -0500 3/2/05, Frank Engel wrote: >Is the stack encrypted (is a password set)? If so, you can't clone >cards in that stack. > >On Feb 3, 2005, at 7:07 PM, Michael J. Lew wrote: > >> Strangely, I am unable to clone cards. This script in the message box >> or in a mouseUp handler in a button doesn't add to the number of cards >> and the it variable is stuck on the current card: >> >> clone this card; put it & return & the number of cards in this stack >> > > It should make me a new card, shouldn't it? -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From katir at hindu.org Thu Feb 3 21:37:48 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 3 Feb 2005 16:37:48 -1000 Subject: Printing Crashes Rev in OSX In-Reply-To: References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> <82049983ff44ee5409cfe6356fc5354b@danshafer.com> <39670EFA-7620-11D9-B49A-000A959D0AC6@hindu.org> Message-ID: On Feb 3, 2005, at 2:37 PM, Robert Brenstein wrote: > Sounds like the above scripts do what they are supposed to do. In both > cases, if the pWhichItem is quit, only the quit part executes. > However, if pWhichItem is print, the former script will do the > printing but because there is no break (meaning escape out of the > switch clause), it continues with functions under the quit case. > > In the latter case, you do not actually need break at the very end > unless it s followed by the default case. > > Robert That still seems illogical.. "a boolean is a boolean is a boolean" case "Quit" must evaluate to "false" if the menuPick parameter was "Print" Why would it then still execute the Quit statements? I'm probably not understanding how Switch and Case actually work.. Sivakatirswami From monte at sweattechnologies.com Thu Feb 3 21:46:03 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 4 Feb 2005 13:16:03 +1030 Subject: ANN: InstallGadget 1.1 Released Message-ID: Hi Just letting everyone know that a new version of your favorite installer has been released! If you haven't seen it yet it's simply the easiest way to create installers for Windows and disk images for OS X. Download it from: http://www.sweattechnologies.com/InstallGadget We've fixed a few issues (it now works on Windows 95,98 and Me) and made some enhancements: - Multiple language installer interface and license agreements supporting eight languages as well as the default English (just create a license file that includes the name of a supported language) - RTF license files on OS X - Drag and drop folders onto the InstallGadget application icon and as a result we can integrate our standalone build process with InstallGadget by creating a plugin library or backscript that handles the standaloneSaved message like this... on standaloneSaved pFolder # Make any changes you require to your build folder launch pFolder with "path to InstallGadget" end standaloneSaved Have fun ;-) -- Monte Goulding - monte at sweattechnologies.com Sweat Technologies InstallGadget - How To Create An Installer In 10 Seconds http://www.sweattechnologies.com/InstallGadget From sarahr at genesearch.com.au Thu Feb 3 21:51:31 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 4 Feb 2005 12:51:31 +1000 Subject: Rev compatible free web host? In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5FF@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5FF@m-epo-1.epo.cdc.gov> Message-ID: <94370f5aeb815e4e4399915a59c43ebc@genesearch.com.au> > I need to test a program that automatically downloads a stack once per > day. All the free webhosts that I have found block files with > non-standard extensions - some block you from uploading them, and > others > block you from accessing them after they have been uploaded. > > Can anyone suggest a free web host that would allow me to access a > stack > with a .rev extension (or a custom extension) from a stack running on > my > computer? > Use rev's built-in compression to create a gz file from your stack. That gives you smaller downloads and a standard extension. Sarah From sarahr at genesearch.com.au Thu Feb 3 21:55:42 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 4 Feb 2005 12:55:42 +1000 Subject: create a patch upgrade In-Reply-To: <6.1.1.1.2.20050202232251.02717c98@softseven.org> References: <4201B043.3000500@hyperactivesw.com> <6.1.1.1.2.20050202232251.02717c98@softseven.org> Message-ID: <1e0b30f0d8fb638a0de704067e6222f5@genesearch.com.au> > Is making a patch for a program easy or hard to change minor things on > a program that has already been compiled into an exe? > > This will be for the user to upgrade without having to dl the whole > program. > If you have your project built into separate sub-stacks, it is quite easy to have a updater program download new versions of the sub-stacks only. It isn't exactly patching the app, but it might do what you wanted. Sarah From sarahr at genesearch.com.au Thu Feb 3 22:04:09 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 4 Feb 2005 13:04:09 +1000 Subject: New Externals... In-Reply-To: <42027124.6030906@chipp.com> References: <42027124.6030906@chipp.com> Message-ID: <31cf6630cdd81c3a8de88a0421ceba0e@genesearch.com.au> > 1) USB external support. That about says it all right there! Yes, PLEASE! From sarahr at genesearch.com.au Thu Feb 3 22:18:53 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 4 Feb 2005 13:18:53 +1000 Subject: Windows radio buttons In-Reply-To: References: Message-ID: >> I normally just use & develop for Mac OS X but I am currently working >> on a small app for Windows as well. My problem occurs when people use >> the keyboard to activate a radio button. I have set up all the buttons >> in the correct tab order, so when tab is pressed, the dotted outline >> moves from button to button correctly, then pressing Enter effectively >> clicks the selected button. This all works OK except that radio >> buttons >> don't unhilite the other members of the radio button group. They work >> fine when actually mouse-clicked but not when done via the keyboard. > > Yes Sarah, I discovered this a long time back. Same thing happens on > Linux. > I routinely use handlers to set the hilites of the radio buttons by > script. > Actually I lazily trigger these handlers on mouseup as well because it > doesn't do any harm. > Thanks for confirming this Martin. I just bugzilla'd it: http://support.runrev.com/bugdatabase/show_bug.cgi?id=2581 Cheers, Sarah From chipp at chipp.com Thu Feb 3 22:32:54 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 03 Feb 2005 21:32:54 -0600 Subject: "refresh" the Finder? In-Reply-To: <1107466763_185703@S2.cableone.net> References: <1107466763_185703@S2.cableone.net> Message-ID: <4202ECE6.8020400@chipp.com> Chris, I seem to remember something about the ability to 'touch' a directory using shell scripts which should do what you want. See, http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml Or Google Mac shell touch. -Chipp Chris Sheffield wrote: > The problem now is that it just places the folder in the Trash, and it > didn't do that before. Does anyone know if there's a way to remove a > specific folder from the trash using AppleScript? I tried using the empty > command followed by the reference to the folder in the trash, but it didn't > work. If not, I'll just empty the trash, but I thought that's probably not > a very nice thing to do. Shouldn't be a big deal in this case, however. From katir at hindu.org Thu Feb 3 22:34:04 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 3 Feb 2005 17:34:04 -1000 Subject: Quicktime controller does not work Message-ID: <9EA716F8-765D-11D9-B49A-000A959D0AC6@hindu.org> I have a stack that uses a quicktime player to run .mp3 audio files using quicktime. I have set the player to always buffer, visible, and show controller. But the controller bar does not work.. you cannot grab the thumb (smallround ball on the slider bar of the controller) and move back and forth in the talk... I grabbed all that player objects, put it in a new stack with only a button to "start player "theTape" to eliminate any of my scripts interference... still the controller doesn't let you move it back and forth. What's strange is.. I've been using this stack in various forms, from when it first was created in Supercard, nearly 10 years ago, ported to metacard then to Revolution and, I remember in earlier versions of Revolution, the player control *did* work... Any clues? Sivakatirswami Himalayan Academy Publications katir at hindu.org www.HimalayanAcademy.com, From chipp at chipp.com Thu Feb 3 22:41:52 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 03 Feb 2005 21:41:52 -0600 Subject: GIF scaling problems followup... In-Reply-To: <368DEC26-7645-11D9-A1EF-000A9580FCCE@backtalk.com> References: <368DEC26-7645-11D9-A1EF-000A9580FCCE@backtalk.com> Message-ID: <4202EF00.8070102@chipp.com> Hi Frank, For what it's worth, here's how I'd try and do this. First I'd copy the image into a new image (or screencapture it) so that I know the image is 24 bit. Then I'd scale the image up using resizeQuality=best, reset the imagedata, then scale back down to the size I wanted. Then I'd try exporting the 24-bit image as a GIF. Remember, GIF files have many different settings including CLUTS, dithering, transparency, etc.. which you have no control of in RR. Basically, RR's GIF export doesn't really give one a lot of help. best, Chipp Frank Leahy wrote: > I'm thinking that the scaling problems I'm seeing with resizing GIFs is > related to their being 8-bit. > > I've tried resizing, then exporting to a jpeg file, then reimporting and > exporting to a GIF. I can see that the temp jpeg file looks great, but > the exported GIF still looks like sh-t. > > Anyone know if there's a hidden 24-8 scaling quality command lurking > somewhere? From cassj at earthlink.net Thu Feb 3 22:55:18 2005 From: cassj at earthlink.net (James Cass) Date: Thu, 3 Feb 2005 22:55:18 -0500 Subject: "refresh" the Finder? In-Reply-To: <4202ECE6.8020400@chipp.com> References: <1107466763_185703@S2.cableone.net> <4202ECE6.8020400@chipp.com> Message-ID: <9ddbed6fb3e5b9c38b375123c9d123fc@earthlink.net> Sorry if I'm way off on this but, I just jumped in here. 1. If you just want to update a Finder window, you can do that with the Applescript "update folder pathToFolder". I've had to use this to refresh the contents of open Finder windows. I don't do that any more though. 2. If you want to delete something that's already in Trash (seems weird), you can use the shell command: rm /Users/$USER/.Trash/filename HTH...James On Feb 3, 2005, at 10:32 PM, Chipp Walters wrote: > Chris, > > I seem to remember something about the ability to 'touch' a directory > using shell scripts which should do what you want. > > See, > http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml > > Or Google Mac shell touch. > > -Chipp > > Chris Sheffield wrote: > >> The problem now is that it just places the folder in the Trash, and it >> didn't do that before. Does anyone know if there's a way to remove a >> specific folder from the trash using AppleScript? I tried using the >> empty >> command followed by the reference to the folder in the trash, but it >> didn't >> work. If not, I'll just empty the trash, but I thought that's >> probably not >> a very nice thing to do. Shouldn't be a big deal in this case, >> however. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Feb 3 23:07:48 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 03 Feb 2005 20:07:48 -0800 Subject: Quicktime controller does not work In-Reply-To: <9EA716F8-765D-11D9-B49A-000A959D0AC6@hindu.org> Message-ID: Recently, Sivakatirswami wrote: > I have a stack that uses a quicktime player to run .mp3 audio files > using quicktime. I have set the player to always buffer, visible, and > show controller. But the controller bar does not work.. you cannot grab > the thumb (smallround ball on the slider bar of the controller) and > move back and forth in the talk... > > I grabbed all that player objects, put it in a new stack with only a > button to "start player "theTape" to eliminate any of my scripts > interference... still the controller doesn't let you move it back and > forth. > > What's strange is.. I've been using this stack in various forms, from > when it first was created in Supercard, nearly 10 years ago, ported to > metacard then to Revolution and, I remember in earlier versions of > Revolution, the player control *did* work... You could try setting the alwaysBuffer to false. This is the property that usually affects playback performance anyway. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ps1 at softseven.org Thu Feb 3 23:02:04 2005 From: ps1 at softseven.org (Paul Salyers) Date: Thu, 03 Feb 2005 22:02:04 -0600 Subject: What am I missing? Message-ID: <6.1.1.1.2.20050203214827.02682540@softseven.org> if tSSPC = tSSSN77 then put tDHSSR into field "DSS" else put "Sorry, That isn't correct" into field "DSS" end if I have the above code in a Rev stack tSSPC & tSSSN77 are 2 numbers I'm comparing. I have put them both in a field and can see that they are the same in my test. tDHSSR holds information *IF* the above 2 are the same field "DSS" is the field the information (good or bad) is put in.'' But I'm getting "Sorry, That isn't correct" no matter what. I hope some one can shed some lite on the deal. Please help. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From cassj at earthlink.net Thu Feb 3 23:12:27 2005 From: cassj at earthlink.net (James Cass) Date: Thu, 3 Feb 2005 23:12:27 -0500 Subject: "refresh" the Finder? In-Reply-To: <9ddbed6fb3e5b9c38b375123c9d123fc@earthlink.net> References: <1107466763_185703@S2.cableone.net> <4202ECE6.8020400@chipp.com> <9ddbed6fb3e5b9c38b375123c9d123fc@earthlink.net> Message-ID: >>> Does anyone know if there's a way to remove a >>> specific folder from the trash using AppleScript? Come to think of it, why not use the Rev "delete folder" command? Again, if the folder is already in the Trash, you could do this: delete folder "/Users/" & $USER & "/.Trash/foldername" Goodnight Everybody! Drive home safely! -James On Feb 3, 2005, at 10:55 PM, James Cass wrote: > Sorry if I'm way off on this but, I just jumped in here. > 1. If you just want to update a Finder window, you can do that with > the Applescript "update folder pathToFolder". I've had to use this to > refresh the contents of open Finder windows. I don't do that any more > though. > 2. If you want to delete something that's already in Trash (seems > weird), you can use the shell command: rm > /Users/$USER/.Trash/filename > > HTH...James > > > > On Feb 3, 2005, at 10:32 PM, Chipp Walters wrote: > >> Chris, >> >> I seem to remember something about the ability to 'touch' a directory >> using shell scripts which should do what you want. >> >> See, >> http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml >> >> Or Google Mac shell touch. >> >> -Chipp >> >> Chris Sheffield wrote: >> >>> The problem now is that it just places the folder in the Trash, and >>> it >>> didn't do that before. Does anyone know if there's a way to remove a >>> specific folder from the trash using AppleScript? I tried using the >>> empty >>> command followed by the reference to the folder in the trash, but it >>> didn't >>> work. If not, I'll just empty the trash, but I thought that's >>> probably not >>> a very nice thing to do. Shouldn't be a big deal in this case, >>> however. >> _______________________________________________ >> 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 pixelbird at interisland.net Thu Feb 3 23:39:21 2005 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 3 Feb 2005 20:39:21 -0800 Subject: New Externals... In-Reply-To: <20050204011621.A2984930191@mail.runrev.com> References: <20050204011621.A2984930191@mail.runrev.com> Message-ID: Hi Judy, > Date: Thu, 3 Feb 2005 12:38:43 -0800 (PST) > From: Judy Perry > Subject: Re: New Externals... > > how about irregularly-shaped objects? Just a question. What would you do with an external that you can't do with polygons? Ken N. From jacque at hyperactivesw.com Thu Feb 3 23:44:39 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Feb 2005 22:44:39 -0600 Subject: Printing Crashes Rev in OSX In-Reply-To: <39670EFA-7620-11D9-B49A-000A959D0AC6@hindu.org> References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> <82049983ff44ee5409cfe6356fc5354b@danshafer.com> <39670EFA-7620-11D9-B49A-000A959D0AC6@hindu.org> Message-ID: <4202FDB7.2010605@hyperactivesw.com> On 2/3/05 2:14 PM, Sivakatirswami wrote: > Ah... but that puts us back to original issue, Revolution *did* quit, > immediately after running the print job, even though the menuPick > parameter was only "Print" ... it processed the next case It's supposed to. A switch statement will process every line it encounters until it sees a "break" or until the switch construct ends. It doesn't matter if other "case" statements are scattered in there or not; as soon as one "case" matches, a switch construct just starts processing every line until a break, ignoring any other "cases" in the way. They aren't like "if"s, which only process lines in between the "if/else/end if" sections. > > on menuPick pWhichItem > > switch pWhichItem > case "Print" > printTranscript > case "Quit" > save this stack > quit > break > end switch > > end menuPick > > # result: print job is done, Revolution quits > > on menuPick pWhichItem > > switch pWhichItem > case "Print" > printTranscript > break > case "Quit" > save this stack > quit > break > end switch > > end menuPick > > # result: print job done; Revolution stays alive. > > ?? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarahr at genesearch.com.au Thu Feb 3 23:51:02 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 4 Feb 2005 14:51:02 +1000 Subject: What am I missing? In-Reply-To: <6.1.1.1.2.20050203214827.02682540@softseven.org> References: <6.1.1.1.2.20050203214827.02682540@softseven.org> Message-ID: > if tSSPC = tSSSN77 then > > put tDHSSR into field "DSS" > > else > put "Sorry, That isn't correct" into field "DSS" > > end if > > > I have the above code in a Rev stack > tSSPC & tSSSN77 are 2 numbers I'm comparing. I have put them both in > a field and can see that they are the same in my test. > > tDHSSR holds information *IF* the above 2 are the same > field "DSS" is the field the information (good or bad) is put in.'' > But I'm getting "Sorry, That isn't correct" no matter what. > Maybe there is some white space before or after the numbers. Try this: if word 1 of tSSPC = word 1 of tSSSN77 then Sarah From jacque at hyperactivesw.com Fri Feb 4 00:07:10 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Feb 2005 23:07:10 -0600 Subject: New Externals... In-Reply-To: <31cf6630cdd81c3a8de88a0421ceba0e@genesearch.com.au> References: <42027124.6030906@chipp.com> <31cf6630cdd81c3a8de88a0421ceba0e@genesearch.com.au> Message-ID: <420302FE.6010405@hyperactivesw.com> On 2/3/05 9:04 PM, Sarah Reichelt wrote: >> 1) USB external support. That about says it all right there! > > Yes, PLEASE! Me too! Me too! Serial ports are going away. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From vokey at uleth.ca Fri Feb 4 00:08:01 2005 From: vokey at uleth.ca (Dr.John R.Vokey) Date: Thu, 3 Feb 2005 22:08:01 -0700 Subject: New Externals... In-Reply-To: <20050204045922.117D09301A2@mail.runrev.com> References: <20050204045922.117D09301A2@mail.runrev.com> Message-ID: Without a doubt, a linear matrix algebra package, including eigenvector/value extraction and singular value decomposition. Many already exist as c and FORTRAN code (which amounts to same thing with the ftoc translators). All we need is the wrapper... -- John R. Vokey, PhD Professor B.E.R.G. - Behaviour and Evolution Research Group Micro-Cognition Laboratory Department of Psychology & Neuroscience University of Lethbridge Lethbridge, Alberta T1K 3M4 CANADA From mwieder at ahsoftware.net Fri Feb 4 00:13:33 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 3 Feb 2005 21:13:33 -0800 Subject: New Externals... In-Reply-To: <4202D8F2.20005@tweedly.net> References: <42027124.6030906@chipp.com> <4202D8F2.20005@tweedly.net> Message-ID: <1032495926.20050203211333@ahsoftware.net> AT> 5. Does it NEED to be cross platform ???? AT> If not - easy mechanism to interface to COM on Windows Ditto on that. I started on a generic ActiveX wrapper, got bogged down in other things (funny how that happens) and would love it if someone else did this instead. It would need a classID query, then a query of the interface to return a list of functions, and of course a way to call the various functions and pass arguments of various types and return parameters of various types. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Fri Feb 4 00:50:01 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 03 Feb 2005 23:50:01 -0600 Subject: Creating a Patch Upgrade Message-ID: On 2/2/05 11:25 PM, "Paul Salyers" wrote: > Is making a patch for a program easy or hard to change minor things on a > program that has already been compiled into an exe? As Derek mentioned, if your users have only downloaded an exe and you want to patch it, you'd have to use a patching program. However, lot can be done if the architecture of the executable is thought about ahead of time. For example, instead of a single exe, you could deliver an exe and a stack file. The stack file would contain the actual "guts" of the program, while the exe was only a "stub" that would immediately open the stack file when it was launched. So instead of: MyApp.exe You have: MyApp.exe MyApp.dat -- or whatever you want to call it And the preopenstack handler of the MyApp.exe is simply: open stack "MyApp.dat" Now suppose the primary stack (MyApp.dat) had the internal name of "MyApp". Then add the simple ability to look for a patch (if there ever is one) and execute it after the primary stack opens. I like to connect to an alternative stack like this by using "start using" to make the stack's functions and handlers accessible, and the "stop using" it when I'm done: on preOpenStack open stack "MyApp.dat" if there is a file "MyAppPatch.dat" then start using stack "MyAppPatch.dat" RunPatch -- executes the "RunPatch" handler in MyAppPatch.dat stop using stack "MyAppPatch.dat" delete file "MyAppPatch.dat" -- remove it so it doesn't run next time end if end preOpenStack Then, in the "patch" stack's stack script, there would be a handler called "RunPatch" that would make modifications to MyApp and save it. For example, suppose you needed to change a custom property of the MyApp stack. It could be something like: on RunPatch set the uCustomProp of stack "MyApp" to "100" save stack "MyApp" end RunPatch Or, if you wanted to change the location of a field on the third card of the MyApp stack, you could do something like: on RunPatch set the loc of field "MyField" of card 3 of stack "MyApp" to 10,20,100,200 save stack "MyApp" end RunPatch Anyway, you get the idea. With a good architecture up front, you can allow users to download a simple stack, place it in the same directory as the executable and know that your app will be patched the next time it is run. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From nguth at guthene.com Fri Feb 4 01:17:29 2005 From: nguth at guthene.com (=?iso-8859-1?b?Tm/rbA==?= Guth) Date: Fri, 4 Feb 2005 07:17:29 +0100 Subject: Tab Control Message-ID: <1107497849.42031379f043b@imp.guthene.com> Hi all, Is there somewhere a tutorial about how to create a tab Control (tab view, tab menu) ? I spent already some hours but without success ! thanks ! From sarahr at genesearch.com.au Fri Feb 4 01:37:27 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 4 Feb 2005 16:37:27 +1000 Subject: Tab Control In-Reply-To: <1107497849.42031379f043b@imp.guthene.com> References: <1107497849.42031379f043b@imp.guthene.com> Message-ID: The simplest way is to create a tab button on the first card of your stack. Make it into a group and set the group's background behavior to true. Now make a new card for each tab and set the names of the cards to the name of the corresponding tab. In the script for the tabbed button, put this: on menuPick pCard go to card pCard end menuPick That's it - now you can set up the different interface elements on each card and tab between them. Cheers, Sarah On 4 Feb 2005, at 4:19 pm, No?l Guth wrote: > Hi all, > > Is there somewhere a tutorial about how to create a tab Control (tab > view, tab > menu) ? I spent already some hours but without success ! thanks ! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sims at ezpzapps.com Fri Feb 4 01:57:36 2005 From: sims at ezpzapps.com (sims) Date: Fri, 4 Feb 2005 07:57:36 +0100 Subject: New Externals... In-Reply-To: <3d8af41505020312273326449a@mail.gmail.com> References: <200502032021.j13KLRbF025472@mac.com> <3d8af41505020312273326449a@mail.gmail.com> Message-ID: >Glen wrote: >>Hi Chipp, >>< >>A math engine external? An ssh client? ssh client - YES YES YES YES YES YES YES YES YES PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE atb sims From Denis.Gay at Materis.fr Fri Feb 4 02:02:07 2005 From: Denis.Gay at Materis.fr (Denis.Gay at Materis.fr) Date: Fri, 4 Feb 2005 08:02:07 +0100 Subject: unscribe Message-ID: I want to unscribe to this mail list. Thank you From jperryl at ecs.fullerton.edu Fri Feb 4 02:24:16 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 3 Feb 2005 23:24:16 -0800 (PST) Subject: What am I missing? In-Reply-To: <6.1.1.1.2.20050203214827.02682540@softseven.org> Message-ID: are you using these as globals or locals? Judy On Thu, 3 Feb 2005, Paul Salyers wrote: > if tSSPC = tSSSN77 then > > put tDHSSR into field > "DSS" > > else > put "Sorry, That isn't correct" into field "DSS" > > end if > > > I have the above code in a Rev stack > > tSSPC & tSSSN77 are 2 numbers I'm comparing. I have put them both in a > field and can see that they are the same in my test. > > tDHSSR holds information *IF* the above 2 are the same > > field "DSS" is the field the information (good or bad) is put in.'' > > But I'm getting "Sorry, That isn't correct" no matter what. > > I hope some one can shed some lite on the deal. > > Please help. > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Fri Feb 4 02:24:31 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 4 Feb 2005 02:24:31 EST Subject: What am I missing? Message-ID: <154.4a088197.2f347d2f@aol.com> sez ps1 at softseven.org: > if tSSPC = tSSSN77 then > put tDHSSR into field "DSS" > else > put "Sorry, That isn't correct" into field "DSS" > end if > >I have the above code in a Rev stack > >tSSPC & tSSSN77 are 2 numbers I'm comparing. I have put them both in a >field and can see that they are the same in my test. >tDHSSR holds information *IF* the above 2 are the same > field "DSS" is the field the information (good or bad) is put in.'' >But I'm getting "Sorry, That isn't correct" no matter what. >I hope some one can shed some lite on the deal. Are you sure the handler which contains the above code, knows about those variables? As a debugging test, I'd suggest putting the line "answer tSSPC & return & tSSSN77" *just* before that IF statement. This will show you *exactly* what Rev thinks it's working with. If *you* think Rev should be working with something else, hopefully this information will help you zero in on the problem. Hope this helps... From psahores at easynet.fr Fri Feb 4 04:33:36 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 4 Feb 2005 10:33:36 +0100 Subject: Quicktime controller does not work In-Reply-To: <9EA716F8-765D-11D9-B49A-000A959D0AC6@hindu.org> References: <9EA716F8-765D-11D9-B49A-000A959D0AC6@hindu.org> Message-ID: Works fine here in about playing back ".mov" and "mp4" files in rtsp/http streaming mode. (mp3 untested). Le 4 f?vr. 05, ? 04:34, Sivakatirswami a ?crit : > I have a stack that uses a quicktime player to run .mp3 audio files > using quicktime. I have set the player to always buffer, visible, and > show controller. But the controller bar does not work.. you cannot > grab the thumb (smallround ball on the slider bar of the controller) > and move back and forth in the talk... > > I grabbed all that player objects, put it in a new stack with only a > button to "start player "theTape" to eliminate any of my scripts > interference... still the controller doesn't let you move it back and > forth. > > What's strange is.. I've been using this stack in various forms, from > when it first was created in Supercard, nearly 10 years ago, ported to > metacard then to Revolution and, I remember in earlier versions of > Revolution, the player control *did* work... > > Any clues? > > Sivakatirswami > Himalayan Academy Publications > katir at hindu.org > www.HimalayanAcademy.com, > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Fri Feb 4 04:43:11 2005 From: sims at ezpzapps.com (sims) Date: Fri, 4 Feb 2005 10:43:11 +0100 Subject: New Externals... In-Reply-To: <4202D8F2.20005@tweedly.net> References: <42027124.6030906@chipp.com> <4202D8F2.20005@tweedly.net> Message-ID: >Alex wrote: > > >3. VOIP toolkit. Interface to existing SIP libraries, and >controllable audio encoding (G711 or 723 or later, with the external >managing all packet sending and reception). Choice of external >talking either to hardware (i.e. handset or mic/spkrs) or passing >audio buffers to the Transcript [and similarly taking audio buffer >from Transcript and encoding/sending it]. This also! PLEASE & YES!!!! atb sims From frank at backtalk.com Fri Feb 4 04:47:10 2005 From: frank at backtalk.com (Frank Leahy) Date: Fri, 4 Feb 2005 09:47:10 +0000 Subject: Printing Crashes Rev in OSX In-Reply-To: <20050204045922.DD9FE9301A6@mail.runrev.com> References: <20050204045922.DD9FE9301A6@mail.runrev.com> Message-ID: (I know others will chime in too, but...) If there's no "break" statement, Transcript falls through until it either finds one, or the end of the switch statement is reached. switch (foo) case "a" do_a case "b" do_b case "c" do_c break case "d" do_d end switch if foo = "a", then RunRev will execute do_a, do_b and do_c. It then hits the "break" statement in case "c" and falls out of the switch. So in your case, the print case was true, it executed the print lines, you didn't have a "break" statement so it continued executing. It ignored the quit case, and executed the quit statements. Does that help? -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Feb 4, 2005, at 4:59 AM, use-revolution-request at lists.runrev.com wrote: > From: Sivakatirswami > Subject: Re: Printing Crashes Rev in OSX > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Feb 3, 2005, at 2:37 PM, Robert Brenstein wrote: > >> Sounds like the above scripts do what they are supposed to do. In both >> cases, if the pWhichItem is quit, only the quit part executes. >> However, if pWhichItem is print, the former script will do the >> printing but because there is no break (meaning escape out of the >> switch clause), it continues with functions under the quit case. >> >> In the latter case, you do not actually need break at the very end >> unless it s followed by the default case. >> >> Robert > > > > That still seems illogical.. "a boolean is a boolean is a boolean" > > case "Quit" must evaluate to "false" > if the menuPick parameter was "Print" > > Why would it then still execute the Quit statements? > > I'm probably not understanding how Switch and Case actually work.. > > Sivakatirswami From klaus at major-k.de Fri Feb 4 05:44:09 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 4 Feb 2005 11:44:09 +0100 Subject: New Externals... In-Reply-To: <20050204015303.56950.qmail@web40528.mail.yahoo.com> References: <20050204015303.56950.qmail@web40528.mail.yahoo.com> Message-ID: <7d8ec0bcd839275a5534d439263fe6fa@major-k.de> HI Chipp, >> On Thu, 3 Feb 2005, Chipp Walters wrote: >> >> So, this got Chris and I thinking about other >> externals. Before we >> started, we wanted to get some feedback from RR >> users as which externals >> you would like to see. Keep in mind, they need to >> be cross-platform, and >> they need to have some sort of mass market appeal. > > Create an external that puts > Macromedia Flash animations > or openGL graphics inside a card. > > With full capabilities to handle most > mouse events and data sharing > between RR and them. ;-) Yes, yes, yes :-) And what about a REAL (sic!) spreadsheet? Just like the one that i really loved in OMO! Regards Klaus Major klaus at major-k.de http://www.major-k.de From ken at inentertainment.com Thu Feb 3 12:07:43 2005 From: ken at inentertainment.com (Ken Ray) Date: Thu, 03 Feb 2005 11:07:43 -0600 Subject: create a patch upgrade In-Reply-To: <6.1.1.1.2.20050202232251.02717c98@softseven.org> Message-ID: On 2/2/05 11:25 PM, "Paul Salyers" wrote: > Is making a patch for a program easy or hard to change minor things on a > program that has already been compiled into an exe? As Derek mentioned, if your users have only downloaded an exe and you want to patch it, you'd have to use a patching program. However, lot can be done if the architecture of the executable is thought about ahead of time. For example, instead of a single exe, you could deliver an exe and a stack file. The stack file would contain the actual "guts" of the program, while the exe was only a "stub" that would immediately open the stack file when it was launched. So instead of: MyApp.exe You have: MyApp.exe MyApp.dat -- or whatever you want to call it And the preopenstack handler of the MyApp.exe is simply: open stack "MyApp.dat" Now suppose the primary stack (MyApp.dat) had the internal name of "MyApp". Then add the simple ability to look for a patch (if there ever is one) and execute it after the primary stack opens. I like to connect to an alternative stack like this by using "start using" to make the stack's functions and handlers accessible, and the "stop using" it when I'm done: on preOpenStack open stack "MyApp.dat" if there is a file "MyAppPatch.dat" then start using stack "MyAppPatch.dat" RunPatch -- executes the "RunPatch" handler in MyAppPatch.dat stop using stack "MyAppPatch.dat" delete file "MyAppPatch.dat" -- remove it so it doesn't run next time end if end preOpenStack Then, in the "patch" stack's stack script, there would be a handler called "RunPatch" that would make modifications to MyApp and save it. For example, suppose you needed to change a custom property of the MyApp stack. It could be something like: on RunPatch set the uCustomProp of stack "MyApp" to "100" save stack "MyApp" end RunPatch Or, if you wanted to change the location of a field on the third card of the MyApp stack, you could do something like: on RunPatch set the loc of field "MyField" of card 3 of stack "MyApp" to 10,20,100,200 save stack "MyApp" end RunPatch Anyway, you get the idea. With a good architecture up front, you can allow users to download a simple stack, place it in the same directory as the executable and know that your app will be patched the next time it is run. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jamesjrichards at lineone.net Fri Feb 4 05:59:11 2005 From: jamesjrichards at lineone.net (James Richards) Date: Fri, 4 Feb 2005 10:59:11 +0000 Subject: "refresh" the Finder? In-Reply-To: <20050204011621.A2984930191@mail.runrev.com> References: <20050204011621.A2984930191@mail.runrev.com> Message-ID: On 3 Feb, 2005, at 15:43:29 -0500, Frank D. Engel, Jr. wrote: > Clicking on the window (or in the case of the desktop, on the desktop) > refreshes the display. This is a Finder thing rather than a Rev thing, I think as I have encountered it in other situations where (e.g.) something gets put on the Desktop behind the active window of another app. Finder only seems to refresh (and sometimes not very quickly - i.e. more than a second) when it is brought to the front, either by clicking on the desktop, a Finder window, or the Finder icon in the Dock. I guess if something is changed other than via Finder, then Finder doesn't know to update it until you actually go looking for that thing, or tell it to update. On 3 Feb, 2005, at 22:55:18 -0500 James Cass wrote > Sorry if I'm way off on this but, I just jumped in here. > 1. If you just want to update a Finder window, you can do that with > the Applescript "update folder pathToFolder". I've had to use this to > refresh the contents of open Finder windows. I don't do that any more > though. Regards James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From alex at tweedly.net Fri Feb 4 06:24:07 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 11:24:07 +0000 Subject: Printing Crashes Rev in OSX In-Reply-To: References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> <82049983ff44ee5409cfe6356fc5354b@danshafer.com> <39670EFA-7620-11D9-B49A-000A959D0AC6@hindu.org> Message-ID: <42035B57.6020806@tweedly.net> Sivakatirswami wrote: > That still seems illogical.. "a boolean is a boolean is a boolean" > > case "Quit" must evaluate to "false" > if the menuPick parameter was "Print" > > Why would it then still execute the Quit statements? > > I'm probably not understanding how Switch and Case actually work.. Probably beating a dead horse by now - but my favourite analogy for this is .... Think of the code within the switch .... end switch delimiters as a freeway (motorway) the case statements are possible ENTRY points (on-ramps): if you haven't already entered, the case is evaluated and you MAY then enter the freeway the break statements are EXIT points (off-ramps): if you run into a break statement, you do exit the switch block. Note that the case statements are NOT off-ramps; they do not cause you to leave if you're already on the freeway. But, most of the time, an on-ramp will be preceded by an off-ramp. (Sorry if that analogy is getting stretched, esp. if you live in an area where all the junctions are clover-leafs, and the off-ramps come after the on-ramps :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From kresten.bjerg at psy.ku.dk Fri Feb 4 00:37:38 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Fri, 04 Feb 2005 13:37:38 +0800 Subject: address fields with same name, disregarding IDs Message-ID: <42030A21.F1CBC103@psy.ku.dk> Working with problems of over-size cards I need to adress (put to) 9 duplicates of a field, same name but 9 different IDs Is there an easy way? From alex at tweedly.net Fri Feb 4 08:00:00 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 13:00:00 +0000 Subject: address fields with same name, disregarding IDs In-Reply-To: <42030A21.F1CBC103@psy.ku.dk> References: <42030A21.F1CBC103@psy.ku.dk> Message-ID: <420371D0.5070303@tweedly.net> Kresten Bjerg wrote: >Working with problems of over-size cards I need to adress (put to) 9 >duplicates of a field, same name but 9 different IDs >Is there an easy way? > > How about > repeat with i = 1 to the number of controls on this stack > if the name of control i = "field" && quote&"Field""e then > put "asdf" into control i > end if > end repeat > > -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From 3mcgrath at adelphia.net Fri Feb 4 08:14:28 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 4 Feb 2005 08:14:28 -0500 Subject: New Externals... In-Reply-To: <420302FE.6010405@hyperactivesw.com> References: <42027124.6030906@chipp.com> <31cf6630cdd81c3a8de88a0421ceba0e@genesearch.com.au> <420302FE.6010405@hyperactivesw.com> Message-ID: <4bfff9e0f1a10c1c0a175036f64bd565@adelphia.net> On Feb 4, 2005, at 12:07 AM, J. Landman Gay wrote: > On 2/3/05 9:04 PM, Sarah Reichelt wrote: > >>> 1) USB external support. That about says it all right there! >> Yes, PLEASE! > > > Me too! Me too! Serial ports are going away. Me Three! I have a USB MacBrick I/O board that I am trying to gain access to. Also Lego's are now using USB. And I love legos...... Tom <*((( >=< Thomas J McGrath III 3mcgrath at adelphia.net 412-831-3094 220 Drake Road Bethel Park, PA 15102 From kray at sonsothunder.com Fri Feb 4 08:53:51 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 04 Feb 2005 07:53:51 -0600 Subject: What am I missing? In-Reply-To: <154.4a088197.2f347d2f@aol.com> Message-ID: On 2/4/05 1:24 AM, "Cubist at aol.com" wrote: > sez ps1 at softseven.org: > >> if tSSPC = tSSSN77 then >> put tDHSSR into field "DSS" >> else >> put "Sorry, That isn't correct" into field "DSS" >> end if >> >> I have the above code in a Rev stack >> >> tSSPC & tSSSN77 are 2 numbers I'm comparing. I have put them both in a >> field and can see that they are the same in my test. >> tDHSSR holds information *IF* the above 2 are the same >> field "DSS" is the field the information (good or bad) is put in.'' >> But I'm getting "Sorry, That isn't correct" no matter what. >> I hope some one can shed some lite on the deal. > Are you sure the handler which contains the above code, knows about those > variables? As a debugging test, I'd suggest putting the line "answer tSSPC & > return & tSSSN77" *just* before that IF statement. This will show you > *exactly* > what Rev thinks it's working with. If *you* think Rev should be working with > something else, hopefully this information will help you zero in on the > problem. Also, you may want to check to see if there are trailing returns or spaces in the two numbers, which would make them *look* the same when viewed in fields, but would obviously not be the same. One check might be to check the length of the two numbers to see if they're the same ("length(tSSPC) = length(tSSSN77)"). If you find you have some leading or trailing whitespace characters, you might be interested in using my trim() function which is designed to get rid of these things: function Trim pWhat local tRetVal get matchText(pWhat,"(?s)\s*(\S.*\S)\s*",tRetVal) return tRetVal end Trim so you could do: if trim(tSSPC) = trim(tSSSN77) then ... HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mark at maseurope.net Fri Feb 4 08:59:34 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 4 Feb 2005 13:59:34 +0000 Subject: Arrays In-Reply-To: <20050204045922.3EEC49301A5@mail.runrev.com> References: <20050204045922.3EEC49301A5@mail.runrev.com> Message-ID: On 4 Feb 2005, at 04:59, use-revolution-request at lists.runrev.com wrote: > on saveArray > > global gBigArray > > -- target a specific custom property set > set the customPropertySet of stack "allMyArrays" to "uBigArray" > > -- replace all elements of 'uBigArray' CPS with 'gBigArray' > set the customProperties of stack "allMyArrays" to gBigArray > > -- save it > save stack "allMyArrays" > > end saveArray In fact, it isn't necessary to set the the customPropertySet if you don't need to access elements of it directly. If you simply want to store an array you can do this: on saveArray tMyArray set the customProperties["storedArray1"] of this stack to tMyArray end saveArray to retrieve: function getArray put the customProperties["storedArray1"] of this stack into tMyArray return tMyArray end getArray you can store as many arrays as you like this way, as customPropertySets are creatable and accessible using the above array notation. -- cheers, Mark From kray at sonsothunder.com Fri Feb 4 09:00:03 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 04 Feb 2005 08:00:03 -0600 Subject: address fields with same name, disregarding IDs In-Reply-To: <42030A21.F1CBC103@psy.ku.dk> Message-ID: On 2/3/05 11:37 PM, "Kresten Bjerg" wrote: > Working with problems of over-size cards I need to adress (put to) 9 > duplicates of a field, same name but 9 different IDs > Is there an easy way? Well, first of all, if there's any way you can get those fields to be uniquely named, you'll be better off in the long run. I really try to stay away from objects of the same type that have the same name because Rev will be confused when you try to put data into the object by name. However, if you *can't* change the names, the only way to deal with it is by using their IDs, which could be stored in a custom property or global variable for each reach, or simply addressed as a local variable. For example, suppose you wanted to clear these 9 fields. You could do this: put "1001,1002,1003,1004,1006,1009,1012,1023,1065" into tIDs repeat for each item tID in tIDs put empty into fld id tID end repeat HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From fde101 at fjrhome.net Fri Feb 4 09:34:17 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 4 Feb 2005 09:34:17 -0500 Subject: "refresh" the Finder? In-Reply-To: References: <1107466763_185703@S2.cableone.net> <4202ECE6.8020400@chipp.com> <9ddbed6fb3e5b9c38b375123c9d123fc@earthlink.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Warning!! Warning!! Using "/Users/" & $USER -- this is a dangerous assumption, as it is possible for the user's home directory to be somewhere completely different, such as on a network volume! Rather, you should use something like this: delete folder $HOME & "/.Trash/foldername" The $HOME environment variable is present on most *NIX systems (including OS X) and points to the correct home directory, even if it is on a server or in some location other than the default. On Feb 3, 2005, at 11:12 PM, James Cass wrote: >>>> Does anyone know if there's a way to remove a >>>> specific folder from the trash using AppleScript? > > Come to think of it, why not use the Rev "delete folder" command? > Again, if the folder is already in the Trash, you could do this: > delete folder "/Users/" & $USER & "/.Trash/foldername" > > Goodnight Everybody! Drive home safely! > -James > > > On Feb 3, 2005, at 10:55 PM, James Cass wrote: > >> Sorry if I'm way off on this but, I just jumped in here. >> 1. If you just want to update a Finder window, you can do that with >> the Applescript "update folder pathToFolder". I've had to use this >> to refresh the contents of open Finder windows. I don't do that any >> more though. >> 2. If you want to delete something that's already in Trash (seems >> weird), you can use the shell command: rm >> /Users/$USER/.Trash/filename >> >> HTH...James >> >> >> >> On Feb 3, 2005, at 10:32 PM, Chipp Walters wrote: >> >>> Chris, >>> >>> I seem to remember something about the ability to 'touch' a >>> directory using shell scripts which should do what you want. >>> >>> See, >>> http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml >>> >>> Or Google Mac shell touch. >>> >>> -Chipp >>> >>> Chris Sheffield wrote: >>> >>>> The problem now is that it just places the folder in the Trash, and >>>> it >>>> didn't do that before. Does anyone know if there's a way to remove >>>> a >>>> specific folder from the trash using AppleScript? I tried using >>>> the empty >>>> command followed by the reference to the folder in the trash, but >>>> it didn't >>>> work. If not, I'll just empty the trash, but I thought that's >>>> probably not >>>> a very nice thing to do. Shouldn't be a big deal in this case, >>>> however. >>> _______________________________________________ >>> 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 > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCA4fq7aqtWrR9cZoRArqZAJ4hbh819X/qG9zCe3GmLjGAZDlm+QCfVVTY jJUO1CF1apaTVLIlSazLJSM= =fdZI -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From BNZ2 at CDC.GOV Fri Feb 4 09:47:00 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 09:47:00 -0500 Subject: Scrolling groups get messed up after saving Message-ID: <64878EF567131D4596246171F75FD4A90EC609@m-epo-1.epo.cdc.gov> The visual garbage is really the only problem - scrolling the group up and down does get rid of it, as does selecting the items of the group with the selector tool - but, if the group only scrolls a little bit, then the group cannot be scrolled enough to get rid of the problem entirely - and if this is for an end user, then they would only have access to the browser tool. I am sure there must be some way to refresh the card after saving so that the user never sees this problem. I would hate to give a user a stack that produces visual garbage. From webmaster at dreamscapesoftware.com Fri Feb 4 10:20:44 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 4 Feb 2005 09:20:44 -0600 Subject: cipherNames function Message-ID: <000501c50acd$18a076f0$6401a8c0@DEREK> When I use the cipherNames function I get no results back. Is this normal? Do I have to download ciphers for use in my stacks? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Fri Feb 4 10:24:07 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 4 Feb 2005 09:24:07 -0600 Subject: New Externals... References: <42027124.6030906@chipp.com> Message-ID: <002e01c50acd$9215c1c0$6401a8c0@DEREK> > 2) Image Effects library. The ability to import/export many different > formats, apply special effects like dropped shadows, borders, sharpen > and blur and more. Aw, come on now. This will totally eclipse my program! But if you can figure out how to adjust Brightness, Contrast, and how to make the altConvolve external NOT produce "yellow" tinted images then that would be great! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From James.Cass at sealedair.com Fri Feb 4 10:22:39 2005 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Fri, 4 Feb 2005 10:22:39 -0500 Subject: "refresh" the Finder? In-Reply-To: Message-ID: Frank - Thanks for the Safety Tip. But, in this _specific case_, there wouldn't be any harm any accidentally deleting a file that's in the Trash. Although, I know MANY users that actually STORE files in their Trash. Your method is _definitely preferred_ over what I suggested. Humbled.....James "Frank D. Engel, Jr." Sent by: use-revolution-bounces at lists.runrev.com 02/04/05 09:34 AM Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: "refresh" the Finder? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Warning!! Warning!! Using "/Users/" & $USER -- this is a dangerous assumption, as it is possible for the user's home directory to be somewhere completely different, such as on a network volume! Rather, you should use something like this: delete folder $HOME & "/.Trash/foldername" The $HOME environment variable is present on most *NIX systems (including OS X) and points to the correct home directory, even if it is on a server or in some location other than the default. On Feb 3, 2005, at 11:12 PM, James Cass wrote: >>>> Does anyone know if there's a way to remove a >>>> specific folder from the trash using AppleScript? > > Come to think of it, why not use the Rev "delete folder" command? > Again, if the folder is already in the Trash, you could do this: > delete folder "/Users/" & $USER & "/.Trash/foldername" > > Goodnight Everybody! Drive home safely! > -James > > > On Feb 3, 2005, at 10:55 PM, James Cass wrote: > >> Sorry if I'm way off on this but, I just jumped in here. >> 1. If you just want to update a Finder window, you can do that with >> the Applescript "update folder pathToFolder". I've had to use this >> to refresh the contents of open Finder windows. I don't do that any >> more though. >> 2. If you want to delete something that's already in Trash (seems >> weird), you can use the shell command: rm >> /Users/$USER/.Trash/filename >> >> HTH...James >> >> >> >> On Feb 3, 2005, at 10:32 PM, Chipp Walters wrote: >> >>> Chris, >>> >>> I seem to remember something about the ability to 'touch' a >>> directory using shell scripts which should do what you want. >>> >>> See, >>> http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml >>> >>> Or Google Mac shell touch. >>> >>> -Chipp >>> >>> Chris Sheffield wrote: >>> >>>> The problem now is that it just places the folder in the Trash, and >>>> it >>>> didn't do that before. Does anyone know if there's a way to remove >>>> a >>>> specific folder from the trash using AppleScript? I tried using >>>> the empty >>>> command followed by the reference to the folder in the trash, but >>>> it didn't >>>> work. If not, I'll just empty the trash, but I thought that's >>>> probably not >>>> a very nice thing to do. Shouldn't be a big deal in this case, >>>> however. >>> _______________________________________________ >>> 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 > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCA4fq7aqtWrR9cZoRArqZAJ4hbh819X/qG9zCe3GmLjGAZDlm+QCfVVTY jJUO1CF1apaTVLIlSazLJSM= =fdZI -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From BNZ2 at CDC.GOV Fri Feb 4 10:37:12 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 10:37:12 -0500 Subject: New Externals... Message-ID: <64878EF567131D4596246171F75FD4A90EC60A@m-epo-1.epo.cdc.gov> I would think that a real spreadsheet would be most easily created as a group containing fields - using transcript. Each cell would be a field with specific scripting to keep the cells in the right alignment. The formula for each cell would be stored as a custom property for that field. The script for running the formulas would be in the group script. Hammering out the details would be a nuisance, just because spreadsheets can get complicated as you add in more and more functions - but surely it would be easier to create such a thing as native to Rev, than to try and do it with a lower level language. The advantage with this approach would be that the developer could do all sorts of custom scripting with the spreadsheet if needed. I actually plan on creating something like this for a project I am working on at home - might be a few months before I get to it, though. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Klaus Major Sent: Friday, February 04, 2005 5:44 AM To: How to use Revolution Subject: Re: New Externals... HI Chipp, >> On Thu, 3 Feb 2005, Chipp Walters wrote: >> >> So, this got Chris and I thinking about other >> externals. Before we >> started, we wanted to get some feedback from RR >> users as which externals >> you would like to see. Keep in mind, they need to >> be cross-platform, and >> they need to have some sort of mass market appeal. > > Create an external that puts > Macromedia Flash animations > or openGL graphics inside a card. > > With full capabilities to handle most > mouse events and data sharing > between RR and them. ;-) Yes, yes, yes :-) And what about a REAL (sic!) spreadsheet? Just like the one that i really loved in OMO! Regards Klaus Major klaus at major-k.de http://www.major-k.de _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ps1 at softseven.org Fri Feb 4 10:41:22 2005 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 04 Feb 2005 09:41:22 -0600 Subject: unscribe In-Reply-To: References: Message-ID: <6.1.1.1.2.20050204093842.028477a8@softseven.org> At 01:02 AM 2/4/2005, you wrote: >I want to unscribe to this mail list. > >Thank you Am I missing something? Can't a person unsubscribe by clicking this link in your email? List-Unsubscribe: , Also while I'm here why does my spell checker show Unsubscribe as miss spelled? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From revlist at cableone.net Fri Feb 4 10:49:37 2005 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 4 Feb 2005 08:49:37 -0700 Subject: "refresh" the Finder? In-Reply-To: Message-ID: <1107532315_199788@S2.cableone.net> Thanks, Frank, and everyone else who responded to this. I appreciate the help even though it was slightly OT. I got it to work the way I wanted by using AppleScript to send the folder to the trash, and then using Frank's and James' ideas to delete the folder from there. Works perfectly! Thanks again. Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. Engel, Jr. Sent: Friday, February 04, 2005 7:34 AM To: How to use Revolution Subject: Re: "refresh" the Finder? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Warning!! Warning!! Using "/Users/" & $USER -- this is a dangerous assumption, as it is possible for the user's home directory to be somewhere completely different, such as on a network volume! Rather, you should use something like this: delete folder $HOME & "/.Trash/foldername" The $HOME environment variable is present on most *NIX systems (including OS X) and points to the correct home directory, even if it is on a server or in some location other than the default. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005 From klaus at major-k.de Fri Feb 4 11:01:15 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 4 Feb 2005 17:01:15 +0100 Subject: unscribe In-Reply-To: <6.1.1.1.2.20050204093842.028477a8@softseven.org> References: <6.1.1.1.2.20050204093842.028477a8@softseven.org> Message-ID: Dear Mr. Salyers > At 01:02 AM 2/4/2005, someone wrote: >> I want to unscribe to this mail list. >> Thank you > > Am I missing something? I don't know what you were exspecting... > Can't a person unsubscribe by clicking this link in your email? Obviously not... > List-Unsubscribe: > , > > Are you the new lostmom? > Also while I'm here why does my spell checker show Unsubscribe as miss > spelled? I have no idea, i only know Miss Georgia 2004 :-) > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org Regards Klaus Major klaus at major-k.de http://www.major-k.de From jacque at hyperactivesw.com Fri Feb 4 11:00:10 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Feb 2005 10:00:10 -0600 Subject: Scrolling groups get messed up after saving In-Reply-To: <64878EF567131D4596246171F75FD4A90EC609@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC609@m-epo-1.epo.cdc.gov> Message-ID: <42039C0A.10007@hyperactivesw.com> On 2/4/05 8:47 AM, Lynch, Jonathan wrote: > I am sure there must be some way to refresh the card after saving so > that the user never sees this problem. I would hate to give a user a > stack that produces visual garbage. I haven't tried it, but maybe this would work: lock screen save this stack go this card unlock screen -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From BNZ2 at CDC.GOV Fri Feb 4 11:09:38 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 11:09:38 -0500 Subject: unscribe Message-ID: <64878EF567131D4596246171F75FD4A90EC60B@m-epo-1.epo.cdc.gov> As an avid Scrabble player (and writer/editor using scientific writing standards), I can attest that I have never seen a dictionary or word-list that is truly comprehensive of the English language. The spellchecker I use for an app I created for work contains 174,000 words, and still frequently misses words that are a regular part of epidemiology jargon. If you think about it, there really is not one single standard set of English words. Authorities in various specialties (such as medicine, chemistry, and presumably computer science) frequently create words that no one outside of a particular group of people would ever use. For example, 'legionellosis' is a well known disease not recognized by my word list. In broadcast news jargon, 'sot' is an acronym-become-word that is very frequently used. The scrabble dictionary lists 'xi', 'xu', 'aalii', 'eaux', 'qurush', 'qanat', 'qat', 'qoph', 'cwm', 'suq', 'ai','ae','aa', and 'oe' as words! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Paul Salyers Sent: Friday, February 04, 2005 10:41 AM To: How to use Revolution Subject: Re: unscribe At 01:02 AM 2/4/2005, you wrote: >I want to unscribe to this mail list. > >Thank you Am I missing something? Can't a person unsubscribe by clicking this link in your email? List-Unsubscribe: , Also while I'm here why does my spell checker show Unsubscribe as miss spelled? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Feb 4 11:14:03 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 4 Feb 2005 17:14:03 +0100 Subject: unscribe In-Reply-To: References: <6.1.1.1.2.20050204093842.028477a8@softseven.org> Message-ID: Ooooops, typo alarm! > Dear Mr. Salyers > >> At 01:02 AM 2/4/2005, someone wrote: >>> I want to unscribe to this mail list. >>> Thank you >> >> Am I missing something? > > I don't know what you were exspecting... > >> Can't a person unsubscribe by clicking this link in your email? > > Obviously not... > >> List-Unsubscribe: >> , >> >> > > Are you the new lostmom? LISTmom, of course :-) >> Also while I'm here why does my spell checker show Unsubscribe as >> miss spelled? > > I have no idea, i only know Miss Georgia 2004 :-) > >> Paul Salyers >> PS1 - Senior Rep. >> PS1 at softseven.org >> Http://ps1.SoftSeven.org Regards Klaus Major klaus at major-k.de http://www.major-k.de From BNZ2 at CDC.GOV Fri Feb 4 11:35:01 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 11:35:01 -0500 Subject: Scrolling groups get messed up after saving Message-ID: <64878EF567131D4596246171F75FD4A90EC60C@m-epo-1.epo.cdc.gov> This is interesting... The suggested script does not work if it is used in a savestackrequest handler... However, even having an empty savestackrequest handler still results in the same problem - meaning that the visual garbage shows up prior to the savestackrequest message being generated. On the otherhand, the suggest script works perfectly is the save is done through a button with a mouseup handler. Actually, it turns out that the line 'go this card' is not necessary. The following script, executed from a button, does not produce visual garbage On mouseUp Set the cursor to watch Lock screen Save this stack Unlock screen End mouseUp I guess (aint tried it yet), if the user was using ctrl-s to save, it would need to be trapped and the above script executed with a rawkeydown handler, before it gets to the savestackrequest point in the saving process. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, February 04, 2005 11:00 AM To: How to use Revolution Subject: Re: Scrolling groups get messed up after saving On 2/4/05 8:47 AM, Lynch, Jonathan wrote: > I am sure there must be some way to refresh the card after saving so > that the user never sees this problem. I would hate to give a user a > stack that produces visual garbage. I haven't tried it, but maybe this would work: lock screen save this stack go this card unlock screen -- 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 BNZ2 at CDC.GOV Fri Feb 4 11:59:38 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 11:59:38 -0500 Subject: Scrolling groups get messed up after saving Message-ID: <64878EF567131D4596246171F75FD4A9469F93@m-epo-1.epo.cdc.gov> Actually - just tested it, and handling the rawkeydown message in the stack script slows down typing speed too much. Using commandKeyDown (for windows users) works well for saving by ctrl-s. I am not sure whether controlKeyDown or commandKeyDown would be appropriate for Mac users. The following script in the stack script seems to work quite well: on commandKeyDown theKey if theKey = "S" then set the cursor to watch lock screen save this stack unlock screen else pass commandKeyDown end if end commandKeyDown Cheers, Jonathan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Friday, February 04, 2005 11:35 AM To: jacque at hyperactivesw.com; How to use Revolution Subject: RE: Scrolling groups get messed up after saving This is interesting... The suggested script does not work if it is used in a savestackrequest handler... However, even having an empty savestackrequest handler still results in the same problem - meaning that the visual garbage shows up prior to the savestackrequest message being generated. On the otherhand, the suggest script works perfectly is the save is done through a button with a mouseup handler. Actually, it turns out that the line 'go this card' is not necessary. The following script, executed from a button, does not produce visual garbage On mouseUp Set the cursor to watch Lock screen Save this stack Unlock screen End mouseUp I guess (aint tried it yet), if the user was using ctrl-s to save, it would need to be trapped and the above script executed with a rawkeydown handler, before it gets to the savestackrequest point in the saving process. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, February 04, 2005 11:00 AM To: How to use Revolution Subject: Re: Scrolling groups get messed up after saving On 2/4/05 8:47 AM, Lynch, Jonathan wrote: > I am sure there must be some way to refresh the card after saving so > that the user never sees this problem. I would hate to give a user a > stack that produces visual garbage. I haven't tried it, but maybe this would work: lock screen save this stack go this card unlock screen -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jswitte at bloomington.in.us Fri Feb 4 12:26:02 2005 From: jswitte at bloomington.in.us (James Witte) Date: Fri, 4 Feb 2005 12:26:02 -0500 (EST) Subject: unscribe - solution - perl/Rev script to read mail like this and forward it to appropriate other perl/Rev script? In-Reply-To: <6.1.1.1.2.20050204093842.028477a8@softseven.org> References: <6.1.1.1.2.20050204093842.028477a8@softseven.org> Message-ID: >> I want to unscribe to this mail list. >> >> Thank you > Am I missing something? > Might a bit of very simple NLP be in order here? How difficult would it be to write a small (7 line perhaps?) Perl or Rev script (I assume RunRev eats its own dogfood for it's list server management too) to detect things like this, forward the sender address to the appropriate other list-manger script, send a message to that effect to the sender, and then delete it from the Use-Rev list (okay, maybe 12 lines for all that). We are programmers after all.. Jim Witte From BNZ2 at CDC.GOV Fri Feb 4 12:46:05 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 12:46:05 -0500 Subject: mouseenter message while mousebutton is down? Message-ID: <64878EF567131D4596246171F75FD4A90EC60D@m-epo-1.epo.cdc.gov> Does anyone know of a way to generate a message that happens when the mouse is over a graphic, and the mousebutton is currently down, and the mouse is pulling around a partially transparent image while it moves over the graphics? Mouseenter does not work when the mousebutton is down, or when there is an image in the way. I tried fooling around with dragenter - but whenever I try to set the dragdata, I get buggy results - the image disappearing, the app freezing up, things like that. I was successful with using a global variable that keeps a list of the top to bottom ranges of each relevant graphic. While dragging the image, using the mousemove message, it tests to see if the image is inside one of the appropriate ranges. So far, this works fine, but it requires updating the global variable every time the group is scrolled. I foresee a problem with scrolling the group or with testing for inclusion during mousemove if the group were to contain several hundred graphics that require testing. Is there any sort of mouseenter-like message that works while the mousebutton is down? Is there any simple way for an object that is covered by a transparent image to receive a mouse message? Thanks, Jonathan From b.xavier at internet.lu Fri Feb 4 13:08:15 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 4 Feb 2005 19:08:15 +0100 Subject: Audio issues in Rev on Windows In-Reply-To: <64878EF567131D4596246171F75FD4A90EC60D@m-epo-1.epo.cdc.gov> Message-ID: <20050204181549.B902E930068@mail.runrev.com> Some of you already know that there is a problem playing wav files with RunRev on PCs if their bitrate is too low. No other program I've seen has the problem... Either you get nothing or an earfull of noise (Are these dangerous for my audio monitors?) if it's a bad bitrate... Does anyone know a way around this? Or a mass-files bitrate converter program? Please dont suggest QT... Another problem I found is that the audiovolume in rev just doesn't work like any other windows programs, it changes the volume of the system and not it's own... GRRRRR - This is a major bug that's gonna make PC users scream! Any solutions or bugzillas I should vote for? Cheers Xavier From b.xavier at internet.lu Fri Feb 4 13:13:30 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 4 Feb 2005 19:13:30 +0100 Subject: Invisible bugs at runtime! In-Reply-To: <64878EF567131D4596246171F75FD4A90EC60D@m-epo-1.epo.cdc.gov> Message-ID: <20050204182103.3093F930068@mail.runrev.com> When I compile applications, I get some bugs I dont see in development. Im ubertired waiting for any bugzilla feedback or hope from request from feedback from support or anyone... Im at a complete loss! My last build, now doesn't crash because of a "dumb" opencard handler that took some finding but now this new version displays a revErrordialog with a mention of an external library (missing?) just a half second before I switch a card - not when I launch the game, just when i press an ok button that goes to a card with a visual effect! I dont use QT... I tried to fix this with using the option to have RR load libraries by itself at compilation but it didn't help. What is funny is that it only happens at startup. Doesn't happen after. Doesn't happen in the development! There's no session log for applications, no NT events to expect from RR and no way to know why this happens or what the error message said! 2nd time in this one application where the unexplainable bugs keep coming at compile time! Anyone had these problems? I must be computer damned! Thanks in advance Best to all Xavier From klaus at major-k.de Fri Feb 4 13:13:26 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 4 Feb 2005 19:13:26 +0100 Subject: Invisible bugs at runtime! In-Reply-To: <20050204182103.3093F930068@mail.runrev.com> References: <20050204182103.3093F930068@mail.runrev.com> Message-ID: <7a70e9913a2f5ab491cde6535dfabbd0@major-k.de> Bon soir Xavier, > When I compile applications, I get some bugs I dont see in development. > > Im ubertired waiting for any bugzilla feedback or hope from request > from > feedback from support or anyone... Im at a complete loss! > > My last build, now doesn't crash because of a "dumb" opencard handler > that > took some finding but now this new version displays a revErrordialog > with a > mention of an external library (missing?) just a half second before I > switch > a card - not when I launch the game, just when i press an ok button > that > goes to a card with a visual effect! > > I dont use QT... > > I tried to fix this with using the option to have RR load libraries by > itself at compilation but it didn't help. > > What is funny is that it only happens at startup. Doesn't happen after. > Doesn't happen in the development! > > There's no session log for applications, no NT events to expect from > RR and > no way to know why this happens or what the error message said! > > 2nd time in this one application where the unexplainable bugs keep > coming at > compile time! > > Anyone had these problems? I must be computer damned! Quick guess! Did you try to "set the dontuseQTeffects to true"? Maybe RR assumes that QT is the default to use with transitions... > Thanks in advance Hope that helps... > Best to all > Xavier Klaus Major klaus at major-k.de http://www.major-k.de From 3mcgrath at adelphia.net Fri Feb 4 13:24:11 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 4 Feb 2005 13:24:11 -0500 Subject: Teleo Message-ID: <1ab276cbd8ca01aa9f54733090cc51e5@adelphia.net> Hello, Has anyone experience with using a Teleo Board? I am using a Macintosh computer with OSX. I have an old MacBrick that is an USB I/O board but can not get support from them. I was looking at the Teleo and it's potential use from within REV. The website is www.makingthings.com - I do not have any ties to this company and do not own the product yet but am interested in the possibilities. I am reluctant because I bought the MacBrick for $200 and am stuck with it now and don't want to waste my time and money again. A quote from their website: "For those individuals and companies that are interested in prototyping and developing projects themselves, MakingThings markets a line of inexpensive, easy-to-use tools. These tools, labeled under the Teleo? brand name, consist of modular and networkable components, ranging from input and output controllers to a wide range of sensors and accessories. Each Teleo hardware module comes with its own software component that can be easily controlled using any one of a number of programming environments including C/C++, Macromedia?s Flash and Cycling74?s Max. In addition, a simple text mode can be used in any programming environment that can read and write text to a serial port." I assume that since it supports a text mode via serial that I can use Sarah's serial methods to access the device, but wanted anyone's input on this. Thanks Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From alex at tweedly.net Fri Feb 4 13:28:14 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 18:28:14 +0000 Subject: unscribe - solution - perl/Rev script to read mail like this and forward it to appropriate other perl/Rev script? In-Reply-To: References: <6.1.1.1.2.20050204093842.028477a8@softseven.org> Message-ID: <4203BEBE.2050703@tweedly.net> James Witte wrote: > > Might a bit of very simple NLP be in order here? > > How difficult would it be to write a small (7 line perhaps?) Perl or > Rev script (I assume RunRev eats its own dogfood for it's list server > management too) to detect things like this, forward the sender address > to the appropriate other list-manger script, send a message to that > effect to the sender, and then delete it from the Use-Rev list (okay, > maybe 12 lines for all that). Bad assumption. If you visit http://lists.runrev.com/mailman/listinfo/use-revolution and scroll to the bottom, you'll see that they use "Mailman", which is "Python Powered". If you ask me, that was the right decision - use standard, existing tools and focus their development resources on their own business needs (i.e. fixing bugs and giving us more features !!) > We are programmers after all.. And that means will never have enough time to get everything finished - so we need to avoid distractions. :-) btw - I think it would be quite difficult. You need to pick out many varied combinations of words that mean "unsubscribe" - but you'd better not pick out this email, or any of the preceding ones in this thread; similar complexity level to a Bayesian spam filter, so not impossible, but far from a 12-line script. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From jacque at hyperactivesw.com Fri Feb 4 13:46:53 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Feb 2005 12:46:53 -0600 Subject: New Externals... In-Reply-To: <64878EF567131D4596246171F75FD4A90EC60A@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC60A@m-epo-1.epo.cdc.gov> Message-ID: <4203C31D.4070009@hyperactivesw.com> On 2/4/05 9:37 AM, Lynch, Jonathan wrote: > I would think that a real spreadsheet would be most easily created as a > group containing fields - using transcript. Each cell would be a field > with specific scripting to keep the cells in the right alignment. The > formula for each cell would be stored as a custom property for that > field. The script for running the formulas would be in the group script. > > Hammering out the details would be a nuisance, just because spreadsheets > can get complicated as you add in more and more functions - but surely > it would be easier to create such a thing as native to Rev, than to try > and do it with a lower level language. > > The advantage with this approach would be that the developer could do > all sorts of custom scripting with the spreadsheet if needed. > > I actually plan on creating something like this for a project I am > working on at home - might be a few months before I get to it, though. I did a good start a few years ago: If you can't open the hqx format, let me know and I will send you the stack. I've been meaning to update my site but haven't had time to trace all the links changes it would require. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Feb 4 13:54:20 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Feb 2005 12:54:20 -0600 Subject: Scrolling groups get messed up after saving In-Reply-To: <64878EF567131D4596246171F75FD4A9469F93@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469F93@m-epo-1.epo.cdc.gov> Message-ID: <4203C4DC.8090805@hyperactivesw.com> On 2/4/05 10:59 AM, Lynch, Jonathan wrote: > Actually - just tested it, and handling the rawkeydown message in the > stack script slows down typing speed too much. Using commandKeyDown (for > windows users) works well for saving by ctrl-s. I am not sure whether > controlKeyDown or commandKeyDown would be appropriate for Mac users. Perfectly appropriate. Macs also use Command-S to save. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From BNZ2 at CDC.GOV Fri Feb 4 14:03:27 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 14:03:27 -0500 Subject: New Externals... Message-ID: <64878EF567131D4596246171F75FD4A9469F96@m-epo-1.epo.cdc.gov> Thanks - I will definitely check it out... -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, February 04, 2005 1:47 PM To: How to use Revolution Subject: Re: New Externals... On 2/4/05 9:37 AM, Lynch, Jonathan wrote: > I would think that a real spreadsheet would be most easily created as a > group containing fields - using transcript. Each cell would be a field > with specific scripting to keep the cells in the right alignment. The > formula for each cell would be stored as a custom property for that > field. The script for running the formulas would be in the group script. > > Hammering out the details would be a nuisance, just because spreadsheets > can get complicated as you add in more and more functions - but surely > it would be easier to create such a thing as native to Rev, than to try > and do it with a lower level language. > > The advantage with this approach would be that the developer could do > all sorts of custom scripting with the spreadsheet if needed. > > I actually plan on creating something like this for a project I am > working on at home - might be a few months before I get to it, though. I did a good start a few years ago: If you can't open the hqx format, let me know and I will send you the stack. I've been meaning to update my site but haven't had time to trace all the links changes it would require. -- 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 b.xavier at internet.lu Fri Feb 4 14:26:03 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 4 Feb 2005 20:26:03 +0100 Subject: Audio issues in Rev on Windows In-Reply-To: <20050204181549.B902E930068@mail.runrev.com> Message-ID: <20050204193336.9554B9302CC@mail.runrev.com> Side note if you read the first bytes of the sound file, you get RIFF:? for a good sound file or RIFFk and RIFFX for bad sound files! Proof im computer cursed! function isRevSavvyWAV filepath try open file filepath read from file filepath for 5 chars close file filepath get it is "RIFF:" catch wtf -- or rtfm if you prefer ;) return wtf & cr & the result finally return it end try end isRevSavvyWAV is that savvy programming or what? It just got integrated into my new game... Soon to be updated surely ;) I wrote it without testing it! It just looked groovy and ideal! reivax -- Monsieurx.com - gone testing his own medicine! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX > Sent: Friday, February 04, 2005 19:08 > To: 'How to use Revolution' > Subject: Audio issues in Rev on Windows > > Some of you already know that there is a problem playing wav > files with RunRev on PCs if their bitrate is too low. No > other program I've seen has the problem... Either you get > nothing or an earfull of noise (Are these dangerous for my > audio monitors?) if it's a bad bitrate... > > Does anyone know a way around this? Or a mass-files bitrate > converter program? > > Please dont suggest QT... > > Another problem I found is that the audiovolume in rev just > doesn't work like any other windows programs, it changes the > volume of the system and not it's own... GRRRRR - This is a > major bug that's gonna make PC users scream! > > Any solutions or bugzillas I should vote for? > > Cheers > Xavier > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From boinjyboing at hotmail.com Fri Feb 4 14:19:28 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Fri, 4 Feb 2005 11:19:28 -0800 Subject: Arrays Message-ID: Thanks Phil and Mark. It seems like Rev is really lacking documentation about its array and matrix capabilities. I like the idea of having flexible arrays, I.e. myArray["key"]. Is there a page in the docs that specifically outlines what array features there are? (Whenever I try to search for something in the docs, the spinning-beach ball cursor appears but Rev crashes.) I'm having problems using the combine and split commands; for some reason the data never is processed quite correctly. I'm working on image processing. Let's say I wanted to lighten every shade in the image by 2. The way I do this now is by getting the chartonum of each char in the imagedata (except for every fourth char which is always 0), adding 2, getting the numtochar, and putting this after a variable. Then I set the imagedata of the image to that variable. It works great, but it's a little slow. Too slow for a smooth animation which is what I'm trying to accomplish. Is there a way to directly add something to the imagedata in binary? For example, adding 2 to all the red in an image in one step rather than going through all the data manually. Or is converting binary>decimal>binary necessary? -Ben >In fact, it isn't necessary to set the the customPropertySet if you >don't need to access elements of it directly. If you simply want to >store an array you can do this: From revdan at danshafer.com Fri Feb 4 14:19:18 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 4 Feb 2005 11:19:18 -0800 Subject: Arrays In-Reply-To: References: <20050204045922.3EEC49301A5@mail.runrev.com> Message-ID: <7a9956c0997f4b3279bc2f359450a0f2@danshafer.com> Good code samples, guys. But Ben should know (and probably does) that this will NOT work in a standalone since stacks in standalones can't be updated. (Well, of course what I mean is that it can't be used in a stack in a standalone if that stack is included/embedded in the app.) Dan On Feb 4, 2005, at 5:59 AM, Mark Smith wrote: > > On 4 Feb 2005, at 04:59, use-revolution-request at lists.runrev.com wrote: > >> on saveArray >> >> global gBigArray >> >> -- target a specific custom property set >> set the customPropertySet of stack "allMyArrays" to "uBigArray" >> >> -- replace all elements of 'uBigArray' CPS with 'gBigArray' >> set the customProperties of stack "allMyArrays" to gBigArray >> >> -- save it >> save stack "allMyArrays" >> >> end saveArray > > In fact, it isn't necessary to set the the customPropertySet if you > don't need to access elements of it directly. If you simply want to > store an array you can do this: > > on saveArray tMyArray > set the customProperties["storedArray1"] of this stack to tMyArray > end saveArray > > to retrieve: > > function getArray > put the customProperties["storedArray1"] of this stack into tMyArray > return tMyArray > end getArray > > you can store as many arrays as you like this way, as > customPropertySets are creatable and accessible using the above array > notation. > -- > > cheers, > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Feb 4 14:39:04 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Feb 2005 11:39:04 -0800 Subject: Printing Crashes Rev in OSX In-Reply-To: <42035B57.6020806@tweedly.net> References: <86F39198-74CD-11D9-AF4D-000A959D0AC6@hindu.org> <3E46537A-74D0-11D9-AF4D-000A959D0AC6@hindu.org> <763cd283db6588109cf02569fe0864f5@danshafer.com> <82049983ff44ee5409cfe6356fc5354b@danshafer.com> <39670EFA-7620-11D9-B49A-000A959D0AC6@hindu.org> <42035B57.6020806@tweedly.net> Message-ID: <231545021.20050204113904@ahsoftware.net> Alex- Thanks. I tried twice to come up with a good analogy to post to the list and gave up each time. That freeway onramp/offramp thing is great IMO. (and speaking of spellcheckers, why is it cloverleafs and not cloverleaves?) -- -Mark Wieder mwieder at ahsoftware.net From BNZ2 at CDC.GOV Fri Feb 4 14:43:06 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 14:43:06 -0500 Subject: Printing Crashes Rev in OSX Message-ID: <64878EF567131D4596246171F75FD4A9469F98@m-epo-1.epo.cdc.gov> Because, otherwise, people would think you have a dog named Clover who keeps leaving your slippers in the wrong place. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Wieder Sent: Friday, February 04, 2005 2:39 PM To: How to use Revolution Subject: Re: Printing Crashes Rev in OSX Alex- Thanks. I tried twice to come up with a good analogy to post to the list and gave up each time. That freeway onramp/offramp thing is great IMO. (and speaking of spellcheckers, why is it cloverleafs and not cloverleaves?) -- -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 len-morgan at crcom.net Fri Feb 4 15:11:00 2005 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 04 Feb 2005 14:11:00 -0600 Subject: Ultra Beginner Question/Request Message-ID: <4203D6D4.4090707@crcom.net> Hello All, I've been a programmer since the mid 70's. I've used and/or tinkered with all of the "normal" procedural languages (C, Tcl, BASIC) and even some "ab"normal ones like Forth. I consider myself a pretty good programmer and have been told I'm fairly bright in general. I've had Revolution for a couple of weeks now, and I just can't seem to get my head around the "methodology" of using Revolution. I'm not worried about command syntax or what controls are available. My problem is how to go about DESIGNING a whole project. I am trying to convert a rather large application I have in Tcl/Tk to Revolution and just can't seem to get started. Are there any Revolution design documents, web pages, tutorials, etc that address this area? The one page about on the runrev.com site having information for C programmers was not nearly enough. I guess what I'd like to see is a step by step tutorial on how to start with a non-trivial project. Like I said, I don't need to know how to put a button on a card and fire a script when it's pressed - that is very well explained. Any information would be appreciated! Len Morgan From ambassador at fourthworld.com Fri Feb 4 15:21:37 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Feb 2005 12:21:37 -0800 Subject: Ultra Beginner Question/Request In-Reply-To: <4203D6D4.4090707@crcom.net> References: <4203D6D4.4090707@crcom.net> Message-ID: <4203D951.8090409@fourthworld.com> Len Morgan wrote: > Hello All, > > I've been a programmer since the mid 70's. I've used and/or tinkered > with all of the "normal" procedural languages (C, Tcl, BASIC) and even > some "ab"normal ones like Forth. I consider myself a pretty good > programmer and have been told I'm fairly bright in general. I've had > Revolution for a couple of weeks now, and I just can't seem to get my > head around the "methodology" of using Revolution. > > I'm not worried about command syntax or what controls are available. My > problem is how to go about DESIGNING a whole project. I am trying to > convert a rather large application I have in Tcl/Tk to Revolution and > just can't seem to get started. You may have come to the right place. You can consider this list a working group for your personal success with learning Rev. :) Tell us a bit about this Tcl project and perhaps some of the folks here will chime in with suggestions on how to get started. One of the tough things with learning a proprietary language is that there are fewer third-party resources avaiable for learning. But one of the upsides with Rev is that this mailing list is chock full o' third parties ready and willing to offer personal assistance. -- 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 gjbalzano at popmail.ucsd.edu Fri Feb 4 15:33:48 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Fri, 4 Feb 2005 12:33:48 -0800 Subject: CommandKeyDown handler question In-Reply-To: References: Message-ID: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> Hi all, As an old HyperCarder, I thought I'd like to set up commandKey equivalents in Rev for "go next card" and "go previous card" (cmd-3 and cmd-2 respectively). After a couple false starts (e.g. using a keyDown handler with a "if the commandKey is down" inside), I hit on the following: on commandkeyDown theKey switch theKey case "3" go next break case "2" go prev break default pass commandkeyDown end switch end commandkeyDown Now, the problem is, this doesn't work! It does cause the Edit menu to do a mysterious brief hilite, but no card movement occurs. However, when I change the handler about to a "controlKeyDown", everything is peachy. So what's going on? Is there some strange undocumented frontscripts behavior built into Rev that is intercepting my commandKeyDown handler? Or what? JerryB From BNZ2 at CDC.GOV Fri Feb 4 15:55:23 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 4 Feb 2005 15:55:23 -0500 Subject: Ultra Beginner Question/Request Message-ID: <64878EF567131D4596246171F75FD4A90EC610@m-epo-1.epo.cdc.gov> Having only done a little bit of programming in traditional languages, but having a background that included quite a bit of hypercard use at one time - I found Rev to be entirely intuitive. On the other hand, I find VB and C to be entirely unintuitive - and I think I see why. If I want to envision a program, the first thing I do is visualize in my head what the user will experience. Then, I lay out the buttons, fields, etcetera... that will be needed to make the program look like what I see in my head. After that, I create the scripts in each object to make then actually perform. If you think about traditional programming - you have a main routine which calls out to a bunch of subroutines to do stuff. So, you write the core functions first, then you write the programming to make it look like it needs to, based upon those core functions - starting at the inside and working your way out. Well, Rev and Hypercard are the opposite. You start at the outside, then work your way in. So the process would be: 1) Envision what the program will look like, and how the user will interface with the program. 2) Make the layout (place the desired objects) in Rev to correspond with that vision. 3) Write the scripting to make those objects do what you want. 4) Test and modify as needed. I am no expert, but that is what works for me. Does that help, or were you looking for a more detailed analysis? From mwieder at ahsoftware.net Fri Feb 4 16:33:06 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Feb 2005 13:33:06 -0800 Subject: Ultra Beginner Question/Request In-Reply-To: <4203D6D4.4090707@crcom.net> References: <4203D6D4.4090707@crcom.net> Message-ID: <1448387100.20050204133306@ahsoftware.net> Len- In addition to what Richard said I'll add my two cents: I've found through experience that the holistic approach works best for me; that is, I've been through a line-by-line conversion of existing C and VB programs to xtalk and also through the approach of "let's see what this program is supposed to do and recreate it from scratch". The latter has been much more productive for me - quite often I'll find that an algorithm that has been fine-tuned for efficiency in another language runs faster and is easier and faster to write if I just pretend I never saw the original code. So how's this for an approach: convert the tcl/tk project to pseudocode (a flowchart, just comments, anything that will describe the original program adequately), then convert the pseudocode to xtalk. ...all right, maybe three cents: Xtalk, for me, has some of the same advantages and disadvantages of forth. The bottom-up coding style is a real productivity enhancer: once you get something working you can build other things with it. And I have the same love-hate relationship with the lack of variable typing that I have with forth. -- -Mark Wieder mwieder at ahsoftware.net From len-morgan at crcom.net Fri Feb 4 17:24:51 2005 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 04 Feb 2005 16:24:51 -0600 Subject: Ultra Beginner Question/Request Message-ID: <4203F633.3070406@crcom.net> I have no doubt this is the right place to at least get started! The project I'm trying to convert is large but I think it is also typical of a lot of moderately complex application so I hope others can benefit from this discussion. The program has a database on the backend and is used to manage (private) prisons. The GUI consists of a menu at the top of the screen, a toolbar that includes a combobox to select what the user wants to do, a "current inmate" frame which is only a little taller than the text and labels that are on it, a large "main area" where different things go depending on what you select from the combobox, and at the bottom a status/progess bar. In a prior version of this program, the large main area had a tabset control to was used to select between the various tasks that a user wanted to do. As the program grew, the tabset had to be replaced with the combobox on the toolbar because it gave me an (almost) unlimited number of tasks (RR equivalent to cards I think). The tab control I had could not scroll if it got too big (which it did). The tool bar also has 4 buttons on it that are used by all of the tasks in the work area ("Add", "Delete", "Save" and "Cancel Changes"). What routines are called when one of these buttons are pushed depends on which task screen you're looking at when it is pressed. This sounds a little confusing but once you teach a user that pressing the "+" button adds one of whatever you're looking at (i.e., inmate, charge, program review)), they pick it up pretty quick. Now, for an additional wrinkle, in a prison environment (or really any other reasonably large organization), you need to have different rights for different people. In my program's case, no one but medical staff can look at an inmate's medical information, and so on. When the program is first started up, I get a username and password, and after authenticating them against my database, I get a "profile" that has been assigned to that username (from the same database). My tcl code has a script for each profile (medical clerk, mailroom, records clerk, case manager, etc) that loads ("sources" in Tcl lingo) the scripts for each of the tasks they are allowed to preform along with certain permissions on those tasks. By that I mean, everyone is allowed to look at a certain screen of inmate information but only records clerks are allowed to change it. There is also a menu file that creates the top level menu structure also based on the user's profile. Again, there are a set of menus that everyone gets and then there are different ones added depending on the profile selected. Ok, that's how I'm doing it now in Tcl/Tk. I'm not expecting anyone to build this for me but I'd like a little direction on how to attack this in RR. Can I get different cards (or would I use stacks) depending on the profile or would I have a stack for each profile that had the cards necessary on it already? If it's the latter, how would I handle something like the "Search" task that everyone has but changes from time to time? Would I have to make the changes on every profile stack or can I say "use the Search card from ... on this stack?" I think I've figured out that my toolbar, "current inmate" and statusbar will endup being "groups" that I will just include on every card so that it looks like only the main work area is changing when in fact (I think) the whole screen is changing. I also think I've figured out that I'll need a stack to handle all of the database needs that I'll pass queries to and retrieve answers from. So there you have it. I'm staring at a blank mainstack and don't even know where to begin the design process. How do I partition things so that I'm doing things the "Revolution way." Thanks in advance for any pointers you might be able to offer. Len Morgan From: Richard Gaskin You may have come to the right place. You can consider this list a working group for your personal success with learning Rev. :) Tell us a bit about this Tcl project and perhaps some of the folks here will chime in with suggestions on how to get started. One of the tough things with learning a proprietary language is that there are fewer third-party resources avaiable for learning. But one of the upsides with Rev is that this mailing list is chock full o' third parties ready and willing to offer personal assistance. Len Morgan wrote: >> Hello All, >> >> I've been a programmer since the mid 70's. I've used and/or tinkered >> with all of the "normal" procedural languages (C, Tcl, BASIC) and even >> some "ab"normal ones like Forth. I consider myself a pretty good >> programmer and have been told I'm fairly bright in general. I've had >> Revolution for a couple of weeks now, and I just can't seem to get my >> head around the "methodology" of using Revolution. > > From gjbalzano at popmail.ucsd.edu Fri Feb 4 17:48:06 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Fri, 4 Feb 2005 14:48:06 -0800 Subject: Problem! Inaccessible substack In-Reply-To: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> References: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> Message-ID: I sure hope I can get some assistance with this one because there's a lot of work sitting in a substack I can't get to. Somehow - probably due to all my messing around with control and commandkeys ? the substack in question got renamed "33". When I now try to open it, I get a "no such card" error. I have tried everything I can think of here. When I say 'answer the substacks of this stack' I get "33". When I say 'put the substacks of this stack into field "substacks" ' I get "33" placed into the field called "substacks". Not only can I not 'go to stack (field "substacks")', I can't even do a delayed-evaluation 'do "go to stack" && quote & field "substacks" & quote' (or 'do "go to stack" && quote & the substacks of this stack & quote'. Leaving out the 'quote's also fails. Everything I do gets me "no such card" as a response. I am at my wits' end. Please help! - Jerry Balzano From gbojsza at gmail.com Fri Feb 4 18:20:33 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 4 Feb 2005 18:20:33 -0500 Subject: Problem! Inaccessible substack In-Reply-To: References: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> Message-ID: <3d8af41505020415207ffeb7a6@mail.gmail.com> Have you tried Tools --> Application Browser This will let you acces the sub stack, rename it etc... Hope this helps On Fri, 4 Feb 2005 14:48:06 -0800, Jerry Balzano wrote: > I sure hope I can get some assistance with this one because there's a > lot of work sitting in a substack I can't get to. > > Somehow - probably due to all my messing around with control and > commandkeys ? the substack in question got renamed "33". When I now > try to open it, I get a "no such card" error. > > I have tried everything I can think of here. When I say 'answer the > substacks of this stack' I get "33". When I say 'put the substacks of > this stack into field "substacks" ' I get "33" placed into the field > called "substacks". Not only can I not 'go to stack (field > "substacks")', I can't even do a delayed-evaluation 'do "go to stack" > && quote & field "substacks" & quote' (or 'do "go to stack" && quote & > the substacks of this stack & quote'. Leaving out the 'quote's also > fails. Everything I do gets me "no such card" as a response. I am at > my wits' end. Please help! > > - Jerry Balzano > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jsilver at qualcomm.com Fri Feb 4 18:28:06 2005 From: jsilver at qualcomm.com (Silver, Jason) Date: Fri, 4 Feb 2005 15:28:06 -0800 Subject: Rev 2.5 on WinXP: Issues with multiple monitors Message-ID: I'm not sure this is classified as a "bug", but I've noticed an issue in Revolution that irks me. The computer provided to me by my company is a laptop; while in the office, I have it connected to a docking station which connects to an external monitor. This lets me use the big 21" CRT as my primary display, and the laptop screen as a secondary display. For Revolution, I usually situate things so that the Documentation window is open on the second screen, and possibly the Application Browser, Inspector, etc. The problem arises when I'm working without that second screen. In this case, the laptop screen becomes the primary (and only) display. Most applications are multi-monitor friendly, and they realize that the laptop is the only screen, so they better display things on it. Revolution does not have this capability. I'll click on the "Documentation" button, and it seems like nothing is happening. Well, the Documentation window is up, but it's 1500 or so pixels to the right, on a screen that's not there. I haven't figured out a way to get it back to the main display without hooking the laptop up to the second monitor, moving the window, etc. I'm sure there's a workaround (e.g. typing some "move" command into the Message Box), but I was hoping that this issue could be looked at, and possibly changed in forthcoming releases of the software. Jason Silver Human Factors Engineer, Sr. QUALCOMM Inc. jsilver at qualcomm.com From alex at tweedly.net Fri Feb 4 18:29:19 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 23:29:19 +0000 Subject: Problem! Inaccessible substack In-Reply-To: References: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> Message-ID: <4204054F.2030502@tweedly.net> Jerry Balzano wrote: > I sure hope I can get some assistance with this one because there's a > lot of work sitting in a substack I can't get to. > > Somehow - probably due to all my messing around with control and > commandkeys ? the substack in question got renamed "33". When I now > try to open it, I get a "no such card" error. > > I have tried everything I can think of here. When I say 'answer the > substacks of this stack' I get "33". When I say 'put the substacks of > this stack into field "substacks" ' I get "33" placed into the field > called "substacks". Not only can I not 'go to stack (field > "substacks")', I can't even do a delayed-evaluation 'do "go to stack" > && quote & field "substacks" & quote' (or 'do "go to stack" && quote & > the substacks of this stack & quote'. Leaving out the 'quote's also > fails. Everything I do gets me "no such card" as a response. I am at > my wits' end. Please help! Can you not get to it via the Property Inspector and change its name ? or is it possible that you have set the name to empty ? (if a name is empty, getting its name yields its ID instead !!) so you should be able to use set the name of stack id 33 to "somename" or Do you know (or can you get) the id for the stack ? and then use that to set its name ? (read the "ID property" page in the Dictionary carefully before trying this. Then read it again) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From chipp at chipp.com Fri Feb 4 18:41:37 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 04 Feb 2005 17:41:37 -0600 Subject: Audio issues in Rev on Windows In-Reply-To: <20050204181549.B902E930068@mail.runrev.com> References: <20050204181549.B902E930068@mail.runrev.com> Message-ID: <42040831.5080702@chipp.com> MisterX wrote: > Another problem I found is that the audiovolume in rev just doesn't work > like any other windows programs, it changes the volume of the system and not > it's own... GRRRRR - This is a major bug that's gonna make PC users scream! X, It's actually a bit different than what you say. Try this. Open up the audio volume control panel on WinXP and set the master volume to Max. Now, go into RR and create a new stack, import a .wav audioclip and create a btn: on mouseUp set the playloudness to 1 -->VERY LOW play audioClip 1 end mouseUp It will play at a very low volume. Now open the .wav file in WMP and it will also play at the '1' setting. This would indeed indicate that it is setting the 'master volume' for the computer. But... Go back to Master control, close and open and you will see the Master is still at 100%, so it really didn't change the 'master volume', but did change the volume of other apps. Then do this. Set the Master volume to 0 then set the playloudness to 100 and you still won't hear anything. It seems like the sound card has it's own 'master volume', then there's a 'system wide master volume' which is what Rev sets, then there's 'app specific volume' which is what QT and WMP use. Just a guess. -Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005 From alex at tweedly.net Fri Feb 4 18:43:59 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 23:43:59 +0000 Subject: Ultra Beginner Question/Request In-Reply-To: <4203F633.3070406@crcom.net> References: <4203F633.3070406@crcom.net> Message-ID: <420408BF.907@tweedly.net> Len Morgan wrote: > From: Richard Gaskin > > You may have come to the right place. You can consider this list a > working group for your personal success with learning Rev. :) > Tell us a bit about this Tcl project and perhaps some of the folks > here will chime in with suggestions on how to get started. > > One of the tough things with learning a proprietary language is that > there are fewer third-party resources avaiable for learning. > > But one of the upsides with Rev is that this mailing list is chock > full o' third parties ready and willing to offer personal assistance. They may also offer personal opinions - which may not always be what you want to hear :-) IMO, it's too early in your Rev experience to tackle this project - it's just too big and has too many aspects where you could make a design decision that you later regretted. I would try to find a smaller, but non-trivial task to do, get that under my belt - and then be ready to tackle this larger project, with confidence that I had a good enough grasp of "the Transcript way" that I'd make good design choices. A couple of days spent on a different problem now, experimenting with different ways to do things, might save you more time than that later. And it's easier to experiment and then discard ideas if it's not the real, final problem you're working on. If you feel you have to "get started" (and I suspect if it were me, I would not resist), then pick a small subset of the real problem, and do just it - but complete it as a project; force yourself to be open minded about whether you're doing is phase one of the real thing or a throw-away prototype. As another "trad" programmer recently (8 months) started on Rev, I'd say you should not feel the obligation to use the card metaphor for data storage - it's a great feature in some circumstances, but it doesn't fit every problem. Even apart from the "cards as data", it may be right to use multiple cards for the multiple "tabs" - or it might be easier to simply use grouped controls - see the discussion on this list about a month ago. If you haven't already - play with the various search tools for finding things in the list archive - there's tons of good info in here. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From chipp at chipp.com Fri Feb 4 18:54:02 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 04 Feb 2005 17:54:02 -0600 Subject: Problem! Inaccessible substack In-Reply-To: <4204054F.2030502@tweedly.net> References: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> <4204054F.2030502@tweedly.net> Message-ID: <42040B1A.7070108@chipp.com> Jerry, Couldn't find your original post, but hopefully this can help. Create a button on your main stack and set the script to: on mouseUp lock messages go stack "33" unlock messages end mouseUp you may also want to "set the loc of stack 33 to screenloc()" as well (if it's positioned off screen) My guess is you probably have some preOpenStack handler which is trying to do something with a card of the old named stack. Also, if you find you can't open a Main stack the recipe below will help: Create a stack with a single button. Set the script of the button to: on mouseUp answer file "Choose Stack to Open" if it is empty then exit to top lock messages go URL ("binfile:" & it) unlock messages end mouseUp This should open your stack w/out problem, then rename and save and you should be good to go. best, Chipp > Jerry Balzano wrote: > >> I sure hope I can get some assistance with this one because there's a >> lot of work sitting in a substack I can't get to. >> >> Somehow - probably due to all my messing around with control and >> commandkeys ? the substack in question got renamed "33". When I now >> try to open it, I get a "no such card" error. >> >> I have tried everything I can think of here. When I say 'answer the >> substacks of this stack' I get "33". When I say 'put the substacks of >> this stack into field "substacks" ' I get "33" placed into the field >> called "substacks". Not only can I not 'go to stack (field >> "substacks")', I can't even do a delayed-evaluation 'do "go to stack" >> && quote & field "substacks" & quote' (or 'do "go to stack" && quote & >> the substacks of this stack & quote'. Leaving out the 'quote's also >> fails. Everything I do gets me "no such card" as a response. I am at >> my wits' end. Please help! -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005 From alex at tweedly.net Fri Feb 4 18:58:32 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 04 Feb 2005 23:58:32 +0000 Subject: Rev 2.5 on WinXP: Issues with multiple monitors In-Reply-To: References: Message-ID: <42040C28.7060403@tweedly.net> Silver, Jason wrote: >[ ... window off screen ...] >I'm sure there's a workaround (e.g. typing some "move" command into the >Message Box), but I was hoping that this issue could be looked at, and >possibly changed in forthcoming releases of the software. > > msg box, and type set the loc of stack "revdocs" to the screenloc (or ... to "500,500" whichever you find easier to type). I suspect it won't be changed, because it's common to create and manipulate "invisible" windows by positioning them off-screen, and it would be hard to figure the difference between that technique and the case where the user has switched from dual monitor to single monitor. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From kray at sonsothunder.com Fri Feb 4 18:59:49 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 04 Feb 2005 17:59:49 -0600 Subject: CommandKeyDown handler question In-Reply-To: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> Message-ID: On 2/4/05 2:33 PM, "Jerry Balzano" wrote: > So what's going on? Is there some strange undocumented frontscripts > behavior built into Rev that is intercepting my commandKeyDown handler? Well, Rev does have a commandKeyDown handler in the revShortcuts frontscript, but it's theoretically set to pass the commandKeyDown so long as message suppression is not turned on... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From len-morgan at crcom.net Fri Feb 4 19:32:13 2005 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 04 Feb 2005 18:32:13 -0600 Subject: Mailing List Help Message-ID: <4204140D.7010003@crcom.net> Can someone please tell me how (and where) I can search the archives of this mailing list? At one point I got to a page that looked like I could search but now it appears that I have to look at every message for every month to try and find if my problem has already been addressed. There HAS to be a better way that I'm missing. Len Morgan From gjbalzano at popmail.ucsd.edu Fri Feb 4 19:46:42 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Fri, 4 Feb 2005 16:46:42 -0800 Subject: Problem! Inaccessible substack In-Reply-To: <42040B1A.7070108@chipp.com> References: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> <4204054F.2030502@tweedly.net> <42040B1A.7070108@chipp.com> Message-ID: <678F9296-770F-11D9-A313-000393780570@popmail.ucsd.edu> First of all, thanks to Chipp, Alex, and Glen for their speedy replies. Unfortunately, nothing worked! Chipp, I tried the button script you gave me below; it runs but does nothing observable. If I add a line asking to set the loc of the stack to the screenloc, *then* I get a "can't find stack" error. Glen, the Application Browser doesn't even "see" this substack for some reason. The plot thickens: a few days ago I downloaded Richard Gaskin's 4W Devolution suite. It turns out that Richard's 4W Object Browser *does* see the substack. It even sees that the substack "33" contains two cards, and gives me the card ids for them. But if I try to select anything in the 4W Object Browser window pertaining to substack "33", I get "There was an error executing a script in stack 4WObjectBrowser." Still open to any wild suggestions for things I might try to get at this infernal stack or any of its cards. JerryB On Feb 4, 2005, at 3:54 PM, Chipp Walters wrote: > Jerry, > > Couldn't find your original post, but hopefully this can help. > > Create a button on your main stack and set the script to: > > on mouseUp > lock messages > go stack "33" > unlock messages > end mouseUp > > you may also want to "set the loc of stack 33 to screenloc()" as well > (if it's positioned off screen) >> >> Jerry Balzano wrote: >>> I sure hope I can get some assistance with this one because there's >>> a lot of work sitting in a substack I can't get to. >>> >>> Somehow - probably due to all my messing around with control and >>> commandkeys ? the substack in question got renamed "33". When I now >>> try to open it, I get a "no such card" error. >>> >>> I have tried everything I can think of here. When I say 'answer the >>> substacks of this stack' I get "33". When I say 'put the substacks >>> of this stack into field "substacks" ' I get "33" placed into the >>> field called "substacks". Not only can I not 'go to stack (field >>> "substacks")', I can't even do a delayed-evaluation 'do "go to >>> stack" && quote & field "substacks" & quote' (or 'do "go to stack" >>> && quote & the substacks of this stack & quote'. Leaving out the >>> 'quote's also fails. Everything I do gets me "no such card" as a >>> response. I am at my wits' end. Please help! From alex at tweedly.net Fri Feb 4 20:13:48 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 05 Feb 2005 01:13:48 +0000 Subject: Mailing List Help In-Reply-To: <4204140D.7010003@crcom.net> References: <4204140D.7010003@crcom.net> Message-ID: <42041DCC.5030404@tweedly.net> Len Morgan wrote: > Can someone please tell me how (and where) I can search the archives > of this mailing list? At one point I got to a page that looked like I > could search but now it appears that I have to look at every message > for every month to try and find if my problem has already been > addressed. There HAS to be a better way that I'm missing. There are a few ways http://www.mail-archive.com/use-revolution at lists.runrev.com/ http://www.google.com/advanced_search?q=site:lists.runrev.com Get the stack at http://www.ahsoftware.net/files/ArchiveSearch.rev and I'm sure there are more I have temporarily forgotten -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From alex at tweedly.net Fri Feb 4 20:18:17 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 05 Feb 2005 01:18:17 +0000 Subject: Problem! Inaccessible substack In-Reply-To: <678F9296-770F-11D9-A313-000393780570@popmail.ucsd.edu> References: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> <4204054F.2030502@tweedly.net> <42040B1A.7070108@chipp.com> <678F9296-770F-11D9-A313-000393780570@popmail.ucsd.edu> Message-ID: <42041ED9.8080708@tweedly.net> Jerry Balzano wrote: > First of all, thanks to Chipp, Alex, and Glen for their speedy > replies. Unfortunately, nothing worked! Chipp, I tried the button > script you gave me below; it runs but does nothing observable. If I > add a line asking to set the loc of the stack to the screenloc, *then* > I get a "can't find stack" error. Glen, the Application Browser > doesn't even "see" this substack for some reason. > > The plot thickens: a few days ago I downloaded Richard Gaskin's 4W > Devolution suite. It turns out that Richard's 4W Object Browser > *does* see the substack. It even sees that the substack "33" contains > two cards, and gives me the card ids for them. But if I try to select > anything in the 4W Object Browser window pertaining to substack "33", > I get "There was an error executing a script in stack 4WObjectBrowser." > > Still open to any wild suggestions for things I might try to get at > this infernal stack or any of its cards. No good ideas .... are you ready for bad ones yet ? What is the work contained on these cards ? Is it controls and layout, or mostly the scripts ? If the latter, I'd try to use a basic text editor and just copy the script code out and paste into a new stack. (Notepad can't do it, but Emacs has no problem finding and sensibly interpreting the code parts of a stack). -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From vokey at uleth.ca Fri Feb 4 20:22:11 2005 From: vokey at uleth.ca (Dr.John R.Vokey) Date: Fri, 4 Feb 2005 18:22:11 -0700 Subject: Ultra Beginner Question/Request In-Reply-To: <20050204204919.6CB2C9301DA@mail.runrev.com> References: <20050204204919.6CB2C9301DA@mail.runrev.com> Message-ID: <8166650f007b7ddfd387952e935200bd@uleth.ca> Len, If you are familiar with Forth, then you are familiar with TILs (Threaded Interpretative Languages). Transcript (and X-talks, generally) are more akin to TILs than more linear languages (C, BASIC, Fortran), especially as the functions and procedures you write become immediately parts of the very language (and, indeed, take precedence) you are writing in (like TILs). There also is a stack, in a sense, although it usually consists of pending events to be received by objects, than values to be used. There is also a card/stack stack, using push and pop (although rarely used these days). Given your background, then, I suggest more Forth thought and less C, BASIC, and Fortran. Expect still to be flummoxed, but the end result really is worth it: 4GL beats 2GL hands down! (xGL = x generation language). On 4-Feb-05, at 1:49 PM, use-revolution-request at lists.runrev.com wrote: > Hello All, > > I've been a programmer since the mid 70's. I've used and/or tinkered > with all of the "normal" procedural languages (C, Tcl, BASIC) and even > some "ab"normal ones like Forth. I consider myself a pretty good > programmer and have been told I'm fairly bright in general. I've had > Revolution for a couple of weeks now, and I just can't seem to get my > head around the "methodology" of using Revolution. > > I'm not worried about command syntax or what controls are available. > My > problem is how to go about DESIGNING a whole project. I am trying to > convert a rather large application I have in Tcl/Tk to Revolution and > just can't seem to get started. > > Are there any Revolution design documents, web pages, tutorials, etc > that address this area? The one page about on the runrev.com site > having information for C programmers was not nearly enough. I guess > what I'd like to see is a step by step tutorial on how to start with a > non-trivial project. Like I said, I don't need to know how to put a > button on a card and fire a script when it's pressed - that is very > well > explained. > > Any information would be appreciated! > > Len Morgan > -- Dr. John R. Vokey Department of psychology and Neuroscience University of Lethbridge Lethbridge, Alberta CANADA T1K 3M4 From ambassador at fourthworld.com Fri Feb 4 20:27:10 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Feb 2005 17:27:10 -0800 Subject: Mailing List Help In-Reply-To: <4204140D.7010003@crcom.net> References: <4204140D.7010003@crcom.net> Message-ID: <420420EE.6040005@fourthworld.com> Len Morgan wrote: > Can someone please tell me how (and where) I can search the archives of > this mailing list? RunRev would do well to add a simple search box at the top of the archive page at: In the meantime I have a searchbox for the Rev list at: You can iniate searches right from within Rev using the RevListSearch plugin downloadable from this page: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Fri Feb 4 20:38:19 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 4 Feb 2005 18:38:19 -0700 Subject: Rev 2.5 on WinXP: Issues with multiple monitors In-Reply-To: <42040C28.7060403@tweedly.net> References: <42040C28.7060403@tweedly.net> Message-ID: <410a583429c6db35ac003c521c2567e8@swcp.com> On Feb 4, 2005, at 4:58 PM, Alex Tweedly wrote: > I suspect it won't be changed, because it's common to create and > manipulate "invisible" windows by positioning them off-screen, and it > would be hard to figure the difference between that technique and the > case where the user has switched from dual monitor to single monitor. Perhaps a right-click menu item in the app browser could be used to move a window to the primary screen. (Or when Revolution figure out multiple monitors, to the closest one.) Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From alex at tweedly.net Fri Feb 4 20:42:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 05 Feb 2005 01:42:28 +0000 Subject: Rev 2.5 on WinXP: Issues with multiple monitors In-Reply-To: <410a583429c6db35ac003c521c2567e8@swcp.com> References: <42040C28.7060403@tweedly.net> <410a583429c6db35ac003c521c2567e8@swcp.com> Message-ID: <42042484.4030201@tweedly.net> Dar Scott wrote: > > On Feb 4, 2005, at 4:58 PM, Alex Tweedly wrote: > >> I suspect it won't be changed, because it's common to create and >> manipulate "invisible" windows by positioning them off-screen, and it >> would be hard to figure the difference between that technique and the >> case where the user has switched from dual monitor to single monitor. > > > Perhaps a right-click menu item in the app browser could be used to > move a window to the primary screen. (Or when Revolution figure out > multiple monitors, to the closest one.) That would be a good idea - though in this case, the problem was the Documentation window, so it wouldn't be available in the app browser. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005 From erikhans08 at yahoo.com Fri Feb 4 20:50:47 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Fri, 4 Feb 2005 17:50:47 -0800 (PST) Subject: Notepad can't...interpret the code parts of a stack? In-Reply-To: <42041ED9.8080708@tweedly.net> Message-ID: <20050205015047.92509.qmail@web61208.mail.yahoo.com> --- Alex Tweedly wrote: > ...use a basic text editor and just copy the > script code out and paste into a new stack. > (Notepad can't do it, but Emacs has no problem > finding and sensibly > interpreting the code parts of a stack). this sounds ominous, could you please elaborate? Thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From drothe at optusnet.com.au Fri Feb 4 22:12:34 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Sat, 5 Feb 2005 13:12:34 +1000 Subject: Exporting multiple files#1 Message-ID: <003d01c50b30$8a8ab8d0$38daa4cb@p4c2> Hi All, I need help writing multiple files from a list! I have a text file with items delimited by "|" Amongst those items I have have more data delimited by TAB eg. Name|Age|Favorite Color|Hobby1 Hobby2 Hobby3|Pet1 Pet2 Pet3 the fourth & fifth items may contain hobbies & pets which could be of any quantity! What I am trying to do is write a seperate .txt file for each line, saved as the first item as the file name. e.g Say I have two lines as follows John Doe|16|Blue|Fishing Cars Computers|Dog Cat Bird Jane Doe|14|Pink|Shopping Boys|Canary Goldfish I want to save file as below; Text file 1: ------------ Name: John Doe Age: 16 Favorite Color: Blue Hobbies:Fishing, Cars, Computers Pets:Dog, Cat, Bird saved as John Doe.txt Text file 2: ------------ Name: Jane Doe Age: 14 Favorite Color: Pink Hobbies:Shopping, Boys Pets:Canary, Goldfish saved as Jane Doe.txt ------------------------------------------------------------------------- Here is the code I have so far that doesnt work properly! put "John Doe" & cr & "Jane Doe" into tNames put URL ("file:" & list.txt) into tList set itemDel to "|" repeat for each line x in tNames put x into tName get lineOffset(tName, tList) put line it of tList into tListData put item 1 of tListData into tName put item 2 of tListData into tAge put item 3 of tListData into tColor put item 4 of tListData into tHobby put item 5 of tListData into tPet set itemDel to TAB repeat for each line x in tHobby put x & comma & space after tHobbies end repeat repeat for each line x in tPet put x & comma & space after tPets end repeat Put "Name:" && tName & cr & cr into tDataFile Put "Age:" && tAge & cr & cr after tDataFile Put "Favorite Color:" && tColor & cr & cr after tDataFile Put "Hobbies:" && tHobbies & cr & cr after tDataFile Put "Pets:" && tPets & cr & cr after tDataFile put tDataFile into URL ("file:" & tName & ".txt") end repeat This writes only one file! Any help would be great!!! Thanx D.Rothe From chipp at chipp.com Fri Feb 4 23:02:05 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 04 Feb 2005 20:02:05 -0800 Subject: Ultra Beginner Question/Request In-Reply-To: <4203D6D4.4090707@crcom.net> References: <4203D6D4.4090707@crcom.net> Message-ID: <4204453D.2020602@chipp.com> Hi Len, Ultra-Beginner is of course an ambiguous term, especially when referring to someone who already has a lot of experience programming. Here are some thoughts regarding starting a Rev project: 1) This one's a bit controversial, but here's my best thinking on Interface design and Revolution. If you're more of a C/VB/Basic programmer, think of a stack as a window. Use only as many cards as you want interfaces. IOW, I typically only use 1 card per stack, as typical applications behave similarly. The notable exception to this rule is when creating wizards, where multiple cards are a great asset. Actually, I lied, many times I use two cards, but the second card is used to store icons and graphics and other parts and is never seen. 2) Separate your interface and business logic from your content. This is contrary to the Hypercard notion of storing data in the card and saving the stack. Save your data either as invisible data stacks or text/binary files. This does a couple of things. Foremost, it ensures application integrity. Because your application doesn't need to be saved with the embedded content, you never have to worry about your stack becoming corrupted as it's never saved. In fact, the Rev prefs stack is an example of a stack which frequently gets corrupted and requires a complete reinstall of the Rev IDE. Bad design. 3) Try and stay away from frontscripts and backscripts unless you absolutely need them. Frontscripts can be a pain to debug while IMO library stacks are better than backscripts for a number of reasons including: 1) easy to create/edit and install in multiple projects; 2)The number of libraries you can include is much greater than the limited number of frontscripts/backscripts you can have. 4) Try and encapsulate business logic you'll use for many projects into a few custom libraries you use/maintain. 5) Check out Richard Gaskin's excellent article: "Extending the Runtime Revolution Message Path" http://www.fourthworld.com/embassy/articles/revolution_message_path.html Must reading for new RR programmers. 6) Get comfortable with searching the use-archives. Again, Richard has a quick link to it at: http://www.fourthworld.com/rev/index.html 7) Remember, a standalone cannot save itself. If you are going to use stacks to store data in, be sure and have the standalone open the stacks independantly (not subStacks!). Many of us use a 'splashscreen' approach where we put a minimum splash screen in a standalone which launches the stack(s) which are the main application. 8) BEFORE you get frustrated, try and communicate concisely and clearly your problem on this list. Chances are someone can help within a few minutes. 9) Program TOP-DOWN. Again, controversial, but I prefer creating my screen layouts first, and then hooking up the functionality from there. It's served our company well and is more of an XP (Extreme Programming) approach. 10) Use altArchive plugin. It's one I wrote many moons ago and has saved me (and a few others) a lot of pain. It saves your current project, and archives a sequential copy of it in a local folder. It's free and can be found at: http://www.altuit.com/webs/altuit2/altPluginCover/about.htm 11) Keep your handlers to yourself. IOW, keep handlers as far UP the message path as you possibly can. If it can fit in the button script and isn't needed elsewhere, leave it there. Learn to use locals and custom properties (very powerful) instead of globals. 12) Another R Gaskin gem: Create a StripAndShip handler which you can call before closing your stack which will reset all controls to native states. 13) Learn how to use "put URL" to read/write local files, access stacks off of webservers, etc. The put/get URL command is one of the most powerful commanda in Transcript. Also, learn about chunking. get character 1 to 3 of word 5 of line 12 of field "myField" is also extremely powerful! You may find you don't need to use as many arrays as before. Just put things into lists and access them using chunk terms. 14) Learn how to use "repeat for each" instead of "repeat with x=1 to tNum" as the first is *significantly* faster! 15) Many of us store data invisibly in fields for access. For instance, say you wanted a person to choose a name from a list and and then go to the default website for that name. For instance choosing "Chipp" may take you to: "http://www.altuit.com/webs/altuit2/RunRev/default.htm" and choosing "Richard" takes you to: "http://www.fourthworld.com" You could create a list field 70 pixels wide, and put: Chipp & tab & "www.altuit.com/webs/altuit2/RunRev/default.htm" into line 1 with Richard & tab & "www.fourthworld.com" into line 2 Set the tab spacing for the field to 70 so that the web address is NEVER seen in the field. Then when someone clicks on the field you have a simple handler: on mouseUp put the hilitedlines of me into t if t is "" then exit mouseUp set the itemDel to tab put item 2 of line t of me into tURL revGoURL "http://" & tURL end mouseUp Of course there's other ways to do this as well, but when you start adding multiple tab items to the same line, this technique becomes very powerful. Well, that's at least a start. Hope you stick with Rev. It's a very powerful 4th generation programming environment, but with a steep learning curve. best, Chipp Len Morgan wrote: > Hello All, > > I've been a programmer since the mid 70's. I've used and/or tinkered > with all of the "normal" procedural languages (C, Tcl, BASIC) and even > some "ab"normal ones like Forth. I consider myself a pretty good > programmer and have been told I'm fairly bright in general. I've had > Revolution for a couple of weeks now, and I just can't seem to get my > head around the "methodology" of using Revolution. From ambassador at fourthworld.com Fri Feb 4 23:24:34 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Feb 2005 20:24:34 -0800 Subject: Problem! Inaccessible substack In-Reply-To: <42043AEB.6030905@chipp.com> References: <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu> <4204054F.2030502@tweedly.net> <42040B1A.7070108@chipp.com> <678F9296-770F-11D9-A313-000393780570@popmail.ucsd.edu> <42043AEB.6030905@chipp.com> Message-ID: <42044A82.4020500@fourthworld.com> Chipp Walters wrote: > Also, I'd consider uninstalling Devolution if you can and then try > again. Richard's an incredible programmer (thorough and very picky), and > he programmed all of Devolution inside the Metacard IDE, not the > Revolution IDE. He doesn't spend as much time in the Rev IDE as MC, so I > would assume Devolution probably hasn't logged as many hours inside Rev > as MC either. If, in fact there is an obscure conflict, I expect it > would be Revolution's IDE doing something *not expected* rather than > Richard's code having a problem. That's very kind, but not always true. ;) > But, as a last resort, removing all plugins is always a good idea > (including mine as well). Ordinarily that would be optimal: pull plugins to cut down the potential solution space, putting them back in batches if the problem went away with them removed (just as with extensions conflicts in Mac Classic). But if I read his post correctly, he has a stack named "33" -- most everyone's tools choke on stacks named with only numerals, since attempting to address them by shot name is also a valid reference by number, but likely to a different stack. His post mentions that the Rev IDE doesn't even show it at all. So even without potentially wonky plugins (and it's true I spend relatively little time in the Rev IDE) the situation cannot improve. Try it: name a substack "33" and play around with the IDE. Strange things happen. Here I see blank entries in the Exec Err dialog pop up a lot, esp. when I select File->Quit. This has come up here before, in Dec. '03: . Here's the repair script from that post: on mouseup put "MyMainStackName" into tMainStack --< your main stack name get the substacks of stack tMainStack repeat with i = 1 to the number of lines of it if the short name of stack i of stack tMainStack is a number then set the name of stack i of stack tMainStack to (i&"xxxx") end if end repeat end mouseup The trick to that is being very explicit about referring to the substack by including its mainstack in the descriptor ("stack of stack "). Referring to stacks by number is rarely done (I'm not even sure what the rules are -- order of loading?), and since the engine can only have one stack in memory with a given name at a time there's usually no need to refer to them by anything other than their name -- except in this case in which the name is also an integer. :) So that script uses a very explicit substack descriptor to prepend an alphabetic character to the name, and once that's done all future references to it by short name alone will work fine. But even better than repair is prevention, so I just entered a feature request in Bugzilla to have the IDE prevent purely numeric strings when naming stacks: I've never namd any object with an integer only because some xTalk book or snother I read a decade ago told me not to. But with a minor tweak to the IDE we can cut people's required reading down by ten years. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From scott at tactilemedia.com Fri Feb 4 23:43:17 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 04 Feb 2005 20:43:17 -0800 Subject: Audio issues in Rev on Windows In-Reply-To: <42040831.5080702@chipp.com> Message-ID: Recently, Chipp Walters wrote: >> Another problem I found is that the audiovolume in rev just doesn't work >> like any other windows programs, it changes the volume of the system and not >> it's own... GRRRRR - This is a major bug that's gonna make PC users scream! > > X, > > It's actually a bit different than what you say. Try this. Open up the > audio volume control panel on WinXP and set the master volume to Max. > > Now, go into RR and create a new stack, import a .wav audioclip and > create a btn: Perhaps I'm missing something but I think the explanation is simpler: on Windows, Rev sets the WAV volume, not the master volume of the system. On our XP system, setting the playLoudness only changes the WAV slider in the volume control panel (you may need to close and reopen the panel to see the slider update). The levels for other sound sources such as MIDI remain unchanged. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ptrendler at bigpond.com Sat Feb 5 00:22:01 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Sat, 5 Feb 2005 15:22:01 +1000 Subject: Exporting multiple files#1 References: <003d01c50b30$8a8ab8d0$38daa4cb@p4c2> Message-ID: <00a301c50b42$a274fc50$0100000a@super> Hello Dwayne, The item delimiter is still set to TAB - set it back to "|" before the last "end repeat" line. Regards Pat patrend at bigpond.com ----- Original Message ----- From: "Dwayne Rothe" To: Sent: Saturday, February 05, 2005 1:12 PM Subject: Exporting multiple files#1 Hi All, I need help writing multiple files from a list! I have a text file with items delimited by "|" Amongst those items I have have more data delimited by TAB eg. Name|Age|Favorite Color|Hobby1 Hobby2 Hobby3|Pet1 Pet2 Pet3 the fourth & fifth items may contain hobbies & pets which could be of any quantity! What I am trying to do is write a seperate .txt file for each line, saved as the first item as the file name. e.g Say I have two lines as follows John Doe|16|Blue|Fishing Cars Computers|Dog Cat Bird Jane Doe|14|Pink|Shopping Boys|Canary Goldfish I want to save file as below; Text file 1: ------------ Name: John Doe Age: 16 Favorite Color: Blue Hobbies:Fishing, Cars, Computers Pets:Dog, Cat, Bird saved as John Doe.txt Text file 2: ------------ Name: Jane Doe Age: 14 Favorite Color: Pink Hobbies:Shopping, Boys Pets:Canary, Goldfish saved as Jane Doe.txt ------------------------------------------------------------------------- Here is the code I have so far that doesnt work properly! put "John Doe" & cr & "Jane Doe" into tNames put URL ("file:" & list.txt) into tList set itemDel to "|" repeat for each line x in tNames put x into tName get lineOffset(tName, tList) put line it of tList into tListData put item 1 of tListData into tName put item 2 of tListData into tAge put item 3 of tListData into tColor put item 4 of tListData into tHobby put item 5 of tListData into tPet set itemDel to TAB repeat for each line x in tHobby put x & comma & space after tHobbies end repeat repeat for each line x in tPet put x & comma & space after tPets end repeat Put "Name:" && tName & cr & cr into tDataFile Put "Age:" && tAge & cr & cr after tDataFile Put "Favorite Color:" && tColor & cr & cr after tDataFile Put "Hobbies:" && tHobbies & cr & cr after tDataFile Put "Pets:" && tPets & cr & cr after tDataFile put tDataFile into URL ("file:" & tName & ".txt") end repeat This writes only one file! Any help would be great!!! Thanx D.Rothe _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Sat Feb 5 00:31:28 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 5 Feb 2005 06:31:28 +0100 Subject: Ultra Beginner Question/Request In-Reply-To: <4204453D.2020602@chipp.com> Message-ID: <20050205053903.61B829301F1@mail.runrev.com> > Well, that's at least a start. Hope you stick with Rev. It's > a very powerful 4th generation programming environment, but > with a steep learning curve. > Chipp I disagree about the learning curve! C and C++ have a much higher learning curve ! If C++ is a red to black ski run (medium incline) Runrev is green with some nice medium jumps... And in addition you can add some wild difficulties with c externals! It's important to know the hierarchy of events and objects in Rev... This opens up all the possibilities... What is awesome is the program right in the control what you want. What is best is the sharing of scripts between a stack, a card, a background full of cards or a group full of controls in a card among many in a stack... This is the object orientedness of RunRev. This allows for exceptions handling at the object or parent level. And this last concept is mastered using the object events or messages. Last but not least, know the difference between put and set... This helps a lot with the xtalk syntax after... I hope you enjoy it as much as many of us do! cheers Xavier From b.xavier at internet.lu Sat Feb 5 00:36:35 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 5 Feb 2005 06:36:35 +0100 Subject: Audio issues in Rev on Windows In-Reply-To: Message-ID: <20050205054405.CD2B69301F5@mail.runrev.com> > Perhaps I'm missing something but I think the explanation is > simpler: on Windows, Rev sets the WAV volume, not the master > volume of the system. On our XP system, setting the > playLoudness only changes the WAV slider in the volume > control panel (you may need to close and reopen the panel to > see the slider update). The levels for other sound sources > such as MIDI remain unchanged. Scott Same here, it changes the system's wav volume... Would be cool to change the other volumes as well... And play other types like midis... cheers Xavier From tvogelaar at de-mare.nl Sat Feb 5 01:19:14 2005 From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare)) Date: Sat, 5 Feb 2005 07:19:14 +0100 Subject: Formatting in XML? In-Reply-To: References: <1107497849.42031379f043b@imp.guthene.com> Message-ID: Hi all, I need to make an application that displays text in several fields. I thought XML was the ideal format to store the information in, but I ran into problems with it. Some fields have formatting. RR can do that, XML can do that, but I can't figure out how RR can do that with XML. Is it possible? I hope I explained what I want clear enough. Probably not... OK, maybe an example will help.
This fantastic card
This needs to be displayed formatted just like HTML; it should be in one field.
If I try revXMLNodeContents(id,"/Card/Content"), the function returns empty. No "xmlerr", not even " needs to be displayed just like ; it should be in field." Not that I want any of those... How do I get what I want? Terry From ptrendler at bigpond.com Sat Feb 5 01:30:00 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Sat, 5 Feb 2005 16:30:00 +1000 Subject: Exporting multiple files#1 References: <003d01c50b30$8a8ab8d0$38daa4cb@p4c2> <00a301c50b42$a274fc50$0100000a@super> Message-ID: <00b001c50b4c$20555350$0100000a@super> Dwayne, Also you need to clear out the tHobbies and tPets variables, or the items will get added to with every repeat. i.e. after the "set itemDel to TAB" line you could put put "" into tHobbies put "" into tPets Pat ----- Original Message ----- From: "Pat Trendler" To: "How to use Revolution" Sent: Saturday, February 05, 2005 3:22 PM Subject: Re: Exporting multiple files#1 > Hello Dwayne, > > The item delimiter is still set to TAB - set it back to "|" before the > last "end repeat" line. > > Regards > > Pat > patrend at bigpond.com > > > ----- Original Message ----- > From: "Dwayne Rothe" > To: > Sent: Saturday, February 05, 2005 1:12 PM > Subject: Exporting multiple files#1 > > > Hi All, > I need help writing multiple files from a list! > I have a text file with items delimited by "|" > Amongst those items I have have more data delimited by TAB > > eg. Name|Age|Favorite Color|Hobby1 Hobby2 Hobby3|Pet1 Pet2 > Pet3 > > the fourth & fifth items may contain hobbies & pets which could be of any > quantity! > > What I am trying to do is write a seperate .txt file for each line, saved > as the first > item as the file name. > > > e.g Say I have two lines as follows > > > John Doe|16|Blue|Fishing Cars Computers|Dog Cat Bird > Jane Doe|14|Pink|Shopping Boys|Canary Goldfish > > I want to save file as below; > > Text file 1: > ------------ > Name: John Doe > > Age: 16 > > Favorite Color: Blue > > Hobbies:Fishing, Cars, Computers > > Pets:Dog, Cat, Bird > > saved as John Doe.txt > > Text file 2: > ------------ > Name: Jane Doe > > Age: 14 > > Favorite Color: Pink > > Hobbies:Shopping, Boys > > Pets:Canary, Goldfish > > saved as Jane Doe.txt > ------------------------------------------------------------------------- > Here is the code I have so far that doesnt work properly! > > put "John Doe" & cr & "Jane Doe" into tNames > > put URL ("file:" & list.txt) into tList > set itemDel to "|" > > repeat for each line x in tNames > put x into tName > > get lineOffset(tName, tList) > put line it of tList into tListData > put item 1 of tListData into tName > put item 2 of tListData into tAge > put item 3 of tListData into tColor > put item 4 of tListData into tHobby > put item 5 of tListData into tPet > > set itemDel to TAB > repeat for each line x in tHobby > put x & comma & space after tHobbies > end repeat > > repeat for each line x in tPet > put x & comma & space after tPets > end repeat > > Put "Name:" && tName & cr & cr into tDataFile > Put "Age:" && tAge & cr & cr after tDataFile > Put "Favorite Color:" && tColor & cr & cr after tDataFile > Put "Hobbies:" && tHobbies & cr & cr after tDataFile > Put "Pets:" && tPets & cr & cr after tDataFile > > put tDataFile into URL ("file:" & tName & ".txt") > end repeat > > This writes only one file! > > Any help would be great!!! Thanx D.Rothe > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Sat Feb 5 01:38:09 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 05 Feb 2005 00:38:09 -0600 Subject: Formatting in XML? In-Reply-To: Message-ID: On 2/5/05 12:19 AM, "Terry Vogelaar (de Mare)" wrote: >> >
This fantastic card
> > This needs to be displayed formatted > just like HTML; it should be in > one field. > >
> > If I try revXMLNodeContents(id,"/Card/Content"), the function returns > empty. No "xmlerr", not even " needs to be displayed just like ; it > should be in field." Not that I want any of those... > > How do I get what I want? Terry, the problem is that you have tags within tags... the tag is a node just like . What you need is a CDATA tag that will let you store formatted data inside of a node, like: This needs to be displayed formatted just like HTML; it should be in one field.]]> Any data inside the structure is not parsed by the interpreter; it's kind of like HTML's
 tag.  you can use the
'revXMLNodeContents' to retrieve the CDATA tag, so:

  put revXMLNodeContents(id,"/Content")

for my chunk above would return:

  This needs to be displayed formatted just
  like HTML; it should be in one field.

HTH,

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



From ambassador at fourthworld.com  Sat Feb  5 03:41:03 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Sat, 05 Feb 2005 00:41:03 -0800
Subject: Open Directory reminder
Message-ID: <4204869F.2080504@fourthworld.com>

This is your quarterly Open Directory reminder:

Open Directory maintains a category for Transcript:


Of the many dozens of web sites offering Transcript-based plugins, 
tutorials, tools, and more, only 18 have yet been posted there.

Open Directory is the world's largest human-edited directory, mirrored 
at thousands of sites around the world and feeding the search engines of 
Google, Yahoo, and most others.

Adding your listing there will not only help others find your stuff more 
easily, but will also reflect well on the community as a whole by 
letting folks know it's true size.

At the top of that page is a link titled "Suggest URL" - their 
submission form only has four fields so it's a breeze to fill out:

- Site URL
- Title of Site
- Site Description
- Your E-mail Address


--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev

From mcdomi at free.fr  Sat Feb  5 04:48:54 2005
From: mcdomi at free.fr (Dom)
Date: Sat, 5 Feb 2005 10:48:54 +0100
Subject: Open Directory reminder
In-Reply-To: <4204869F.2080504@fourthworld.com>
Message-ID: <1grib13.1nvlzx9u0cr6aM%mcdomi@free.fr>

Richard Gaskin  wrote:

> 

Hmmmm... seems that there is NO "Transcript" category in French!
And there is no link to submit a new category -- unless you are an
editor..

I have one or two web sites to submit 
-- but these are somewhat dormant, by now ;-)

-- 


From webmaster at dreamscapesoftware.com  Sat Feb  5 08:43:11 2005
From: webmaster at dreamscapesoftware.com (Derek Bump)
Date: Sat, 5 Feb 2005 07:43:11 -0600
Subject: Mailing List Help
References: <4204140D.7010003@crcom.net>
Message-ID: <004e01c50b88$a2809240$6401a8c0@DEREK>

So when are we going to get the "Frequently Asked Questions" site up?
 

Derek Bump
Dreamscape Software
____________________________________________
Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 

From ps1 at softseven.org  Sat Feb  5 08:40:00 2005
From: ps1 at softseven.org (Paul Salyers)
Date: Sat, 05 Feb 2005 07:40:00 -0600
Subject: Save reg information
Message-ID: <6.1.1.1.2.20050205073246.027ab878@softseven.org>

I need to know if it's possible to save software registry information on a 
floppy disk and move it to a different computer in a file with a format 
that if it's copied or saved over it will become scrambled and un-useable ?



Paul Salyers
PS1 - Senior Rep.
PS1 at softseven.org
Http://ps1.SoftSeven.org  


From ps1 at softseven.org  Sat Feb  5 08:43:20 2005
From: ps1 at softseven.org (Paul Salyers)
Date: Sat, 05 Feb 2005 07:43:20 -0600
Subject: Notepad can't...interpret  the code parts of a stack?
In-Reply-To: <20050205015047.92509.qmail@web61208.mail.yahoo.com>
References: <42041ED9.8080708@tweedly.net>
 <20050205015047.92509.qmail@web61208.mail.yahoo.com>
Message-ID: <6.1.1.1.2.20050205074136.027de090@softseven.org>

At 07:50 PM 2/4/2005, you wrote:

>--- Alex Tweedly  wrote:
>
> > ...use a basic text editor and just copy the
> > script code out and paste into a new stack.
> > (Notepad can't do it, but Emacs has no problem
> > finding and sensibly
> > interpreting the code parts of a stack).
>
>this sounds ominous,
>could you please elaborate?
>
>Thanks,
>
>Erik Hansen
>
>=====
>erik at erikhansen.org    http://www.erikhansen.org

It's true that you can't copy from a stack to notepad never tried it the 
other way. Wordpad works ok.


Paul Salyers
PS1 - Senior Rep.
PS1 at softseven.org
Http://ps1.SoftSeven.org  


From webmaster at dreamscapesoftware.com  Sat Feb  5 08:54:17 2005
From: webmaster at dreamscapesoftware.com (Derek Bump)
Date: Sat, 5 Feb 2005 07:54:17 -0600
Subject: Save reg information
References: <6.1.1.1.2.20050205073246.027ab878@softseven.org>
Message-ID: <000801c50b8a$2f833ed0$6401a8c0@DEREK>

Check out the Encrypt abilities in the Documentation.

If that doesn't work, compressing it will also do.  You can knock out at least 50% of users who don't know how to recogonize different binary file types.
 

Derek Bump
Dreamscape Software
____________________________________________
Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 

----- Original Message ----- 
From: "Paul Salyers" 
To: 
Sent: Saturday, February 05, 2005 7:40 AM
Subject: Save reg information


>I need to know if it's possible to save software registry information on a 
> floppy disk and move it to a different computer in a file with a format 
> that if it's copied or saved over it will become scrambled and un-useable ?
> 
> 
> 
> Paul Salyers
> PS1 - Senior Rep.
> PS1 at softseven.org
> Http://ps1.SoftSeven.org  
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
>

From alex at tweedly.net  Sat Feb  5 09:17:22 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Sat, 05 Feb 2005 14:17:22 +0000
Subject: Notepad can't...interpret  the code parts of a stack?
In-Reply-To: <20050205015047.92509.qmail@web61208.mail.yahoo.com>
References: <20050205015047.92509.qmail@web61208.mail.yahoo.com>
Message-ID: <4204D572.8070401@tweedly.net>

Erik Hansen wrote:

>--- Alex Tweedly  wrote:
>  
>
>>...use a basic text editor and just copy the 
>>script code out and paste into a new stack.
>>(Notepad can't do it, but Emacs has no problem
>>finding and sensibly 
>>interpreting the code parts of a stack).
>>    
>>
>
>this sounds ominous,
>could you please elaborate?
>  
>
Sure - but remember - this started out as ".... if you're desperate 
enough to need a bad idea ...."

If you have a stack file that you just can't get into (and of course 
assuming it's not encrypted, compressed, locked, ....) then you can open 
it with any text editor that can handle "basic ascii text" and can avoid 
becoming confused by interspersed bits of binary code. Then you can copy 
the relevant parts of the script, and paste them into a newly 
constructed stack.
Tedious - but when you're desperate ...

I've used Emacs on Windows (Paul said Notepad can do it too) to do this 
when I had a stack that got badly corrupted (along with other things on 
the same flash-disk - not a Rev problem).

I've also used Pythoncard's "findfiles" utility to do something similar 
(some day I'll rewrite that into Rev - it's basically a gui front-end to 
do a recursive file search with regex and a one button way to get into 
the text editor at the right line). I found this a much faster way to 
find examples of how to do things in Transcript than any of the tools / 
docs that came with Runrev. 

Hmmm - maybe I should do that now, to postpone tackling that hard 
problem I'm stuck on for my real project ...

-- 

Alex Tweedly       http://www.tweedly.net

-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005

From alex at tweedly.net  Sat Feb  5 09:25:33 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Sat, 05 Feb 2005 14:25:33 +0000
Subject: Notepad can't...interpret  the code parts of a stack?
In-Reply-To: <20050205015047.92509.qmail@web61208.mail.yahoo.com>
References: <20050205015047.92509.qmail@web61208.mail.yahoo.com>
Message-ID: <4204D75D.70102@tweedly.net>

Erik Hansen wrote:

>--- Alex Tweedly  wrote:
>
>  
>
>>...use a basic text editor and just copy the 
>>script code out and paste into a new stack.
>>(Notepad can't do it, but Emacs has no problem
>>finding and sensibly 
>>interpreting the code parts of a stack).
>>    
>>
>
>this sounds ominous,
>could you please elaborate?
>  
>
Sorry Erik - just noticed the Subject line, and realized that I may have 
misinterpreted what you were asking about.

There's nothing ominous about the fact that Notepad can't interpret the 
code from a stack file; I'm not talking about cutting/pasting the script 
from a stack into Notepad - that works fine. I'm talking about opening 
the stack file in an editor, and then picking out the parts that are 
script; the stack is mixed binary and ascii data, and Notepad fails to 
interpret the line endings in the ascii part - so you get very long 
lines all bundled together. Wordpad and Emacs are quite happy to 
interpret the binary sections in their own way - and still let you see 
and edit the ascii parts cleanly; because they recognize line endings 
OK, the text parts look fine (except for the first line of a script, 
which is usually tacked onto the end of a string of binary data)

-- Alex.
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005

From eric.chatonet at wanadoo.fr  Sat Feb  5 09:26:03 2005
From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=)
Date: Sat, 5 Feb 2005 15:26:03 +0100
Subject: Rev 2.5 on WinXP: Issues with multiple monitors
In-Reply-To: <20050205140058.84BB993005F@mail.runrev.com>
References: <20050205140058.84BB993005F@mail.runrev.com>
Message-ID: <8d19de365555d9a2ffe787e2fc8b421d@wanadoo.fr>

Le 5 f?vr. 05, ? 15:00, Alex Tweedly  a ?crit :

>> Perhaps a right-click menu item in the app browser could be used to
>> move a window to the primary screen.  (Or when Revolution figure out
>> multiple monitors, to the closest one.)
>
> That would be a good idea - though in this case, the problem was the
> Documentation window, so it wouldn't be available in the app browser.

When View>Revolution UI Elements in Lists menu item stays 
uncheckmarked, all stacks whose names begin by "rev" are not shown.
So, checkmark this menu item and search for the stack named "revdocs" 
in the app browser list.
With rev IDE stacks, most of labels and names are different :-)
Hope this helps.

With best regards,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
----------------------------------------------------------------
Web site		http://www.sosmartsoftware.com/
Email		eric.chatonet at sosmartsoftware.com/
Phone		33 (0)1 43 31 77 62
Mobile		33 (0)6 20 74 50 86
----------------------------------------------------------------


From tvogelaar at de-mare.nl  Sat Feb  5 10:23:11 2005
From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare))
Date: Sat, 5 Feb 2005 16:23:11 +0100
Subject: Formatting in XML?
In-Reply-To: 
References: 
Message-ID: <970c229297751b61f70c757ecbf24219@de-mare.nl>

Op 5-feb-05 om 7:38 heeft Ken Ray het volgende geschreven:

> On 2/5/05 12:19 AM, "Terry Vogelaar   (de Mare)" 
> wrote:
>
>> 
>>      
This fantastic card
>> >> This needs to be displayed >> formatted >> just like HTML; it should be in >> one field. >> >>
>> >> If I try revXMLNodeContents(id,"/Card/Content"), the function returns >> empty. No "xmlerr", not even " needs to be displayed just like ; it >> should be in field." Not that I want any of those... >> >> How do I get what I want? > > Terry, the problem is that you have tags within tags... the tag > is a > node just like . What you need is a CDATA tag that will let > you > store formatted data inside of a node, like: > > > This needs to be displayed > formatted > just like HTML; it should be in one > field.]]> > > > Any data inside the structure is not parsed by the > interpreter; it's kind of like HTML's
 tag.  you can use the
> 'revXMLNodeContents' to retrieve the CDATA tag, so:
>
>   put revXMLNodeContents(id,"/Content")
>
> for my chunk above would return:
>
>   This needs to be displayed formatted just
>   like HTML; it should be in one field.

Thanks, Ken, that was very helpful.

Of course I actually wanted to have "This" displayed in red instead of 
between visible tags. But I can replace the  with  etc to have 
normal HTML tags, so I can set the HTMLtext of the field to the content 
of 'Content'.

Next question:
How do I set the content of a node to the  structure? 
In my attempts it replaces the < and > to < and >. Should I just 
use the 'replace' function or is there a smarter way?

Terry


From kray at sonsothunder.com  Sat Feb  5 12:42:34 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Sat, 05 Feb 2005 11:42:34 -0600
Subject: Formatting in XML?
In-Reply-To: <970c229297751b61f70c757ecbf24219@de-mare.nl>
Message-ID: 

On 2/5/05 9:23 AM, "Terry Vogelaar   (de Mare)" 
wrote:

> Op 5-feb-05 om 7:38 heeft Ken Ray het volgende geschreven:
> 
>> On 2/5/05 12:19 AM, "Terry Vogelaar   (de Mare)" 
>> wrote:
>> 
>>> 
>>>      
This fantastic card
>>> >>> This needs to be displayed >>> formatted >>> just like HTML; it should be in >>> one field. >>> >>>
>>> >>> If I try revXMLNodeContents(id,"/Card/Content"), the function returns >>> empty. No "xmlerr", not even " needs to be displayed just like ; it >>> should be in field." Not that I want any of those... >>> >>> How do I get what I want? >> >> Terry, the problem is that you have tags within tags... the tag >> is a >> node just like . What you need is a CDATA tag that will let >> you >> store formatted data inside of a node, like: >> >> >> This needs to be displayed >> formatted >> just like HTML; it should be in one >> field.]]> >> >> >> Any data inside the structure is not parsed by the >> interpreter; it's kind of like HTML's
 tag.  you can use the
>> 'revXMLNodeContents' to retrieve the CDATA tag, so:
>> 
>>   put revXMLNodeContents(id,"/Content")
>> 
>> for my chunk above would return:
>> 
>>   This needs to be displayed formatted just
>>   like HTML; it should be in one field.
> 
> Thanks, Ken, that was very helpful.
> 
> Of course I actually wanted to have "This" displayed in red instead of
> between visible tags. But I can replace the  with  etc to have
> normal HTML tags, so I can set the HTMLtext of the field to the content
> of 'Content'.
> 
> Next question:
> How do I set the content of a node to the  structure?
> In my attempts it replaces the < and > to < and >. Should I just
> use the 'replace' function or is there a smarter way?

I think that's the only way at the moment... personally, this looks like a
bug to me - the DLL should recognize the CDATA tag prefix.

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



From macstacks at earthlink.net  Sat Feb  5 13:08:32 2005
From: macstacks at earthlink.net (Bruce A. Pokras)
Date: Sat, 5 Feb 2005 13:08:32 -0500
Subject: Download problem
Message-ID: 

I am having a problem with downloading from a particular type of URL 
using Rev. It is a PDF document from the European Patent Office. One 
example of this type of URL is the following:

https://publications.european-patent-office.org/PublicationServer/documentpdf.jsp?iDocId=228969&sDummyParam=.pdf

I have been trying a script like the following:
------------
put 
"https://publications.european-patent-office.org/PublicationServer/documentpdf.jsp?iDocId=228969&sDummyParam=.pdf" 
into theURL


   put URL theURL into URL ("binfile:epoPatent.pdf")
---------
This gets nowhere. If I substitute "revgoURL theUrl" for the last 
line, it opens my browser (Netscape 7.0) and displays the PDF without 
any problem!

Does anyone know of a reason why the server would respond to Netscape 
but not to Rev when the same URL is being requested? I tried setting 
a custom HTTP header to "User-Agent: Netscape/7.0" and other 
variations of that, but it was no help.

Regards,

Bruce Pokras


From mwieder at ahsoftware.net  Sat Feb  5 13:11:13 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Sat, 5 Feb 2005 10:11:13 -0800
Subject: Save reg information
In-Reply-To: <6.1.1.1.2.20050205073246.027ab878@softseven.org>
References: <6.1.1.1.2.20050205073246.027ab878@softseven.org>
Message-ID: <6982674399.20050205101113@ahsoftware.net>

Paul-

Saturday, February 5, 2005, 5:40:00 AM, you wrote:

PS> I need to know if it's possible to save software registry information on a
PS> floppy disk and move it to a different computer in a file with a format
PS> that if it's copied or saved over it will become scrambled and un-useable ?

If you just need a single key you can export that key using RegEdit.
The .reg file generated is just plain text. If you need more, read on:

Interestingly, just this morning I received this on another list. This
is so useful it's hard to believe MS built it in. It's not quite the
answer to the question you asked, but if you have access to both
computers over a network or if there are two hard drives in one
computer, here you go...

-------------------

However, you can load registry hives from a dead system into the live
system, this article describes how:

http://www.rwin.ch/xp-live/regedit.htm

I do not need to tell you to make a backup first, do I? :-)

-------------------


-- 
-Mark Wieder
 mwieder at ahsoftware.net


From stephenREVOLUTION at barncard.com  Sat Feb  5 13:23:42 2005
From: stephenREVOLUTION at barncard.com (Stephen Barncard)
Date: Sat, 5 Feb 2005 10:23:42 -0800
Subject: Download problem
Message-ID: 

https:// indicates a secure site...

perhaps altBrowser could make this work.

>I am having a problem with downloading from a particular type of URL 
>using Rev. It is a PDF document from the European Patent Office. One 
>example of this type of URL is the following:
>
>https://publications.european-patent-office.org/PublicationServer/documentpdf.jsp?iDocId=228969&sDummyParam=.pdf
>
>I have been trying a script like the following:
>------------
>put 
>"https://publications.european-patent-office.org/PublicationServer/documentpdf.jsp?iDocId=228969&sDummyParam=.pdf" 
>into theURL
>
>
>   put URL theURL into URL ("binfile:epoPatent.pdf")
>---------
>This gets nowhere. If I substitute "revgoURL theUrl" for the last 
>line, it opens my browser (Netscape 7.0) and displays the PDF 
>without any problem!

From mwieder at ahsoftware.net  Sat Feb  5 13:28:48 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Sat, 5 Feb 2005 10:28:48 -0800
Subject: Problem! Inaccessible substack
In-Reply-To: <42044A82.4020500@fourthworld.com>
References: 
 <130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu>
 
 <4204054F.2030502@tweedly.net> <42040B1A.7070108@chipp.com>
 <678F9296-770F-11D9-A313-000393780570@popmail.ucsd.edu>
 <42043AEB.6030905@chipp.com> <42044A82.4020500@fourthworld.com>
Message-ID: <5983729466.20050205102848@ahsoftware.net>

Richard-

Friday, February 4, 2005, 8:24:34 PM, you wrote:

RG> But even better than repair is prevention, so I just entered a feature
RG> request in Bugzilla to have the IDE prevent purely numeric strings when
RG> naming stacks:
RG> 

...and I just threw it five votes. This should take very little effort
on runrev's part and I can't think of a downside.

-- 
-Mark Wieder
 mwieder at ahsoftware.net


From mwieder at ahsoftware.net  Sat Feb  5 13:56:05 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Sat, 5 Feb 2005 10:56:05 -0800
Subject: Searchable archives?
In-Reply-To: 
References: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com>
 <1954736140.20050201092711@ahsoftware.net>
 
Message-ID: <5585366260.20050205105605@ahsoftware.net>

Jerry-

Thursday, February 3, 2005, 10:52:47 AM, you wrote:

JB> I downloaded this plugin and I really like it.  For some reason, 
JB> though, Mark, when I click on a message and then hit the "by date"
JB> button, I (almost) always seem to get the "August 2002" archives by
JB> date, regardless of which message I've selected.  Am I misunderstanding
JB> the function of this button?

Why, yes, of course you are misunderstanding it. The purpose of that
button is to cultivate a sense of developer humility.

I have fixed it and uploaded the new version. Everyone is encouraged
to upgrade their ArchiveSearch plugin to the new one (v1.4).

http://www.ahsoftware.net/ArchiveSearch.html

-- 
-Mark Wieder
 mwieder at ahsoftware.net


From gjbalzano at popmail.ucsd.edu  Sat Feb  5 13:56:48 2005
From: gjbalzano at popmail.ucsd.edu (Jerry Balzano)
Date: Sat, 5 Feb 2005 10:56:48 -0800
Subject: Problem! Inaccessible substack
In-Reply-To: <42044A82.4020500@fourthworld.com>
References: 
	<130261F7-76EC-11D9-A313-000393780570@popmail.ucsd.edu>
	
	<4204054F.2030502@tweedly.net> <42040B1A.7070108@chipp.com>
	<678F9296-770F-11D9-A313-000393780570@popmail.ucsd.edu>
	<42043AEB.6030905@chipp.com> <42044A82.4020500@fourthworld.com>
Message-ID: 

Thanks to Richard, Chipp, and Alex for their responses to my plea for  
assistance.

It turned out that Richard's suggested script (below) fixed the problem  
just fine ? what a life saver!  The feeling was like having a set of  
keys sitting on the floor inside a jail cell (behind the bars), and all  
you have is a long stick that you can use to poke through the bars and  
try to manipulate and move the stuff on the other side until you can  
get at it with your hands.

It's true also what Richard said about the "Quit" command, btw, that it  
ceased to work as long as I had a stack open with a numerically-named  
substack attached to it, and I had to force-quit Revolution until the  
problem was fixed.  So I agree heartily that unless & until substacks  
with numerical names can be handled properly, there should probably be  
some built-in manner of preventing such a name from being attached to a  
substack.

What was weird about this happening in the first place was how  
commandKeys weren't always working properly if it just so happened that  
some field of the property-inspector palette had the focus.  The key  
pressed along with the commandKey ended up getting "echoed" in the  
field, something I didn't realize the dire implications of until it was  
too late.  ("Too late" being the case once I'd closed the (sub)stack  
window ... although things were behaving strangely before that, if I  
recall.)

Anyway, thanks again ? this has been very educational (Silver Lining  
Dept), if somewhat harrowing.

- Jerry

On Feb 4, 2005, at 8:24 PM, Richard Gaskin wrote:

> Chipp Walters wrote:
>> Also, I'd consider uninstalling Devolution if you can and then try  
>> again. Richard's an incredible programmer (thorough and very picky),  
>> and he programmed all of Devolution inside the Metacard IDE, not the  
>> Revolution IDE. He doesn't spend as much time in the Rev IDE as MC,  
>> so I would assume Devolution probably hasn't logged as many hours  
>> inside Rev as MC either. If, in fact there is an obscure conflict, I  
>> expect it would be Revolution's IDE doing something *not expected*  
>> rather than Richard's code having a problem.
>
> That's very kind, but not always true. ;)
>
>> But, as a last resort, removing all plugins is always a good idea  
>> (including mine as well).
>
> Ordinarily that would be optimal:  pull plugins to cut down the  
> potential solution space, putting them back in batches if the problem  
> went away with them removed (just as with extensions conflicts in Mac  
> Classic).
>
> But if I read his post correctly, he has a stack named "33" -- most  
> everyone's tools choke on stacks named with only numerals, since  
> attempting to address them by shot name is also a valid reference by  
> number, but likely to a different stack.
>
> His post mentions that the Rev IDE doesn't even show it at all.  So  
> even without potentially wonky plugins (and it's true I spend  
> relatively little time in the Rev IDE) the situation cannot improve.
>
> Try it:  name a substack "33" and play around with the IDE.  Strange  
> things happen.  Here I see blank entries in the Exec Err dialog pop up  
> a lot, esp. when I select File->Quit.
>
> This has come up here before, in Dec. '03:  
>  027697.html>.
>
> Here's the repair script from that post:
>
> on mouseup
>    put "MyMainStackName" into tMainStack  --< your main stack name
>    get the substacks of stack tMainStack
>    repeat with i = 1 to the number of lines of it
>       if the short name of stack i of stack tMainStack is a number then
>          set the name of stack i of stack tMainStack to (i&"xxxx")
>       end if
>    end repeat
> end mouseup


From katir at hindu.org  Sat Feb  5 15:38:00 2005
From: katir at hindu.org (Sivakatirswami)
Date: Sat, 5 Feb 2005 10:38:00 -1000
Subject: SubStacks with Same Name in Different apps
Message-ID: 

I often use the same name for generic substacks  e.g.

"Prefs"
"Dev Notes"

etc.

It's just easier... I don't have to remember different, odd, stack 
names when the actual function of these substacks in different 
applications is virtually the same. But I  *always* use a unique name 
for any given application main stack.

If a main stack is open with one of "generic" substacks and I open 
another main stack which has a sub-stack with the same name... Rev 
gives me that old frightful warning about not distinquishing between 
stack with the same name...

How serious an issue is this? I seems like a somewhat unfortunate 
limitation if serious data corruption is actually possible as the 
warning would indicate. Any advice?

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 revdan at danshafer.com  Sat Feb  5 15:58:12 2005
From: revdan at danshafer.com (Dan Shafer)
Date: Sat, 5 Feb 2005 12:58:12 -0800
Subject: Searchable archives?
In-Reply-To: <5585366260.20050205105605@ahsoftware.net>
References: <0afd3af617b6b332888e547162f7c8b7@midsouth.rr.com>
	<1954736140.20050201092711@ahsoftware.net>
	
	<5585366260.20050205105605@ahsoftware.net>
Message-ID: <3ae3a4374285b2a6072b4caa96c99d91@danshafer.com>

Mark....

Thanks. Nice plugin. EMinently useful and usable.

Dan

On Feb 5, 2005, at 10:56 AM, Mark Wieder wrote:

> Jerry-
>
> Thursday, February 3, 2005, 10:52:47 AM, you wrote:
>
> JB> I downloaded this plugin and I really like it.  For some reason,
> JB> though, Mark, when I click on a message and then hit the "by date"
> JB> button, I (almost) always seem to get the "August 2002" archives by
> JB> date, regardless of which message I've selected.  Am I 
> misunderstanding
> JB> the function of this button?
>
> Why, yes, of course you are misunderstanding it. The purpose of that
> button is to cultivate a sense of developer humility.
>
> I have fixed it and uploaded the new version. Everyone is encouraged
> to upgrade their ArchiveSearch plugin to the new one (v1.4).
>
> http://www.ahsoftware.net/ArchiveSearch.html
>
> -- 
> -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  Sat Feb  5 16:47:43 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Sat, 05 Feb 2005 15:47:43 -0600
Subject: Searchable archives?
In-Reply-To: <5585366260.20050205105605@ahsoftware.net>
Message-ID: 

On 2/5/05 12:56 PM, "Mark Wieder"  wrote:

> Jerry-
> 
> Thursday, February 3, 2005, 10:52:47 AM, you wrote:
> 
> JB> I downloaded this plugin and I really like it.  For some reason,
> JB> though, Mark, when I click on a message and then hit the "by date"
> JB> button, I (almost) always seem to get the "August 2002" archives by
> JB> date, regardless of which message I've selected.  Am I misunderstanding
> JB> the function of this button?
> 
> Why, yes, of course you are misunderstanding it. The purpose of that
> button is to cultivate a sense of developer humility.
> 
> I have fixed it and uploaded the new version. Everyone is encouraged
> to upgrade their ArchiveSearch plugin to the new one (v1.4).

Great plugin Mark... congrats!

One thing, though: Sorry to have you upgrade it again, but you need to trap
for return/enter kens in the top fields... right now they just go to the
next line and scroll the current line out of sight (unless that was
intended)... 


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



From rev at armbase.com  Sat Feb  5 17:05:03 2005
From: rev at armbase.com (Bob Hartley)
Date: Sat, 05 Feb 2005 22:05:03 +0000
Subject: adding field to stack with unknown name
Message-ID: <6.1.2.0.0.20050205215422.024df1b0@mail.armbase.com>

Hi All.

I have a stack with a script that puts a field on another stack. I had this 
scripted fine using.
on mouseUp
   copy field "TextField" of stack "Fields" to card 1 of stack 
"ExperimentDatabase.abd"
end mouseUp

Then I had a save button that saved ExperimentDatabase.abd and prompted for 
another name. Now this is not the way I want to do it for various reasons 
(overwriting other students's databases).

I would like the person to be forced to save their database so i followed 
the employee database demo example and used a button with this

on mouseUp
   doFileNew
end mouseUp

and this script in the stack. (PS thanks Richard, excellent example)

on doFileNew

   ask file "Name new database file:" with "MyDatabase.abd"
   if it is empty then exit to top
   put it into tFileName
   if char -4 to -1 of tFileName is not ".abd" then put ".abd" after tFileName
   set the itemDelimiter to "/"
   put last item of tFileName into tStackName
   set the visible of stack "Master Database" to false
   clone stack "Master database"
   Err the result
   set the name of stack it to tStackName
   set the title of stack tStackName to (char 1 to -5 of tStackName)
   set the minWidth of stack tStackName to 500
   set the minHeight of stack tStackName to 250
   set the fileName of stack tStackName to tFileName

   Err the result
   set the visible of stack "Master Database" to true
   put the stackFileType into tSaveStackFileType
   set the stackFileType to "RevoEDB_"
   save stack tStackName
   Err the result
   set the stackFileType to tSaveStackFileType
   show stack tStackName
   toplevel stack tStackName
end doFileNew

OK Now the stack has a name that I dont know?????

So how do I use a buton on another stack to insert a field in this stack 
with a name something .abd?

Cheers
Bob


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005



From ps1 at softseven.org  Sat Feb  5 17:14:04 2005
From: ps1 at softseven.org (Paul Salyers)
Date: Sat, 05 Feb 2005 16:14:04 -0600
Subject: shareware/demoware
Message-ID: <6.1.1.1.2.20050205152829.0271fde8@softseven.org>

So you have your shareware code to save in the registry or do you save it 
on a file? Something you might consider is get the hard drive serial number 
of "C:" this number to register it with. This will be different with every 
computer and can not be pirated to other computers.

Ex. hard drive number

         23091827389  < Hard Drive number
         *           25  < Number you choose to generate the key
          +        237  < Add to that number to make it harder to figure out
          ==========
          577295684962


then use the first 10 numbers.
5772956849 then reverse the numbers to "9486592775" would be the registry 
key for that one computer.

I don't know if there is a reverse command in Rev. I used to use this in VB 
6.0.

The set back is if they lose the hard drive the and replace it, the key 
will not work, but if they format the hard drive the key will still work.

Paul Salyers
PS1 - Senior Rep.
PS1 at softseven.org
Http://ps1.SoftSeven.org  


From ambassador at fourthworld.com  Sat Feb  5 17:24:03 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Sat, 05 Feb 2005 14:24:03 -0800
Subject: shareware/demoware
In-Reply-To: <6.1.1.1.2.20050205152829.0271fde8@softseven.org>
References: <6.1.1.1.2.20050205152829.0271fde8@softseven.org>
Message-ID: <42054783.6000409@fourthworld.com>

Paul Salyers wrote:
> So you have your shareware code to save in the registry or do you save 
> it on a file? Something you might consider is get the hard drive serial 
> number of "C:" this number to register it with. This will be different 
> with every computer and can not be pirated to other computers.
> 
> Ex. hard drive number
> 
>         23091827389  < Hard Drive number
>         *           25  < Number you choose to generate the key
>          +        237  < Add to that number to make it harder to figure out
>          ==========
>          577295684962
> 
> 
> then use the first 10 numbers.
> 5772956849 then reverse the numbers to "9486592775" would be the 
> registry key for that one computer.
> 
> I don't know if there is a reverse command in Rev. I used to use this in 
> VB 6.0.
> 
> The set back is if they lose the hard drive the and replace it, the key 
> will not work, but if they format the hard drive the key will still work.
> 
> Paul Salyers
> PS1 - Senior Rep.
> PS1 at softseven.org
> Http://ps1.SoftSeven.org 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 


-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com

From ambassador at fourthworld.com  Sat Feb  5 17:25:38 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Sat, 05 Feb 2005 14:25:38 -0800
Subject: shareware/demoware
In-Reply-To: <6.1.1.1.2.20050205152829.0271fde8@softseven.org>
References: <6.1.1.1.2.20050205152829.0271fde8@softseven.org>
Message-ID: <420547E2.7050707@fourthworld.com>

Paul Salyers wrote:
> So you have your shareware code to save in the registry or do you save 
> it on a file? Something you might consider is get the hard drive serial 
> number of "C:" this number to register it with. This will be different 
> with every computer and can not be pirated to other computers.

'scuse my last post -- accidentally clicked "Send" prematurely.

My question was going to be:  How will you be able to generate a 
machine-specific code for the user from your storefront?

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com

From webmaster at dreamscapesoftware.com  Sat Feb  5 17:33:54 2005
From: webmaster at dreamscapesoftware.com (Derek Bump)
Date: Sat, 5 Feb 2005 16:33:54 -0600
Subject: Download problem
References: 
Message-ID: <002401c50bd2$c639c680$6401a8c0@DEREK>

I just did some tests and I'm getting the same thing.  I also tried a number of other URL's to find that Rev downloads them just fine.  One thing I did do was check to see how well I could download from a Secure (https://) server, and discovered that I am also having the same problems.

I believe that the reason Rev is not getting the file is because it cannot connect to the secure server properly.
 

Derek Bump
Dreamscape Software
____________________________________________
Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 

----- Original Message ----- 
From: "Bruce A. Pokras" 
To: 
Sent: Saturday, February 05, 2005 12:08 PM
Subject: Download problem


>I am having a problem with downloading from a particular type of URL 
> using Rev. It is a PDF document from the European Patent Office. One 
> example of this type of URL is the following:
> 
> https://publications.european-patent-office.org/PublicationServer/documentpdf.jsp?iDocId=228969&sDummyParam=.pdf
> 
> I have been trying a script like the following:
> ------------
> put 
> "https://publications.european-patent-office.org/PublicationServer/documentpdf.jsp?iDocId=228969&sDummyParam=.pdf" 
> into theURL
> 
> 
>   put URL theURL into URL ("binfile:epoPatent.pdf")
> ---------
> This gets nowhere. If I substitute "revgoURL theUrl" for the last 
> line, it opens my browser (Netscape 7.0) and displays the PDF without 
> any problem!
> 
> Does anyone know of a reason why the server would respond to Netscape 
> but not to Rev when the same URL is being requested? I tried setting 
> a custom HTTP header to "User-Agent: Netscape/7.0" and other 
> variations of that, but it was no help.
> 
> Regards,
> 
> Bruce Pokras
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
>

From kray at sonsothunder.com  Sat Feb  5 17:49:43 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Sat, 05 Feb 2005 16:49:43 -0600
Subject: shareware/demoware
In-Reply-To: <6.1.1.1.2.20050205152829.0271fde8@softseven.org>
Message-ID: 

On 2/5/05 4:14 PM, "Paul Salyers"  wrote:
 
> I don't know if there is a reverse command in Rev. I used to use this in VB
> 6.0.

Not built-in, but it's pretty easy to write one:

function ReverseIt pString
  put "" into tResult
  repeat for each char tChar in pString
    put tChar before char 1 of tResult
  end repeat
  return pString
end ReverseIt

HTH,

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



From eric.chatonet at wanadoo.fr  Sat Feb  5 18:27:34 2005
From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=)
Date: Sun, 6 Feb 2005 00:27:34 +0100
Subject: Listing all files on a ftp server
Message-ID: <79bb9a5596dba1edae3fa92b3e1e3c10@wanadoo.fr>

Hi,

I saw a few days ago questions and right answers about a script that 
would look at 1 directory and provide a complete hierarchial list of 
all files within all folders and subfolders.
Here is a complementary function for tracking all files within all 
folders and subfolders on a FTP server.
I did not test it yet on windows nor Linux but it works fine with OS X.
So:

put word 1 to -1 of AllFilesOnServer("/www/") -- any folder on the 
server finishing by a slash
-----
function AllFilesOnServer pStartDir
   local tUserName,tPassword,tServer,tPort,tUrl,tDirectories,tDir, 
tFoldersList, tFilesList, tOtherFilesList
   -----
   put fld "FTPUserName" into tUserName -- from user prefs
   put fld "FTPPassword" into tPassword -- from user prefs
   put fld "FTPServerAddress" into tServer -- from user prefs
   put fld "FTPPort" into tPort -- from user prefs
   if tPort = empty then put 21 into tPort
   -----
   replace numToChar(13) with empty in pStartDir -- important
   put "ftp://" & tUserName & colon & tPassword & "@" & tServer & colon 
& tPort & pStartDir into tUrl
   if the platform = "MacOS" then put isotoMac(URL tUrl) into 
tDirectories
   else put URL tUrl into tDirectories
   -----
   if the result = empty then
     sort tDirectories
     replace numToChar(13) with empty in tDirectories
     -----
     repeat for each line tDir in tDirectories
       set cursor to busy
       if "." is not in tDir then put pStartDir & FormatAsFolder(tDir) & 
cr after tFoldersList -- ?
       else put pStartDir & tDir & cr after tFilesList
       -- assuming that all files have an extension (.php, .gif, etc.)
       -- if not sure, use a try structure instead
     end repeat
     -----
     if tFoldersList <> empty then
       delete last char of tFoldersList
       repeat for each line tFolder in tFoldersList
         put AllFilesOnServer(tFolder) into tList -- recursion
         if tList <> empty then put tList after tOtherFilesList
       end repeat
     end if
     return tFilesList & tOtherFilesList
   else return the result -- error
end AllFilesOnServer
--------------------------------------------
function FormatAsFolder pPath
   if last char of pPath <> slash then return pPath & slash
   return pPath
end FormatAsFolder

Amicalement,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
----------------------------------------------------------------
Web site		http://www.sosmartsoftware.com/
Email		eric.chatonet at sosmartsoftware.com/
Phone		33 (0)1 43 31 77 62
Mobile		33 (0)6 20 74 50 86
----------------------------------------------------------------

From chipp at chipp.com  Sat Feb  5 18:40:05 2005
From: chipp at chipp.com (Chipp Walters)
Date: Sat, 05 Feb 2005 17:40:05 -0600
Subject: Notepad can't...interpret  the code parts of a stack?
In-Reply-To: <6.1.1.1.2.20050205074136.027de090@softseven.org>
References: <42041ED9.8080708@tweedly.net>
	<20050205015047.92509.qmail@web61208.mail.yahoo.com>
	<6.1.1.1.2.20050205074136.027de090@softseven.org>
Message-ID: <42055955.2000708@chipp.com>

This is a know bug when transferring unicode text via the clipboard and 
will be fixed in the next release. In the meantime, you can use my 
convertClipboard plugin at"

http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm

best,

Chipp

Paul Salyers wrote:

> It's true that you can't copy from a stack to notepad never tried it the 
> other way. Wordpad works ok.

From vanesch at yahoo.com  Sat Feb  5 18:51:35 2005
From: vanesch at yahoo.com (Stephen Van Esch)
Date: Sat, 5 Feb 2005 15:51:35 -0800 (PST)
Subject: Change absolute link to relative link
In-Reply-To: <41FEDFE9.2010608@chipp.com>
Message-ID: <20050205235135.70300.qmail@web30801.mail.mud.yahoo.com>

Chipp:

FInally found the time to give this a whirl. Seems to
work just fine.

Thanks.

Steve

--- Chipp Walters  wrote:

> Hi Steve,
> 
> I suppose you have a number of QT players which have
> absolute link paths.
> 
> Put all the QT Mov files in the same folder as your
> application.
> 
> Then in your openStack handler:
> 
> set the filename of player "myPlayer1" to
> "myPlayer.mov"
> set the filename of player "myPlayer2" to
> "myPlayer2.mov"
> 
> If this doesn't work correctly, it might be because
> your players are 
> already assigned the filename. In that case try:
> 
> set the filename of player "myPlayer1" to empty
> set the filenmee of player "myPlayer1" to
> "myPlayer.mov"
> 
> this 'cycling' of the filenames forces the player to
> load correctly. Of 
> course, the QT mov may automatically start, so you
> should take care of 
> that with a stop command.
> 
> best,
> 
> Chipp
> 
> 
> Stephen Van Esch wrote:
> > Any takers on this one? Or should I just start
> from
> > scratch?
> > 
> > Thanks!
> > 
> > Steve
> > 
> > 
> >>Folks:
> >>
> >>I've got my first small project assembled.
> However,
> >>I
> >>didn't realize until the end that Quicktime files
> >>must
> >>be in the same folder as the Rev application for
> >>them
> >>to be correctly bundled with a standalone.
> >>
> >>I've tried to move all the Quicktime files into
> the
> >>Rev application folder and relink all of them
> using
> >>the inspector. However, when I try to move between
> >>cards after changing the link the following
> message
> >>appears:
> >>
> >>"A stack with the same name as the one you are
> >>trying
> >>to load is already open. Before loading ..... what
> >>do
> >>you want to do with stack ....?"
> >>
> >>I've tried saving, purging and cancelling at this
> >>point. None seem to work and only seem to result
> in
> >>Rev hanging (reinstall required as mentioned in
> the
> >>archives), corrupting the relinked Quicktime files
> >>or
> >>losing the new links.
> >>
> >>Is there an easy way to change the absolute links
> to
> >>relative links without a problem? Or do I have to
> >>start from scratch?
> >>
> >>Steve
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> >
>
http://lists.runrev.com/mailman/listinfo/use-revolution
> > 
> > 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
>
http://lists.runrev.com/mailman/listinfo/use-revolution
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

From mwieder at ahsoftware.net  Sat Feb  5 19:41:55 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Sat, 5 Feb 2005 16:41:55 -0800
Subject: Searchable archives?
In-Reply-To: 
References: 
Message-ID: <101106116026.20050205164155@ahsoftware.net>

Ken-

Saturday, February 5, 2005, 1:47:43 PM, you wrote:

KR> One thing, though: Sorry to have you upgrade it again, but you need to trap
KR> for return/enter kens in the top fields... right now they just go to the
KR> next line and scroll the current line out of sight (unless that was
KR> intended)... 

...dang users anyway... you can always count on them to do something
you never thought of. Who in their right mind would type a return into
a text field anyway?

OK - it's fixed up now. Sheesh - two fixes in one day. Return now
sends a "mouseUp" message to the search button.

-- 
-Mark Wieder
 mwieder at ahsoftware.net


From erikhans08 at yahoo.com  Sat Feb  5 19:54:27 2005
From: erikhans08 at yahoo.com (Erik Hansen)
Date: Sat, 5 Feb 2005 16:54:27 -0800 (PST)
Subject: Notepad can't...interpret  the code parts of a stack?
In-Reply-To: <42055955.2000708@chipp.com>
Message-ID: <20050206005427.62671.qmail@web61202.mail.yahoo.com>


--- Paul Salyers  wrote: 

> It's true that you can't copy from a stack
> to notepad never tried it the other way.
> Wordpad works ok.

--- Alex Tweedly  wrote:

> I'm not talking about cutting/pasting
> the script from a stack into Notepad
> - that works fine.

this was the concern.

"Chipp Walters"  wrote:

>>>
This is a know bug when transferring
unicode text via the clipboard 
and will be fixed in the next release.
In the meantime, you can use my
convertClipboard plugin at

http://www.altuit.com/webs/altuit2/
altPluginDownload/Downloads.htm
>>>

thanks for the information,
possible glitches while copying script
is nightmarish concept.

one thing, shouldn't that be 
"ALTconvertClipboard"?

Erik Hansen

=====
erik at erikhansen.org    http://www.erikhansen.org


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

From erikhans08 at yahoo.com  Sat Feb  5 19:59:20 2005
From: erikhans08 at yahoo.com (Erik Hansen)
Date: Sat, 5 Feb 2005 16:59:20 -0800 (PST)
Subject: Problem! Inaccessible substack
In-Reply-To: 
Message-ID: <20050206005920.67801.qmail@web61207.mail.yahoo.com>


--- Jerry Balzano 
wrote:

> Thanks to Richard, Chipp, and Alex for their
> responses to my plea for  
> assistance.
> 
> It turned out that Richard's suggested script
> (below) fixed the problem  
> just fine ? what a life saver! 

just curious, did you use 
the "Application Browser"?

Erik Hansen

=====
erik at erikhansen.org    http://www.erikhansen.org


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

From katir at hindu.org  Sat Feb  5 20:10:56 2005
From: katir at hindu.org (Sivakatirswami)
Date: Sat, 5 Feb 2005 15:10:56 -1000
Subject: OT: Mentoring Mac NewBies
Message-ID: 

Mac OS X:

Imagine a lady who never did any IT work in her whole life, but is a 
fully competent person, excellent typist, very good with language, very 
intelligent, successful human being, is just a bit challenged by being 
told to "make a new folder on your desktop and then move that into your 
User folder in the Documents folder." And then her husband, of whom she 
asks many questions...  gets really frustrated when she "pushes the 
wrong button." and makes her feel like a "dummy" because she doesn't 
"get it."

If she wanted to, on her own, "get up to speed," are their any learning 
resources on the web to get someone who doesn't even know what you mean 
when you say "The Finder" up to a new level of computer fluency... I'm 
not talking about making this level of newbie a programmer, just 
conversant in how to use the machine works, navigate, etc.

I'm familiar with the Mac's own "For New Computer Users" in the help... 
but am looking for other similar resources as well.

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 mark at maseurope.net  Sat Feb  5 20:12:21 2005
From: mark at maseurope.net (Mark Smith)
Date: Sun, 6 Feb 2005 01:12:21 +0000
Subject: Download Problem
In-Reply-To: <20050206000601.A506D93022B@mail.runrev.com>
References: <20050206000601.A506D93022B@mail.runrev.com>
Message-ID: <26FA7BD8-77DC-11D9-9F2F-000D93C19756@maseurope.net>


On 6 Feb 2005, at 00:06, use-revolution-request at lists.runrev.com wrote:

> I am having a problem with downloading from a particular type of URL
> using Rev. It is a PDF document from the European Patent Office. One
> example of this type of URL is the following:
>
> https://publications.european-patent-office.org/PublicationServer/ 
> documentpdf.jsp?iDocId=228969&sDummyParam=.pdf
>

It probably is the https issue. AltBrowser may help, as may Runrevs   
ssl library, but you have to pay for both of those. I've had good luck  
with https stuff using a shell command in OS X, there is presumably  
something similar on Windows, and certainly on 'nixes. It would go  
something like:

put  
"https://publications.european-patent-office.org/PublicationServer/ 
documentpdf.jsp?iDocId=228969&sDummyParam=.pdf" into addr
put "binfile:" & "myDownloadedPDF.pdf" into fileName
put shell("curl" && quote & addr & quote) into URL fileName

I'm certainly no expert on this sort of thing, so others here may be  
able to refine it, but it worked for me, so it might for you.


Cheers,

Mark

From mark at maseurope.net  Sat Feb  5 20:15:58 2005
From: mark at maseurope.net (Mark Smith)
Date: Sun, 6 Feb 2005 01:15:58 +0000
Subject: SubStacks with Same Name in Different apps 
In-Reply-To: <20050206000601.A506D93022B@mail.runrev.com>
References: <20050206000601.A506D93022B@mail.runrev.com>
Message-ID: 


On 6 Feb 2005, at 00:06, use-revolution-request at lists.runrev.com wrote:

> I often use the same name for generic substacks  e.g.
>
> "Prefs"
> "Dev Notes"
>

I've done the same, but now, for exactly this reason, prepend the name 
of the main stack or app to the substack names:

'myAppPrefs', or whatever.

Cheers,

Mark


From katir at hindu.org  Sat Feb  5 20:22:55 2005
From: katir at hindu.org (Sivakatirswami)
Date: Sat, 5 Feb 2005 15:22:55 -1000
Subject: Printing Crashes Rev in OSX
In-Reply-To: <64878EF567131D4596246171F75FD4A9469F98@m-epo-1.epo.cdc.gov>
References: <64878EF567131D4596246171F75FD4A9469F98@m-epo-1.epo.cdc.gov>
Message-ID: 

Aloha to all from Hawaii, where we don't have any native clover leafs.

OK, I get it! Thanks. "Mahalo" as we say here.

  I was under the misconception that Switch was
some kind of alternate way of doing a series of "ifs" one after the 
other.

Actually, now that I understand it correctly, I could put the proper 
use (fall thru if no break) to work for a number of things.

Love the on-ramp analogy...  Alex, you should make additions to the 
docs (smile)

I did drive in Mauritius for a few years where they have those British 
circular round-a-bout intersections for as many as five converging 
highways... No traffic lights required: pretty scary but *very* 
efficient like the switch structure...

Case closed for now. Thanks again for the incredible patience of the 
kind souls on this list!

Sivkatirswami


On Feb 4, 2005, at 9:43 AM, Lynch, Jonathan wrote:

> Because, otherwise, people would think you have a dog named Clover who
> keeps leaving your slippers in the wrong place.
>
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark
> Wieder
> Sent: Friday, February 04, 2005 2:39 PM
> To: How to use Revolution
> Subject: Re: Printing Crashes Rev in OSX
>
> Alex-
>
> Thanks. I tried twice to come up with a good analogy to post to the
> list and gave up each time. That freeway onramp/offramp thing is great
> IMO.
>
> (and speaking of spellcheckers, why is it cloverleafs and not
> cloverleaves?)
>
> -- 
> -Mark Wieder
>  mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


From jruss at bresnan.net  Sat Feb  5 20:33:46 2005
From: jruss at bresnan.net (JOHN RUSSELL)
Date: Sat, 05 Feb 2005 18:33:46 -0700
Subject: OT: Mentoring Mac NewBies
In-Reply-To: 
References: 
Message-ID: 

I think David Pogue's Mac OS X: Panther Edition, the Missing Manual (O'Reilly) 
might be a help to you.  It's over 700 pages in length, but quoting from the 
back cover, here's how it starts:
"Getting started: The early chapters demystify the Dock, windows, and the 
unfamilar Mac OS X folder structure - - an ideal introduction."
Here is a partial list of early major topics from the table of contents:
Folders and Windows
Organizing Your Stuff
Dock, Desktop, and Toolbar
etc., etc....probably much more than you want to know.
This book is available at Amazon, Barnes and Noble and any online tech 
bookstore, as well.


> If she wanted to, on her own, "get up to speed," are their any learning 
>resources on the web to get someone who doesn't even know what you mean when 
>you say "The Finder" up to a new level of computer fluency... I'm not talking 
>about making this level of newbie a programmer, just conversant in how to use 
>the machine works, navigate, etc.
> 
> I'm familiar with the Mac's own "For New Computer Users" in the help... but 
>am looking for other similar resources as well.


From erikhans08 at yahoo.com  Sat Feb  5 20:50:31 2005
From: erikhans08 at yahoo.com (Erik Hansen)
Date: Sat, 5 Feb 2005 17:50:31 -0800 (PST)
Subject: group-al cmds like "set the highlitedButtonName to 0" for
	propserties?
In-Reply-To: 
Message-ID: <20050206015031.14406.qmail@web61206.mail.yahoo.com>


for colorblind users, a selected control has:
the width = the width +8
the borderWidth = 2

some groups have multiple hilites so
before selecting a new control in the group:

on standDown pGroup,pWidth
  set the highlitedButtonName of grp pGroup to 0
  -- 1 line of code
  put (the number of controls in grp pGroup)\
  into tot

  repeat with i = 1 t tot
   set the width of control i to pWidth
   set the borderWidth of control i to 1
  end repeat
  -- many lines of code & repeats
end standDown

is there a single-line-command
that resets the individual
control properties of all
grouped controls to the default value
specified for that group?

i did try the Transcript Dictionary under 
"group" "about groups" "about objects"...

the "standDown" handler works just fine,
it would just be simpler with a 1-line
"set the highlitedButtonName to 0"
kind of approach.

thanks,

Erik Hansen


=====
erik at erikhansen.org    http://www.erikhansen.org


		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

From shaosean at unitz.ca  Sat Feb  5 21:08:26 2005
From: shaosean at unitz.ca (shaosean at unitz.ca)
Date: Sat, 05 Feb 2005 21:08:26 -0500
Subject: Success with Sending email without a SMTP Server!!!!
In-Reply-To: <20050130221312.3BEF393018F@mail.runrev.com>
References: <20050130221312.3BEF393018F@mail.runrev.com>
Message-ID: 

just a note to this thread (sorry, i'm a little behind with my life)..

some networks will not allow you to use an external smtp server (in 
canada, sympatico restricts smtp usage to only their smtp server)..



From shaosean at unitz.ca  Sat Feb  5 21:13:52 2005
From: shaosean at unitz.ca (shaosean at unitz.ca)
Date: Sat, 05 Feb 2005 21:13:52 -0500
Subject: Success with Sending email without a SMTP Server!!!!
In-Reply-To: <20050131064328.D312D930179@mail.runrev.com>
References: <20050131064328.D312D930179@mail.runrev.com>
Message-ID: 

> Shao Sean also worked quite hard to come up with an auth capability.

i actually had a working version of this, but lost my brand new SanDisk 
mini cruzer that had it on it =(

am feeling up to re-writing it again



From revdan at danshafer.com  Sun Feb  6 01:49:15 2005
From: revdan at danshafer.com (Dan Shafer)
Date: Sat, 5 Feb 2005 22:49:15 -0800
Subject: OT: Mentoring Mac NewBies
In-Reply-To: 
References: 
	
Message-ID: <2a2259f31292dd3893938e6830b60c60@danshafer.com>

I can second the recommendation of Pogue's book as the mentor of two 
people very much like the one you describe.

Dan

On Feb 5, 2005, at 5:33 PM, JOHN RUSSELL wrote:

> I think David Pogue's Mac OS X: Panther Edition, the Missing Manual 
> (O'Reilly) might be a help to you.  It's over 700 pages in length, but 
> quoting from the back cover, here's how it starts:
> "Getting started: The early chapters demystify the Dock, windows, and 
> the unfamilar Mac OS X folder structure - - an ideal introduction."
> Here is a partial list of early major topics from the table of 
> contents:
> Folders and Windows
> Organizing Your Stuff
> Dock, Desktop, and Toolbar
> etc., etc....probably much more than you want to know.
> This book is available at Amazon, Barnes and Noble and any online tech 
> bookstore, as well.
>
>
>> If she wanted to, on her own, "get up to speed," are their any 
>> learning resources on the web to get someone who doesn't even know 
>> what you mean when you say "The Finder" up to a new level of computer 
>> fluency... I'm not talking about making this level of newbie a 
>> programmer, just conversant in how to use the machine works, 
>> navigate, etc.
>> I'm familiar with the Mac's own "For New Computer Users" in the 
>> help... but am looking for other similar resources as well.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


From scott at tactilemedia.com  Sun Feb  6 05:31:43 2005
From: scott at tactilemedia.com (Scott Rossi)
Date: Sun, 06 Feb 2005 02:31:43 -0800
Subject: Concise Variables
Message-ID: 

I'm looking for a way to employ concise persistent variable names in a
script.

Currently, I'm using the form:

  get the hilite of buttonPlay

...where buttonPlay is a script local variable containing the absolute
reference to a control.  The problem is, as soon as I edit the script, the
value of buttonPlay is lost.  I have about 15 of these references to manage.

If I change the variables to globals, the values will be persistent, but
I'll have to declare the global names everywhere in the script, which is
going to be a major chore in a 1700+ line script that has around 70
handlers, not all of which require the globals.

If I change the variables to custom properties, I'll have to use a form
similar to:

  get the hilite of (the buttonPlay of me)

Having to include the owner of the property makes for a fair amount of extra
script and complicates the readability of the script in places, compared to
the simple "buttonPlay".

So, my question is, might there be some way I can make my short object
references persistent, or must I use a more verbose form to do this?

I've considered turning the variables into functions, like buttonPlay(), but
it seems inefficient to have continually rebuild an object reference that
could be defined once and stored.  But then I'm back to the original
problem...

It's late here and I'm out of ideas so I'm looking for suggestions on how I
might solve this dilemma.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com


From alex at tweedly.net  Sun Feb  6 06:53:54 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Sun, 06 Feb 2005 11:53:54 +0000
Subject: Concise Variables
In-Reply-To: 
References: 
Message-ID: <42060552.2060903@tweedly.net>

Scott Rossi wrote:

>I'm looking for a way to employ concise persistent variable names in a
>script.
>
>Currently, I'm using the form:
>
>  get the hilite of buttonPlay
>
>...where buttonPlay is a script local variable containing the absolute
>reference to a control.  The problem is, as soon as I edit the script, the
>value of buttonPlay is lost.  I have about 15 of these references to manage.
>
>If I change the variables to globals, the values will be persistent, but
>I'll have to declare the global names everywhere in the script, which is
>going to be a major chore in a 1700+ line script that has around 70
>handlers, not all of which require the globals.
>  
>
Is this one large 1700 line script, with many handlers within it ?
Or is it a total of 1700 lines, spread over many scripts ?

If it's the former : can't you simply declare them as global at the head 
of the script ? (OK, it makes the variable be in scope within the 
handlers that don't need them - but good practice says you wouldn't be 
re-using those name anyway, so it's safe).

If the latter:  Can you do something like
repeat with i = 1 to the number of controls in stack "whatever"
   put the script of control i into tScript
   replace "local buttonPlay" with "global buttonPlay"
   ...
   set the script of control i to tScript
end repeat

(Hopefully the local declarations follow some pattern or consistency 
that would let you do this)

>If I change the variables to custom properties, I'll have to use a form
>similar to:
>
>  get the hilite of (the buttonPlay of me)
>
>Having to include the owner of the property makes for a fair amount of extra
>script and complicates the readability of the script in places, compared to
>the simple "buttonPlay".
>  
>
How widely are these variables being modified ?
If that happens only in VERY few places, you could possibly you move 
them to custom properties, but on entry to most of the handlers, copy 
the values from custom properties to the current local variables.

e.g.

on mouseUp
local buttonPlay
put (the cButtonPlay of me) into buttonPlay
...
get the hilite of buttonPlay

and in other places
on keyDown
-- can't use local buttonPlay because it is modified in this handler
get the hilite of (the cbuttonPlay of me)
....
set (the cButtonPlay of me) to ...


>So, my question is, might there be some way I can make my short object
>references persistent, or must I use a more verbose form to do this?
>
>I've considered turning the variables into functions, like buttonPlay(), but
>it seems inefficient to have continually rebuild an object reference that
>could be defined once and stored.  But then I'm back to the original
>problem...
>
>It's late here and I'm out of ideas so I'm looking for suggestions on how I
>might solve this dilemma.
>
By the time you read this, it'll probably be early for you - and with 
luck you'll come up with something better ...

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005


From thomas.gutzmann at gutzmann.com  Sun Feb  6 08:53:59 2005
From: thomas.gutzmann at gutzmann.com (Thomas Gutzmann)
Date: Sun, 6 Feb 2005 14:53:59 +0100
Subject: Concise Variables
In-Reply-To: 
References: 
Message-ID: <9e2136b73cdfefa5f5a046ee8d2d53c1@gutzmann.com>


Am 06.02.2005 um 11:31 schrieb Scott Rossi:

> If I change the variables to globals, the values will be persistent, 
> but
> I'll have to declare the global names everywhere in the script, which 
> is
> going to be a major chore in a 1700+ line script that has around 70
> handlers, not all of which require the globals.

You can put the global definition on top of the script; then it's valid 
for all handlers, like in the following snippet:

global gDB
global gLanguage

function checkCanDelete aTableName, aValue
   put false into vRC
   put "select f_has_children('" & aTableName & "' ,'" & aValue & "')" 
into vSQL
   put revDataFromQuery(,,gDB, vSQL) into vResult
...

Cheers,

Thomas G.


From kee at kagi.com  Sun Feb  6 11:11:50 2005
From: kee at kagi.com (kee nethery)
Date: Sun, 6 Feb 2005 08:11:50 -0800
Subject: Success with Sending email without a SMTP Server!!!!
In-Reply-To: 
References: <20050130221312.3BEF393018F@mail.runrev.com>
	
Message-ID: <3452b840d944f1263092dad7f0a2c746@kagi.com>


On Feb 5, 2005, at 6:08 PM, shaosean at unitz.ca wrote:

> some networks will not allow you to use an external smtp server (in
> canada, sympatico restricts smtp usage to only their smtp server)..

We run a mail server on a non-standard port specifically to get past 
that restriction when we are traveling.
Kee Nethery


From scott at tactilemedia.com  Sun Feb  6 12:07:13 2005
From: scott at tactilemedia.com (Scott Rossi)
Date: Sun, 06 Feb 2005 09:07:13 -0800
Subject: Concise Variables
In-Reply-To: <9e2136b73cdfefa5f5a046ee8d2d53c1@gutzmann.com>
Message-ID: 

Recently, Thomas Gutzmann wrote:

>> If I change the variables to globals, the values will be persistent,
>> but
>> I'll have to declare the global names everywhere in the script, which
>> is
>> going to be a major chore in a 1700+ line script that has around 70
>> handlers, not all of which require the globals.
> 
> You can put the global definition on top of the script; then it's valid
> for all handlers

How easy is this?!  The old MetaCard docs I read said declaring globals like
this treats variables like locals so I assumed the values would not be
persistent, but it turns out they are.

This qualifies as another huge forehead slap (and major time savings for
me).  Thanks Thomas.

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com


From mark at maseurope.net  Sun Feb  6 14:25:24 2005
From: mark at maseurope.net (Mark Smith)
Date: Sun, 6 Feb 2005 19:25:24 +0000
Subject: Concise Variables
In-Reply-To: <20050206170004.E4EEB93022D@mail.runrev.com>
References: <20050206170004.E4EEB93022D@mail.runrev.com>
Message-ID: 

Depending on scope, would the 'constant' command help?

Cheers,
Mark

On 6 Feb 2005, at 17:00, use-revolution-request at lists.runrev.com wrote:

> I'm looking for a way to employ concise persistent variable names in a
> script.


From sanke at hrz.uni-kassel.de  Sun Feb  6 15:39:25 2005
From: sanke at hrz.uni-kassel.de (Wilhelm Sanke)
Date: Sun, 06 Feb 2005 21:39:25 +0100
Subject: mouseenter message while mousebutton is down?
Message-ID: <4206807D.6010601@hrz.uni-kassel.de>

On Fri Feb 4, Lynch, Jonathan BNZ2 at CDC.GOV wrote:

> Does anyone know of a way to generate a message that happens when the
> mouse is over a graphic, and the mousebutton is currently down, and the
> mouse is pulling around a partially transparent image while it moves
> over the graphics?
>
> Mouseenter does not work when the mousebutton is down, or when there is
> an image in the way.
>
> I tried fooling around with dragenter - but whenever I try to set the
> dragdata, I get buggy results - the image disappearing, the app freezing
> up, things like that.
>
> (snip)
>
> Is there any sort of mouseenter-like message that works while the
> mousebutton is down?
>
> Is there any simple way for an object that is covered by a transparent
> image to receive a mouse message?
>
> Thanks,
>
> Jonathan

Seems to me that this has not yet been answered.

You could try something like the handler below in the script of the 
dragged control:

"on mousedown
  set the layer of me to top
  grab me
  put the number of graphics into Gnumber
  repeat with i = 1 to Gnumber
    if intersect(me, grc i) then
      put the name of grc i
# or do whatever you want
    end if
  end repeat
  send "mousedown" to me in 100 milliseconds
end mousedown"

The last line does the trick.

Regards,

Wilhelm Sanke




From gcanyon at inspiredlogic.com  Sun Feb  6 16:44:48 2005
From: gcanyon at inspiredlogic.com (Geoff Canyon)
Date: Sun, 6 Feb 2005 13:44:48 -0800
Subject: Concise Variables
In-Reply-To: 
References: 
Message-ID: <068fc0f5233ac8a283eb0465cb87ab15@inspiredlogic.com>

You could do the global thing. You could also write an initialization 
routine, something like:

on initLocals
   put "whatever" into buttonPlay
   -- etc.
end initLocals

Then you can call it whenever you update the script. You can even do it 
automatically, something like:

try
   add the width of buttonPlay to x
catch tSomeErr
   initLocals
   add the width of buttonPlay to x
end try

...although that gets a bit unwieldy.

gc

On Feb 6, 2005, at 2:31 AM, Scott Rossi wrote:

> I'm looking for a way to employ concise persistent variable names in a
> script.
>
> Currently, I'm using the form:
>
>   get the hilite of buttonPlay
>
> ...where buttonPlay is a script local variable containing the absolute
> reference to a control.  The problem is, as soon as I edit the script, 
> the
> value of buttonPlay is lost.  I have about 15 of these references to 
> manage.
>

regards,

Geoff Canyon
gcanyon at inspiredlogic.com


From frank at backtalk.com  Sun Feb  6 16:50:52 2005
From: frank at backtalk.com (Frank Leahy)
Date: Sun, 6 Feb 2005 21:50:52 +0000
Subject: export progressive jpeg causes a crash
Message-ID: <2B9ED3E6-7889-11D9-B2DD-000A9580FCCE@backtalk.com>

Hi,

I've been testing my product, and I spent the greater part of the last 
2 days trying to track down a crash in code that had never failed 
before.  I finally tracked it to an "export image as JPEG" call, and 
after literally 100+ restarts of RunRev finally realized that the jpegs 
that were failing were all progressive jpegs (thankfully I have code 
that reads the jpeg header and can determine if it's a progressive 
jpeg).

Is anyone else able to confirm this?  I'm still using 2.2, so I'd be 
interested to know if it's in 2.5 as well.

Also, I didn't track it down to be 100% sure, but it looks like 
interlaced GIFs might have the same problem.

Maybe it's time to use the QT external...sigh...

Thanks,
-- Frank


Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/


From rjb at robelko.com  Sun Feb  6 16:41:11 2005
From: rjb at robelko.com (Robert Brenstein)
Date: Sun, 6 Feb 2005 22:41:11 +0100
Subject: Rev 2.5 on WinXP: Issues with multiple monitors
In-Reply-To: <42040C28.7060403@tweedly.net>
References:  
 <42040C28.7060403@tweedly.net>
Message-ID: 

>Silver, Jason wrote:
>
>>[ ... window off screen ...]
>>I'm sure there's a workaround (e.g. typing some "move" command into the
>>Message Box), but I was hoping that this issue could be looked at, and
>>possibly changed in forthcoming releases of the software.
>>
>msg box, and type
>   set the loc of stack "revdocs" to the screenloc
>(or ... to "500,500" whichever you find easier to type).
>
>I suspect it won't be changed, because it's common to create and 
>manipulate "invisible" windows by positioning them off-screen, and 
>it would be hard to figure the difference between that technique and 
>the case where the user has switched from dual monitor to single 
>monitor.
>
>--
>Alex.

Actually, IDE should distinguish between its own windows (stacks) and 
user windows (stacks). User windows should be left alone, of course, 
but IDE windows, like Documentation, should check their location in 
preopenstack and hop onto the monitor if located outside. To provide 
backwards compatbility, just in case someone relied on this, this 
behavior could be controlled by a preference flag.

Robert

From alex at tweedly.net  Sun Feb  6 17:41:41 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Sun, 06 Feb 2005 22:41:41 +0000
Subject: Rev 2.5 on WinXP: Issues with multiple monitors
In-Reply-To: 
References: 
	<42040C28.7060403@tweedly.net> 
Message-ID: <42069D25.10002@tweedly.net>

Robert Brenstein wrote:

>> I suspect it won't be changed, because it's common to create and 
>> manipulate "invisible" windows by positioning them off-screen, and it 
>> would be hard to figure the difference between that technique and the 
>> case where the user has switched from dual monitor to single monitor.
>> Alex.
>
> Actually, IDE should distinguish between its own windows (stacks) and 
> user windows (stacks). User windows should be left alone, of course, 
> but IDE windows, like Documentation, should check their location in 
> preopenstack and hop onto the monitor if located outside. To provide 
> backwards compatbility, just in case someone relied on this, this 
> behavior could be controlled by a preference flag.

I think the IDE uses the technique of positioning its stacks off-screen. 
I know that periodically I discover that my Docs window isn't opening 
properly (it appears to not open at all), and if I do "put the loc of 
stack "revdocs"" it has become positioned at some 'significant' value 
(maybe -32767, -32767 ??? - not sure now).  In any case, I can fix it by 
"set the loc of stack "revdocs" to the screenloc" to get it back; I'm 
fairly sure I tracked that down at one point to the IDE deliberately 
setting  off-screen coords - but decided I wasn't going to benefit from 
tracking it any further, and just got use to typing the reposition 
command when I need it.

I could be misremembering - it's been a few months; or I could have been 
misinterpreting what I saw back then. And even if I wasn't - maybe there 
should be a check as you suggest to overcome the "disappearing docs 
window" problem as well :-)

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005


From hershrev at realtorsgroup.us  Sun Feb  6 19:12:52 2005
From: hershrev at realtorsgroup.us (Hershel Fisch)
Date: Sun, 06 Feb 2005 19:12:52 -0500
Subject: Postgres
Message-ID: 

Hi all I'm trying to connect to  my postgres 8.0 server on a osx 10.3


This is a copy from the pg_hpa.con file


# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust

host    all        all        192.168.1.101          trust  # this is the
line I added .

# IPv6 local connections:
host    all         all         ::1/128               trust

The error " FATAL: missing or erroneous pg_hba.conf file."
Thanks a mill.
Ps I reinstalled postgres clean.
Thanks , Hershel


From scott at tactilemedia.com  Sun Feb  6 19:22:44 2005
From: scott at tactilemedia.com (Scott Rossi)
Date: Sun, 06 Feb 2005 16:22:44 -0800
Subject: Concise Variables
In-Reply-To: <068fc0f5233ac8a283eb0465cb87ab15@inspiredlogic.com>
Message-ID: 

>> I'm looking for a way to employ concise persistent variable names in a
>> script.

> You could do the global thing. You could also write an initialization
> routine, something like:
> 
> on initLocals
>  put "whatever" into buttonPlay
>  -- etc.
> end initLocals
> 
> Then you can call it whenever you update the script.
> ... 
> although that gets a bit unwieldy.

Yeah, unwieldy is what I'm trying to avoid.  I've got a somewhat complicated
script that lays out custom stacks on-the-fly and need to reference absolute
paths of all the controls so the app can know where to find them.  Storing
the object references in "local global" variables will work perfectly for my
needs.

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com


From jsilver at qualcomm.com  Sun Feb  6 19:53:06 2005
From: jsilver at qualcomm.com (Silver, Jason)
Date: Sun, 6 Feb 2005 16:53:06 -0800
Subject: Palette as a stack or sub-stack, and a mouseUp/mouseStillDown
	question
Message-ID: 

Hello everyone,

I think I'm becoming a regular poster to this mailing list!  :)
Anyways, I've got a question regarding how I'm setting up the
architecture of my program, and then a button question.

Up until now, I've had a stack "Screen", which is simulating the screens
of our company's would-be handset.  When I first was playing around in
Revolution, the stack contained a display and lots of buttons, much like
a usual mobile phone.  However, to simplify screen creation, I made the
stack "Screen" only 240x320 (the size of  the actual screen), so it
would be easy to place icons and fields in exactly the same position as
they would be on the real phone.  I thought that I would control the
screen with particular keyboard presses (e.g. "S" for the Send key, "E"
for the end key, etc.)

At this point, I think it's going to be easier to make buttons to
navigate the interface, because we'd also like to be able to type into
specific fields using the keyboard.  So, I've created a sub-stack called
"Handset Buttons", and I've made it a palette.  Am I heading down the
right road, or is it better to have the palette in a separate stack?

To give some context, once the user presses a button on the palette,
such as "Send", the "Screen" stack will be jumping to a particular card
(and this can change, depending on what field is highlighted on the
current card).  Imagine highlighting an particular menu item on your
mobile phone and pressing select; the next screen is entirely dependent
on what line you're highlighting.  When I'm in fields on the "Screen"
stack, how do I monitor which buttons are pressed on the "Handset
Buttons" sub-stack?

The situation is further complicated by certain buttons I want to have
on the palette that will do two different things, depending on whether
you're short-pressing the button, or pressing and holding the button.
It seems logical to have a long-press on the phone map to a
"mouseStillDown" message in Revolution.  However, I want to make sure
that when there's a long press of a button, that the "mouseUp" message
is NOT sent afterwards.  So, the mouseUp of a button is the short-press,
and the mouseStillDown is the long-press (that doesn't do the
short-press as well).  Is this accomplish by message sending or passing?
Or am I completely off-base?

Phew, I think that explains everything I'm dealing with at the moment.
I wanted to thank all of you again for getting a newbie like myself off
the ground with Revolution and the Transcript language.  Your help has
proven invaluable!

Jason Silver
Human Factors Engineer, Sr.
QUALCOMM Inc.
jsilver at qualcomm.com 

From boinjyboing at hotmail.com  Sun Feb  6 20:04:40 2005
From: boinjyboing at hotmail.com (Ben Fisher)
Date: Sun, 6 Feb 2005 17:04:40 -0800
Subject: image contrast and brightness
Message-ID: 

I think someone was wondering how to do Contrast and Brightness effects on images... Anyways I made a little stack to do this and other effects. It's actually pretty fast without using any externals. Please check it out and give me some feedback. 

User Name: Benjam
Program: Basic Image Processor

Right now the code may be hard to understand. I'll update it soon with better comments.

-Ben


From preid at reidit.co.uk  Sun Feb  6 20:20:16 2005
From: preid at reidit.co.uk (Peter Reid)
Date: Mon, 7 Feb 2005 01:20:16 +0000
Subject: Interactive Site listing CGI
Message-ID: 

Does anyone have a bit of Rev CGI that will display a folder/file 
list of a specified web site that allows the user to traverse the 
filing system?

I'd like to produce a simple intranet site that stores a collection 
of folders containing images that the end user can traverse and view 
as and when required.  This will be on a Mac running OS X 10.3.7.

Thanks

Peter
-- 
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576
E-mail: preid at reidit.co.uk
         preid at reidit.demon.co.uk
Web: http://www.reidit.co.uk
      http://www.reidit.demon.co.uk

From kee at kagi.com  Sun Feb  6 20:47:08 2005
From: kee at kagi.com (kee nethery)
Date: Sun, 6 Feb 2005 17:47:08 -0800
Subject: Application Browser
In-Reply-To: 
References: 
Message-ID: <199390619855039b5b8692b63eeb3e75@kagi.com>

I have a stack that I periodically save as a standalone application. It 
uses the revSoap libSmtp and libEmail stacks and I have a start using 
for each of these stacks in my main stack.

I open my main stack in the Application Browser and I see:
MainStack
    revSOAP
    libSmtp
    libEmail
    libEmailHelp
    libEmail

I do not need libEmailHelp and I for sure do not need two libEmails 
but, I cannot figure out how to get rid of them. When I select them in 
the Application Browser, there seems to be no menu selection that 
removes the substack. When I look in the inspector for my main stack, 
under "Stack Files"  I would expect to see the stack files shown in the 
Application Browser but that list is empty.

I can see substacks in the Application Window. Why can I not manipulate 
them in that window? Why can I not remove them or add them in that 
window? What is the connection between the Application Browser list of 
stacks and the "stack Files" list of stacks?

Why is this so confusing? How do I get this to where my substacks are 
just the ones I want and no others?

Kee Nethery


From glenb at napier.govt.nz  Sun Feb  6 20:56:38 2005
From: glenb at napier.govt.nz (Glen Boyd)
Date: Mon, 07 Feb 2005 14:56:38 +1300
Subject: Searchable archives?
In-Reply-To: <101106116026.20050205164155@ahsoftware.net>
References: 
	<101106116026.20050205164155@ahsoftware.net>
Message-ID: <4206CAD6.9090900@napier.govt.nz>

Hi Mark,

Mark Wieder wrote:
> ...dang users anyway... you can always count on them to do something
> you never thought of. Who in their right mind would type a return into
> a text field anyway?
> 
> OK - it's fixed up now. Sheesh - two fixes in one day. Return now
> sends a "mouseUp" message to the search button.

Well seeing as you have mentioned the dreaded "count" word here I have 
counted the number of results returned when you ask for 10 and it seems 
to be 9 every time.  Are you returning 10 results and only displaying 9 
or returning 9 and displaying them correctly?

NOTE: I have not counted the results from the other options.

cheers

-- 
Glen Boyd		
Network Administrator	Napier City Council
Private Bag 6010, Napier, New Zealand
Phone: +64-6-8344119	Fax: +64-6-8357574

######################################################################
Attention: 
This e-mail message and accompanying data may contain information that
is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated to
the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.

From katir at hindu.org  Sun Feb  6 21:13:17 2005
From: katir at hindu.org (Sivakatirswami)
Date: Sun, 6 Feb 2005 16:13:17 -1000
Subject: Quicktime controller does not work
In-Reply-To: 
References: <9EA716F8-765D-11D9-B49A-000A959D0AC6@hindu.org>
	
Message-ID: 

Are you setting the "alwaysBuffer" to false?  or True?


On Feb 3, 2005, at 11:33 PM, Pierre Sahores wrote:

> Works fine here in about playing back ".mov" and "mp4" files in 
> rtsp/http streaming mode. (mp3 untested).


From vokey at uleth.ca  Sun Feb  6 21:50:49 2005
From: vokey at uleth.ca (Dr.John R.Vokey)
Date: Sun, 6 Feb 2005 19:50:49 -0700
Subject: Metal anomalies
Message-ID: <8ff1845942c81cfa3f81804210ea6a45@uleth.ca>

A minor detail no doubt, but setting the metal property to true (in OS 
X) does *not* correctly emulate the metal windows in OS X.  As with all 
other windows RR, only the (now no longer demarcated) title bar (and 
the extreme outside edges of the window) can be clicked on to drag the 
window.  In OS X, any metal part of the window can be used to drag.
--
John R. Vokey


--
John R. Vokey, PhD
Professor
B.E.R.G. - Behaviour and Evolution Research Group
Micro-Cognition Laboratory
Department of Psychology & Neuroscience
University of Lethbridge
Lethbridge, Alberta T1K 3M4
CANADA


From jacque at hyperactivesw.com  Sun Feb  6 22:14:26 2005
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Sun, 06 Feb 2005 21:14:26 -0600
Subject: Palette as a stack or sub-stack, and a mouseUp/mouseStillDown
 question
In-Reply-To: 
References: 
Message-ID: <4206DD12.70409@hyperactivesw.com>

On 2/6/05 6:53 PM, Silver, Jason wrote:

> Up until now, I've had a stack "Screen", which is simulating the screens
> of our company's would-be handset.  When I first was playing around in
> Revolution, the stack contained a display and lots of buttons, much like
> a usual mobile phone.  However, to simplify screen creation, I made the
> stack "Screen" only 240x320 (the size of  the actual screen), so it
> would be easy to place icons and fields in exactly the same position as
> they would be on the real phone.  I thought that I would control the
> screen with particular keyboard presses (e.g. "S" for the Send key, "E"
> for the end key, etc.)

I did exactly this same kind of prototyping for a tractor dashboard for 
John Deere Company. Rev works just great for this. (As an aside: I was 
naive about tractors. When I thought of a tractor, I thought, you know, 
gearshift, a clutch, maybe a lever to raise a lift in the back. But no, 
today's tractors have control panels like spaceships; rows of controls 
and blinking lights in front of you, on the roof, at the sides. 
Back-mounted cameras. Computerized load sensing and wheel adjustment. 
It's Heinleinesque.)

Anyway, we too had both mouse-driven buttons and key press responses for 
everything on screen. When using keypresses, we made the buttons light 
up the same as when they were clicked on. It was good visual feedback.

> At this point, I think it's going to be easier to make buttons to
> navigate the interface, because we'd also like to be able to type into
> specific fields using the keyboard.  So, I've created a sub-stack called
> "Handset Buttons", and I've made it a palette.  Am I heading down the
> right road, or is it better to have the palette in a separate stack?

Substacks are better, it keeps all the parts together in the same file, 
and it is customary to store palettes that way.

If you want to avoid a palette, you can set things up so that keystrokes 
activate buttons when the cursor isn't in any field, but they do typing 
when a field is the target. Just examine "the selectedfield" in your 
script. If the selectedField is empty, then there is no field in use and 
you can send the keystroke on to a button instead.

> To give some context, once the user presses a button on the palette,
> such as "Send", the "Screen" stack will be jumping to a particular card
> (and this can change, depending on what field is highlighted on the
> current card).  Imagine highlighting an particular menu item on your
> mobile phone and pressing select; the next screen is entirely dependent
> on what line you're highlighting.  When I'm in fields on the "Screen"
> stack, how do I monitor which buttons are pressed on the "Handset
> Buttons" sub-stack?

Have you considered simulating the entire phone and putting the buttons 
on the bottom of the card? Then you can group them, set the group's 
backgroundbehavior to true, and every new card will share them. When you 
change cards, the bottom of the screen will remain the same, so it won't 
look like anything but the phone's "screen" has changed. Another plus 
with this technique is that you could use a custom window shape so your 
card window looks exactly like a phone floating on the monitor.

If you do decide to use a palette, then any button clicked on it will 
receive the mouseup message, and if it isn't handled, the message will 
go to the palette's card, stack, etc. Put mouseup handlers in the 
palette buttons, or in the palette card, and have them send messages to 
the main stack. There are a couple of ways to do that. You can use the 
"send" command to send a message to the mainstack:

  send "mycommand" to cd x of stack "myMain"

or you can set the defaultstack and just call handlers normally, like this:

set the defaultstack to "myMain"
doHandlerOne  -- this is a handler in the main stack


> The situation is further complicated by certain buttons I want to have
> on the palette that will do two different things, depending on whether
> you're short-pressing the button, or pressing and holding the button.
> It seems logical to have a long-press on the phone map to a
> "mouseStillDown" message in Revolution.  However, I want to make sure
> that when there's a long press of a button, that the "mouseUp" message
> is NOT sent afterwards.  So, the mouseUp of a button is the short-press,
> and the mouseStillDown is the long-press (that doesn't do the
> short-press as well).  Is this accomplish by message sending or passing?
> Or am I completely off-base?

I would use a mousedown handler to start a timer. Use a mouseup handler 
to stop the timer and compare the milliseconds from when the timer 
started. If the period of time is less than a certain amount, consider 
it a "short" press. Anything else would be a "long" press.

I wouldn't use mouseStillDown. I've found it somewhat unreliable, but 
even if it worked 100% of the time, the first "mouseStillDown" is sent 
so quickly after a "mousedown" that there is virtually no time 
difference. MouseStillDown then repeats over and over until the mouse 
goes up, so you'd have to figure out a timing mechanism anyway in order 
to figure out which presses were "long" ones. It's easier to just time 
every mouseDown-mouseUp pair.

> 
> Phew, I think that explains everything I'm dealing with at the moment.
> I wanted to thank all of you again for getting a newbie like myself off
> the ground with Revolution and the Transcript language.  Your help has
> proven invaluable!

We "pay forward" here. Someday we will get you back. ;)


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

From thomas.gutzmann at gutzmann.com  Sun Feb  6 22:29:35 2005
From: thomas.gutzmann at gutzmann.com (Thomas Gutzmann)
Date: Mon, 7 Feb 2005 04:29:35 +0100
Subject: Postgres
In-Reply-To: 
References: 
Message-ID: <689e773700ba23c7a82a69b7d272b206@gutzmann.com>

Hi Hershel,

I have sent you my configuration, startup file and environment off-list.

Hope it helps,

Thomas G.


Am 07.02.2005 um 01:12 schrieb Hershel Fisch:

> Hi all I'm trying to connect to  my postgres 8.0 server on a osx 10.3
>
>
> This is a copy from the pg_hpa.con file
>
>
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>
> # "local" is for Unix domain socket connections only
> local   all         all                               trust
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          trust
>
> host    all        all        192.168.1.101          trust  # this is 
> the
> line I added .
>
> # IPv6 local connections:
> host    all         all         ::1/128               trust
>
> The error " FATAL: missing or erroneous pg_hba.conf file."
> Thanks a mill.
> Ps I reinstalled postgres clean.
> Thanks , Hershel
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution


From lists at mangomultimedia.com  Sun Feb  6 22:54:23 2005
From: lists at mangomultimedia.com (Trevor DeVore)
Date: Sun, 6 Feb 2005 19:54:23 -0800
Subject: problem in libURL...
In-Reply-To: <6c0d4d227b6b4c903748074cbbcc67b4@mac.com>
References: <738283717a36b03d7cd3615fa7d99dfc@mac.com>
	<41FBE1E9.9020007@fourthworld.com> <2720311eb7d8d91893cc3298c504991c@mac.com>
	<41FBED11.5060806@fourthworld.com> <6c0d4d227b6b4c903748074cbbcc67b4@mac.com>
Message-ID: 

On Jan 29, 2005, at 12:14 PM, Andre Garzia wrote:
> I am at 2.5 release... after rebooting the machine libURL started to 
> behave better.... guess what there's a strange thing with XML-RPC lib, 
> the one that taps into revXML that taps into libURL anyway. For 
> example revXMLRPC_CreateRequest is a handler, but if you call it as if 
> it is a function by using parenthesis, it will not return an error, it 
> will return fine, but it will never work and the errors will be 
> related to libURL... heck.... no xmlrpcerr: something, but things like 
> "socket timeout" and stuff. I always thought that if you call a 
> handler using a function call it would never reach it's destination. 
> strange.... very strange...

Andre,

I've been on vacation so I am answering this a little late but if you 
are using the XML-RPC library you need to reset the httpHeaders after 
any call to revXMLRPC_Execute since it sets the headers but never 
empties them.  I have filed a bug report on it which you can see here:

http://support.runrev.com/bugdatabase/show_bug.cgi?id=2444

Getting the timeout error is consistent with the behavior I saw when 
working with XML-RPC.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com


From erikhans08 at yahoo.com  Sun Feb  6 23:22:33 2005
From: erikhans08 at yahoo.com (Erik Hansen)
Date: Sun, 6 Feb 2005 20:22:33 -0800 (PST)
Subject: Concise Variables
In-Reply-To: 
Message-ID: <20050207042233.4385.qmail@web61206.mail.yahoo.com>


--- Scott Rossi  wrote:

> I'm looking for a way to employ concise
> persistent variable names in a script.
> 
> Currently, I'm using the form:
> 
>   get the hilite of buttonPlay

if your buttons are in groups then use
the hilitedButtonName of group tGroup.
if you 
set the the hilitedButtonName of
group tGroup to button "xyz" then
the previously hilited button dehilites
automatically!

these hilited buttons in a group are
"persistant" unlike hilited lines in a list
field that do not hold the hilite well.

you probably know all this.

Erik Hansen

=====
erik at erikhansen.org    http://www.erikhansen.org


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

From katir at hindu.org  Sun Feb  6 23:24:53 2005
From: katir at hindu.org (Sivakatirswami)
Date: Sun, 6 Feb 2005 18:24:53 -1000
Subject: Printing Disaster on Windows
Message-ID: <372E59E8-78C0-11D9-B098-000A959D0AC6@hindu.org>

I have  recently been blessed with an extremely competent Windows 
user-beta tester of my Audio_Transcriber.rev app... I thought it was 
time to upgrade to include printing so that users don't have to paste 
their transcripts (simply plain text in one big field) into  MS Word to 
print out a draft for proofing... so with some trepidation I included 
the printing libraries in my Standalone splash screen "player" engine 
and then used this plain vanilla script

on printTranscript

# get header entries from the custom prop
# duration, subject, file name of audio etc...

   put the cHeader of me into tPrintTranscript

## clean up "geeky" delimiters for public viewing

   replace "|" with ": " in tPrintTranscript
   replace "\" with "" in tPrintTranscript
   put cr & cr after tPrintTranscript

# load main transcript
   put fld "Transcript" after tPrintTranscript

# print
   revShowPrintdialog, true,true
   revPrintText tPrintTranscript
end printTranscript

tested on Mac OSX with great results.. and feeling confident, released 
this to a few users...

My beta tester from Adelaide, Australia who says "I have programmed in 
every language known to man and taught nearly all of them... " writes:

======
  I have tested the printing from a PC. The results are quite strange.

	1.  	The first page prints beautifully
	2.  	Subsequent pages are a mess.
  This is the same whether I print from pages 1 - 6 , or print in 
reverse. The first page (i.e. page #1 of the transcript) is printed 
nicely, and pages #2 - 6 are a mess.

  I had a look at the PS it produces, but it has been so long since I 
read Postscript that I could not find the error.

  This is what appears on pages 2 - 6

	? 	Some text is missing - from the end of page 1 until a couple of 
pages from the end of the transcript.
	? 	The last 5 pages print the same material.
	? 	The text is heavily overprinted.? Each paragraph remains separate, 
but the whole paragraph is overprinted. What should be a paragraph of 
about 10 lines is reduced to 3 overprinted lines. 19 lines are reduced 
to 5 overprinted lines. And so forth.
  Hope this helps.

  PS. When I use a Post Script Viewer, the PS looks just fine, and 
actually I can print the file OK from the post script. So something is 
possibly happening within the Transcriber software to cause the 
problems.

=======

Any insights? do I have to include some externals with the windows app 
to get printing to work right on PC's?

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 mwieder at ahsoftware.net  Sun Feb  6 23:48:01 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Sun, 6 Feb 2005 20:48:01 -0800
Subject: Searchable archives?
In-Reply-To: <4206CAD6.9090900@napier.govt.nz>
References: 
	<4206CAD6.9090900@napier.govt.nz>
Message-ID: <15042628987.20050206204801@ahsoftware.net>

Glen-

Sunday, February 6, 2005, 5:56:38 PM, you wrote:

GB> Well seeing as you have mentioned the dreaded "count" word here I have
GB> counted the number of results returned when you ask for 10 and it seems
GB> to be 9 every time.  Are you returning 10 results and only displaying 9
GB> or returning 9 and displaying them correctly?

Now cut that out!

Actually, it's neither. I'm handing the arguments off to google and
parsing the results. I'll take a look through my parsing routines and
see if anything jumps out at me, but otherwise I'm just displaying
what I get back. Of course, the 10 is a maximum number, so if there
are only 9 hits that's all you'll get.

-- 
-Mark Wieder
 mwieder at ahsoftware.net


From mwieder at ahsoftware.net  Mon Feb  7 03:17:26 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 7 Feb 2005 00:17:26 -0800
Subject: Searchable archives?
In-Reply-To: <4206CAD6.9090900@napier.govt.nz>
References: 
	<4206CAD6.9090900@napier.govt.nz>
Message-ID: <15555194275.20050207001726@ahsoftware.net>

Glen-

Nope. It was me after all. Shoulda known. It's fixed and uploaded and
the last hit is no longer truncated.

-- 
-Mark Wieder
 mwieder at ahsoftware.net



From graham.samuel at wanadoo.fr  Mon Feb  7 07:29:04 2005
From: graham.samuel at wanadoo.fr (graham samuel)
Date: Mon, 7 Feb 2005 13:29:04 +0100
Subject: image contrast and brightness
Message-ID: <224a8127dea8ff228bedc565ba07e7c2@wanadoo.fr>

> On Sun, 6 Feb 2005 17:04:40 -0800, "Ben Fisher" 
>  wrote:

> I think someone was wondering how to do Contrast and Brightness 
> effects on images... Anyways I made a little stack to do this and 
> other effects. It's actually pretty fast without using any externals. 
> Please check it out and give me some feedback.
>
> User Name: Benjam
> Program: Basic Image Processor
>
> Right now the code may be hard to understand. I'll update it soon with 
> better comments.

Ben this could be interesting, but where is it? Maybe it was an 
attachment to your message, but these don't come through in the Digest 
version of the list (I'm surprised if they come through on any version, 
in fact).

TIA

Graham
----------------------------------------
Graham Samuel / The Living Fossil Co. / UK and France



From drphilippegiraudet at wanadoo.fr  Mon Feb  7 09:24:33 2005
From: drphilippegiraudet at wanadoo.fr (drphilippegiraudet)
Date: Mon, 7 Feb 2005 15:24:33 +0100
Subject: text file database, moving from Mac OsX to windows
Message-ID: 

Hello,
  i'm sorry if i might be unpolite, it is not a will but just may be 
unexperience, i use to be lonesome!
so if I say or do something wrong, please tell me, teach me.

Well this is my problem:
i'm a french radiologist, and i develop under hypercard since 1989.
recently i switched to Revolution (what a wonder!) a began to develop a 
stack, designed to be a professionnal rendez vous planner.
The deal was to make a multi-User data base, text based with a single 
card stack front user interface.
Now it is OK under Mac OSX for single User, and i believe for multi 
Users also, but it is diificult to test with a single computer.
so I compiled for windows to begin the tests, single user before multi 
users.
After minor corrections there was no problem to run under windows OS, 
but there I encountered a real surprise: the immediate corruption of 
the text file
by the Windows interface, probably because of writing file at the wrong 
place.
At least the inscriptions in the text file are not same as under 
MacOSX, because in one case it works correctly and in the other it is 
awful !!!
Is there a different way to count the place of the first char on one 
platform or other?
Is there a difference in the length of a chain (for instance one 
platform count the returns and the other not?)
I don't understand!
if someone knows about that problem, please give me a hand, because i'm 
a bit bothered about it now!
if someone wants to see the stack, no problem, i give it, it was a 
funny work and runs pretty well under Mac (however i have to say that 
it is very specific to our organisation)

before all i thank you for your help
Philippe Giraudet



From klaus at major-k.de  Mon Feb  7 09:41:30 2005
From: klaus at major-k.de (Klaus Major)
Date: Mon, 7 Feb 2005 15:41:30 +0100
Subject: text file database, moving from Mac OsX to windows
In-Reply-To: 
References: 
Message-ID: <77e375264a513fbd6b0483996c602275@major-k.de>

Bonjour Phillipe,

> Hello,
>  i'm sorry if i might be unpolite, it is not a will but just may be 
> unexperience, i use to be lonesome!
> so if I say or do something wrong, please tell me, teach me.
>
> Well this is my problem:
> i'm a french radiologist, and i develop under hypercard since 1989.
> recently i switched to Revolution (what a wonder!) a began to develop 
> a stack, designed to be a professionnal rendez vous planner.
> The deal was to make a multi-User data base, text based with a single 
> card stack front user interface.
> Now it is OK under Mac OSX for single User, and i believe for multi 
> Users also, but it is diificult to test with a single computer.
> so I compiled for windows to begin the tests, single user before multi 
> users.
> After minor corrections there was no problem to run under windows OS, 
> but there I encountered a real surprise: the immediate corruption of 
> the text file
> by the Windows interface, probably because of writing file at the 
> wrong place.
> At least the inscriptions in the text file are not same as under 
> MacOSX, because in one case it works correctly and in the other it is 
> awful !!!
> Is there a different way to count the place of the first char on one 
> platform or other?
> Is there a difference in the length of a chain (for instance one 
> platform count the returns and the other not?)
> I don't understand!
> if someone knows about that problem, please give me a hand, because 
> i'm a bit bothered about it now!
> if someone wants to see the stack, no problem, i give it, it was a 
> funny work and runs pretty well under Mac (however i have to say that 
> it is very specific to our organisation)

welcome to the wonderful world of crossplatform development :-)

There is a difference between mac and win in the way text (strings) are 
encoded,
which is especially important in a language with umlauts and accents 
like french!

I guess the text is created on a mac and "only" displayed on windows, 
right?

In that case you would have to convert the text from mac to ISO 
encoding to display it correctly
on windows...

I do something like this, since i also create text on my mac, but will 
display it on windows, too...

I use this function to convert "mac" text for each according platform:

function mac_or_win tText
   if the platform contains "Mac" then
     return tText
     ## we are on a mac an can display the text without having to convert
   else
      return MacToIso(tText)
      ## we are on win or *nix and so need to tranlate from Mac to ISO 
encoding!
   end if
end mac_or_win


And then i use it like:
...
put mac_or_win(line 1 to 3 of fld "mactext") into fld "display"
...


Hope that helps.

> before all i thank you for your help
> Philippe Giraudet

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de


From graham.samuel at wanadoo.fr  Mon Feb  7 09:46:28 2005
From: graham.samuel at wanadoo.fr (graham samuel)
Date: Mon, 7 Feb 2005 15:46:28 +0100
Subject: OT: Network Hell
Message-ID: 

Folks, I know this is OT, but I was emboldened by the positive answers 
Sivakatirswami got to his "Mentoring Mac" question.

I am totally fed up with my lack of understanding of TCP/IP networking 
at more or less any level above the purely physical. I am surrounded by 
the wretched things - I  have small LANs in two countries, cable and 
ADSL modems, WiFi access points, you name it. I know what an IP address 
is and I vaguely understand what DNSs do - but the mass of other info 
that one needs to successfully configure even the smallest network is 
just a jumble to me, and the alphabet soup of networking acronyms is 
just indigestible murk. Sometimes I get things working but I hardly 
ever know how I did it. I dread the advice on Windows XP Home Edition 
('Home Edition' - doesn't the very name imply that one is working on 
one's own?) to consult your network administrator - and even Mac OSX 
says things like this nowadays. I ain't got no stinking administrator, 
just me.

Can anyone suggest a way out of this mess? I am quite willing to read a 
lot of material but the kind of starting point I want doesn't seem to 
exist.

TIA

Graham
----------------------------------------
Graham Samuel / The Living Fossil Co. / UK and France



From fde101 at fjrhome.net  Mon Feb  7 09:52:23 2005
From: fde101 at fjrhome.net (Frank D. Engel, Jr.)
Date: Mon, 7 Feb 2005 09:52:23 -0500
Subject: Ultra Beginner Question/Request
In-Reply-To: <4203F633.3070406@crcom.net>
References: <4203F633.3070406@crcom.net>
Message-ID: <6bf35fb463b57266bddb4a9a6562d3c7@fjrhome.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I agree with prior comments that you should probably bite off a smaller 
chunk of the program first (do simpler related projects in order to 
become familiar with Rev before trying to tackle a larger project like 
this), but in the meantime here are some pointers to help direct you in 
what you will want to research during that time:

On Feb 4, 2005, at 5:24 PM, Len Morgan wrote:

> I have no doubt this is the right place to at least get started! The 
> project I'm trying to convert is large but I think it is also typical 
> of a lot of moderately complex application so I hope others can 
> benefit from this discussion. The program has a database on the 
> backend

You can do this in Rev as well, using the RevDB external (included with 
Rev and automatically available).  Numerous database engines are 
supported as back ends; assuming you have some basic familiarity with 
SQL.  I recommend PostgreSQL if you are not already using a compatible 
database server (in which case, stick with what you know for now if it 
is working for you).

> and is used to manage (private) prisons. The GUI consists of a menu at 
> the top of the screen, a toolbar that includes a combobox to

The menu should be created almost first in your project, as it can 
throw off your interface if you try to add it later.  Even if you do 
not include every menu and item right away, if you are going to have a 
menu in any particular stack, create one right away, even if it is just 
a placeholder at first.  You can use the Menu Builder (in the Tools 
menu).

Rev does not have native support for Toolbars, but you can rather 
easily "fake" one just by placing controls appropriately and managing 
window resizes as needed.  Interface layout becomes *much* simpler if 
you can use a fixed-size stack window; if you want it to be resizable, 
spend some time with some prototype interfaces learning to use the 
Geometry Manager (the Geometry pane of the Properties palette for 
various kinds of objects) as there are some hidden gotchas that are not 
always obvious when you just get started.

> select what the user wants to do, a "current inmate" frame which is 
> only a little taller than the text and labels that are on it, a large
> "main area" where different things go depending on what you select 
> from the combobox, and at the bottom a status/progess bar. In a

Again, the status/progress bar is easily faked.  As for the two frames, 
you really have two different options, and what is best will depend on 
the specific program and the approach you are more comfortable with.

As for the "current inmate" frame: is there exactly one version of this 
frame, or are there multiple possible interfaces that could be placed 
here?  If just one, I would suggest this approach:

1. Design the "current inmate" frame and place the controls and other 
objects where they should be.
2. Group all objects in the "current inmate" frame and mark the group 
to act like a background.

Now that group will automatically be added to each newly created card 
in your stack, and will be shared by those cards.  You can create a 
separate card for each of the possible interfaces in the other frame, 
and switch cards to switch between them.  Since the grouped controls 
are shared by all of those cards, they will not change from one card to 
the next.

Warning:  Note that buttons have a "shared highlight" property, and 
fields have a "shared text" property.  If the "shared text" property of 
a field is turned ON, then the content of the field will be the same 
regardless of what card you look at.  If that property is turned OFF, 
the content will depend on which card you are on, even though the field 
itself is part of a single group being shared by multiple cards.  
Similarly for shared highlight, which determines (for example) whether 
or not a checkbox is checked.


The other approach is to use a single card for the entire interface.  
Now you group the controls for each of the interfaces in the other 
pane, hide all of the groups except the one you want to be visible, and 
show the one that should be visible.  This allows multiple panes to 
have multiple interfaces, and allows them to be changed independently 
of each other.

Note that is *is* possible to do multiple cards for one of the panes 
and use multiple background groups for the other pane, hiding/showing 
the background group as needed.


Another warning: a group marked to act as a background is inserted just 
before the card in the message path.  In other words, if a handler for 
a message sent to a control is not found in the script of that control, 
then even if that control is not in the group, if the group's script 
contains a handler for that message, it will intercept the message 
before the card receives it.  I recommend not assigning a script to a 
group if you can avoid it, at least until you realize the implications 
of this (and have some experience with Rev and its message path), 
particularly when dealing with background groups.

> prior version of this program, the large main area had a tabset 
> control to was used to select between the various tasks that a user 
> wanted to do. As the program grew, the tabset had to be replaced with 
> the combobox on the toolbar because it gave me an (almost) unlimited 
> number of tasks (RR equivalent to cards I think). The tab control I 
> had could not scroll if it got too big (which it did). The tool bar 
> also has 4 buttons on it that are used by all of the tasks in the work 
> area ("Add", "Delete", "Save" and "Cancel Changes"). What routines are 
> called when one of these buttons are pushed depends on which task 
> screen you're looking at when it is pressed. This sounds a little 
> confusing but once you teach a user that pressing the "+" button adds 
> one of whatever you're looking at (i.e., inmate,

If you go with the multiple cards-shared group approach, these buttons 
could be in a shared group and each have a script which sends a custom 
message to itself.  Let the message pass through to the card script, 
where it would be handled for the specific interface you are looking 
at.  So for example, in the "+" button script:

on mouseUp
   send addWhatever to me
end mouseUp


Then in each of the cards, something like this (say, a list of inmates):

on addWhatever
   disable button "+"
   go to card "add an inmate"
end addWhatever

Now in the "add an inmate" card, once the inmate has been added or the 
action cancelled:

on mouseUp  -- in a "Save"/"OK" or "Cancel" button
   -- perform needed database actions, if any
   enable button "+"
   go to card "inmate list"
end mouseUp


> charge, program review)), they pick it up pretty quick. Now, for an 
> additional wrinkle, in a prison environment (or really any other 
> reasonably large organization), you need to have different rights for 
> different people. In my program's case, no one but medical staff can 
> look at an inmate's medical information, and so on. When the program 
> is first started up, I get a username and password, and after 
> authenticating them against my database, I get a "profile" that has 
> been assigned to that username (from the same database). My tcl code 
> has a script for each profile (medical clerk, mailroom, records clerk, 
> case manager, etc) that loads ("sources" in Tcl lingo) the scripts for 
> each of the tasks they are allowed to preform along with certain 
> permissions on those tasks. By that I mean, everyone is allowed to 
> look at a certain screen of inmate information but only records clerks 
> are allowed to change it. There is also a menu file

I like to handle these things by disabling buttons and fields as 
appropriate from within the login handler.  So after authenticating 
with the database and figuring out what the current user can do, I 
disable any buttons and fields that I know ahead of time will apply 
everywhere, then I use custom properties of the stack to track what a 
user may do.  Then for things which need to be adjusted dynamically, I 
handle enable/disable in a preOpenCard handler, or on-the-fly as 
various events take place which could change that, by using those 
custom properties to determine who may do what.

> that creates the top level menu structure also based on the user's 
> profile. Again, there are a set of menus that everyone gets and then 
> there are different ones added depending on the profile selected. Ok, 
> that's how I'm doing it now in Tcl/Tk. I'm not expecting anyone to 
> build this for me but I'd like a little direction on how to attack 
> this in RR. Can I get different cards (or would I use stacks) 
> depending on the profile or would I have a stack for each profile that 
> had the cards necessary on it already? If it's the latter, how would I 
> handle something like the "Search" task that everyone has but changes 
> from time to time? Would I have to make the changes on every profile 
> stack or can I say "use the Search card from ... on this stack?" I 
> think I've figured out that my toolbar, "current inmate" and statusbar 
> will endup being "groups" that I will just include on every card so 
> that it looks like only the main work area is changing when in fact (I 
> think) the whole screen is changing. I also think I've figured out 
> that I'll need a stack to handle all of the database needs that I'll 
> pass queries to and retrieve answers from. So there you have it. I'm 
> staring at a blank mainstack and

Yep, use the groups like that and enable/disable as I mentioned above.  
Use the same cards for each profile, then just enable or disable 
buttons and fields depending on the access level of the user.  You can 
also show or hide fields and buttons if that is more useful, but I 
would advise you to keep that to a minimum if your objective is 
security control.  Much better to disable controls than to hide them.  
Use the database to handle your search (with SQL SELECT statements).

If you want to use the "built-in" card-based "database", keep that 
database in a separate stack (or stacks), NOT substacks, so that they 
can be saved as needed, even if you build a standalone.  Alternative:  
Use a single external mainstack (NOT a substack of your logic stack) to 
contain multiple substacks, each of those substacks being a "table" in 
your database.  Then you can save/load the whole thing as a unit.  I 
still recommend an SQL engine for this kind of project, however, as it 
gives you multiuser support almost "for free" and it will be *much* 
faster at searching, and make it easier to enforce tighter security.

> don't even know where to begin the design process. How do I partition 
> things so that I'm doing things the "Revolution way." Thanks in 
> advance for any pointers you might be able to offer. Len Morgan
> From: Richard Gaskin 
>
> You may have come to the right place.  You can consider this list a 
> working group for your personal success with learning Rev.  :)
> Tell us a bit about this Tcl project and perhaps some of the folks 
> here will chime in with suggestions on how to get started.
>
> One of the tough things with learning a proprietary language is that 
> there are fewer third-party resources avaiable for learning.
>
> But one of the upsides with Rev is that this mailing list is chock 
> full o' third parties ready and willing to offer personal assistance.
>
>
> Len Morgan wrote:
>
>>> Hello All,
>>> I've been a programmer since the mid 70's.  I've used and/or 
>>> tinkered with all of the "normal" procedural languages (C, Tcl, 
>>> BASIC) and even some "ab"normal ones like Forth.  I consider myself 
>>> a pretty good programmer and have been told I'm fairly bright in 
>>> general.  I've had Revolution for a couple of weeks now, and I just 
>>> can't seem to get my head around the "methodology" of using 
>>> Revolution.
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCB4Co7aqtWrR9cZoRAny0AKCF2DwhapUbwBWRSP25ghv4bW/vqgCfcoQV
Drxx8VVDQQv7T2g/U03mqmc=
=n3Sg
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


From fde101 at fjrhome.net  Mon Feb  7 10:07:36 2005
From: fde101 at fjrhome.net (Frank D. Engel, Jr.)
Date: Mon, 7 Feb 2005 10:07:36 -0500
Subject: Arrays
In-Reply-To: 
References: 
Message-ID: <9d70ae811d656db4a23641ff4eae12e8@fjrhome.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can't use the blendLevel property instead?

On Feb 4, 2005, at 2:19 PM, Ben Fisher wrote:

> Thanks Phil and Mark.
>
> It seems like Rev is really lacking documentation about its array and 
> matrix capabilities. I like the idea of having flexible arrays, I.e. 
> myArray["key"]. Is there a page in the docs that specifically outlines 
> what array features there are? (Whenever I try to search for something 
> in the docs, the spinning-beach ball cursor appears but Rev crashes.) 
> I'm having problems using the combine and split commands; for some 
> reason the data never is processed quite correctly.
>
> I'm working on image processing. Let's say I wanted to lighten every 
> shade in the image by 2. The way I do this now is by getting the 
> chartonum of each char in the imagedata (except for every fourth char 
> which is always 0), adding 2, getting the numtochar, and putting this 
> after a variable. Then I set the imagedata of the image to that 
> variable. It works great, but it's a little slow. Too slow for a 
> smooth animation which is what I'm trying to accomplish.
>
> Is there a way to directly add something to the imagedata in binary? 
> For example, adding 2 to all the red in an image in one step rather 
> than going through all the data manually. Or is converting 
> binary>decimal>binary necessary?
>
> -Ben
>
>
>> In fact, it isn't necessary to set the the customPropertySet if you
>> don't need to access elements of it directly. If you simply want to
>> store an array you can do this:
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCB4Q57aqtWrR9cZoRAtmbAJ4+Aumt6cUv1wLT8waSIRMMdzvLuQCfYGvq
FyOpZk98PLJBwndURaTkfAc=
=bQcv
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


From hershrev at realtorsgroup.us  Mon Feb  7 10:15:06 2005
From: hershrev at realtorsgroup.us (Hershel Fisch)
Date: Mon, 07 Feb 2005 10:15:06 -0500
Subject: Postgres
In-Reply-To: <689e773700ba23c7a82a69b7d272b206@gutzmann.com>
Message-ID: 

On 2/6/05 10:29 PM, "Thomas Gutzmann"  wrote:
Thanks a million, I just the 255.255.255.255 as I saw it in the file you
send me and it connected.
Thanks again, Hershel Fisch

> Hi Hershel,
> 
> I have sent you my configuration, startup file and environment off-list.
> 
> Hope it helps,
> 
> Thomas G.
> 
> 
> Am 07.02.2005 um 01:12 schrieb Hershel Fisch:
> 
>> Hi all I'm trying to connect to  my postgres 8.0 server on a osx 10.3
>> 
>> 
>> This is a copy from the pg_hpa.con file
>> 
>> 
>> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>> 
>> # "local" is for Unix domain socket connections only
>> local   all         all                               trust
>> # IPv4 local connections:
>> host    all         all         127.0.0.1/32          trust
>> 
>> host    all        all        192.168.1.101          trust  # this is
>> the
>> line I added .
>> 
>> # IPv6 local connections:
>> host    all         all         ::1/128               trust
>> 
>> The error " FATAL: missing or erroneous pg_hba.conf file."
>> Thanks a mill.
>> Ps I reinstalled postgres clean.
>> Thanks , Hershel
>> 
>> _______________________________________________
>> 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 fde101 at fjrhome.net  Mon Feb  7 10:22:20 2005
From: fde101 at fjrhome.net (Frank D. Engel, Jr.)
Date: Mon, 7 Feb 2005 10:22:20 -0500
Subject: OT: Mentoring Mac NewBies
In-Reply-To: <2a2259f31292dd3893938e6830b60c60@danshafer.com>
References: 
	
	<2a2259f31292dd3893938e6830b60c60@danshafer.com>
Message-ID: <8e4bc06dd57f861f88e4bb14953dcfc4@fjrhome.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It's a shame that "Macintosh Basics" doesn't seem to be around anymore. 
  That was a *very* well-done, very simple animated tutorial on how to 
use a Macintosh.  It included training for mouse and keyboard skills, 
working with the Macintosh interface and the finder, application 
basics, and so forth.  I think they used to include it with Macs -- on 
a 3.5" floppy, of course.  Way out of date by now, but it was likely 
one of the best "intro to computers" tutorials I have ever seen.

I found a website about that program here:

http://www.q-design.com/examples/Instructional/MacBasics.html


Meanwhile, possibly not what you are looking for, but:

http://www.ku.edu.tr/text/help/mac/system_basic.html
http://www.help2go.com/article71.html
http://mmlweb.rutgers.edu/music127/basic/mac_basics.htm
http://www.asisna.com/eagles/mac/macbasics.html



Ya' know, this would be a fun project to do in Rev, actually.  Hide the 
menubar and dock, and do a full-screen kiosk type of thing (with an 
'exit' button, of course), with multiple tutorial topics and so forth, 
as a kind of modernized "Macintosh Basics" tutorial.  A similar program 
could be done for Windows, and much of the content could be re-used 
with some modified graphics, since the basic mouse and keyboard 
techniques (at least) are essentially the same...


If I ever get the free time again (Ha!) maybe I'll try something like 
this, if no one beats me to it.


On Feb 6, 2005, at 1:49 AM, Dan Shafer wrote:

> I can second the recommendation of Pogue's book as the mentor of two 
> people very much like the one you describe.
>
> Dan
>
> On Feb 5, 2005, at 5:33 PM, JOHN RUSSELL wrote:
>
>> I think David Pogue's Mac OS X: Panther Edition, the Missing Manual 
>> (O'Reilly) might be a help to you.  It's over 700 pages in length, 
>> but quoting from the back cover, here's how it starts:
>> "Getting started: The early chapters demystify the Dock, windows, and 
>> the unfamilar Mac OS X folder structure - - an ideal introduction."
>> Here is a partial list of early major topics from the table of 
>> contents:
>> Folders and Windows
>> Organizing Your Stuff
>> Dock, Desktop, and Toolbar
>> etc., etc....probably much more than you want to know.
>> This book is available at Amazon, Barnes and Noble and any online 
>> tech bookstore, as well.
>>
>>
>>> If she wanted to, on her own, "get up to speed," are their any 
>>> learning resources on the web to get someone who doesn't even know 
>>> what you mean when you say "The Finder" up to a new level of 
>>> computer fluency... I'm not talking about making this level of 
>>> newbie a programmer, just conversant in how to use the machine 
>>> works, navigate, etc.
>>> I'm familiar with the Mac's own "For New Computer Users" in the 
>>> help... but am looking for other similar resources as well.
>>
>> _______________________________________________
>> 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
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCB4et7aqtWrR9cZoRAi6zAKCCCqWHvTq+qyc82Y3aarUs+Ark4QCdFYKM
EE0j7tGYrwOnRpK56RF/eR0=
=fsbp
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


From fde101 at fjrhome.net  Mon Feb  7 10:30:20 2005
From: fde101 at fjrhome.net (Frank D. Engel, Jr.)
Date: Mon, 7 Feb 2005 10:30:20 -0500
Subject: OT: Network Hell
In-Reply-To: 
References: 
Message-ID: <1a3c25369f023868d98a74892c8fb048@fjrhome.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://www.wown.com/j_helmig/tcpip.htm
http://www.tech-pro.net/intro_tcp.html
http://www.dummies.com/WileyCDA/DummiesArticle/id-1671.html

On Feb 7, 2005, at 9:46 AM, graham samuel wrote:

> Folks, I know this is OT, but I was emboldened by the positive answers 
> Sivakatirswami got to his "Mentoring Mac" question.
>
> I am totally fed up with my lack of understanding of TCP/IP networking 
> at more or less any level above the purely physical. I am surrounded 
> by the wretched things - I  have small LANs in two countries, cable 
> and ADSL modems, WiFi access points, you name it. I know what an IP 
> address is and I vaguely understand what DNSs do - but the mass of 
> other info that one needs to successfully configure even the smallest 
> network is just a jumble to me, and the alphabet soup of networking 
> acronyms is just indigestible murk. Sometimes I get things working but 
> I hardly ever know how I did it. I dread the advice on Windows XP Home 
> Edition ('Home Edition' - doesn't the very name imply that one is 
> working on one's own?) to consult your network administrator - and 
> even Mac OSX says things like this nowadays. I ain't got no stinking 
> administrator, just me.
>
> Can anyone suggest a way out of this mess? I am quite willing to read 
> a lot of material but the kind of starting point I want doesn't seem 
> to exist.
>
> TIA
>
> Graham
> ----------------------------------------
> Graham Samuel / The Living Fossil Co. / UK and France
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCB4mN7aqtWrR9cZoRAhOsAJwOw/6XpH+D2srqqiYuMsF/GEbcsACgjSFt
bryMeduvtXIA9+TBpy1hT9o=
=dEQ7
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


From fde101 at fjrhome.net  Mon Feb  7 10:40:31 2005
From: fde101 at fjrhome.net (Frank D. Engel, Jr.)
Date: Mon, 7 Feb 2005 10:40:31 -0500
Subject: image contrast and brightness
In-Reply-To: <224a8127dea8ff228bedc565ba07e7c2@wanadoo.fr>
References: <224a8127dea8ff228bedc565ba07e7c2@wanadoo.fr>
Message-ID: 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That looks like a ref to a RevOnline user space.  If you are not 
running 2.5, download the free Dreamcard Player to gain access to the 
user spaces; if you are running 2.5. click the "Rev Online" button on 
the toolbar.

On Feb 7, 2005, at 7:29 AM, graham samuel wrote:

>> On Sun, 6 Feb 2005 17:04:40 -0800, "Ben Fisher" 
>>  wrote:
>
>> I think someone was wondering how to do Contrast and Brightness 
>> effects on images... Anyways I made a little stack to do this and 
>> other effects. It's actually pretty fast without using any externals. 
>> Please check it out and give me some feedback.
>>
>> User Name: Benjam
>> Program: Basic Image Processor
>>
>> Right now the code may be hard to understand. I'll update it soon 
>> with better comments.
>
> Ben this could be interesting, but where is it? Maybe it was an 
> attachment to your message, but these don't come through in the Digest 
> version of the list (I'm surprised if they come through on any 
> version, in fact).
>
> TIA
>
> Graham
> ----------------------------------------
> Graham Samuel / The Living Fossil Co. / UK and France
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCB4vw7aqtWrR9cZoRAtkRAJ0ZseN+WwEPdI8lHVISMWOqgxxYHgCdH5TR
tWMCBj/YzzBdh1ZjpP3WrWI=
=8Hf8
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


From benr_mc at cogapp.com  Mon Feb  7 10:44:52 2005
From: benr_mc at cogapp.com (Ben Rubinstein)
Date: Mon, 07 Feb 2005 15:44:52 +0000
Subject: MP3 without QuickTime on Windows
Message-ID: 

On Sep 19, 2004, at 13:18:38 ETD, Klaus Major wrote:

> mp3 can be played with or without* quicktime in a player object.
> WMA are not supported right out of the box...
>
> *on Windows

In my trivial test (set the filename of a player to the path to the mp3
file; start the player) this isn't working, with a standalone on a machine
running Windows XPembedded, without QuickTime or Windows Media Player.

Also possibly worth noting, on the XPe machine I can play wav files embedded
in the standalone as an audio clip (but not external wav files through a
player).  

I have limited opportunities to investigate on the target platform (and
we're extremely tight on space on the boot disk).

Do I need to do something special in the way I build the standalone?  Or is
it that on Windows you don't need QuickTime - but only providing you do have
Windows Media?  I have tried running the same test on a PC running a
standard installation of XP, from which I'd removed QuickTime (fully, as far
as I can tell) and indeed was able to play an MP3 file, with a gratifying
display glitch where the controller/player should have been.

So what counts as the minimum installation to play MP3 in this way?  Or in
fact any external audio file?  (Is there another way to play external audio
files without using a player object?)

Any enlightenment gratefully received,

  Ben Rubinstein               |  Email: benr_mc at cogapp.com
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com        |  Fax  : +44 (0)1273-728866




From harrison at all-auctions.com  Mon Feb  7 10:53:55 2005
From: harrison at all-auctions.com (Rick Harrison)
Date: Mon, 7 Feb 2005 10:53:55 -0500
Subject: Success with Sending email without a SMTP Server!!!!
In-Reply-To: 
References: <96b060e0d4d3367aa5be7c32939e999a@mac.com>
	<41FD465F.3030109@fourthworld.com> <685510677ac6a1457f660323cebdcad0@kagi.com>
	
Message-ID: 


On Jan 30, 2005, at 4:13 PM, Andre Garzia wrote:

>
> ...
>
> Well folks the stack is available under my username "soapdog" at 
> revOnline or thru http://www.soapdog.org/rev/smtpraw.rev   sorry I put 
> a space in the file name....
>
> Cheers
> andre
>
>

Andre,

I clicked on the link for this and it listed the raw text only.  It was 
not a downloadable stack.
I tried copying and pasting the code into a stack script and there were 
a bunch of garbage
characters which appeared in the front of many of the lines of code.

Do you have this as a real downloadable stack that I can just 
decompress with Stuffit Expander?

I'm very interested in the idea of sending email directly from Rev!

Thanks for your hard work on this.  It is quite impressive!

Rick Harrison



From stephenREVOLUTION at barncard.Ccom  Fri Feb  4 16:09:26 2005
From: stephenREVOLUTION at barncard.Ccom (Stephen Barncard)
Date: Fri, 4 Feb 2005 13:09:26 -0800
Subject: Ultra Beginner Question/Request
Message-ID: 

Len,

in answer to question 1:

The 'methodology' is surely different than procedural languages.
Rev, like all modern GUI based products rely on 'events' rather than 
the command line (where command ---> return) was the only user event.

to Question 3: The basic concepts of events and hierarchy are left to 
tutorials which others will contribute, I'm sure.

In answer to the second question, here's some things I think about 
when starting a project in Rev:

The best way to construct (or reconstruct) a program with any tool is 
to immediately put yourself in the position of the USER

1. What is the purpose of the app?
2. what is the input data?
3. What is the desired output data?
4. What are the conventions and symbols best recognized by the potential users?
5. What is the best methods for the operator (user) to process input 
to output using methods provided in the programming platform?

Since the operator/user is the slowest component of the man-machine 
link, it would make sense to put a lot of time into the user 
interface to make as easy for the human, in a hurry and possibly 
without training, to figure it out. Runtime Revolution allows us to 
concentrate on the UI - and gives a toolkit of functions to make the 
coding part much easier.

So what many of us x-talkers do is backwards from traditional 
programming - we design the user interface first and get right down 
to making little parts of the 'idea' work immediately while using the 
UI as the actual test bed.

Look at the input and output of your Tcl/Tk routines and see if 
there's not a 2 or 3 line equivalent that can be easily written in 
Transcript. Also you will find complete packaged functions built in 
Rev that will replace thousands of lines of code..just look at the 
higher level calls in your legacy code.

You could even name the handlers with names to correspond with the 
subroutines in Tcl/Tk. Create and test some of your subroutines that 
do the actual mojo of your app, then take a serious look at the user 
interface, for which you now have many modules to use that have been 
designed to work across platform boundaries.

You'll find that you end up developing the UI and the working code at 
the same time, one directly related to the other. The message 
hierarchy makes subroutines logical and reusable over and over. You 
might find it faster to replace whole sections of the original app in 
Transcript rather than trying to fit the old individual routines.

This cross-platform compatibility thing, by the way, has been 
promised by many over the years but only REV has achieved GUI 
translation to this level.

With the recent addition of the Internet and SQL/Database functions, 
I feel there are few things you can't do in Rev. The wave of clever 
and useful apps now appearing that were done in Rev are now showing 
up.

stephen barncard




>Hello All,
>I consider myself a pretty good programmer and have been told I'm 
>fairly bright in general.  I've had Revolution for a couple of weeks 
>now, and I just can't seem to get my head around the "methodology" 
>of using Revolution.
>
>I'm not worried about command syntax or what controls are available. 
>My problem is how to go about DESIGNING a whole project.  I am 
>trying to convert a rather large application I have in Tcl/Tk to 
>Revolution and just can't seem to get started.
>
>...
>
>Len Morgan

From klaus at major-k.de  Mon Feb  7 11:42:23 2005
From: klaus at major-k.de (Klaus Major)
Date: Mon, 7 Feb 2005 17:42:23 +0100
Subject: MP3 without QuickTime on Windows
In-Reply-To: 
References: 
Message-ID: <4639a308664868849d3a1bcd47f23c65@major-k.de>

Hi Ben,

> On Sep 19, 2004, at 13:18:38 ETD, Klaus Major wrote:
>
>> mp3 can be played with or without* quicktime in a player object.
>> WMA are not supported right out of the box...
>>
>> *on Windows
>
> In my trivial test (set the filename of a player to the path to the mp3
> file; start the player) this isn't working, with a standalone on a 
> machine
> running Windows XPembedded, without QuickTime or Windows Media Player.

"player" objects rely on QuickTime or Windwos Media!!!

> Also possibly worth noting, on the XPe machine I can play wav files 
> embedded
> in the standalone as an audio clip (but not external wav files through 
> a
> player).
>
> I have limited opportunities to investigate on the target platform (and
> we're extremely tight on space on the boot disk).
>
> Do I need to do something special in the way I build the standalone?  
> Or is
> it that on Windows you don't need QuickTime - but only providing you 
> do have
> Windows Media?

Yes, exactly!

You need at least ONE multimedia architecture on the target pc when 
using
"player" objects!

>  I have tried running the same test on a PC running a
> standard installation of XP, from which I'd removed QuickTime (fully, 
> as far
> as I can tell) and indeed was able to play an MP3 file, with a 
> gratifying
> display glitch where the controller/player should have been.

Controller are a QuickTime ONLY feature!
We are not using QuickTIme just for fun ;-)

> So what counts as the minimum installation to play MP3 in this way?  
> Or in
> fact any external audio file?

I won't sign this ;-, but WindowsMediaPlayer version  >= 6.5 should be 
the least requirement
to play MP3...

> (Is there another way to play external audio files without using a 
> player object?)

Only uncompressed AIF (and WAV files, but that does not look to be 
correct) and
(compressed) AU files can be played by "play ac xyz" without 
QuickTime/WindowsMedia...

QUOTE:
"(Player) ...that uses QT, which although much slower and more memory 
intensive can play
many more formats than the default play command which uses low-level 
sound routines
in Win32 and MacOS which don't support compression.

Posted 9/2/2002 by Scott Raney to the MetaCard List"

> Any enlightenment gratefully received,

Hope that helps...

This is just a rule of thumb and will not prevent you to TEST, TEST, 
TEST, TEST, TEST and TEST...

Since we're talking about WINDOWS, it will NOT "play for sure" ;-)

>   Ben Rubinstein               |  Email: benr_mc at cogapp.com
>   Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
>   http://www.cogapp.com        |  Fax  : +44 (0)1273-728866

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de


From scott at tactilemedia.com  Mon Feb  7 11:58:03 2005
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 07 Feb 2005 08:58:03 -0800
Subject: MP3 without QuickTime on Windows
In-Reply-To: 
Message-ID: 

Recently, Ben Rubinstein wrote:

> In my trivial test (set the filename of a player to the path to the mp3
> file; start the player) this isn't working, with a standalone on a machine
> running Windows XPembedded, without QuickTime or Windows Media Player.
> 
> Also possibly worth noting, on the XPe machine I can play wav files embedded
> in the standalone as an audio clip (but not external wav files through a
> player).  
> 
> I have limited opportunities to investigate on the target platform (and
> we're extremely tight on space on the boot disk).
> 
> Do I need to do something special in the way I build the standalone?  Or is
> it that on Windows you don't need QuickTime - but only providing you do have
> Windows Media?  I have tried running the same test on a PC running a
> standard installation of XP, from which I'd removed QuickTime (fully, as far
> as I can tell) and indeed was able to play an MP3 file, with a gratifying
> display glitch where the controller/player should have been.
> 
> So what counts as the minimum installation to play MP3 in this way?  Or in
> fact any external audio file?  (Is there another way to play external audio
> files without using a player object?)

You need to have *some* kind of multimedia support on the system, which is
usually Windows Media Player if not QuickTime.  The only other way you might
do it is to hand off playback to some other app that is capable of playing
MP3s.  But you may wind up with little to no control over playback and if
WMP is not on the system you may not have success at all.

The simple way to test if MP3s will work on the system is to double click an
MP3 file and see if it plays.  If it does, determine what app is playing it
and see if you can use the launch/open process or shell commands to handle
launching of the file in the app (again, you may not be able to have any
control over playback if you go this route).

As you discovered, Rev is natively capable of playing WAVs, AU and AIFF
files, but not MP3s.

In my experience, if you want to use a player in Rev, you really need to
have QT or WMP installed, but perhaps someone else knows differently.

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com


From 3mcgrath at adelphia.net  Mon Feb  7 12:06:09 2005
From: 3mcgrath at adelphia.net (Thomas McGrath III)
Date: Mon, 7 Feb 2005 12:06:09 -0500
Subject: OT: Network Hell
In-Reply-To: 
References: 
Message-ID: <0d5c9b5fe614b9b70c2d336aa9ba2b3e@adelphia.net>

Oh, how I hate that too. SInce I am the Admin and the one with the  
problem where do I go??? We'll I search the internet for helpful sites 
for 'dummy's'. But, my network has to be working before I can search 
the internet to get help. A catch 22.

I hope others can help you. I can relate.

Tom

On Feb 7, 2005, at 9:46 AM, graham samuel wrote:

> I dread the advice on Windows XP Home Edition ('Home Edition' - 
> doesn't the very name imply that one is working on one's own?) to 
> consult your network administrator - and even Mac OSX says things like 
> this nowadays. I ain't got no stinking administrator, just me.
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541


From BNZ2 at CDC.GOV  Mon Feb  7 12:28:53 2005
From: BNZ2 at CDC.GOV (Lynch, Jonathan)
Date: Mon, 7 Feb 2005 12:28:53 -0500
Subject: MP3 without QuickTime on Windows
Message-ID: <64878EF567131D4596246171F75FD4A90EC612@m-epo-1.epo.cdc.gov>

This is perhaps an ignorant question - but I never hesitate to embarrass
myself publicly...

If a multimedia developer was going to create a Rev based app, with
video, audio, etc... Is it truly necessary to depend on the user having
QT or WMP installed?  Would it be possible to store the entire QT
application as a compressed custom property in a stack. When the program
runs, it could look to see if QT is in the same folder as the program -
if it isn't, then it could uncompress QT, write it to an executable
file, and then use it as needed.

Would that work?


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott
Rossi
Sent: Monday, February 07, 2005 11:58 AM
To: How to use Revolution
Subject: Re: MP3 without QuickTime on Windows

Recently, Ben Rubinstein wrote:

> In my trivial test (set the filename of a player to the path to the
mp3
> file; start the player) this isn't working, with a standalone on a
machine
> running Windows XPembedded, without QuickTime or Windows Media Player.
> 
> Also possibly worth noting, on the XPe machine I can play wav files
embedded
> in the standalone as an audio clip (but not external wav files through
a
> player).  
> 
> I have limited opportunities to investigate on the target platform
(and
> we're extremely tight on space on the boot disk).
> 
> Do I need to do something special in the way I build the standalone?
Or is
> it that on Windows you don't need QuickTime - but only providing you
do have
> Windows Media?  I have tried running the same test on a PC running a
> standard installation of XP, from which I'd removed QuickTime (fully,
as far
> as I can tell) and indeed was able to play an MP3 file, with a
gratifying
> display glitch where the controller/player should have been.
> 
> So what counts as the minimum installation to play MP3 in this way?
Or in
> fact any external audio file?  (Is there another way to play external
audio
> files without using a player object?)

You need to have *some* kind of multimedia support on the system, which
is
usually Windows Media Player if not QuickTime.  The only other way you
might
do it is to hand off playback to some other app that is capable of
playing
MP3s.  But you may wind up with little to no control over playback and
if
WMP is not on the system you may not have success at all.

The simple way to test if MP3s will work on the system is to double
click an
MP3 file and see if it plays.  If it does, determine what app is playing
it
and see if you can use the launch/open process or shell commands to
handle
launching of the file in the app (again, you may not be able to have any
control over playback if you go this route).

As you discovered, Rev is natively capable of playing WAVs, AU and AIFF
files, but not MP3s.

In my experience, if you want to use a player in Rev, you really need to
have QT or WMP installed, but perhaps someone else knows differently.

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 fde101 at fjrhome.net  Mon Feb  7 12:46:50 2005
From: fde101 at fjrhome.net (Frank D. Engel, Jr.)
Date: Mon, 7 Feb 2005 12:46:50 -0500
Subject: MP3 without QuickTime on Windows
In-Reply-To: <64878EF567131D4596246171F75FD4A90EC612@m-epo-1.epo.cdc.gov>
References: <64878EF567131D4596246171F75FD4A90EC612@m-epo-1.epo.cdc.gov>
Message-ID: <83d8bd559b2d536890c8adad7d62ff6f@fjrhome.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

QuickTime is not an application.  It is a framework and a set of 
drivers which needs to run as part of the operating system in order to 
function properly.

A better approach would be to obtain the needed permission to bundle 
the QuickTime installer with your app.  Perhaps that installer could be 
stored in the custom property?  Depends on your license from Apple.

On Feb 7, 2005, at 12:28 PM, Lynch, Jonathan wrote:

> QT or WMP installed?  Would it be possible to store the entire QT
> application as a compressed custom property in a stack. When the 
> program

- -----------------------------------------------------------
Frank D. Engel, Jr.  

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCB6mL7aqtWrR9cZoRAlaPAJwJlxWxqDK8a/vmwO+mzVfk1cs00wCffmrT
PxCkiBai93lkn3vVrsn9RKY=
=mNhc
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


From jacque at hyperactivesw.com  Mon Feb  7 13:32:14 2005
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Mon, 07 Feb 2005 12:32:14 -0600
Subject: Success with Sending email without a SMTP Server!!!!
In-Reply-To: 
References: <96b060e0d4d3367aa5be7c32939e999a@mac.com>
	<41FD465F.3030109@fourthworld.com> <685510677ac6a1457f660323cebdcad0@kagi.com>
	
	
Message-ID: <4207B42E.8050603@hyperactivesw.com>

On 2/7/05 9:53 AM, Rick Harrison wrote:

> I clicked on the link for this and it listed the raw text only.  It was 
> not a downloadable stack.

This is a function of your browser not understanding about ".rev" files. 
Andre did upload a "real" stack, but your browser is interpreting it as 
text.

To download, right-click (or control-click, on a Mac) on the link and 
choose "download to disk" or "save link target" or whatever your browser 
calls a file transfer in the menu you get. That will tell your browser 
to treat the link as a file.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

From 3mcgrath at adelphia.net  Mon Feb  7 13:33:22 2005
From: 3mcgrath at adelphia.net (Thomas McGrath III)
Date: Mon, 7 Feb 2005 13:33:22 -0500
Subject: USB port/Serial
Message-ID: <9443469d70191cb37c66b75b4e15829b@adelphia.net>

Hello everyone,

I am evaluating whether to buy an IO board from Makingthings.com called  
a teleo. It is a USB device but is communicated to via serial RS232  
commands. They say it shows up as a serial port. Since I don't know  
enough about this I wanted to ask anyone here on the list for help. Has  
anyone worked with a VCP from within REV?
I don't want to use Flash or Max for this. The company says I will have  
to work at the raw level but I don't know if that just means serial  
commands or  more raw than that?

Thanks

Tom

" The good news is that the USB device that we use is supported by a
Virtual Console Port (VCP) driver on all 3 major operating systems. To
you, the Revolution user, this appears to be a serial port so the RS232
features built in to Revolution should work very well. We use this same
driver for our work, and you can download this from our website.

What our Flash, Max/MSP, and C/C++ layer does is process this serial
data and present a simpler interface for those environments. In your
case you will have to work at the raw level.

Unfortunately our raw protocol is not terribly well documented, because
we never expected many people to use it. I get just enough requests for
this that I keep thinking I should do it, but not quite enough to put
this task at the top of my queue.

The raw protocol is described a little here:

    
http://www.makingthings.com/products/documentation/teleo_user_guide/ 
teleo_application_sdk.html#teleo_channel

Basically, each module has an address, and each device on the module has
a device number, and each "feature" of a device has a port number. The
protocol then reads or writes to this (address, device, port)."


From thomas.gutzmann at gutzmann.com  Mon Feb  7 13:50:18 2005
From: thomas.gutzmann at gutzmann.com (Thomas Gutzmann)
Date: Mon, 07 Feb 2005 19:50:18 +0100
Subject: Thousands of Graphics = Bad Performance
In-Reply-To: 
References: <001001c4fd0e$10a5b040$64f6a4cb@p4c2ghz>
 
Message-ID: 

Hi,

some time ago I discussed with some of you ways to display very "heavy" graphics in Rev at an 
acceptable speed.

Well - I failed. I think if I want to do it with Rev, I have to write some sort of plugin.

I tried:

- set the properties of the templateGraphic, so only the positions and lengths of the graphics had 
to be changed before actually drawing them
- lock messages and screen, of course
- draw 2000 objects
-> this alone took up to 14 seconds (PB 17" 1 GHz 2 GB), though I tried to save cycles

- then scrolling these objects takes 3 seconds :-(

As another option, I tried to "paint" the polygons. I had to stop that because even a few hundred 
polygons took forever.

For this application. I have now returned RB. Not that RB is sufficiently fast with this number of 
objects - but I can use very fast drawing routines there and only draw what's scrolled off the 
pane.

Exploiting Rev gave me many good ideas which I will now use in the RB project, especially for 
simplifying the own class tree. I simply decided to abandon the old library and to "revolutionize" 
it :-)

It would be great if one could write plugins to either tool with the other...

Cheers,

Thomas G.

From katir at hindu.org  Mon Feb  7 10:02:43 2005
From: katir at hindu.org (Sivakatirswami)
Date: Mon, 7 Feb 2005 05:02:43 -1000
Subject: Get Full File listing by http
Message-ID: <071b60bbc270b244b7e8f4311df3ebf7@hindu.org>

If there is a .htaccess file on a web server with directive:

options allowIndexes

then, if there is no default index.html file to be set back out  to the 
client, a file listing is returned. Unfortunately, this listing 
truncates long file names.

Is there some way  to get a complete listing that is parseable?

Sivakatirswami


From ambassador at fourthworld.com  Mon Feb  7 14:27:49 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Mon, 07 Feb 2005 11:27:49 -0800
Subject: Thousands of Graphics = Bad Performance
In-Reply-To: 
References: <001001c4fd0e$10a5b040$64f6a4cb@p4c2ghz>
	
	
Message-ID: <4207C135.7030200@fourthworld.com>

Thomas Gutzmann wrote:
> some time ago I discussed with some of you ways to display very "heavy" 
> graphics in Rev at an acceptable speed.
> 
> Well - I failed. I think if I want to do it with Rev, I have to write 
> some sort of plugin.
> 
> I tried:
> 
> - set the properties of the templateGraphic, so only the positions and 
> lengths of the graphics had to be changed before actually drawing them
> - lock messages and screen, of course
> - draw 2000 objects
> -> this alone took up to 14 seconds (PB 17" 1 GHz 2 GB), though I tried 
> to save cycles
> 
> - then scrolling these objects takes 3 seconds :-(

Must be something else at play there, as my PBG4 15" has the same clock 
speed as your and has less RAM (only 768MB) and yet the graphics scroll 
instantly and take only 1.4 seconds to create with this script:

on mouseUp
   lock screen
   lock messages
   --
   -- delete old grcs from last run:
   repeat with i = 1 to the number of grcs
     delete grc 1
   end repeat
   if the optionkey is down then exit to top
   --
   -- run test:
   set the vscroll of grp 1 to 0
   set the lockloc of the templategraphic to true
   set the height of the templategraphic to 10
   put the milliseconds into t
   repeat 2000
     create grc in group 1
     if the number of last grc > 1 then
       set the topleft of last grc to \
           the bottomleft of grc (the number of grcs - 1)
     end if
   end repeat
   put the milliseconds - t &cr& the number of grcs
end mouseUpliseconds - t &cr& the number of grcs
end mouseUp

I do a lot of dynamic object creation in Transcript and have been 
consistently impressed with its very acceptable (sometimes amazing) speed.

As a stress test for a scrolling bug I'd found (long since fixed) I once 
created a scrolling group with 8000 graphics in it -- no problem with 
either creation or scrolling in that test.  With a fourth as many 
objects your situation should go swimmingly.

I'm confident we found find the bottleneck in your code if you can post it.


Tip:  the clone command is very fast too, with the added benefit of 
letting you visually create the desired object rather than having to 
define all of its properties in code.  You can even "clone into" a group 
from anywhere the source object may reside, so you could have a substack 
with a bunch of your own template objects for such use.

An alternative approach would be to set the properties of the 
templateGraphic to the properties of your own template object, and then 
use the create command as you're doing now.  I haven't tested whether 
clone is faster or slower than create (anyone have time to benchmark 
that?), but either way you get to define your object visually and save a 
lot of typing. :)

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com

From dsc at swcp.com  Mon Feb  7 14:35:12 2005
From: dsc at swcp.com (Dar Scott)
Date: Mon, 7 Feb 2005 12:35:12 -0700
Subject: USB port/Serial
In-Reply-To: <9443469d70191cb37c66b75b4e15829b@adelphia.net>
References: <9443469d70191cb37c66b75b4e15829b@adelphia.net>
Message-ID: <7b1ed66817407dd9aab2b73f1990f717@swcp.com>


On Feb 7, 2005, at 11:33 AM, Thomas McGrath III wrote:

> I am evaluating whether to buy an IO board from Makingthings.com 
> called a teleo. It is a USB device but is communicated to via serial 
> RS232 commands. They say it shows up as a serial port. Since I don't 
> know enough about this I wanted to ask anyone here on the list for 
> help. Has anyone worked with a VCP from within REV?

This should work just as well as connecting a USB to serial adaptor.  
The Revolution serial commands would not be handicapped.  On Mac OS 9, 
you might need to name it printer:.

Dar

-- 
**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming Services and Software
**********************************************


From janschenkel at yahoo.com  Mon Feb  7 14:37:23 2005
From: janschenkel at yahoo.com (Jan Schenkel)
Date: Mon, 7 Feb 2005 11:37:23 -0800 (PST)
Subject: Formatting in XML?
In-Reply-To: 
Message-ID: <20050207193723.88181.qmail@web60508.mail.yahoo.com>

--- Terry Vogelaar  wrote:
> Hi all,
> 
> I need to make an application that displays text in
> several fields. I 
> thought XML was the ideal format to store the
> information in, but I ran 
> into problems with it.
> 
> [snip]
> 
> If I try revXMLNodeContents(id,"/Card/Content"), the
> function returns 
> empty. No "xmlerr", not even " needs to be displayed
> just like ; it 
> should be in field." Not that I want any of those...
> 
> How do I get what I want?
> 
> Terry
> 

Hi Terry,

In addition to Ken's suggestion about using [CDATA] as
a way to store raw data that the XML parser will not
try to interpret, may I suggest you take a look at the
'revXMLText' function ; this will return the entire
content of the node and its children.

Hope this helped,

Jan Schenkel.

=====
Quartam - Tools for Revolution


=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


From soapdog at mac.com  Mon Feb  7 14:39:52 2005
From: soapdog at mac.com (Andre Garzia)
Date: Mon, 7 Feb 2005 17:39:52 -0200
Subject: Success with Sending email without a SMTP Server!!!!
In-Reply-To: 
References: <96b060e0d4d3367aa5be7c32939e999a@mac.com>
	<41FD465F.3030109@fourthworld.com> <685510677ac6a1457f660323cebdcad0@kagi.com>
	
	
Message-ID: 

Rick,

thanks for the cumpliments! That stack is a collection of works from 
many enthusiasts round here! I compressed the  stack with standard zip 
format just for you! :D

it's now at http://www.soapdog.org/rev/SMTPRaw.rev.zip


Have fun!
andre


On Feb 7, 2005, at 1:53 PM, Rick Harrison wrote:

> Andre,
>
> I clicked on the link for this and it listed the raw text only.  It 
> was not a downloadable stack.
> I tried copying and pasting the code into a stack script and there 
> were a bunch of garbage
> characters which appeared in the front of many of the lines of code.
>
> Do you have this as a real downloadable stack that I can just 
> decompress with Stuffit Expander?
>
> I'm very interested in the idea of sending email directly from Rev!
>
> Thanks for your hard work on this.  It is quite impressive!
>
> Rick Harrison
-- 
Andre Alves Garzia ? 2004 ? BRAZIL
http://studio.soapdog.org


From janschenkel at yahoo.com  Mon Feb  7 14:42:01 2005
From: janschenkel at yahoo.com (Jan Schenkel)
Date: Mon, 7 Feb 2005 11:42:01 -0800 (PST)
Subject: problem in libURL...
In-Reply-To: 
Message-ID: <20050207194202.52542.qmail@web60502.mail.yahoo.com>

--- Trevor DeVore  wrote:
> On Jan 29, 2005, at 12:14 PM, Andre Garzia wrote:
> > I am at 2.5 release... after rebooting the machine
> libURL started to 
> > behave better.... guess what there's a strange
> thing with XML-RPC lib, 
> > the one that taps into revXML that taps into
> libURL anyway. For 
> > example revXMLRPC_CreateRequest is a handler, but
> if you call it as if 
> > it is a function by using parenthesis, it will not
> return an error, it 
> > will return fine, but it will never work and the
> errors will be 
> > related to libURL... heck.... no xmlrpcerr:
> something, but things like 
> > "socket timeout" and stuff. I always thought that
> if you call a 
> > handler using a function call it would never reach
> it's destination. 
> > strange.... very strange...
> 
> Andre,
> 
> I've been on vacation so I am answering this a
> little late but if you 
> are using the XML-RPC library you need to reset the
> httpHeaders after 
> any call to revXMLRPC_Execute since it sets the
> headers but never 
> empties them.  I have filed a bug report on it which
> you can see here:
> 
>
http://support.runrev.com/bugdatabase/show_bug.cgi?id=2444
> 
> Getting the timeout error is consistent with the
> behavior I saw when 
> working with XML-RPC.
> 
> 
> -- 
> Trevor DeVore
> 

Hi Trevor and Andre,

You'll be glad to hear tht I've fixed that oversight
for the next version. However, I was not aware of a
timeout error.
And revXMLRPC_CreateRequest is a _function_ not a
command, and it returns an internal ID, which just
happens to be the XML tree that is used for storing
the request, and points to oher data in the XML-RPC
library internal data structures.
I think I've covered most of the reported bugs in the
XML-RPC library, but if you encounter something that
isn't in bugzilla, please do so asap, so I can get on
top of it.

Best regards,

Jan Schenkel.

=====
Quartam - Tools for Revolution


=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

From scott at tactilemedia.com  Mon Feb  7 14:42:54 2005
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 07 Feb 2005 11:42:54 -0800
Subject: Thousands of Graphics = Bad Performance
In-Reply-To: 
Message-ID: 

Recently, Thomas Gutzmann  wrote:

> some time ago I discussed with some of you ways to display very "heavy"
> graphics in Rev at an
> acceptable speed.
> 
> Well - I failed. I think if I want to do it with Rev, I have to write some
> sort of plugin.
> 
> I tried:
> 
> - set the properties of the templateGraphic, so only the positions and lengths
> of the graphics had
> to be changed before actually drawing them
> - lock messages and screen, of course
> - draw 2000 objects
> -> this alone took up to 14 seconds (PB 17" 1 GHz 2 GB), though I tried to
> save cycles
> 
> - then scrolling these objects takes 3 seconds :-(

One thing to remember about doing this kind of thing in Rev is that the
default behavior of the development environment is to track all objects.  If
you allow the IDE to track all 2000 items, it will indeed slow down and take
a good deal of time to manage them.

However, if you 1) lock messages and 2) lock the screen before creating
thousands of objects, you should be able to create them very quickly,
especially with vector (graphic) objects.  If you remember to group the
resulting set of grcs, the you have the added bonus of being able to delete
a single group, rather than deleting each grc one by one.

I just tried a simple test of creating 2000 random rect graphics on a 600 x
500 card, and was able to create and group the graphics in less than 2
seconds (a 466 mHz machine).  After increasing the graphic count to 5000,
the total time was about 6-1/2 seconds.  So Rev can actually be very fast
depending on what you are doing.

Because Rev often provides multiple ways of doing a single task, achieving
desired results is often a matter of testing several methods.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com


From janschenkel at yahoo.com  Mon Feb  7 14:45:38 2005
From: janschenkel at yahoo.com (Jan Schenkel)
Date: Mon, 7 Feb 2005 11:45:38 -0800 (PST)
Subject: Postgres
In-Reply-To: 
Message-ID: <20050207194539.53506.qmail@web60502.mail.yahoo.com>

--- Hershel Fisch  wrote:
> Hi all I'm trying to connect to  my postgres 8.0
> server on a osx 10.3
> 
> 
> This is a copy from the pg_hpa.con file
> 
> 
> # TYPE  DATABASE    USER        CIDR-ADDRESS        
>  METHOD
> 
> # "local" is for Unix domain socket connections only
> local   all         all                             
>  trust
> # IPv4 local connections:
> host    all         all         127.0.0.1/32        
>  trust
> 
> host    all        all        192.168.1.101         
> trust  # this is the
> line I added .
> 
> # IPv6 local connections:
> host    all         all         ::1/128             
>  trust
> 
> The error " FATAL: missing or erroneous pg_hba.conf
> file."
> Thanks a mill.
> Ps I reinstalled postgres clean.
> Thanks , Hershel
> 

Hi Hershel,

I think you forgot to add the subnet-mask at the end
of that IP-address 192.168.1.101 -- I think that ought
to be /24 but I'm not good with this sort of
calculations. However, there are calculators on the
internet.

Hope this helped,

Jan Schenkel.

=====
Quartam - Tools for Revolution


=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

From lists at mangomultimedia.com  Mon Feb  7 14:57:22 2005
From: lists at mangomultimedia.com (Trevor DeVore)
Date: Mon, 7 Feb 2005 11:57:22 -0800
Subject: problem in libURL...
In-Reply-To: <20050207194202.52542.qmail@web60502.mail.yahoo.com>
References: <20050207194202.52542.qmail@web60502.mail.yahoo.com>
Message-ID: <7B69F97B-7942-11D9-B996-000A956C462A@mangomultimedia.com>

On Feb 7, 2005, at 11:42 AM, Jan Schenkel wrote:
> Hi Trevor and Andre,
>
> You'll be glad to hear tht I've fixed that oversight
> for the next version. However, I was not aware of a
> timeout error.

As far as I can tell the timeout error just occurred because the 
headers were messed up.  I noticed when I tried to download mp3 files 
from a server after use the XML-RPC calls.  I couldn't figure out why 
the timeout occurred until I looked at the headers.

> And revXMLRPC_CreateRequest is a _function_ not a
> command, and it returns an internal ID, which just
> happens to be the XML tree that is used for storing
> the request, and points to oher data in the XML-RPC
> library internal data structures.
> I think I've covered most of the reported bugs in the
> XML-RPC library, but if you encounter something that
> isn't in bugzilla, please do so asap, so I can get on
> top of it.

I've reported all of the ones I've found.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com


From chipp at chipp.com  Mon Feb  7 15:10:06 2005
From: chipp at chipp.com (Chipp Walters)
Date: Mon, 07 Feb 2005 14:10:06 -0600
Subject: Thousands of Graphics = Bad Performance
In-Reply-To: 
References: 
Message-ID: <4207CB1E.2080409@chipp.com>

Scott,

Interestingly enough, I recently worked with a C programmer in SF on 
creating a kids 3D application with the 3D engine done completely in RunRev.

The programmer had already tried to do it in RealBasic and it couldn't 
be done. He doubted RR could do it, but once I showed him the 
multi-polyon draw with set points trick, it worked great! One of the 
cool parts of the trick, is that by inserting a blank line in the points 
of a polygon, you can actually create as many polys as you want. This 
worked out very well for the app. In fact, we were able to create this 
game, with sounds and multiple scaling images, in less than a weeks time.

It's pretty cool to see RR rendering 3D in realtime using native 
transcript. I'll post the app here when a demo version is available.

-Chipp

Scott Rossi wrote:

> I just tried a simple test of creating 2000 random rect graphics on a 600 x
> 500 card, and was able to create and group the graphics in less than 2
> seconds (a 466 mHz machine).  After increasing the graphic count to 5000,
> the total time was about 6-1/2 seconds.  So Rev can actually be very fast
> depending on what you are doing.
> 
> Because Rev often provides multiple ways of doing a single task, achieving
> desired results is often a matter of testing several methods.


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005


From janschenkel at yahoo.com  Mon Feb  7 15:10:51 2005
From: janschenkel at yahoo.com (Jan Schenkel)
Date: Mon, 7 Feb 2005 12:10:51 -0800 (PST)
Subject: Interactive Site listing CGI
In-Reply-To: 
Message-ID: <20050207201052.66873.qmail@web60505.mail.yahoo.com>

--- Peter Reid  wrote:
> Does anyone have a bit of Rev CGI that will display
> a folder/file 
> list of a specified web site that allows the user to
> traverse the 
> filing system?
> 
> I'd like to produce a simple intranet site that
> stores a collection 
> of folders containing images that the end user can
> traverse and view 
> as and when required.  This will be on a Mac running
> OS X 10.3.7.
> 
> Thanks
> 
> Peter
> 

Hi Peter,

I think this is a case where one can transplant
regular Transcript into the rev-cgi arena. From a
recent post :


Of course in that script you can skip the folders, if
you're not looking to make available the files in the
subfolders.

So you'll end up with something like :
--
on startUp

  ## STEP 1 :: read the arguments
  # read the query string passed from the webserver
  put $QUERY_STRING into tQueryStringA
  # turn it into an array for convenient access
  split tQueryStringA using "&" and "="
  # make sure to URLDecode the arguments
  put the keys of tQueryStringA into tArgNames
  repeat for each line tArgName in tArgNames
    put URLDecode(tQueryStringA[tArgName]) \
        into tArgumentsA[URLDecode(tArgName]
  end repeat

  ## STEP 2 :: read the files
  # now that we have our arguments, move on to the dir
  set the defaultDirectory to  & \
      tArgumentsA["directory"]
  # read all the files in the chosen directory
  put the files into tFiles

  ## STEP 3 :: build the file list as an HTML page
  # you will want to change the formatting
  put "" into tBuffer
  put "Directory Contents" after \
      tBuffer
  put "" after tBuffer
  put "

Directory Contents :" && \ tArgumentsA["directory"] after tBuffer put "


" after tBuffer # loop over the files repeat for each line tFile in tFiles put "" after tBuffer put tFile & "
" after tBuffer end repeat put "
" after tBuffer ## STEP 4 :: send the result to the webserver # start with the headers put "Content-Type: text/html" & cr put "Content-Length: && the length of tBuffer put cr & cr & tBuffer # end of the cgi-script end startUp -- Hope this gets you closer to your solution, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From janschenkel at yahoo.com Mon Feb 7 15:16:53 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 12:16:53 -0800 (PST) Subject: group-al cmds like "set the highlitedButtonName to 0" for propserties? In-Reply-To: <20050206015031.14406.qmail@web61206.mail.yahoo.com> Message-ID: <20050207201653.45089.qmail@web60501.mail.yahoo.com> --- Erik Hansen wrote: > > for colorblind users, a selected control has: > the width = the width +8 > the borderWidth = 2 > > some groups have multiple hilites so > before selecting a new control in the group: > > on standDown pGroup,pWidth > set the highlitedButtonName of grp pGroup to 0 > -- 1 line of code > put (the number of controls in grp pGroup)\ > into tot > > repeat with i = 1 t tot > set the width of control i to pWidth > set the borderWidth of control i to 1 > end repeat > -- many lines of code & repeats > end standDown > > is there a single-line-command > that resets the individual > control properties of all > grouped controls to the default value > specified for that group? > > [snip] > > thanks, > > Erik Hansen > I'm afraid not, Erik -- your repeat loop is the way to do it. I'm not sure what language construct could be added to Transcript to accomodate for this in an elegant way ; perhaps something like : -- repeat for each control tControl in group "Foobar" set the whateverProp of tControl to 0 end repeat -- But that's the closest math I could find. Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From janschenkel at yahoo.com Mon Feb 7 15:19:49 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 12:19:49 -0800 (PST) Subject: problem in libURL... In-Reply-To: <7B69F97B-7942-11D9-B996-000A956C462A@mangomultimedia.com> Message-ID: <20050207201949.209.qmail@web60508.mail.yahoo.com> --- Trevor DeVore wrote: > On Feb 7, 2005, at 11:42 AM, Jan Schenkel wrote: > > Hi Trevor and Andre, > > > > You'll be glad to hear tht I've fixed that > oversight > > for the next version. However, I was not aware of > a > > timeout error. > > As far as I can tell the timeout error just occurred > because the > headers were messed up. I noticed when I tried to > download mp3 files > from a server after use the XML-RPC calls. I > couldn't figure out why > the timeout occurred until I looked at the headers. > Yeah, for some reason I had it stuck in my head that the httpHeaders were automatically reset after the next call, but my memory was playing tricks on me as that's what happens with 'libURLSetCUstomHTTPHeaders'... > > And revXMLRPC_CreateRequest is a _function_ not a > > command, and it returns an internal ID, which just > > happens to be the XML tree that is used for > storing > > the request, and points to oher data in the > XML-RPC > > library internal data structures. > > I think I've covered most of the reported bugs in > the > > XML-RPC library, but if you encounter something > that > > isn't in bugzilla, please do so asap, so I can get > on > > top of it. > > I've reported all of the ones I've found. > > > -- > Trevor DeVore > Much appreciated, Trevor :-) Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Mon Feb 7 15:22:25 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 12:22:25 -0800 (PST) Subject: SOAP Tutorial Stack In-Reply-To: Message-ID: <20050207202225.46377.qmail@web60501.mail.yahoo.com> --- Gregory Lypny wrote: > Hello everyone, > > There used to be a nice tutorial stack on SOAP. Can > anyone tell me > where I can find it? > > Regards, > > Greg > Hi Greg, You can find this and other stacks on the 'Unsupported stack' page in the 'Resources & Support' section of the runrev.com website : Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From scott at tactilemedia.com Mon Feb 7 15:24:00 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 07 Feb 2005 12:24:00 -0800 Subject: Thousands of Graphics = Bad Performance In-Reply-To: <4207CB1E.2080409@chipp.com> Message-ID: >> I just tried a simple test of creating 2000 random rect graphics on a 600 x >> 500 card, and was able to create and group the graphics in less than 2 >> seconds (a 466 mHz machine). After increasing the graphic count to 5000, >> the total time was about 6-1/2 seconds. So Rev can actually be very fast >> depending on what you are doing. >> >> Because Rev often provides multiple ways of doing a single task, achieving >> desired results is often a matter of testing several methods. > Interestingly enough, I recently worked with a C programmer in SF on > creating a kids 3D application with the 3D engine done completely in RunRev. > > The programmer had already tried to do it in RealBasic and it couldn't > be done. He doubted RR could do it, but once I showed him the > multi-polyon draw with set points trick, it worked great! One of the > cool parts of the trick, is that by inserting a blank line in the points > of a polygon, you can actually create as many polys as you want. This > worked out very well for the app. In fact, we were able to create this > game, with sounds and multiple scaling images, in less than a weeks time. > > It's pretty cool to see RR rendering 3D in realtime using native > transcript. I'll post the app here when a demo version is available. That sounds great -- would love to see it. (Were you referring to Tutti3D as an example?) The drawback of course to the above method is that you are working with a single graphic and cannot address/access portions of the graphic separately. In Mr. Gutzmann's case, he may have wanted to be able to access all 2000 objects separately, I'm not sure, but again, the bottom line is to note that Rev often provides multiple methods of accomplishing the same task. The tough part can be knowing which one is the best to use in a given situation. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From janschenkel at yahoo.com Mon Feb 7 15:25:34 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 12:25:34 -0800 (PST) Subject: Metal anomalies In-Reply-To: <8ff1845942c81cfa3f81804210ea6a45@uleth.ca> Message-ID: <20050207202534.64629.qmail@web60502.mail.yahoo.com> --- "Dr.John R.Vokey" wrote: > A minor detail no doubt, but setting the metal > property to true (in OS > X) does *not* correctly emulate the metal windows in > OS X. As with all > other windows RR, only the (now no longer > demarcated) title bar (and > the extreme outside edges of the window) can be > clicked on to drag the > window. In OS X, any metal part of the window can > be used to drag. > -- > John R. Vokey > Hi John, I'm not quite sure I agree on this : it only takes a couple of lines of code to script this yourself, and at which point should the engine do it for you ? After the mouseDown message has gone all the way to the back of the message path? Or before any of your scripts get to it, thus rendering any card level 'mouseDown' mesages that normally get triggered when you click next to the controls on your card? Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com From userev at canelasoftware.com Mon Feb 7 15:29:30 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 7 Feb 2005 12:29:30 -0800 Subject: OT: Network Hell In-Reply-To: References: Message-ID: On Feb 7, 2005, at 6:46 AM, graham samuel wrote: > Can anyone suggest a way out of this mess? I am quite willing to read > a lot of material but the kind of starting point I want doesn't seem > to exist. I have a book called "How Networks Work". Publisher is: Que Written by: Frank Derfler Jr. & Les Freed It has wonderful pictures and explains things from a beginners perspective. I highly suggest it. Best regards, Mark Talluto CANELA Software -- http://www.canelasoftware.com From alex at tweedly.net Mon Feb 7 15:32:06 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 07 Feb 2005 20:32:06 +0000 Subject: Thousands of Graphics = Bad Performance In-Reply-To: References: Message-ID: <4207D046.10303@tweedly.net> Scott Rossi wrote: > One thing to remember about doing this kind of thing in Rev is that the > >default behavior of the development environment is to track all objects. If >you allow the IDE to track all 2000 items, it will indeed slow down and take >a good deal of time to manage them. > >However, if you 1) lock messages and 2) lock the screen before creating >thousands of objects, you should be able to create them very quickly, >especially with vector (graphic) objects. If you remember to group the >resulting set of grcs, the you have the added bonus of being able to delete >a single group, rather than deleting each grc one by one. > >I just tried a simple test of creating 2000 random rect graphics on a 600 x >500 card, and was able to create and group the graphics in less than 2 >seconds (a 466 mHz machine). After increasing the graphic count to 5000, >the total time was about 6-1/2 seconds. So Rev can actually be very fast >depending on what you are doing. > >Because Rev often provides multiple ways of doing a single task, achieving >desired results is often a matter of testing several methods. > > Thomas, I had a similar problem a few months ago (trying to draw large number of graphics fast enough), and kind people on this list told me of the various techniques. The one that worked best for me was to use a small number of polygon graphics, using "invisible" edges between the points and putting a marker for the actual polygons. So I finished up with 20 graphic objects - one polygon for each of the 5 different shapes I needed in each of the 3 colours, plus a few spare ones. (I wasn't scrolling a whole group - but I was trying to get each shape to move separately). With this setup, I have 2500 shapes moving around independently, at around 10 fps - on a mid-range PC laptop. (25,000 polygon moves per second). Not quite fast enough to get the illusion of smooth movement - but pretty close. Unfortunately, that project stalled for other unrelated reasons, so I don't have a stack that does anything interesting; but Geoff Canyon's "asteroids"-like game done with a very similar technique (using a single polygon but without the markers) I found to be a very convincing demo. see http://lists.runrev.com/pipermail/use-revolution/2003-October/024092.html -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005 From jeff at siphonophore.com Mon Feb 7 15:37:47 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Mon, 7 Feb 2005 15:37:47 -0500 Subject: MP3 without QuickTime on Windows In-Reply-To: <20050207202531.95234930120@mail.runrev.com> References: <20050207202531.95234930120@mail.runrev.com> Message-ID: <37fc6cc494a10fd90b2ac5a74bb3c10b@siphonophore.com> The main problem with including the quicktime installer is its license agreement. You must make your application to only work with the version of qt (or later) at the time you release your product. thus if someone has an older version of qt installed you must force them to update their qt to use your application. this is a real problem in some business and education setups that have locked systems or use older equipment/systems that works better with older versions. Also if you are pressing a CD-ROM, if you do any updates to the CD-ROM you must also update to the latest version of qt installer and also make your program only work with that version or later (its also unclear if you just make more discs with no changes if you need update the qt version). you also cannot modify the qt installer and if you have an installer for your own software it must also startup the qt installer. again pretty invasive. you must also submit a copy of your work to apple for verification of all this stuff... I have just started putting 'requires quicktime' on cds instead of the installer since i hate to force someone to update their quicktime unless they want to. for folks that are using multimedia cdroms quicktime is pretty prevalent and its easy to download if its not there. i found no work around for playing (and being able to pause and restart playing) audio files not imported into the stack w/o quicktime or wmp installed. documentation alludes to being able to play wav files w/o qt, but that doesn't work. cheers, jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com On Feb 7, 2005, at 3:25 PM, use-revolution-request at lists.runrev.com wrote: > QuickTime is not an application. It is a framework and a set of > drivers which needs to run as part of the operating system in order to > function properly. > > A better approach would be to obtain the needed permission to bundle > the QuickTime installer with your app. Perhaps that installer could be > stored in the custom property? Depends on your license from Apple. From jbv.silences at Club-Internet.fr Mon Feb 7 15:46:25 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 07 Feb 2005 21:46:25 +0100 Subject: Thousands of Graphics = Bad Performance References: <4207CB1E.2080409@chipp.com> Message-ID: <4207D39F.6173F02F@Club-Internet.fr> just curious : do you achieve anything more sophisticated than realtime wireframe rendering ? anything like hidden lines (or surfaces) detection ? JB > Scott, > > Interestingly enough, I recently worked with a C programmer in SF on > creating a kids 3D application with the 3D engine done completely in RunRev. > > The programmer had already tried to do it in RealBasic and it couldn't > be done. He doubted RR could do it, but once I showed him the > multi-polyon draw with set points trick, it worked great! One of the > cool parts of the trick, is that by inserting a blank line in the points > of a polygon, you can actually create as many polys as you want. This > worked out very well for the app. In fact, we were able to create this > game, with sounds and multiple scaling images, in less than a weeks time. > > It's pretty cool to see RR rendering 3D in realtime using native > transcript. I'll post the app here when a demo version is available. From janschenkel at yahoo.com Mon Feb 7 15:45:08 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 12:45:08 -0800 (PST) Subject: stacks in use, libraries, etc... In-Reply-To: <20050202195305.E779A930136@mail.runrev.com> Message-ID: <20050207204508.84018.qmail@web60509.mail.yahoo.com> --- MisterX wrote: > Howdy! > > It just hit me, after more than a decade of > HyperCard, MetaCard or RunRev... > Maybe im the only one in this situation... ;) > > How can you tell which stack made which stackinuse > his? IOW, how can you > tell which stack loaded which library or stackinuse? > > [snip] > > Is this worth my going to bugzilla to suggest this > improvement or is there > something I missed? > > Cheers > Xavier > Hi Xavier, My suggestion would be to check out the undocumented 'executionContexts' property from within your stack's 'libraryStack' handler. However, I haven't tested this, so this could be rather worthless advice in the end. Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From janschenkel at yahoo.com Mon Feb 7 15:49:15 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 12:49:15 -0800 (PST) Subject: CGI access to PostGreSQL In-Reply-To: <844FD9FE-7576-11D9-AF4D-000A959D0AC6@hindu.org> Message-ID: <20050207204915.8213.qmail@web60507.mail.yahoo.com> --- Sivakatirswami wrote: > We have a POSTGreSQL dBase running on a linux box > > This we expected to work, but does not. I *can* > access the dbase from a > stack, remotely from my desk top in the 2.5 rev IDE. > > > #!/usr/local/bin/revolution > > on startup > > put > revOpenDatabase("Postgresql","himalayanacademy.com","cybertalks","htoday > > ","--real password goes here--") into pConnectionID > if (pConnectionID) is a number then > put "Your Cybertalks data base opened > successfully with connection > ID " into tResult > put pConnectionID after tResult > put tResult > else > put "Gosh darn, what's up? The data base > connection failed." > > end startup > > Running this from terminal returns these errors > > ./blurb.rev > /usr/local/bin/revolution: Script parsing error at > line 13, column 1 > /usr/local/bin/revolution: Can't load stack or > script ./blurb.rev > > Do I need to have some PostGreSQL libraries loaded? > > Sivakatirswami > What platform is the CGI-engine running on, and which version of the CGI-engine is it ? You may need to copy the revdb library and assorted drivers to the /usr/local/bin directory. Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From ambassador at fourthworld.com Mon Feb 7 15:56:38 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Feb 2005 12:56:38 -0800 Subject: MP3 without QuickTime on Windows In-Reply-To: <37fc6cc494a10fd90b2ac5a74bb3c10b@siphonophore.com> References: <20050207202531.95234930120@mail.runrev.com> <37fc6cc494a10fd90b2ac5a74bb3c10b@siphonophore.com> Message-ID: <4207D606.1000908@fourthworld.com> Jeffrey Reynolds wrote: > The main problem with including the quicktime installer is its license > agreement. You must make your application to only work with the version > of qt (or later) at the time you release your product. I think I missed that clause of the license agreement. I wrote an Apple rep some time ago to clarify some of the questions that pop up here about it, and got her permission to post her reply to the list: The license agreement itself is available at: Any questions about it can be directed to the contact person noted there: Remember that Apple's goal is to evangelize QuickTime, not annoy developers. If anything seems onerous about their license agreement it can probably be clarified with a quick email to that address. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From martinblackman at hotmail.com Mon Feb 7 16:11:40 2005 From: martinblackman at hotmail.com (Martin Blackman) Date: Mon, 07 Feb 2005 21:11:40 +0000 Subject: test only Message-ID: test From janschenkel at yahoo.com Mon Feb 7 16:12:23 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 13:12:23 -0800 (PST) Subject: Quartam Reports (was "Where IS Report Builder" In-Reply-To: <41FDB31E.2030706@crcom.net> Message-ID: <20050207211224.78843.qmail@web60502.mail.yahoo.com> Hi Alan, Dan, and Len, Thanks for the cheers in support and the offer of money in advance to help fund development. However the main hurdle is time, not money -- though in a sense, that means it is a matter of money as well. I will keep you all posted when there's news -- in the mentime I can tell you that the website hasn't been updated since, well, November 3 -- and at that point I was still hoping to ship by the end of 2004. Now I'm projecting release in the first quarter of 2005, while looking into ways to speed up the process. Hope this clarified the situation, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 From janschenkel at yahoo.com Mon Feb 7 16:15:09 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 13:15:09 -0800 (PST) Subject: Dragging from list field In-Reply-To: Message-ID: <20050207211509.74762.qmail@web60506.mail.yahoo.com> --- Scott Rossi wrote: > Recently, Mark Swindell wrote: > > > Can I drag and drop items selected in an unlocked > list field into > > another field? How can I accomplish this? > > If I understand your need, the answer is sure. In > its most basic form, you > can add the following to the script of your > destination field: > > on mouseEnter > set the acceptDrop to true > end mouseEnter > > on dragDrop > put the dragData into me > end dragDrop > > > > Also, why does drag and drop in Rev not look like > any other text drag > > and drop on OS X... text cursor turns to arrow, > hilighted text is > > picked up and visibly carried to next window, > field, etc.? I find that > > unless I know ahead of time that the text is going > to come along for > > the ride, I'd never intuit it from the screen > behavior of the cursor > > and selected text. > > The above is exactly the reason why GetInLine was > developed. Execute the > following in your message box: > > go url > "http://www.tactilemedia.com/download/getinline.rev" > > This is not a complete solution to your problem, as > it is only for list > reordering at the moment, but it could be adapted to > suit your needs. > > Of course you can always make a donation to further > its development. :-) > > Regards, > > Scott Rossi > And while I'm adding shameless plugs to the list : you can take apart the script of an old example stack of mine which has drag-and-drop between two list fields. Best regards, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Mon Feb 7 16:19:26 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 13:19:26 -0800 (PST) Subject: focusBorder problem In-Reply-To: <002101c5066a$54e8cc50$5af6a4cb@p4c2> Message-ID: <20050207211927.16092.qmail@web60507.mail.yahoo.com> --- Dwayne Rothe wrote: > Hi all, > I have recently encountered a strange problem when > adding buttons to a stack or card! > The button created automatically shows the black > focus border within, ok so I deselect the 'Focus > with Keyboard' button in the properties and it > disappears, problem solved right, not quite. When I > use the answer command the buttons show the border > also! > How do I remove the border from those buttons? > The strange thing is that this started happening > recently, I have been using Rev 2.5 for several > months now, I have re-installed Rev 2.5 but this > didn't solve the problem! > > Has any one else experienced this problem? > > Cheers.......Dwayne > Hi Dwayne, On which platform are you seeing this problem? And could you put a screenshot on a website so we can watch it and see if it's a bug or a feature ? *grin* Best regards, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 From janschenkel at yahoo.com Mon Feb 7 16:27:12 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 13:27:12 -0800 (PST) Subject: email & url link. In-Reply-To: <6.1.1.1.2.20050128172053.02769268@softseven.org> Message-ID: <20050207212712.18227.qmail@web60507.mail.yahoo.com> --- Paul Salyers wrote: > > > > Email link > on mouseUp > put field "vAddress" into tAddress > revMail tAddress > end mouseUp > > > URL link > > on mouseUp > put field "vWeb" into tWeb > revGoURL tWeb > end mouseUp > > > I have this in my card, on my windows it works ok, > but a friend used it on > his Mac and it went to my url both times. > > Anyone know why this is? > > Paul Salyers > Hi Paul, Two sugegstions : 1) there used to be a problem with Rev 2.5 on MacOSX which would make revMail commands open up the web browser -- you should run 'Check for Updates' in the 'Help' menu. 2) if this still doesn't do it, you might want to give your tester a special version where you put an 'answer tAddress' just before the call to revMail, to make sure it contains the correct data. Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com From b.xavier at internet.lu Mon Feb 7 16:50:14 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 7 Feb 2005 22:50:14 +0100 Subject: stacks in use, libraries, etc... In-Reply-To: <20050207204508.84018.qmail@web60509.mail.yahoo.com> Message-ID: <20050207215735.B71F59300E8@mail.runrev.com> > > It just hit me, after more than a decade of HyperCard, MetaCard or > > RunRev... > > Maybe im the only one in this situation... ;) > > > > How can you tell which stack made which stackinuse his? > IOW, how can > > you tell which stack loaded which library or stackinuse? > My suggestion would be to check out the undocumented > 'executionContexts' property from within your stack's > 'libraryStack' handler. > However, I haven't tested this, so this could be rather > worthless advice in the end. > > Jan Schenkel. Funny, that's the message I saw that triggered this question... It wont tell you who called the stack... This used to help before though... global stackinuselist function xosStartUsin stacktouse,sourcestack get stacktouse,sourcestack if it is among the lines of stackinuselist then return "" end if start using stack stacktouse if the result<>"" then return "Error:" && the result else put stacktouse & "," & sourcestack & cr before stackinuselist return "" end xosStartUsin From janschenkel at yahoo.com Mon Feb 7 16:48:07 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Feb 2005 13:48:07 -0800 (PST) Subject: Database Question From RunRev Newbie In-Reply-To: <25A4BE62-7381-11D9-839F-00039344BCAE@gmail.com> Message-ID: <20050207214807.83275.qmail@web60506.mail.yahoo.com> --- Jay Busari wrote: > Hi Jan, > > I noticed that you replied to a problem from John > Miller in the RunRev > lists...and he seems to have solved his problem with > your advice. > > I'm new to RunRev. I have a Sybase database running > with the ability > to connect via JDBC drivers. > > I also have ODBC drivers (from OpenLink), but > haven't tried using them > with Sybase. I am doing the RunRev development on > MacOSX. > > When I create a new main stack, I don't get the > ability to configure > the Database Query Builder (it's all greyed out). I > believe getting > this "working" would be a first step to actually > doing the > revQueryDatabase function call. > > How do I get RunRev to "use" the ODBC drivers from > OpenLink and connect > to my (Sybase) database ? > > > Thank you for your help, > Jay > Hi Jay, Let me start by apologising for the delay in reply -- I've been mighty busy lately, and have only just begun to keep up again with the abundance of emails on the use-revolution list. Speaking of the list, you may want to post your questions there in the future : there are planty of smart database-wielding Rev developers on the list, more than willing to answer your questions. That being said, let me see how I can help you. The first important thing to note is that the Database Query Builder stores the queries inside the stack where you use them. So you will need to open a new stack forst, or open your current project stack, and then open the Database Query Builder. Now that you have your stack and the query builder open, you need to create a new query by clicking the '+' button in the topright of the screen. Rename the query name to something more useful, then change its type to ODBC and enter the name of the DSN (Data Source Name) -- in case you haven't created that yet, now is a good time to go to the iODBC preference panel and create it. After that, return to Revolution and complete the connection settings by entering the user and password. Then click the 'Connect' button. If all works as planned, you will receive no error message, and the Connection status in the bottomright will read 'connected'. If so, go ahead to the 'Record Set' tab, and enter your SELECT statement -- if there's not much data, I suggest you also tick the 'Cache record set' checkbox. When you have the right SQL query, you can start linking fields and buttons to this query : drag some fields to your stack, open the Inspector palette and go to the 'Database' pane. There you select the name of the query that you just created, and pick one of the columns to display. In a similar fashion, drop a few buttons onto your stack, and use the Inspector palette to edit their database settings. Here you pick the same query, and assign an action : Move to the first record, move to the previous record, move to the next record, move to the last record,... I hope this quick intro help you on your way, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From harrison at all-auctions.com Mon Feb 7 17:03:37 2005 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 7 Feb 2005 17:03:37 -0500 Subject: Success with Sending email without a SMTP Server!!!! In-Reply-To: References: <96b060e0d4d3367aa5be7c32939e999a@mac.com> <41FD465F.3030109@fourthworld.com> <685510677ac6a1457f660323cebdcad0@kagi.com> Message-ID: On Feb 7, 2005, at 2:39 PM, Andre Garzia wrote: > Rick, > > thanks for the cumpliments! That stack is a collection of works from > many enthusiasts round here! I compressed the stack with standard zip > format just for you! :D > > it's now at http://www.soapdog.org/rev/SMTPRaw.rev.zip > > > Have fun! > andre > Andre, Thanks! I tried it and I'm getting the following error. error: could not get MX Records, try again in 5 secs Any idea what might be causing this? Thanks, Rick From soapdog at mac.com Mon Feb 7 17:08:06 2005 From: soapdog at mac.com (Andre Garzia) Date: Mon, 7 Feb 2005 20:08:06 -0200 Subject: Success with Sending email without a SMTP Server!!!! In-Reply-To: References: <96b060e0d4d3367aa5be7c32939e999a@mac.com> <41FD465F.3030109@fourthworld.com> <685510677ac6a1457f660323cebdcad0@kagi.com> Message-ID: <88b04d1fbc096fe614d16e7fb4194c6e@mac.com> On Feb 7, 2005, at 8:03 PM, Rick Harrison wrote: > Andre, > > Thanks! > > I tried it and I'm getting the following error. > > error: could not get MX Records, try again in 5 secs > > Any idea what might be causing this? This means that communication with DNS server is wrong somehow... try emailing other email... Try emailing me at soapdog at mac.com, we know that .Mac SMTP server is friendly enough for this to work. Then report back here! :D Andre > > Thanks, > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Mon Feb 7 17:14:42 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Feb 2005 14:14:42 -0800 Subject: Open Directory reminder In-Reply-To: <1grib13.1nvlzx9u0cr6aM%mcdomi@free.fr> References: <1grib13.1nvlzx9u0cr6aM%mcdomi@free.fr> Message-ID: <4207E852.8000509@fourthworld.com> Dom wrote: > Richard Gaskin wrote: > > >> > > > Hmmmm... seems that there is NO "Transcript" category in French! > And there is no link to submit a new category -- unless you are an > editor.. > > I have one or two web sites to submit > -- but these are somewhat dormant, by now ;-) If the sites are dormant than I'm unclear about the usefulness of creating a new category for them. You can add them to the main Transcript listing with the word "FRENCH" as the first word in all caps to help other French speakers find it easily. If enough sites are out there discussing Transcript in French you can suggest to the category manager that a new sub-category be added. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From harrison at all-auctions.com Mon Feb 7 17:17:46 2005 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 7 Feb 2005 17:17:46 -0500 Subject: Success with Sending email without a SMTP Server!!!! In-Reply-To: References: <96b060e0d4d3367aa5be7c32939e999a@mac.com> <41FD465F.3030109@fourthworld.com> <685510677ac6a1457f660323cebdcad0@kagi.com> Message-ID: <30a503ad9bcca5e9779fa22a57f581b4@all-auctions.com> Andre, Now I'm getting: error: server was offended by our HELO Message. Does this mean that the program won't work with my email server because it is looking for Authentication? Thanks in advance. Rick From soapdog at mac.com Mon Feb 7 17:26:36 2005 From: soapdog at mac.com (Andre Garzia) Date: Mon, 7 Feb 2005 20:26:36 -0200 Subject: Success with Sending email without a SMTP Server!!!! In-Reply-To: <30a503ad9bcca5e9779fa22a57f581b4@all-auctions.com> References: <96b060e0d4d3367aa5be7c32939e999a@mac.com> <41FD465F.3030109@fourthworld.com> <685510677ac6a1457f660323cebdcad0@kagi.com> <30a503ad9bcca5e9779fa22a57f581b4@all-auctions.com> Message-ID: <5caa24ce01c1fe0b51147d6ae3a43145@mac.com> On Feb 7, 2005, at 8:17 PM, Rick Harrison wrote: > > Does this mean that the program won't work with my email server > because it is looking for Authentication? > > Among other things, yes... It might be failing due to an auth error or because your server is making a reverse lookup on the DNS database to see if you're an "blessed" SMTP server for the domain you claim to be. That stack and it's sendmail routines were created to enable a simple-no-fuss way to make apps that report back errors and feedback reports to a central or to solve everyday trouble. It's aimed at sending email without the need of entering account information. If you own an eMail account and are willing to use it to send email in a more polite way, like sending it to your SMTP server then trusting your SMTP server to talk to the destination SMTP server then you should use Shao Sean libEmail and libSMTP stacks. I just create a quick stack for the possible scenario where a user do not know it's own account info and yet you need to send email. It's not a all-situations-solved solution. you might try telneting your email server on port 25 and trying to use it by hand... to see what the problem is... Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From preid at reidit.co.uk Mon Feb 7 17:28:29 2005 From: preid at reidit.co.uk (Peter Reid) Date: Mon, 7 Feb 2005 22:28:29 +0000 Subject: Interactive Site listing CGI In-Reply-To: <20050207201052.66873.qmail@web60505.mail.yahoo.com> References: <20050207201052.66873.qmail@web60505.mail.yahoo.com> Message-ID: >Hi Peter, > >I think this is a case where one can transplant >regular Transcript into the rev-cgi arena. From a >recent post : > > >Of course in that script you can skip the folders, if >you're not looking to make available the files in the >subfolders. > >So you'll end up with something like : >-- >on startUp > > ## STEP 1 :: read the arguments > # read the query string passed from the webserver > put $QUERY_STRING into tQueryStringA > # turn it into an array for convenient access > split tQueryStringA using "&" and "=" > # make sure to URLDecode the arguments > put the keys of tQueryStringA into tArgNames > repeat for each line tArgName in tArgNames > put URLDecode(tQueryStringA[tArgName]) \ > into tArgumentsA[URLDecode(tArgName] > end repeat > > ## STEP 2 :: read the files > # now that we have our arguments, move on to the dir > set the defaultDirectory to & \ > tArgumentsA["directory"] > # read all the files in the chosen directory > put the files into tFiles > > ## STEP 3 :: build the file list as an HTML page > # you will want to change the formatting > put "" into tBuffer > put "Directory Contents" after \ > tBuffer > put "" after tBuffer > put "

Directory Contents :" && \ > tArgumentsA["directory"] after tBuffer > put "


" after tBuffer > # loop over the files > repeat for each line tFile in tFiles > put " URLEncode(tFile) & quote & ">" after tBuffer > put tFile & "
" after tBuffer > end repeat > put "
" after tBuffer > > ## STEP 4 :: send the result to the webserver > # start with the headers > put "Content-Type: text/html" & cr > put "Content-Length: && the length of tBuffer > put cr & cr & tBuffer > > # end of the cgi-script >end startUp >-- > >Hope this gets you closer to your solution, > >Jan Schenkel. Thanks Jan, I'll see where this takes me. Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk preid at reidit.demon.co.uk Web: http://www.reidit.co.uk http://www.reidit.demon.co.uk From frank at backtalk.com Mon Feb 7 17:40:24 2005 From: frank at backtalk.com (Frank Leahy) Date: Mon, 7 Feb 2005 22:40:24 +0000 Subject: =?iso-8859-1?q?Can=27t_type_foreign_character?= =?iso-8859-1?q?s_like_=FCmlaut_in_my_fields=2E=2E=2E?= Message-ID: <41F02410-7959-11D9-B2DD-000A9580FCCE@backtalk.com> Hi, I seem to be unable to type things like ?mlaut and ?edilla in the fields in my application (Arial font). I can paste them in, but I can't type them. Any ideas what is going wrong? RunRev 2.2. Thanks, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From scott at tactilemedia.com Mon Feb 7 18:06:37 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 07 Feb 2005 15:06:37 -0800 Subject: What Is Triggering The Menu? Message-ID: On OSX, I set up a menu with 1, 2 and 3 as command keys for one of the menu buttons. When pressing the keys on the keyboard, the menu flashes as if triggered, but no menuPick message is generated and the menu does nothing. If I change the command keys to letters, for example, the menuPick message is sent and the menu operates as expected. How can I use numbers as command key equivalents for menu options? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jeff at siphonophore.com Mon Feb 7 18:26:04 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Mon, 7 Feb 2005 18:26:04 -0500 Subject: MP3 without QuickTime on Windows In-Reply-To: <20050207220256.F3B02930144@mail.runrev.com> References: <20050207220256.F3B02930144@mail.runrev.com> Message-ID: <4d4e55189adccca00dc3602ea9797b9c@siphonophore.com> You will get different messages from Apple with each case you present, to different folks and at different times. When i have pressed a question they have usually ended up reverting to the letter of the license instead of waiving stuff. This has come up for me about a dozen times over the last decade. It was really funny when I did the Earth Explorer CD-ROM with them years ago (the first disc in Apple's ill fated CD-ROM publishing attempt), when these question came up it went around and around w/in apple for about two weeks before i got any straight answers. That was the early days of QT so it was all new... I understand what Apple is trying to do and dont really disagree with it. Its just that you should read the agreement carefully and make sure your app can play w/in the rules so you dont get a client in dutch later if something was out of bounds or the client wants to do something different later. And I have to admit I have not looked at the qt license in the last 4-6 months since the question last came up! In looking at it they have simplified it some, but it still has this clause: "Each Licensee Product must require End-Users not having QuickTime 6 on their computers to install the QuickTime Software using the QuickTime Installer." they have dropped the installer stuff they use to have. cheers, jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com On Feb 7, 2005, at 5:02 PM, use-revolution-request at lists.runrev.com wrote: > Jeffrey Reynolds wrote: >> The main problem with including the quicktime installer is its license >> agreement. You must make your application to only work with the >> version >> of qt (or later) at the time you release your product. > > I think I missed that clause of the license agreement. > > I wrote an Apple rep some time ago to clarify some of the questions > that > pop up here about it, and got her permission to post her reply to the > list: > 023869.html> > > The license agreement itself is available at: > quicktime.html> > > Any questions about it can be directed to the contact person noted > there: > > > Remember that Apple's goal is to evangelize QuickTime, not annoy > developers. If anything seems onerous about their license agreement it > can probably be clarified with a quick email to that address. From gjbalzano at popmail.ucsd.edu Mon Feb 7 18:41:27 2005 From: gjbalzano at popmail.ucsd.edu (Jerry Balzano) Date: Mon, 7 Feb 2005 15:41:27 -0800 Subject: Problem! Inaccessible substack In-Reply-To: <20050206005920.67801.qmail@web61207.mail.yahoo.com> References: <20050206005920.67801.qmail@web61207.mail.yahoo.com> Message-ID: Yes, check the history of this problem (one of my posts of 2/4). The Application Browser didn't even "see" that there was a substack there. - Jerry On Feb 5, 2005, at 4:59 PM, Erik Hansen wrote: > > --- Jerry Balzano > wrote: > >> Thanks to Richard, Chipp, and Alex for their >> responses to my plea for >> assistance. >> >> It turned out that Richard's suggested script >> (below) fixed the problem >> just fine ? what a life saver! > > just curious, did you use > the "Application Browser"? > > Erik Hansen > > ===== > erik at erikhansen.org http://www.erikhansen.org > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Feb 7 18:43:36 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Feb 2005 17:43:36 -0600 Subject: What Is Triggering The Menu? In-Reply-To: References: Message-ID: <4207FD28.4030403@hyperactivesw.com> On 2/7/05 5:06 PM, Scott Rossi wrote: > On OSX, I set up a menu with 1, 2 and 3 as command keys for one of the menu > buttons. When pressing the keys on the keyboard, the menu flashes as if > triggered, but no menuPick message is generated and the menu does nothing. > If I change the command keys to letters, for example, the menuPick message > is sent and the menu operates as expected. How can I use numbers as command > key equivalents for menu options? The IDE traps for these and uses them to navigate around the stack. Could it be that the IDE is intercepting your menu commands? If your stack is frontmost and its menubar is showing, then that shouldn't happen of course. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Mon Feb 7 18:46:12 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 7 Feb 2005 13:46:12 -1000 Subject: CGI access to PostGreSQL In-Reply-To: <20050207204915.8213.qmail@web60507.mail.yahoo.com> References: <20050207204915.8213.qmail@web60507.mail.yahoo.com> Message-ID: <9dfa495bce6bc70b3b4405b45b35baf6@hindu.org> Aloha, Jan: Linux box running Red Hat (not sure which version... is that critical?) version() returns 2.6 Thanks Sivakatirswami Jan wrote: > What platform is the CGI-engine running on, and which > version of the CGI-engine is it ? You may need to copy > the revdb library and assorted drivers to the > /usr/local/bin directory. > > Jan Schenkel. > --- Sivakatirswami wrote: >> We have a POSTGreSQL dBase running on a linux box >> >> [snip] #!/usr/local/bin/revolution >> >> on startup >> >> put >> > revOpenDatabase("Postgresql","himalayanacademy.com","cybertalks","htoda > y >> >> ","--real password goes here--") into pConnectionID >> [snip] >> >> Running this from terminal returns these errors >> >> ./blurb.rev >> /usr/local/bin/revolution: Script parsing error at >> line 13, column 1 >> /usr/local/bin/revolution: Can't load stack or >> script ./blurb.rev >> > > nly the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Mon Feb 7 21:53:01 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 08 Feb 2005 02:53:01 +0000 Subject: Arrays In-Reply-To: References: Message-ID: <4208298D.3010504@tweedly.net> Ben Fisher wrote: >I'm working on image processing. Let's say I wanted to lighten every shade in the image by 2. The way I do this now is by getting the chartonum of each char in the imagedata (except for every fourth char which is always 0), adding 2, getting the numtochar, and putting this after a variable. Then I set the imagedata of the image to that variable. It works great, but it's a little slow. Too slow for a smooth animation which is what I'm trying to accomplish. > >Is there a way to directly add something to the imagedata in binary? For example, adding 2 to all the red in an image in one step rather than going through all the data manually. Or is converting binary>decimal>binary necessary? > Frank's suggestion of blendLevel (with perhaps a transparent and/or primary-coloured overlay) is probably your best hope for a quick solution. Part of the solution SHOULD be binaryEncode/binaryDecode - but unfortunately they are currently limited in what they can do (without any obvious reason why they need to be). I'm planning to submit an enhancement request in this area - and thought I'd run a draft by the list to see if there are any suggestions. Enhancement suggestion for binaryEncode/binaryDecode 1. Provide explicit "big-endian" and "little-endian" integer codes. binaryEncode/Decode provide codes for host order ('s', 'S', 'i', 'I') and network-order ('n', 'N'). However, some file formats (notably EXIF metadata in JPG and other photo formats) specify the byte-order as big-endian or little-endian, so can only be decoded by building in knowledge of the endian-ness of the host (and in the case of big-endian hosts such as PPC, there is no way to do a little-endian integer (en)decode). 2. Bulk conversion. binaryDecode could provide a mechanism to easily convert a block of similar integers; the essential part of it is already there (for example a code value such as "12N" to extract the next 12 (network-order) 4-byte integers. However, this can only be used in conjunction with an explicit variable list, such as put binaryDecode("12N", buffer, i1, i2, i3, i4, i5, .... i12) into tResult which is very cumbersome to deal with. This should be enhanced to allow one of the following: 2a. array container instead of variable list. put binaryDecode("12N", buffer, myArray) into tResult repeat with i= 1 to tResult dealWith(myArray[i]) end repeat 2b. single variable, with each decoded value going into a separate item (or word, or line) put binaryDecode("12N", buffer, myVar) into tResult repeat for each item thisOne in myVar dealWith(thisOne) end repeat And of course, a corresponding change for binaryEncode. 3. Binary and array manipulations 3a. The arithmetic operators can all handle the case where the container is an array, and implement either array-to-array or scalar-to-array operations. It would be useful to extend this mechanism to include the binary operators (bitAnd, bitOr, etc.) 3b. It would also be useful if there were the option of "cycling" the shorter array, rather than treating the non-existent entries as zero. (see below for example) 3c. This style of array manipulations could be extended to binary buffers, with both bit and arithmetic operations happening to each byte of the buffer. (extend to buffers of 2-bye and 4-byte integer ???? probably not). example of 3b and 3c: adding value to a single colour channel in imagedata; you would supply one operand as 0200 (as bytes, not as a character string), and add that to the binary buffer or array. 4. Add a new chunk type "byte" (I don't really expect this one to happen :-) Thus one could do add 2 to byte 4 of myVar bitAnd x'7f' to bytes 12 to 44 of myVar - Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005 From vanesch at yahoo.com Mon Feb 7 21:58:35 2005 From: vanesch at yahoo.com (Stephen Van Esch) Date: Mon, 7 Feb 2005 18:58:35 -0800 (PST) Subject: .mov on Windows Message-ID: <20050208025836.17702.qmail@web30805.mail.mud.yahoo.com> Folks: I'm testing a stack that includes a single .mov file. The movie displays fine on a Mac but doesn't appear on Windows. If I try to open the movie on the disc rather than through the app I receive a message that states that I "may have problems playing the video track because the required compressor could not be found." Quicktime 6 is installed on the target machine. Is there something I'm doing wrong when encoding the video that Rev won't accept? I'm currently using SnapzProX to capture video. Unfortunately, I can't test extensively on Windows because I don't have ready access to a Windows box. Steve __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail From vanesch at yahoo.com Mon Feb 7 22:02:46 2005 From: vanesch at yahoo.com (Stephen Van Esch) Date: Mon, 7 Feb 2005 19:02:46 -0800 (PST) Subject: Graphics stored externally? Message-ID: <20050208030247.18940.qmail@web30805.mail.mud.yahoo.com> Folks: I'm using a png as a background image for a project. Is it necessary to have this image linked in a separate folder when I ship the project? It seems odd that the image needs to be stored externally. Steve __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 From scott at tactilemedia.com Mon Feb 7 22:15:33 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 07 Feb 2005 19:15:33 -0800 Subject: .mov on Windows In-Reply-To: <20050208025836.17702.qmail@web30805.mail.mud.yahoo.com> Message-ID: Recently, Stephen Van Esch wrote: > I'm testing a stack that includes a single .mov file. > The movie displays fine on a Mac but doesn't appear on > Windows. > > If I try to open the movie on the disc rather than > through the app I receive a message that states that I > "may have problems playing the video track because the > required compressor could not be found." > > Quicktime 6 is installed on the target machine. > > Is there something I'm doing wrong when encoding the > video that Rev won't accept? I'm currently using > SnapzProX to capture video. > > Unfortunately, I can't test extensively on Windows > because I don't have ready access to a Windows box. SnapzPro may be set to use a compression codec (ie Cinepak, Sorenson, etc) that is not present on the target machine. It would be best to find out what is actually available on your target machine. Also, you may need to "flatten" the movie, which means move any Mac-specific info into the MOV's data fork. There used to be a specific option in QT Pro to do this but I'm not sure what Apple calls it now (might be Optimize Hints for Server but not sure). Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Mon Feb 7 22:17:55 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 07 Feb 2005 19:17:55 -0800 Subject: Graphics stored externally? In-Reply-To: <20050208030247.18940.qmail@web30805.mail.mud.yahoo.com> Message-ID: Recently, Stephen Van Esch wrote: > I'm using a png as a background image for a project. > Is it necessary to have this image linked in a > separate folder when I ship the project? It seems odd > that the image needs to be stored externally. If you choose Import as Control/Image File... from the File menu, the image will be imported and embedded in your stack, without the need to include the image as a separate external file. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ps1 at softseven.org Mon Feb 7 22:56:36 2005 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 07 Feb 2005 21:56:36 -0600 Subject: Resizing stack to any screen size! In-Reply-To: <001801c4f054$e8a8eb40$17daa4cb@p4c2ghz> References: <001801c4f054$e8a8eb40$17daa4cb@p4c2ghz> Message-ID: <6.1.1.1.2.20050207215410.02719008@softseven.org> At 04:54 PM 1/1/2005, you wrote: >Hi all, >Have seen a few posts about how to rezize a stack to suit your screen >size, here's how I did it! > >Resizing the main stack to suit any screen size is quite simple really, >the challenge comes when trying to keep all your fields in a relative size >& position. >To resize a stack to any screen size I use the following code; > >on preOpenStack >-- get users screen size -- left,top,width,height > > put the screenrect into tScreenSize > >-- *Note: screenrect is the working size of the window NOT including borders. >-- For this reason we set the parameters as follows. > > set itemDel to "," > put item 3 of tScreenSize into tWidth > put item 4 of tScreenSize into tHeight > set the rect of this stack to 2,28,tWidth-2,tHeight-4 > >end preOpenStack > >2 puts the window 2 pixels from the left >28 puts the window 28 pixels from the top, this allows the window title >bar to show. >tWidth-2 sets the overall window width to the screen size -2 pixels to >allow the border to fit. >tHeight-4 sets the overall window height to the screen size -4 pixels to >allow the border to fit. > >This setting works well using windows XP but I haven't tested it on other OS'. > >To manipulate fields etc. use; set the rect of fld "fieldname" to >?,?,tWidth-?,tHeight-? > >Happy New Year!! ..... Dwayne How do you apply the above theory the resize other object based on a percent of screen size? image, label, button, etc? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From scott at tactilemedia.com Mon Feb 7 23:52:40 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 07 Feb 2005 20:52:40 -0800 Subject: What Is Triggering The Menu? In-Reply-To: <4207FD28.4030403@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: >> On OSX, I set up a menu with 1, 2 and 3 as command keys for one of the menu >> buttons. When pressing the keys on the keyboard, the menu flashes as if >> triggered, but no menuPick message is generated and the menu does nothing. >> If I change the command keys to letters, for example, the menuPick message >> is sent and the menu operates as expected. How can I use numbers as command >> key equivalents for menu options? > > The IDE traps for these and uses them to navigate around the stack. > Could it be that the IDE is intercepting your menu commands? If your > stack is frontmost and its menubar is showing, then that shouldn't > happen of course. Thanks for the reminder. Turned out this was the case, but in the MC IDE. Even though my menubar was active, MC still trapped the commands for itself. I commented the commandkey lines out in the tools stack and things seem to be working as needed. Thanks again. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From hershrev at realtorsgroup.us Mon Feb 7 23:58:30 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Mon, 07 Feb 2005 23:58:30 -0500 Subject: Postgres In-Reply-To: <20050207194539.53506.qmail@web60502.mail.yahoo.com> Message-ID: On 2/7/05 2:45 PM, "Jan Schenkel" wrote: Thanks, it works with the addition of 255.255.255.255 . My question now if I want to enable a range of ip's how do I do that instead of putting a whole lot of lines , like writing All all 0.0.0.0 255.255.255.255 trust or leaving it blank All all 255.255.255.255 trust would work? Hershel > --- Hershel Fisch wrote: >> Hi all I'm trying to connect to my postgres 8.0 >> server on a osx 10.3 >> >> >> This is a copy from the pg_hpa.con file >> >> >> # TYPE DATABASE USER CIDR-ADDRESS >> METHOD >> >> # "local" is for Unix domain socket connections only >> local all all >> trust >> # IPv4 local connections: >> host all all 127.0.0.1/32 >> trust >> >> host all all 192.168.1.101 >> trust # this is the >> line I added . >> >> # IPv6 local connections: >> host all all ::1/128 >> trust >> >> The error " FATAL: missing or erroneous pg_hba.conf >> file." >> Thanks a mill. >> Ps I reinstalled postgres clean. >> Thanks , Hershel >> > > Hi Hershel, > > I think you forgot to add the subnet-mask at the end > of that IP-address 192.168.1.101 -- I think that ought > to be /24 but I'm not good with this sort of > calculations. However, there are calculators on the > internet. > > Hope this helped, > > Jan Schenkel. > > ===== > Quartam - Tools for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - What will yours do? > http://my.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From gcanyon at inspiredlogic.com Tue Feb 8 00:04:10 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 7 Feb 2005 21:04:10 -0800 Subject: Concise Variables In-Reply-To: References: Message-ID: On Feb 6, 2005, at 4:22 PM, Scott Rossi wrote: > Yeah, unwieldy is what I'm trying to avoid. I've got a somewhat > complicated > script that lays out custom stacks on-the-fly and need to reference > absolute > paths of all the controls so the app can know where to find them. > Storing > the object references in "local global" variables will work perfectly > for my > needs. I figured as much. I just wanted to get the initialization script idea out there in case anyone in a similar situation has an already-too-complicated global name space. regards, Geoff Canyon gcanyon at inspiredlogic.com From b.xavier at internet.lu Tue Feb 8 00:35:58 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Feb 2005 06:35:58 +0100 Subject: Abnormal behavior? In-Reply-To: Message-ID: <20050208054317.0B71693023C@mail.runrev.com> I have a field script with a keydown event which responds to keys typed in a field and which checks for pretyping using a handler. I also have a frontscript (XOS) with a generic pretype handler of the same name. What is abnormal is that when the keydown event calls the pretyping handler, the frontscript is the one that takes priority and not the handler in the same script! This busts completely the local overide principle in scripts... And the hierarchy of events... Other than renaming the handler name or "sendind" the handler to itself (the field) how can I "count" on having the right handler being called in all times? cheers Xavier -- http://MonsieurX.com From scott at tactilemedia.com Tue Feb 8 00:34:44 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 07 Feb 2005 21:34:44 -0800 Subject: Abnormal behavior? In-Reply-To: <20050208054317.0B71693023C@mail.runrev.com> Message-ID: Recently, MisterX wrote: > I have a field script with a keydown event > which responds to keys typed in a field and > which checks for pretyping using a handler. > > I also have a frontscript (XOS) with a generic > pretype handler of the same name. > > What is abnormal is that when the keydown event > calls the pretyping handler, the frontscript is > the one that takes priority and not the handler > in the same script! > > This busts completely the local overide principle > in scripts... And the hierarchy of events... > > Other than renaming the handler name or "sendind" > the handler to itself (the field) how can I "count" > on having the right handler being called in all times? If I understand you correctly, I would think the behavior is correct. If a frontscript wasn't triggered first, why would you bother having frontscripts at all? Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Tue Feb 8 00:38:14 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Feb 2005 22:38:14 -0700 Subject: Arrays In-Reply-To: <4208298D.3010504@tweedly.net> References: <4208298D.3010504@tweedly.net> Message-ID: On Feb 7, 2005, at 7:53 PM, Alex Tweedly wrote: > Part of the solution SHOULD be binaryEncode/binaryDecode - but > unfortunately they are currently limited in what they can do (without > any obvious reason why they need to be). I'm planning to submit an > enhancement request in this area - and thought I'd run a draft by the > list to see if there are any suggestions. A general solution might be in aggregate functions, functions that apply bunches of things as well as things and work much like LISP map. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From lists at mangomultimedia.com Tue Feb 8 01:07:06 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 7 Feb 2005 22:07:06 -0800 Subject: .mov on Windows In-Reply-To: References: Message-ID: <21579b7bf93a5fd27099479d70519a43@mangomultimedia.com> On Feb 7, 2005, at 7:15 PM, Scott Rossi wrote: > SnapzPro may be set to use a compression codec (ie Cinepak, Sorenson, > etc) > that is not present on the target machine. It would be best to find > out > what is actually available on your target machine. > > Also, you may need to "flatten" the movie, which means move any > Mac-specific > info into the MOV's data fork. There used to be a specific option in > QT Pro > to do this but I'm not sure what Apple calls it now (might be Optimize > Hints > for Server but not sure). Steve, What Scott mentions in the first paragraph is most likely your problem. You shouldn't run into the problem of a movie not being flattened using SnpazPro. You most likely compressed with a codec that isn't part of the standard QuickTime installation (the TechSmith Ensharpen codec for example). After recording your movie in SnapzPro the dialog box that comes up will tell you what compressor you are saving the movie with. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revdan at danshafer.com Tue Feb 8 02:44:46 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 7 Feb 2005 23:44:46 -0800 Subject: [OT] Understanding Codecs (was Re: .mov on Windows) In-Reply-To: <21579b7bf93a5fd27099479d70519a43@mangomultimedia.com> References: <21579b7bf93a5fd27099479d70519a43@mangomultimedia.com> Message-ID: I have been doing a good bit of work with SnapZProX lately and I've been stymied by a problem related to the one in this thread. So far, I have been unable to find any way to understand the specific codecs for sound and video compression used in the SnapZProX product in terms of: 1. Which are the best at compressing with minimal loss 2. Which are included as part of the QT distro 3. Which are likely to cause problems on Windows Can anyone point me to a resource? I'll spend the time to learn this stuff but I've posted on a half-dozen message boards to no avail and searched with Google/A9 until I can't come up with terms to use for searching any more. Dan On Feb 7, 2005, at 10:07 PM, Trevor DeVore wrote: > You most likely compressed with a codec that isn't part of the > standard QuickTime installation (the TechSmith Ensharpen codec for > example). After recording your movie in SnapzPro the dialog box that > comes up will tell you what compressor you are saving the movie with. > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From xbury.cs at clearstream.com Tue Feb 8 02:45:29 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 8 Feb 2005 08:45:29 +0100 Subject: Abnormal behavior? Message-ID: > >If I understand you correctly, I would think the behavior is correct. If a >frontscript wasn't triggered first, why would you bother having frontscripts >at all? > Scott, The question is rather how do you overide a frontscript?... In general and in most situations a local item overides a global counterpart. If i have a card script and an equal stack (or bg) script, the card script is the first to run... Maybe I got the frontscript wrong... And that script shouldn't be there but still im surprised of the behavior... Xavier On 08.02.2005 06:34:44 use-revolution-bounces wrote: >Recently, MisterX wrote: > >> I have a field script with a keydown event >> which responds to keys typed in a field and >> which checks for pretyping using a handler. >> >> I also have a frontscript (XOS) with a generic >> pretype handler of the same name. >> >> What is abnormal is that when the keydown event >> calls the pretyping handler, the frontscript is >> the one that takes priority and not the handler >> in the same script! >> >> This busts completely the local overide principle >> in scripts... And the hierarchy of events... >> >> Other than renaming the handler name or "sendind" >> the handler to itself (the field) how can I "count" >> on having the right handler being called in all times? > >If I understand you correctly, I would think the behavior is correct. If a >frontscript wasn't triggered first, why would you bother having frontscripts >at all? > >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 drphilippegiraudet at wanadoo.fr Tue Feb 8 03:56:28 2005 From: drphilippegiraudet at wanadoo.fr (drphilippegiraudet) Date: Tue, 8 Feb 2005 09:56:28 +0100 Subject: re Text file database, moving from Mac OsX to windows Message-ID: <51D91A6E-79AF-11D9-9555-000D933C32A4@wanadoo.fr> Hello Thanks to Robert Brenstein and Klaus Major for their answers. The question is not an encoding problem and no more a corruption of data because of simultaneous writing access, because I still only tested it in mono user access, on windows. I just realise, with what Robert says that the corruption by simultaneous writing access will be my next problem ;-)))) ... ;-( the problem is that when you enter a command line such as write appointment to file Pathway at (1001+dayLength*(dayNumber-1)+225+(RoomNum-1)*4001+(AppNum-1)*100-1) It writes at the rigth place on Mac and at the wrong place on windows! I believe it can't be an error on calculation of the first char: (1001+dayLength*(dayNumber-1)+225+(RoomNum-1)*4001+(AppNum-1)*100-1) I prefer to suppose it is a quetion of length of the chain I write : if some chars like return or even tab are not counted , in a 8MB text file, it makes a great difference at the end of the file. but now I have another Question: Robert Brenstein, you wrote me : "You are not handling file access correctly and the file is getting corrupted because more than single person tries to write to it. Setting up multi-user access is not so trivial. Using text files is actually the least optimal. It is better to work along the client-server approach. This means that there is a central computer designated as a master of data and each client computer just talks to it and displays data locally. Alternatively, each computer can maintain its own copy of the text and sporadically synchronizes with others. But the algorithm for synchronization can be a real headache." So if the text file is not the rigth way for handling multi users database, and that my next problem will be corruption by simultaneous writing access, may be it is more interesting to ask you what is the best way to manage databases under Revolution: What is a client-server approach ? Would SQL be usefull in that case? Heard speaking about substacks that can save data ( and didn't understand why the mainstack cannot). is it possible to easily manage Multi Users access to an external stack? Where can I learn about those, client server, SQL, External stacks? Is it realistic to try it, if I tell you that I am already VERY busy...!? Many thanks for your help Philippe Giraudet From mcdomi at free.fr Tue Feb 8 04:11:19 2005 From: mcdomi at free.fr (Dom) Date: Tue, 8 Feb 2005 10:11:19 +0100 Subject: Open Directory reminder In-Reply-To: <4207E852.8000509@fourthworld.com> Message-ID: <1grntau.670b1g7iuk8wM%mcdomi@free.fr> Richard Gaskin wrote: > You can add them to the main Transcript listing with the word "FRENCH" > as the first word in all caps to help other French speakers find it easily. My concern was that there is no "Transcript" entry in the french speaking section... As for your suggestion, at Open Directory they clearly warn against this -- they don't want non english speaking section under the main listing... So, I thought simply to translate the english description under "Transcript" title, to put it under a new "transcript" title in the french speaking section -- but you have to be an editor to do that. By the way, I know there is a number of french speaking people onto this list (not so much on the Revolutionfr list ;-<) -- one may add some vivid french speaking web sites to the new section! -- From graham.samuel at wanadoo.fr Tue Feb 8 04:41:06 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Tue, 8 Feb 2005 10:41:06 +0100 Subject: Slightly OT: Thanks to Frank and Mark Message-ID: > I owe Frank D Engel Jr and Mark Talluto thanks for answers to daft questions of mine (Network Hell and Re: image contrast and brightness). Frank, I'm starting on your network references right now- looks like a life saver. And I've ordered the book you recommended, Mark. And as to your ref to RevOnline: > > That looks like a ref to a RevOnline user space. If you are not > running 2.5, download the free Dreamcard Player to gain access to the > user spaces; if you are running 2.5. click the "Rev Online" button on > the toolbar. > I have to say that I'd forgotten about RevOnline because although I'm a 2.5 user, I've been on a very slow dialup link for quite a time and really didn't want to go there (and if you think that's bad, try using iDisk with a 28Kbaud connection...). However the French government has just fulfilled its promise in my corner of rural France to provide us all with broadband, so things will be different from now on. Back to work - my next post will actually be about Rev. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From len-morgan at crcom.net Mon Feb 7 22:35:27 2005 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 07 Feb 2005 21:35:27 -0600 Subject: Ultra Beginner Question/Request In-Reply-To: <20050207155938.713A79300E5@mail.runrev.com> References: <20050207155938.713A79300E5@mail.runrev.com> Message-ID: <4208337F.9060504@crcom.net> I'd like to thank everyone that offered help about this! It appears that my original question (or more accurately the answers I was looking for) were misinterpreted. I know how to program, I'm familiar with event driven programming (the Tk GUI is also event driven), and with what is going through a user's head when they are staring at the screen). I also am familiar with client/server applications (that's what mine is) with a database backend (I currently use Postgres and when a customer requires it - MS SQL). Frank got the closest to answering my question. Thanks Frank!! I think the word I should have used instead of "design" is partition. What cards/stacks would I divide up the functions on to. If I understand Frank's response (recommended reading for ANYONE just starting out!) I'd have a main stack to get everything up and running, then a stack just for the database operations, and cards on the main stack for each of the "pages" that do something. I agree with prior comments that you should probably bite off a smaller chunk of the program first (do simpler related projects in order to become familiar with Rev before trying to tackle a larger project like this), but in the meantime here are some pointers to help direct you in what you will want to research during that time: > I recommend PostgreSQL if you are not already using a compatible > database server Already using Postgres (see above). >The menu should be created almost first in your project, as it can >throw off your interface if you try to add it later. Even if you do >not include every menu and item right away, if you are going to have a >menu in any particular stack, create one right away, even if it is just >a placeholder at first. You can use the Menu Builder (in the Tools >menu). The menu was actually the easiest part but I'm curious why it would throw off the process if it was saved until later? Is it because it adds to the window size and therefore throws off all of the carefully laid out GUI? > Rev does not have native support for Toolbars, but you can rather > easily "fake" one just by placing controls appropriately and managing > window resizes as needed. My Tcl/Tk extensions don't have a toolbar either and I managed to "fake" it there too so I don't see this as a big problem. > Interface layout becomes *much* simpler if > you can use a fixed-size stack window; if you want it to be resizable, > spend some time with some prototype interfaces learning to use the > Geometry Manager (the Geometry pane of the Properties palette for > various kinds of objects) as there are some hidden gotchas that are not >always obvious when you just get started. I am fortunate here because my app only runs in two sizes: maximized and minimized. :-) >> select what the user wants to do, a "current inmate" frame which is >> only a little taller than the text and labels that are on it, a large >> "main area" where different things go depending on what you select >> from the combobox, and at the bottom a status/progess bar. In a > > > As for the two frames, > you really have two different options, and what is best will depend on > the specific program and the approach you are more comfortable with. > As for the "current inmate" frame: is there exactly one version of this > frame, or are there multiple possible interfaces that could be placed > here? If just one, I would suggest this approach: The "current inmate" frame ALWAYS shows the inmate the user is currently working with (and thus, the name). Making it a group and having it act like a background sounds like exactly what I need since it WILL be displayed on every card, even when those pages that don't directly relate to an inmate are displayed although with RR, it might not be necessary to put it on these "extra" pages. > Warning: Note that buttons have a "shared highlight" property, and > fields have a "shared text" property. If the "shared text" property of > a field is turned ON, then the content of the field will be the same > regardless of what card you look at. This is EXACTLY the behavior I'm looking for. The "current inmate" frame holds general information (ID#, name, DOB, Quarters, Day In, etc) and the individual cards contain more specific information (one might have family details and physical description, another his commissary account history, another his movement history, etc). > The other approach is to use a single card for the entire interface. > Now you group the controls for each of the interfaces in the other > pane, hide all of the groups except the one you want to be visible, and > show the one that should be visible. This allows multiple panes to > have multiple interfaces, and allows them to be changed independently >of each other. This sounds like it could be a little "messy." For me, I think the first approach is the way to go. > Another warning: a group marked to act as a background is inserted just > before the card in the message path. In other words, if a handler for > a message sent to a control is not found in the script of that control, > then even if that control is not in the group, if the group's script > contains a handler for that message, it will intercept the message > before the card receives it. I recommend not assigning a script to a > group if you can avoid it, at least until you realize the implications > of this (and have some experience with Rev and its message path), >particularly when dealing with background groups. Warning taken (if not fully understood). Is there a "message trace" utility that might show the path of a message through various controls, groups, cards, and stacks? It seems like this kind of a tool would find problems like this quickly. > If you go with the multiple cards-shared group approach, these buttons > could be in a shared group and each have a script which sends a custom > message to itself. Let the message pass through to the card script, > where it would be handled for the specific interface you are looking > at. So for example, in the "+" button script: > on mouseUp > send addWhatever to me > end mouseUp > Then in each of the cards, something like this (say, a list of inmates): > on addWhatever > disable button "+" > go to card "add an inmate" > end addWhatever > Now in the "add an inmate" card, once the inmate has been added or the > action cancelled: > on mouseUp -- in a "Save"/"OK" or "Cancel" button > -- perform needed database actions, if any > enable button "+" > go to card "inmate list" > end mouseUp This makes sense and is effectively the way I'm doing it in Tcl/Tk. What I do in my current system is to change the handler for the button when I display different pages (cards) and each of the pages has an add handler, save handler, etc. > I like to handle these things by disabling buttons and fields as > appropriate from within the login handler. So after authenticating > with the database and figuring out what the current user can do, I > disable any buttons and fields that I know ahead of time will apply > everywhere, then I use custom properties of the stack to track what a > user may do. Then for things which need to be adjusted dynamically, I > handle enable/disable in a preOpenCard handler, or on-the-fly as > various events take place which could change that, by using those > custom properties to determine who may do what. This is probably the only point where I might disagree with you (at least if I understand what you are saying). There is another program by another company that does the same job that mine does and they use this approach except they have a vertical scrolling list of buttons down the right hand side of the screen. 283 of them and they all APPEAR active (i.e., not grayed out). 283!!! If they press a button that they don't have access to, they get an error message. Most users need at most 5 or 6 of them but they have to scroll up and down the list to find those 5 or 6 (which seem to be arranged in the order that they thought of them, not alphabetical, not grouped by function). When my program has been compared side to side with this one, I always "win" when it comes to user friendlyness because all a user ever sees is what they need for their particular job function. See more comments below after the next section... > Yep, use the groups like that and enable/disable as I mentioned above. > Use the same cards for each profile, then just enable or disable > buttons and fields depending on the access level of the user. You can > also show or hide fields and buttons if that is more useful, but I > would advise you to keep that to a minimum if your objective is > security control. Much better to disable controls than to hide them. > Use the database to handle your search (with SQL SELECT statements). I think what I'd really like to do, taking into account the suggestion above and in other messages, is to have a main stack to get things going and a database interface stack to handle that end. The main stack would get login information and find out which "profile" we are going to use. The profiles would be individual stacks that held one profile each with cards for each page that profile needs. Is it possible to "load" cards into a stack at run time? In other words, could I create one "search" card on a stack of utility pages, and say a card for room changes and another for facility changes on a "movement cards" stack and then load these separate cards "onto" the "records clerk" stack (say from a list of stacks/cards stored on the records clerk stack? If I could do that, then if I made a change to the search card, the next time a record clerk logged in, they would get the latest version of this card. The other alternative is to put the actual cards necessary on each profile stack and then if I made a change to the search card, I would have to copy it to all of the other profile stacks (since they ALL have the search card). That could work but the first way seems a lot more practical. It would be great if you could embed stack within another (like in a smaller window) but I don't think RR can do that. It would be a cool feature though with lots of possibilities. > I still recommend an SQL engine for this kind of project, however, as it > gives you multiuser support almost "for free" and it will be *much* > faster at searching, and make it easier to enforce tighter security. As I said above, I'm already using a backend SQL database. One of my customers has over 22,000 inmates in file (current and past) and well over 1/2 a million commissary transactions. I have no idea how many commissary line items there are (I store every line item when an inmate makes a purchase in the commissary so I could tell you if an inmate bought a Snickers bar 3 years ago on a Wednesday in May (and do it in under a second). Go Postgres!!! Again, thanks for ALL the input from everyone. I hope others are benefiting from this exchange than just me! Len Morgan From prakashsingh_solanki at yahoo.co.in Tue Feb 8 03:32:01 2005 From: prakashsingh_solanki at yahoo.co.in (prakash singh) Date: Tue, 8 Feb 2005 08:32:01 +0000 (GMT) Subject: use-revolution Digest, Vol 17, Issue 26 In-Reply-To: <20050208051412.F33B1930242@mail.runrev.com> Message-ID: <20050208083201.91354.qmail@web8510.mail.in.yahoo.com> remove use-revolution-request at lists.runrev.com wrote:Send use-revolution mailing list submissions to use-revolution at lists.runrev.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.runrev.com/mailman/listinfo/use-revolution or, via email, send a message with subject or body 'help' to use-revolution-request at lists.runrev.com You can reach the person managing the list at use-revolution-owner at lists.runrev.com When replying, please edit your Subject line so it is more specific than "Re: Contents of use-revolution digest..." you can find the archives for this list at: http://lists.runrev.com/pipermail/use-revolution/ and search them using this link: http://www.google.com/advanced_search?q=site:lists.runrev.com Today's Topics: 1. Re: Success with Sending email without a SMTP Server!!!! (Rick Harrison) 2. Re: Success with Sending email without a SMTP Server!!!! (Andre Garzia) 3. Re: Open Directory reminder (Richard Gaskin) 4. Re: Success with Sending email without a SMTP Server!!!! (Rick Harrison) 5. Re: Success with Sending email without a SMTP Server!!!! (Andre Garzia) 6. Re: Interactive Site listing CGI (Peter Reid) 7. Can't type foreign characters like ?mlaut in my fields... (Frank Leahy) 8. What Is Triggering The Menu? (Scott Rossi) 9. Re: MP3 without QuickTime on Windows (Jeffrey Reynolds) 10. Re: Problem! Inaccessible substack (Jerry Balzano) 11. Re: What Is Triggering The Menu? (J. Landman Gay) 12. Re: CGI access to PostGreSQL (Sivakatirswami) 13. Re: Arrays (Alex Tweedly) 14. .mov on Windows (Stephen Van Esch) 15. Graphics stored externally? (Stephen Van Esch) 16. Re: .mov on Windows (Scott Rossi) 17. Re: Graphics stored externally? (Scott Rossi) 18. Re: Resizing stack to any screen size! (Paul Salyers) 19. Re: What Is Triggering The Menu? (Scott Rossi) 20. Re: Postgres (Hershel Fisch) ---------------------------------------------------------------------- Message: 1 Date: Mon, 7 Feb 2005 17:03:37 -0500 From: Rick Harrison Subject: Re: Success with Sending email without a SMTP Server!!!! To: How to use Revolution Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed On Feb 7, 2005, at 2:39 PM, Andre Garzia wrote: > Rick, > > thanks for the cumpliments! That stack is a collection of works from > many enthusiasts round here! I compressed the stack with standard zip > format just for you! :D > > it's now at http://www.soapdog.org/rev/SMTPRaw.rev.zip > > > Have fun! > andre > Andre, Thanks! I tried it and I'm getting the following error. error: could not get MX Records, try again in 5 secs Any idea what might be causing this? Thanks, Rick ------------------------------ Message: 2 Date: Mon, 7 Feb 2005 20:08:06 -0200 From: Andre Garzia Subject: Re: Success with Sending email without a SMTP Server!!!! To: How to use Revolution Message-ID: <88b04d1fbc096fe614d16e7fb4194c6e at mac.com> Content-Type: text/plain; charset=MACINTOSH; format=flowed On Feb 7, 2005, at 8:03 PM, Rick Harrison wrote: > Andre, > > Thanks! > > I tried it and I'm getting the following error. > > error: could not get MX Records, try again in 5 secs > > Any idea what might be causing this? This means that communication with DNS server is wrong somehow... try emailing other email... Try emailing me at soapdog at mac.com, we know that .Mac SMTP server is friendly enough for this to work. Then report back here! :D Andre > > Thanks, > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org ------------------------------ Message: 3 Date: Mon, 07 Feb 2005 14:14:42 -0800 From: Richard Gaskin Subject: Re: Open Directory reminder To: How to use Revolution Message-ID: <4207E852.8000509 at fourthworld.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dom wrote: > Richard Gaskin wrote: > > >> > > > Hmmmm... seems that there is NO "Transcript" category in French! > And there is no link to submit a new category -- unless you are an > editor.. > > I have one or two web sites to submit > -- but these are somewhat dormant, by now ;-) If the sites are dormant than I'm unclear about the usefulness of creating a new category for them. You can add them to the main Transcript listing with the word "FRENCH" as the first word in all caps to help other French speakers find it easily. If enough sites are out there discussing Transcript in French you can suggest to the category manager that a new sub-category be added. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com ------------------------------ Message: 4 Date: Mon, 7 Feb 2005 17:17:46 -0500 From: Rick Harrison Subject: Re: Success with Sending email without a SMTP Server!!!! To: How to use Revolution Message-ID: <30a503ad9bcca5e9779fa22a57f581b4 at all-auctions.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Andre, Now I'm getting: error: server was offended by our HELO Message. Does this mean that the program won't work with my email server because it is looking for Authentication? Thanks in advance. Rick ------------------------------ Message: 5 Date: Mon, 7 Feb 2005 20:26:36 -0200 From: Andre Garzia Subject: Re: Success with Sending email without a SMTP Server!!!! To: How to use Revolution Message-ID: <5caa24ce01c1fe0b51147d6ae3a43145 at mac.com> Content-Type: text/plain; charset=MACINTOSH; format=flowed On Feb 7, 2005, at 8:17 PM, Rick Harrison wrote: > > Does this mean that the program won't work with my email server > because it is looking for Authentication? > > Among other things, yes... It might be failing due to an auth error or because your server is making a reverse lookup on the DNS database to see if you're an "blessed" SMTP server for the domain you claim to be. That stack and it's sendmail routines were created to enable a simple-no-fuss way to make apps that report back errors and feedback reports to a central or to solve everyday trouble. It's aimed at sending email without the need of entering account information. If you own an eMail account and are willing to use it to send email in a more polite way, like sending it to your SMTP server then trusting your SMTP server to talk to the destination SMTP server then you should use Shao Sean libEmail and libSMTP stacks. I just create a quick stack for the possible scenario where a user do not know it's own account info and yet you need to send email. It's not a all-situations-solved solution. you might try telneting your email server on port 25 and trying to use it by hand... to see what the problem is... Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org ------------------------------ Message: 6 Date: Mon, 7 Feb 2005 22:28:29 +0000 From: Peter Reid Subject: Re: Interactive Site listing CGI To: How to use Revolution Message-ID: Content-Type: text/plain; charset="us-ascii" ; format="flowed" >Hi Peter, > >I think this is a case where one can transplant >regular Transcript into the rev-cgi arena. From a >recent post : > > >Of course in that script you can skip the folders, if >you're not looking to make available the files in the >subfolders. > >So you'll end up with something like : >-- >on startUp > > ## STEP 1 :: read the arguments > # read the query string passed from the webserver > put $QUERY_STRING into tQueryStringA > # turn it into an array for convenient access > split tQueryStringA using "&" and "=" > # make sure to URLDecode the arguments > put the keys of tQueryStringA into tArgNames > repeat for each line tArgName in tArgNames > put URLDecode(tQueryStringA[tArgName]) \ > into tArgumentsA[URLDecode(tArgName] > end repeat > > ## STEP 2 :: read the files > # now that we have our arguments, move on to the dir > set the defaultDirectory to & \ > tArgumentsA["directory"] > # read all the files in the chosen directory > put the files into tFiles > > ## STEP 3 :: build the file list as an HTML page > # you will want to change the formatting > put "" into tBuffer > put "" after \ > tBuffer > put "" after tBuffer > put "Directory Contents :" && \ > tArgumentsA["directory"] after tBuffer > put " --------------------------------- " after tBuffer > # loop over the files > repeat for each line tFile in tFiles > put ">%20%20%20%20%20%20%20%20%20URLEncode(tArgumentsA[" \ > URLEncode(tFile) & quote & ">" after tBuffer > put tFile & " " after tBuffer > end repeat > put " --------------------------------- " after tBuffer > > ## STEP 4 :: send the result to the webserver > # start with the headers > put "Content-Type: text/html" & cr > put "Content-Length: && the length of tBuffer > put cr & cr & tBuffer > > # end of the cgi-script >end startUp >-- > >Hope this gets you closer to your solution, > >Jan Schenkel. Thanks Jan, I'll see where this takes me. Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk preid at reidit.demon.co.uk Web: http://www.reidit.co.uk http://www.reidit.demon.co.uk ------------------------------ Message: 7 Date: Mon, 7 Feb 2005 22:40:24 +0000 From: Frank Leahy Subject: Can't type foreign characters like ?mlaut in my fields... To: use-revolution at lists.runrev.com Message-ID: <41F02410-7959-11D9-B2DD-000A9580FCCE at backtalk.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, I seem to be unable to type things like ?mlaut and ?edilla in the fields in my application (Arial font). I can paste them in, but I can't type them. Any ideas what is going wrong? RunRev 2.2. Thanks, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ ------------------------------ Message: 8 Date: Mon, 07 Feb 2005 15:06:37 -0800 From: Scott Rossi Subject: What Is Triggering The Menu? To: How to use Revolution Message-ID: Content-Type: text/plain; charset="US-ASCII" On OSX, I set up a menu with 1, 2 and 3 as command keys for one of the menu buttons. When pressing the keys on the keyboard, the menu flashes as if triggered, but no menuPick message is generated and the menu does nothing. If I change the command keys to letters, for example, the menuPick message is sent and the menu operates as expected. How can I use numbers as command key equivalents for menu options? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com ------------------------------ Message: 9 Date: Mon, 7 Feb 2005 18:26:04 -0500 From: Jeffrey Reynolds Subject: Re: MP3 without QuickTime on Windows To: use-revolution at lists.runrev.com Message-ID: <4d4e55189adccca00dc3602ea9797b9c at siphonophore.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed You will get different messages from Apple with each case you present, to different folks and at different times. When i have pressed a question they have usually ended up reverting to the letter of the license instead of waiving stuff. This has come up for me about a dozen times over the last decade. It was really funny when I did the Earth Explorer CD-ROM with them years ago (the first disc in Apple's ill fated CD-ROM publishing attempt), when these question came up it went around and around w/in apple for about two weeks before i got any straight answers. That was the early days of QT so it was all new... I understand what Apple is trying to do and dont really disagree with it. Its just that you should read the agreement carefully and make sure your app can play w/in the rules so you dont get a client in dutch later if something was out of bounds or the client wants to do something different later. And I have to admit I have not looked at the qt license in the last 4-6 months since the question last came up! In looking at it they have simplified it some, but it still has this clause: "Each Licensee Product must require End-Users not having QuickTime 6 on their computers to install the QuickTime Software using the QuickTime Installer." they have dropped the installer stuff they use to have. cheers, jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com On Feb 7, 2005, at 5:02 PM, use-revolution-request at lists.runrev.com wrote: > Jeffrey Reynolds wrote: >> The main problem with including the quicktime installer is its license >> agreement. You must make your application to only work with the >> version >> of qt (or later) at the time you release your product. > > I think I missed that clause of the license agreement. > > I wrote an Apple rep some time ago to clarify some of the questions > that > pop up here about it, and got her permission to post her reply to the > list: > > 023869.html> > > The license agreement itself is available at: > > quicktime.html> > > Any questions about it can be directed to the contact person noted > there: > > > Remember that Apple's goal is to evangelize QuickTime, not annoy > developers. If anything seems onerous about their license agreement it > can probably be clarified with a quick email to that address. ------------------------------ Message: 10 Date: Mon, 7 Feb 2005 15:41:27 -0800 From: Jerry Balzano Subject: Re: Problem! Inaccessible substack To: erik at erikhansen.org, How to use Revolution Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Yes, check the history of this problem (one of my posts of 2/4). The Application Browser didn't even "see" that there was a substack there. - Jerry On Feb 5, 2005, at 4:59 PM, Erik Hansen wrote: > > --- Jerry Balzano > wrote: > >> Thanks to Richard, Chipp, and Alex for their >> responses to my plea for >> assistance. >> >> It turned out that Richard's suggested script >> (below) fixed the problem >> just fine ? what a life saver! > > just curious, did you use > the "Application Browser"? > > Erik Hansen > > ===== > erik at erikhansen.org http://www.erikhansen.org > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------ Message: 11 Date: Mon, 07 Feb 2005 17:43:36 -0600 From: "J. Landman Gay" Subject: Re: What Is Triggering The Menu? To: How to use Revolution Message-ID: <4207FD28.4030403 at hyperactivesw.com> Content-Type: text/plain; charset=us-ascii; format=flowed On 2/7/05 5:06 PM, Scott Rossi wrote: > On OSX, I set up a menu with 1, 2 and 3 as command keys for one of the menu > buttons. When pressing the keys on the keyboard, the menu flashes as if > triggered, but no menuPick message is generated and the menu does nothing. > If I change the command keys to letters, for example, the menuPick message > is sent and the menu operates as expected. How can I use numbers as command > key equivalents for menu options? The IDE traps for these and uses them to navigate around the stack. Could it be that the IDE is intercepting your menu commands? If your stack is frontmost and its menubar is showing, then that shouldn't happen of course. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ------------------------------ Message: 12 Date: Mon, 7 Feb 2005 13:46:12 -1000 From: Sivakatirswami Subject: Re: CGI access to PostGreSQL To: How to use Revolution Message-ID: <9dfa495bce6bc70b3b4405b45b35baf6 at hindu.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Aloha, Jan: Linux box running Red Hat (not sure which version... is that critical?) version() returns 2.6 Thanks Sivakatirswami Jan wrote: > What platform is the CGI-engine running on, and which > version of the CGI-engine is it ? You may need to copy > the revdb library and assorted drivers to the > /usr/local/bin directory. > > Jan Schenkel. > --- Sivakatirswami wrote: >> We have a POSTGreSQL dBase running on a linux box >> >> [snip] #!/usr/local/bin/revolution >> >> on startup >> >> put >> > revOpenDatabase("Postgresql","himalayanacademy.com","cybertalks","htoda > y >> >> ","--real password goes here--") into pConnectionID >> [snip] >> >> Running this from terminal returns these errors >> >> ./blurb.rev >> /usr/local/bin/revolution: Script parsing error at >> line 13, column 1 >> /usr/local/bin/revolution: Can't load stack or >> script ./blurb.rev >> > > nly the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------ Message: 13 Date: Tue, 08 Feb 2005 02:53:01 +0000 From: Alex Tweedly Subject: Re: Arrays To: How to use Revolution Message-ID: <4208298D.3010504 at tweedly.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Ben Fisher wrote: >I'm working on image processing. Let's say I wanted to lighten every shade in the image by 2. The way I do this now is by getting the chartonum of each char in the imagedata (except for every fourth char which is always 0), adding 2, getting the numtochar, and putting this after a variable. Then I set the imagedata of the image to that variable. It works great, but it's a little slow. Too slow for a smooth animation which is what I'm trying to accomplish. > >Is there a way to directly add something to the imagedata in binary? For example, adding 2 to all the red in an image in one step rather than going through all the data manually. Or is converting binary>decimal>binary necessary? > Frank's suggestion of blendLevel (with perhaps a transparent and/or primary-coloured overlay) is probably your best hope for a quick solution. Part of the solution SHOULD be binaryEncode/binaryDecode - but unfortunately they are currently limited in what they can do (without any obvious reason why they need to be). I'm planning to submit an enhancement request in this area - and thought I'd run a draft by the list to see if there are any suggestions. Enhancement suggestion for binaryEncode/binaryDecode 1. Provide explicit "big-endian" and "little-endian" integer codes. binaryEncode/Decode provide codes for host order ('s', 'S', 'i', 'I') and network-order ('n', 'N'). However, some file formats (notably EXIF metadata in JPG and other photo formats) specify the byte-order as big-endian or little-endian, so can only be decoded by building in knowledge of the endian-ness of the host (and in the case of big-endian hosts such as PPC, there is no way to do a little-endian integer (en)decode). 2. Bulk conversion. binaryDecode could provide a mechanism to easily convert a block of === message truncated === Yahoo! India Matrimony: Find your life partneronline. From scott at tactilemedia.com Tue Feb 8 05:12:54 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 08 Feb 2005 02:12:54 -0800 Subject: Abnormal behavior? In-Reply-To: Message-ID: Recently, xbury.cs at clearstream.com wrote: >>> I have a field script with a keydown event >>> which responds to keys typed in a field and >>> which checks for pretyping using a handler. >>> >>> I also have a frontscript (XOS) with a generic >>> pretype handler of the same name. >>> >>> What is abnormal is that when the keydown event >>> calls the pretyping handler, the frontscript is >>> the one that takes priority and not the handler >>> in the same script! >>> >>> This busts completely the local overide principle >>> in scripts... And the hierarchy of events... >> If I understand you correctly, I would think the behavior is correct. If >> a frontscript wasn't triggered first, why would you bother having >> frontscripts at all? > The question is rather how do you overide a frontscript?... > > In general and in most situations a local item overides a global > counterpart. > > If i have a card script and an equal stack (or bg) script, the card script > is the > first to run... > > Maybe I got the frontscript wrong... And that script shouldn't be there > but still im surprised of the behavior... Without knowing exactly what you're doing, I wonder if perhaps you need to look at the message hierarchy differently. Frontscripts were designed to intercept messages before they are passed to any object. I don't believe there is any way to override a frontscript, but you can remove the script from the message hierarchy which should effectively accomplish the same thing, and then re-insert the script as needed. Alternatively, you could have the bulk of your scripts stored in a backscript or library, and then have scripts in specific controls which will override the backscripts by default. This might be closer to what you describe. You might want to take a look at this diagram to better understand the message path: http://www.fourthworld.com/embassy/articles/images/mess_path2.gif Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From xbury.cs at clearstream.com Tue Feb 8 05:38:01 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 8 Feb 2005 11:38:01 +0100 Subject: Abnormal behavior? Message-ID: Thanks Scott, I didn't know the hierarchy was such a "mess" ;)) Just kidding! I'll have to think this over... cheers Xavier On 08.02.2005 11:12:54 use-revolution-bounces wrote: >Recently, xbury.cs at clearstream.com wrote: > >>>> I have a field script with a keydown event >>>> which responds to keys typed in a field and >>>> which checks for pretyping using a handler. >>>> >>>> I also have a frontscript (XOS) with a generic >>>> pretype handler of the same name. >>>> >>>> What is abnormal is that when the keydown event >>>> calls the pretyping handler, the frontscript is >>>> the one that takes priority and not the handler >>>> in the same script! >>>> >>>> This busts completely the local overide principle >>>> in scripts... And the hierarchy of events... > >>> If I understand you correctly, I would think the behavior is correct. If >>> a frontscript wasn't triggered first, why would you bother having >>> frontscripts at all? > >> The question is rather how do you overide a frontscript?... >> >> In general and in most situations a local item overides a global >> counterpart. >> >> If i have a card script and an equal stack (or bg) script, the card script >> is the >> first to run... >> >> Maybe I got the frontscript wrong... And that script shouldn't be there >> but still im surprised of the behavior... > >Without knowing exactly what you're doing, I wonder if perhaps you need to >look at the message hierarchy differently. Frontscripts were designed to >intercept messages before they are passed to any object. I don't believe >there is any way to override a frontscript, but you can remove the script >from the message hierarchy which should effectively accomplish the same >thing, and then re-insert the script as needed. > >Alternatively, you could have the bulk of your scripts stored in a >backscript or library, and then have scripts in specific controls which will >override the backscripts by default. This might be closer to what you >describe. > >You might want to take a look at this diagram to better understand the >message path: >http://www.fourthworld.com/embassy/articles/images/mess_path2.gif > >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 martin at materiaprima.fsnet.co.uk Tue Feb 8 06:18:33 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Tue, 8 Feb 2005 06:18:33 -0500 (EST) Subject: re Text file database, moving from Mac OsX to windows In-Reply-To: <51D91A6E-79AF-11D9-9555-000D933C32A4@wanadoo.fr> Message-ID: >Philippe Giraudet wrote: >Hello > >Thanks to Robert Brenstein and Klaus Major for their answers. >The question is not an encoding problem and no more a corruption of >data because of simultaneous writing access, because I still only >tested it in mono user access, on windows. I just realise, with what >Robert says that the corruption by simultaneous writing access will be >my next problem ;-)))) ... ;-( >the problem is that when you enter a command line such as > >write appointment to file Pathway at >(1001+dayLength*(dayNumber-1)+225+(RoomNum-1)*4001+(AppNum-1)*100-1) > >It writes at the rigth place on Mac > >and at the wrong place on windows! > >I believe it can't be an error on calculation of the first char: >(1001+dayLength*(dayNumber-1)+225+(RoomNum-1)*4001+(AppNum-1)*100-1) > >I prefer to suppose it is a quetion of length of the chain I write : if >some chars like return or even tab are not counted , in a 8MB text >file, it makes a great difference at the end of the file. > Phillipe, This is only a guess, as I'm not clear what is happening in your situation, but might your problem be related to the different line delimiters on the platforms in question? Mac uses a single character - ASCII 13, while windows uses two characters - ASCII 13 + ASCII 10 (CRLF)? I'm theorising that if, for example, contains line returns, these might be automatically translated from RR's internal delimiter (ASCII 10) to windows CRLF when writing on that platform. This might cause an increasing discrepancy if your calculations assume that the line delimiter is a single byte. If this might be the problem, you might avoid it if you read and write as binary, as Revolution's internal ASCII 10 line returns will then be written to file unmodified. HTH Martin Baxter From wow at together.net Tue Feb 8 07:38:12 2005 From: wow at together.net (Richard Miller) Date: Tue, 8 Feb 2005 07:38:12 -0500 Subject: A simple Rev credit card processing solution In-Reply-To: References: Message-ID: <7ac49065514b726d5cf8cf86327c6746@together.net> Thanks to help from Rev technical support, I can now post a simple, effective, secure solution to processing a credit card through Rev. 1. Sign up for a merchant account with e-onlinedata.com (an Authorize.net reseller). Seems any valid business will likely be accepted. This provides the processing gateway. Cost is under $100. Takes a couple of days. 2. Download the Comodo CA root certificate from here: http://www.enterprisessl.com/ssl-certificate-support/cert_installation/ ssl-certificate-index.html? currency=USD®ion=North%20America&country=US 3. Put this certificate anywhere you like. Then in your code: set the sslcertificates to "the path to this certificate" 4. Here's the main code: on processCard local tPostData set the sslcertificates to "the path to that certificate" -- gather the minimum data requiring by Authorize.net -- very detailed information on all of this and other options -- are available in the pdf guide you get from Authorize put 1.0 into tPostData["x_cpversion"] put 2 into tPostData["x_market_type"] put 5 into tPostData["x_device_type"] put 1 into tPostData["response_format"] put totalcharge into tPostData["x_amount"] put "AUTH_CAPTURE" into tPostData["x_type"] --these next two items use your Login name and a transaction key --received from Authorize.net put the urlEncode of pLogin into tPostData["x_login"] put the urlEncode of pTranKey into tPostData["x_tran_key"] -- this next line can be done a number of different ways, -- depending on how you want to input the card data put the urlEncode of cardData into tPostData["x_track1"] -- Turn the array into a string in suitable 'query' style... combine tPostData with "&" and "=" -- Do the post... post tPostData to URL "https://cardpresent.authorize.net/gateway/transact.dll" -- Get the response from Authorize put it into tResponse end processCard That's it! Rev takes care of all the security issues behind the scenes. Works like a charm. Email if you have any questions. Richard Miller Imprinter Technologies From bwoodruf at butler.edu Tue Feb 8 09:02:32 2005 From: bwoodruf at butler.edu (Burrton Woodruff) Date: Tue, 08 Feb 2005 09:02:32 -0500 Subject: Have you developed Windows stacks on Mac w Virtual PC? Message-ID: Hi Folk, Has anyone built Windows applications on a Mac using Virtual PC? Would you be willing to provide any advice about the good and the bad? Burt Woodruff Department of Psychology bwoodruf at butler.edu JH 290 940-9267 From sonesond1 at southernct.edu Tue Feb 8 09:08:04 2005 From: sonesond1 at southernct.edu (Dan Soneson) Date: Tue, 08 Feb 2005 09:08:04 -0500 Subject: [OT] Understanding Codecs (was Re: .mov on Windows) Message-ID: > Hi Dan, Check out the CD-Rom available at http://www.lynda.com on "QuickTime Compression Principles," particularly the chapter on "Compressing CG Footage" (CG= Computer Graphics). The whole CD is pretty interesting in terms of compression types and uses, including audio compression. They also have a nice CD-ROM on "Learning Compressor", which is a great compressing tool. Good Luck, Dan > So far, I have been unable to find any way to understand the specific > codecs for sound and video compression used in the SnapZProX product in > terms of: > > 1. Which are the best at compressing with minimal loss > 2. Which are included as part of the QT distro > 3. Which are likely to cause problems on Windows > > Can anyone point me to a resource? From xbury.cs at clearstream.com Tue Feb 8 09:44:35 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 8 Feb 2005 15:44:35 +0100 Subject: [OT] Understanding Codecs (was Re: .mov on Windows) Message-ID: On 08.02.2005 08:44:46 use-revolution-bounces wrote: >I have been doing a good bit of work with SnapZProX lately and I've >been stymied by a problem related to the one in this thread. > >So far, I have been unable to find any way to understand the specific >codecs for sound and video compression used in the SnapZProX product in >terms of: > >1. Which are the best at compressing with minimal loss >2. Which are included as part of the QT distro >3. Which are likely to cause problems on Windows > >Can anyone point me to a resource? I'll spend the time to learn this >stuff but I've posted on a half-dozen message boards to no avail and >searched with Google/A9 until I can't come up with terms to use for >searching any more. > >Dan > >On Feb 7, 2005, at 10:07 PM, Trevor DeVore wrote: > >> You most likely compressed with a codec that isn't part of the >> standard QuickTime installation (the TechSmith Ensharpen codec for >> example). After recording your movie in SnapzPro the dialog box that >> comes up will tell you what compressor you are saving the movie with. >> >> -- >> 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 >> > >_______________________________________________ >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 fde101 at fjrhome.net Tue Feb 8 10:07:55 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 8 Feb 2005 10:07:55 -0500 Subject: Get Full File listing by http In-Reply-To: <071b60bbc270b244b7e8f4311df3ebf7@hindu.org> References: <071b60bbc270b244b7e8f4311df3ebf7@hindu.org> Message-ID: <952aed524d9ddedd4ba5d5c9b33dc5b0@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you can install a PHP or CGI program onto the web server, you could always get the results from that. On Feb 7, 2005, at 10:02 AM, Sivakatirswami wrote: > If there is a .htaccess file on a web server with directive: > > options allowIndexes > > then, if there is no default index.html file to be set back out to > the client, a file listing is returned. Unfortunately, this listing > truncates long file names. > > Is there some way to get a complete listing that is parseable? > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCNXM7aqtWrR9cZoRApvUAJ4vHEVd0B6ot2/bISMu4RMQpSrSHQCgi45o P6fCfD81l7k0JmVWPOVGYiM= =/A5N -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Feb 8 10:14:37 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 8 Feb 2005 10:14:37 -0500 Subject: Metal anomalies In-Reply-To: <20050207202534.64629.qmail@web60502.mail.yahoo.com> References: <20050207202534.64629.qmail@web60502.mail.yahoo.com> Message-ID: <8fb2d6478e7bcc10abf15d7236c9670d@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When the mouseUp message reaches the engine, of course. At the last stage of the message path. On Feb 7, 2005, at 3:25 PM, Jan Schenkel wrote: > --- "Dr.John R.Vokey" wrote: >> A minor detail no doubt, but setting the metal >> property to true (in OS >> X) does *not* correctly emulate the metal windows in >> OS X. As with all >> other windows RR, only the (now no longer >> demarcated) title bar (and >> the extreme outside edges of the window) can be >> clicked on to drag the >> window. In OS X, any metal part of the window can >> be used to drag. >> -- >> John R. Vokey >> > > Hi John, > > I'm not quite sure I agree on this : it only takes a > couple of lines of code to script this yourself, and > at which point should the engine do it for you ? > After the mouseDown message has gone all the way to > the back of the message path? Or before any of your > scripts get to it, thus rendering any card level > 'mouseDown' mesages that normally get triggered when > you click next to the controls on your card? > > Jan Schenkel. > > ===== > Quartam - Tools for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > __________________________________ > Do you Yahoo!? > Meet the all-new My Yahoo! - Try it today! > http://my.yahoo.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCNde7aqtWrR9cZoRAl+AAKCRe+xEOYpTq/XM18BeOebsVBjWzgCfSSJk 3E+OiQwy7qgkzHelFw1+HWU= =0qkA -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From lists at mangomultimedia.com Tue Feb 8 10:27:16 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 8 Feb 2005 07:27:16 -0800 Subject: [OT] Understanding Codecs In-Reply-To: References: <21579b7bf93a5fd27099479d70519a43@mangomultimedia.com> Message-ID: <047d3ab09cafea4d6196517a7cbe5073@mangomultimedia.com> On Feb 7, 2005, at 11:44 PM, Dan Shafer wrote: > I have been doing a good bit of work with SnapZProX lately and I've > been stymied by a problem related to the one in this thread. > > So far, I have been unable to find any way to understand the specific > codecs for sound and video compression used in the SnapZProX product > in terms of: > > 1. Which are the best at compressing with minimal loss > 2. Which are included as part of the QT distro > 3. Which are likely to cause problems on Windows > > Can anyone point me to a resource? I'll spend the time to learn this > stuff but I've posted on a half-dozen message boards to no avail and > searched with Google/A9 until I can't come up with terms to use for > searching any more. To see what is included with different versions of QuickTime take a look at . With QT you shouldn't run into problems on Windows if you are using codecs that are available on both platforms. When it comes to compressing screen capture there is no default QuickTime codec which does a good job of compressing with minimal loss. The Animation codec (which I believe is the default in SnapzPro) is lossless at 100% but the files are very large. I don't really like the results when dropping the compression percentage down with the Animation codec. The TechSmith Ensharpen codec is really good for screen capture in the tests I have done. If you take care when recording (use a solid color desktop, don't "pan" the camera" but rather follow the mouse, etc.) you can get great video quality with a good amount of compression. The problem of course is that the Ensharpen codec doesn't come with QuickTime by default and even though the folks at TechSmith have applied for the component download program it seems that the QuickTime folks aren't doing anything with the program for the time being. What you can do though is check for the installation of the Ensharpen codec as it will be placed in the QuickTime component directory on the users computer and if it isn't there then display a nice dialog that directs the user to the download site. Unfortunate but it would work. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From 3mcgrath at adelphia.net Tue Feb 8 10:37:52 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 8 Feb 2005 10:37:52 -0500 Subject: Have you developed Windows stacks on Mac w Virtual PC? In-Reply-To: References: Message-ID: <9def7e354e1492fed02f5c66a4a7cc60@adelphia.net> I have built on OSX and then copied over to Virtual PC and opened within REV running on Virtual PC. I built a cross-platform CD and needed to test the code. Rev runs slower in VPC but since the major creation was done already it wasn't too bad at all. Paths and relative paths are different and also menus. I use PNGs for images (good for compression and for transparency) I use .wav for sounds (mp3 might work as well). I didn't run into any other problems than these and most of it went pretty smooth. Problems: On Windows: EXE can not be at root level of CD - but paths to illustrations/images from OSX all lead to root level relative to OSX app. Solution: Create short cut (shortcut.lnk) at root level to executable in a DATA folder. Create autorun.inf at root level pointing to executable in a DATA folder. Change relative paths for images in REV (made easier since I made all of my paths relative on the OSX side) to point to new placement in DATA folder. Best solution is: CD shortcut.lnk autorun.inf AppOSX.app - Alias AppOS9.app - Alias DATA App.exe AppOSX.app AppOS9.app IMAGES Image01.png Image02.png ETC. On windows the highlited color is treated differently than on the MAC and I had problems with menus with colored highlites. Menus can be a problem. On Feb 8, 2005, at 9:02 AM, Burrton Woodruff wrote: > Hi Folk, > > Has anyone built Windows applications on a Mac using Virtual PC? > > Would you be willing to provide any advice about the good and the bad? > > Burt Woodruff > Department of Psychology > bwoodruf at butler.edu > JH 290 940-9267 > > _______________________________________________ > 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 benr_mc at cogapp.com Tue Feb 8 10:48:38 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 08 Feb 2005 15:48:38 +0000 Subject: MP3 without QuickTime on Windows Message-ID: Hi Klaus, Thanks for your help already. I'm making progress, but I'm not quite where I wanted to be yet. As noted in my previous post, I'm trying to play MP3s on a minimal installation of Windows XP Embedded. I don't have direct control over the XPe build (and wouldn't know what I was doing if I did) - I try something, make a fresh request, get a new solid state disk for the unit, try again. Quite longwinded, and there's a tight timetable on this project. As noted before, I removed QuickTime from a normal PC running XP, and played MP3 files, using a 'quicktime player', without problems (and without a controller, which is fine). I wasn't previously able to install either Media Player or QuickTime on the XPe unit. I've now got a new disk for the XPe unit, with MediaPlayer. I can play an MP3 file directly by double-clicking, it opens MediaPlayer, plays it fine no problems. However, from Rev I still get 'could not open video player' when I set the filename of the player to the MP3 file. I am also now able to install QuickTime (version 4!) on the XPe unit; and can then play the MP3 from Rev fine, complete with controller. But when I uninstall QuickTime, I'm back to square one. I then tried getting Media Player 9 for XP from the MS website, and installing that. Installation apparently proceeded without a problem, and Media Player can play the content without problems - but the symptoms when playing from Rev are the same. Evidently all installations of Media Player are not equal. Can you (or anyone) clue me in to what I need (and preferably how to express this to the people building the disk image)? If we have to, we might be able to get away with QuickTIme - but it will cause other difficulties, so if we can avoid it just to play MP3 files that would be an advantage. Thank you, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From fde101 at fjrhome.net Tue Feb 8 10:48:56 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 8 Feb 2005 10:48:56 -0500 Subject: Postgres In-Reply-To: References: Message-ID: <58ef7d54b6124a43f7ac57a32c8616ca@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 No, it wouldn't. Let's say you want to enable 192.168.0.x, for example (x is anything in 0..255): all all 192.168.0.0 255.255.255.0 trust Note: "trust" for a network is a *really* *really* *really* bad idea, since it does not demand a password from any user, and anyone can just claim to be "postgres" (the database superuser), and the server will just "trust" that they are indeed who they claim to be. You should *at least* use "password", or even better use "md5"... all all 192.168.0.0 255.255.255.0 md5 Note about Subnet Masks: when comparing two given IP addresses to determine if an incoming connection is part of the specified subnet, so to speak, both addresses are bitwise ANDed with the subnet mask, and the result must match. So if you really trust the entire world of hackers and virus-writers with complete and unrestricted access to your database server: all all 0.0.0.0 0.0.0.0 trust will probably work. On Feb 7, 2005, at 11:58 PM, Hershel Fisch wrote: > On 2/7/05 2:45 PM, "Jan Schenkel" wrote: > Thanks, it works with the addition of 255.255.255.255 . My question > now if I > want to enable a range of ip's how do I do that instead of putting a > whole > lot of lines , like writing > All all 0.0.0.0 255.255.255.255 trust > or leaving it blank > All all 255.255.255.255 trust > would work? > Hershel > >> --- Hershel Fisch wrote: >>> Hi all I'm trying to connect to my postgres 8.0 >>> server on a osx 10.3 >>> >>> >>> This is a copy from the pg_hpa.con file >>> >>> >>> # TYPE DATABASE USER CIDR-ADDRESS >>> METHOD >>> >>> # "local" is for Unix domain socket connections only >>> local all all >>> trust >>> # IPv4 local connections: >>> host all all 127.0.0.1/32 >>> trust >>> >>> host all all 192.168.1.101 >>> trust # this is the >>> line I added . >>> >>> # IPv6 local connections: >>> host all all ::1/128 >>> trust >>> >>> The error " FATAL: missing or erroneous pg_hba.conf >>> file." >>> Thanks a mill. >>> Ps I reinstalled postgres clean. >>> Thanks , Hershel >>> >> >> Hi Hershel, >> >> I think you forgot to add the subnet-mask at the end >> of that IP-address 192.168.1.101 -- I think that ought >> to be /24 but I'm not good with this sort of >> calculations. However, there are calculators on the >> internet. >> >> Hope this helped, >> >> Jan Schenkel. >> >> ===== >> Quartam - Tools for Revolution >> >> >> ===== >> "As we grow older, we grow both wiser and more foolish at the same >> time." (La >> Rochefoucauld) >> >> >> >> __________________________________ >> Do you Yahoo!? >> The all-new My Yahoo! - What will yours do? >> http://my.yahoo.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 > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCN9p7aqtWrR9cZoRAsGFAKCEMVI7wSpF7gHgYmZ16unoE5BYNQCfcLGx XQeR2reyjVYTmzc5ho7SAqI= =LivA -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From klaus at major-k.de Tue Feb 8 11:19:30 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 8 Feb 2005 17:19:30 +0100 Subject: MP3 without QuickTime on Windows In-Reply-To: References: Message-ID: <0e37ac97d70b2b57c5e85bece94b5277@major-k.de> Hi Ben, > Hi Klaus, > > Thanks for your help already. Very good! :-) > I'm making progress, but I'm not quite where > I wanted to be yet. Very bad! :-( > As noted in my previous post, I'm trying to play MP3s on a minimal > installation of Windows XP Embedded. I don't have direct control over > the > XPe build (and wouldn't know what I was doing if I did) - I try > something, > make a fresh request, get a new solid state disk for the unit, try > again. > Quite longwinded, and there's a tight timetable on this project. > > As noted before, I removed QuickTime from a normal PC running XP, and > played > MP3 files, using a 'quicktime player', This term is really misleading ("media player" would be much better), since it implies that they will only work with QuickTime installed, which simply isn't true! Maybe another hint for the rumoured "mac-centric" nature of REV ;-) > without problems (and without a > controller, which is fine). I wasn't previously able to install > either > Media Player or QuickTime on the XPe unit. > > I've now got a new disk for the XPe unit, with MediaPlayer. I can > play an > MP3 file directly by double-clicking, it opens MediaPlayer, plays it > fine no > problems. However, from Rev I still get 'could not open video player' > when > I set the filename of the player to the MP3 file. > > I am also now able to install QuickTime (version 4!) on the XPe unit; > and > can then play the MP3 from Rev fine, complete with controller. But > when I > uninstall QuickTime, I'm back to square one. > > I then tried getting Media Player 9 for XP from the MS website, and > installing that. Installation apparently proceeded without a problem, > and > Media Player can play the content without problems - but the symptoms > when > playing from Rev are the same. > > Evidently all installations of Media Player are not equal. Can you (or > anyone) clue me in to what I need (and preferably how to express this > to the > people building the disk image)? > > If we have to, we might be able to get away with QuickTIme - but it > will > cause other difficulties, so if we can avoid it just to play MP3 files > that > would be an advantage. Quick guess: Did you "set the dontuseqt to true"? In an "preopenstack"-handler or something... I think even if QT is NOT present the engine thinks to have to use QT...? > Thank you, > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 Regards Klaus Major klaus at major-k.de http://www.major-k.de From fde101 at fjrhome.net Tue Feb 8 11:25:20 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 8 Feb 2005 11:25:20 -0500 Subject: Ultra Beginner Question/Request In-Reply-To: <4208337F.9060504@crcom.net> References: <20050207155938.713A79300E5@mail.runrev.com> <4208337F.9060504@crcom.net> Message-ID: <30a3bf35e3955c61e6ba32d31604173e@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 7, 2005, at 10:35 PM, Len Morgan wrote: >> I recommend PostgreSQL if you are not already using a compatible >> database server > > Already using Postgres (see above). Cool. >> The menu should be created almost first in your project, as it can >> throw off your interface if you try to add it later. Even if you do >> not > The menu was actually the easiest part but I'm curious why it would > throw off the process if it was saved until later? Is it because it > adds to the window size and therefore throws off all of the carefully > laid out GUI? Just the opposite. The menu bar would overlap the top portion of the card, sitting on top of whatever controls you had placed there and obscuring them, rendering them inaccessible. On a Mac, when the menu bar is used correctly, the window will be reduced in size (as the menu bar is at the top of the screen, separate from any windows), and the window is reduced in size, chopping of the part of the window which would be obscured by the menu bar on other platforms. >> Interface layout becomes *much* simpler if you can use a fixed-size >> stack window; if you want it to be resizable, spend some time with >> some prototype interfaces learning to use the Geometry Manager (the >> Geometry pane of the Properties palette for various kinds of objects) >> as there are some hidden gotchas that are not always obvious when you >> just get started. > > I am fortunate here because my app only runs in two sizes: maximized > and minimized. :-) Again, that will make life easier. >> Another warning: a group marked to act as a background is inserted >> just before the card in the message path. In other words, if a >> handler for a message sent to a control is not found in the script of >> that control, then even if that control is not in the group, if the >> group's script contains a handler for that message, it will intercept >> the message before the card receives it. I recommend not assigning a >> script to a group if you can avoid it, at least until you realize the >> implications of this (and have some experience with Rev and its >> message path), particularly when dealing with background groups. > > Warning taken (if not fully understood). Is there a "message trace" > utility that might show the path of a message through various > controls, groups, cards, and stacks? It seems like this kind of a > tool would find problems like this quickly. Not that I am aware of, but this is not a bad idea, necessarily. For info about the message path, go to the "Topics" area of the Rev documentation, and look at the "Messages and the message path" item in the list. You can always run questions by the list if you have them. >> I like to handle these things by disabling buttons and fields as >> appropriate from within the login handler. So after authenticating >> with the database and figuring out what the current user can do, I >> disable any buttons and fields that I know ahead of time will apply >> everywhere, then I use custom properties of the stack to track what a >> user may do. Then for things which need to be adjusted dynamically, >> I handle enable/disable in a preOpenCard handler, or on-the-fly as >> various events take place which could change that, by using those >> custom properties to determine who may do what. > > This is probably the only point where I might disagree with you (at > least if I understand what you are saying). There is another program > by another company that does the same job that mine does and they use > this approach except they have a vertical scrolling list of buttons > down the right hand side of the screen. 283 of them and they all > APPEAR active (i.e., not grayed out). 283!!! A scrolling list of buttons is a bad idea to begin with. Failure to disable them (using an error message instead) is rather lazy. My suggestion to disable the buttons implies causing them to appear disabled (graying the text, etc). >> buttons and fields depending on the access level of the user. You >> can also show or hide fields and buttons if that is more useful, but >> I would advise you to keep that to a minimum if your objective is >> security control. Much better to disable controls than to hide them. >> Use the database to handle your search (with SQL SELECT statements). > > I think what I'd really like to do, taking into account the suggestion > above and in other messages, is to have a main stack to get things > going and a database interface stack to handle that end. The main > stack would get login information and find out which "profile" we are > going to use. Some interface elements can be appropriately hidden in this manner, depending on what they are and how the interface is set up. However, some things should never be hidden in this way, but merely disabled. For example, say there is a menu of different program areas in your menu bar. If some are inaccessible, you should always disable the items, not hide them. (Obviously, a Window menu lists open windows, so only open windows should be included) - it depends on the semantics of the control and its placement in the interface. You should definitely be careful about this, though. > The profiles would be individual stacks that held one profile each > with cards for each page that profile needs. Is it possible to "load" > cards into a stack at run time? In other words, could I create one > "search" card on a stack of utility pages, and say a card for room Not easily; it would be better to include all of the cards in your stack, and when switching cards just switch to the version you want to display. So if there are three versions of some particular card, name them (ex.) "Inmates 1", "Inmates 2", "Inmates 3", and when switching to an Inmates card, choose one based on your security/profile criteria. > It would be great if you could embed stack within another (like in a > smaller window) but I don't think RR can do that. It would be a cool > feature though with lots of possibilities. You can do this; these are called "substacks". Each appears in a separate window, as a standard window, a dialog box (or a sheet under OS X, if desired), or even as a floating palette window (which has a rather distinct appearance on Macs, and which hides itself automatically when the user switches to a different application). You can also have multiple main stacks loaded and they can interact with each other. You can load additional mainstacks from a standalone after it has opened, as well. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCOfx7aqtWrR9cZoRAoMUAJ9t0/rLYnDvreimCi2yVEpP8JDFigCgj5bH OwnUe0PvWDZVN1o1SpQS0W8= =KvtL -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Feb 8 11:29:18 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 8 Feb 2005 11:29:18 -0500 Subject: Have you developed Windows stacks on Mac w Virtual PC? In-Reply-To: <9def7e354e1492fed02f5c66a4a7cc60@adelphia.net> References: <9def7e354e1492fed02f5c66a4a7cc60@adelphia.net> Message-ID: <7438792f5ba20864568768785847f8ad@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been doing some testing under VPC. Slow, but often usable depending on your needs. Again though, I wouldn't build under VPC if you can avoid it -- build from the IDE running on the Mac. On Feb 8, 2005, at 10:37 AM, Thomas McGrath III wrote: > I have built on OSX and then copied over to Virtual PC and opened > within REV running on Virtual PC. I built a cross-platform CD > On Feb 8, 2005, at 9:02 AM, Burrton Woodruff wrote: >> >> Has anyone built Windows applications on a Mac using Virtual PC? > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCOjf7aqtWrR9cZoRAoEUAJ9BtqCotdzERwIahhspOllguEoshACfSyy4 TobhkrDLi0ZVUuZCWoOxNsY= =EjX9 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From scott at tactilemedia.com Tue Feb 8 12:01:09 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 08 Feb 2005 09:01:09 -0800 Subject: Have you developed Windows stacks on Mac w Virtual PC? In-Reply-To: Message-ID: Recently, Burrton Woodruff wrote: > Has anyone built Windows applications on a Mac using Virtual PC? > > Would you be willing to provide any advice about the good and the bad? I haven't used the most recent version, but in my experience there's not really any big downside for what it is. The good: you have a "real" Windows system on your Mac. The bad: it's pretty slow, takes a long time to start up. Display/gamma is the Mac's, so have to remember display will be a bit different on actual PCs. It's always best to have a dedicated Windows system, but if you need a low cost option, VPC isn't a bad way to go. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From userev at canelasoftware.com Tue Feb 8 12:40:01 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 8 Feb 2005 09:40:01 -0800 Subject: Have you developed Windows stacks on Mac w Virtual PC? In-Reply-To: References: Message-ID: <6c23fc06361f7fe25a8196d8672c2c2a@canelasoftware.com> On Feb 8, 2005, at 6:02 AM, Burrton Woodruff wrote: > Hi Folk, > > Has anyone built Windows applications on a Mac using Virtual PC? > > Would you be willing to provide any advice about the good and the bad? I used it for years and created about 4 commercial apps with it. I am on the road a lot and find the ability to carry two OS with you is very useful. I also like the simplicity of drag and drop between each OS. The speed is not earth shattering so you must be patient for apps that do a lot of processing. I did find it to be reliable and useable. When you are back at the office though, nothing beats having a true PC running at full speed. If they are on a network, you get your drag and drop back. Best regards, Mark Talluto CANELA Software -- http://www.canelasoftware.com From BNZ2 at CDC.GOV Tue Feb 8 13:06:49 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 8 Feb 2005 13:06:49 -0500 Subject: Very fast Revolution commands and functions? Message-ID: <64878EF567131D4596246171F75FD4A90EC613@m-epo-1.epo.cdc.gov> Hello everyone, What are the processes in Revolution that have been optimized to be very fast? The following two examples are the ones that come to mind, but I figure there must be quite a few of them. - Match Text - Repeat for each loop Thanks, Jonathan From ambassador at fourthworld.com Tue Feb 8 14:09:33 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Feb 2005 11:09:33 -0800 Subject: Very fast Revolution commands and functions? In-Reply-To: <64878EF567131D4596246171F75FD4A90EC613@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC613@m-epo-1.epo.cdc.gov> Message-ID: <42090E6D.1060604@fourthworld.com> Lynch, Jonathan wrote: > Hello everyone, > > What are the processes in Revolution that have been optimized to be very > fast? The following two examples are the ones that come to mind, but I > figure there must be quite a few of them. > > - Match Text > - Repeat for each loop MatchText is not necessarily fast, depending on what you do with it. It uses regex, which is convenient and reasonably fast for some operations, but as with any generalization it comes at a price. For many uses the offset function is faster. Transcript is a big language, and most of it runs fairly well. What is the purpose of this list? Maybe knowing a bit more about what you're after will help us deliver a good list. -- 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 bpastrana at elnuevodia.com Tue Feb 8 14:14:09 2005 From: bpastrana at elnuevodia.com (Benjamin Pastrana) Date: Tue, 08 Feb 2005 15:14:09 -0400 Subject: Samples of completed projects Message-ID: I would like to see real finished examples of REVOLUTION stacks That DON'T look like the REVOLUTION windows. I havent seen any stack with full photograph or graphics Backgrounds. Any one to share?? Thanks! Benjamin -- From BNZ2 at CDC.GOV Tue Feb 8 14:31:29 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 8 Feb 2005 14:31:29 -0500 Subject: Very fast Revolution commands and functions? Message-ID: <64878EF567131D4596246171F75FD4A974454F@m-epo-1.epo.cdc.gov> Thanks Richard - it isn't really for a specific project, it is just for learning good programming practices. I was just thinking I would study up on those techniques that are best, for situations where processing lots of information is required. We have had a number of discussions about how to do certain things in the fastest possible way. It would be useful (for myself, and I assume for the others new to Rev as well) to know which processes are fastest, in order to think of using those processes first, and then choose the slower processes when the faster ones do not apply. For example, I use matchtext for a spellchecker that compares against a list of 174,000 words. It works pretty well - but if line offset is faster, I would consider rewriting to use that instead. Is switch faster than if-then? Is add 1 to X faster than put X+1 into X? Thanks, Jonathan From klaus at major-k.de Tue Feb 8 14:33:49 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 8 Feb 2005 20:33:49 +0100 Subject: Samples of completed projects In-Reply-To: References: Message-ID: Hi Benjamin, > I would like to see real finished examples of REVOLUTION stacks > That DON'T look like the REVOLUTION windows. > > I havent seen any stack with full photograph or graphics Backgrounds. > > Any one to share?? There are some screenshots on my website -> "References"... All images but the first one are true MetaCard/Revolution apps :-) > Thanks! > > Benjamin Regards Klaus Major klaus at major-k.de http://www.major-k.de From lists at mangomultimedia.com Tue Feb 8 14:40:29 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 8 Feb 2005 11:40:29 -0800 Subject: Samples of completed projects In-Reply-To: References: Message-ID: <49DB8F39-7A09-11D9-BA10-000A956C462A@mangomultimedia.com> On Feb 8, 2005, at 11:14 AM, Benjamin Pastrana wrote: > I would like to see real finished examples of REVOLUTION stacks > That DON'T look like the REVOLUTION windows. > > I havent seen any stack with full photograph or graphics > Backgrounds. > > Any one to share?? Here is one: and another -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From fde101 at fjrhome.net Tue Feb 8 14:49:21 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 8 Feb 2005 14:49:21 -0500 Subject: Very fast Revolution commands and functions? In-Reply-To: <64878EF567131D4596246171F75FD4A974454F@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974454F@m-epo-1.epo.cdc.gov> Message-ID: <938e4b9796edda8b5cfba6b3d0b6bada@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 8, 2005, at 2:31 PM, Lynch, Jonathan wrote: > Is add 1 to X faster than put X+1 into X? Yes. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCRfC7aqtWrR9cZoRAhcaAKCJ3lm9x2Il9F6RQl44Nu2kvbGQGwCcCNga amuJNOEpS7EswncHsDfcf9w= =gRer -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From davis.phil at comcast.net Tue Feb 8 15:30:36 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 08 Feb 2005 12:30:36 -0800 Subject: Very fast Revolution commands and functions? In-Reply-To: <64878EF567131D4596246171F75FD4A90EC613@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC613@m-epo-1.epo.cdc.gov> Message-ID: <4209216C.10400@comcast.net> Richard is too modest (or maybe just old and forgetful!) - he should have mentioned '4W RevBench', his little gizmo that lets you compare execution speeds of different coding approaches that produce the same outcome. Starting in the Rev menus and continuing in the stacks that will appear, select: Development > Plugins > GoRevNet > Go RevNet > Stacks > 4W RevBench Phil Davis Lynch, Jonathan wrote: > Hello everyone, > > What are the processes in Revolution that have been optimized to be very > fast? The following two examples are the ones that come to mind, but I > figure there must be quite a few of them. > > - Match Text > - Repeat for each loop > > Thanks, > > Jonathan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Tue Feb 8 15:56:15 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 8 Feb 2005 12:56:15 -0800 (PST) Subject: Samples of completed projects In-Reply-To: <49DB8F39-7A09-11D9-BA10-000A956C462A@mangomultimedia.com> Message-ID: Are these yours, Trevor? Judy On Tue, 8 Feb 2005, Trevor DeVore wrote: > Here is one: > > > > and another > > SonoPortal=6180bda0ffe53fa9d6c45808fcbec67f&of5=0&arc=1&nw=108> From jperryl at ecs.fullerton.edu Tue Feb 8 16:02:07 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 8 Feb 2005 13:02:07 -0800 (PST) Subject: Samples of completed projects In-Reply-To: Message-ID: Okay, duhhhhh... Nevermind... Judy On Tue, 8 Feb 2005, Judy Perry wrote: > Are these yours, Trevor? From lists at mangomultimedia.com Tue Feb 8 16:03:54 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 8 Feb 2005 13:03:54 -0800 Subject: Samples of completed projects In-Reply-To: References: Message-ID: On Feb 8, 2005, at 12:56 PM, Judy Perry wrote: > Are these yours, Trevor? Yes. The Virtual Historian was the first project I started using Revolution with and the reason I initially wrote the EnhancedQT external. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From scott at tactilemedia.com Tue Feb 8 16:23:00 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 08 Feb 2005 13:23:00 -0800 Subject: Samples of completed projects In-Reply-To: Message-ID: Recently, Benjamin Pastrana wrote: > I would like to see real finished examples of REVOLUTION stacks > That DON'T look like the REVOLUTION windows. > > I havent seen any stack with full photograph or graphics > Backgrounds. > > Any one to share?? You can see here: http://www.tactilemedia.com/samples/applications/ Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Tue Feb 8 16:30:41 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Feb 2005 14:30:41 -0700 Subject: A simple Rev credit card processing solution In-Reply-To: <7ac49065514b726d5cf8cf86327c6746@together.net> References: <7ac49065514b726d5cf8cf86327c6746@together.net> Message-ID: <24db48ddab8c0c259931b02ddf6543de@swcp.com> On Feb 8, 2005, at 5:38 AM, Richard Miller wrote: > I can now post a simple, effective, secure solution to processing a > credit card through Rev. Thanks for the detailed how-to. From the CardPresent documentation I get the impression that the client needs to have a certificate. Assuming I understand your example correctly, it does not. That is OK, I think; merchant authentication in CP is based on the shared secret in x_tran_key. The Revolution documentation says that the client will be able to submit a certificate only in the future, so it is good news that a method is available that does not need it. I wonder if there is a way to improve security in this. This uses the Comodo CA root certificate. I would guess that there are many certificates signed by Comodo. An owner of a signed certificate might be able to exploit the Revolution SSL name-matching vulnerability (bugzilla 2545). Perhaps security might be improved if you could use a more specific root, perhaps one directly from authorize.net. I noticed that CP response verification uses MD5, which Revolution can do if it is desired. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From kray at sonsothunder.com Tue Feb 8 16:32:22 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 08 Feb 2005 15:32:22 -0600 Subject: Very fast Revolution commands and functions? In-Reply-To: <64878EF567131D4596246171F75FD4A974454F@m-epo-1.epo.cdc.gov> Message-ID: On 2/8/05 1:31 PM, "Lynch, Jonathan" wrote: > Is switch faster than if-then? > Is add 1 to X faster than put X+1 into X? Jonathan, you should read up on the Scripting Tricks called "Increasing Script Performance" by Wil Djikstra that I have posted on my site... they go into this and more: http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp005 http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp006 http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp007 Enjoy! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From BNZ2 at CDC.GOV Tue Feb 8 16:57:58 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 8 Feb 2005 16:57:58 -0500 Subject: Very fast Revolution commands and functions? Message-ID: <64878EF567131D4596246171F75FD4A9469FA5@m-epo-1.epo.cdc.gov> I will... Thanks! From drothe at optusnet.com.au Tue Feb 8 17:00:59 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Wed, 9 Feb 2005 08:00:59 +1000 Subject: rev and zip files Message-ID: <001601c50e29$ad0a2b60$54fe1dd3@p4c2> Hi All, Is there a known way to open and move the contents of a zip file from within a rev stack (obviously Win OS) ? e.g I have a folder with ? qty of txt files and image files (.jpg) compressed to a zip file named data.zip I want to be able to decompress and put the contents of the zip file into a chosen folder! Cheers Dwayne... From ambassador at fourthworld.com Tue Feb 8 17:22:31 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Feb 2005 14:22:31 -0800 Subject: rev and zip files In-Reply-To: <001601c50e29$ad0a2b60$54fe1dd3@p4c2> References: <001601c50e29$ad0a2b60$54fe1dd3@p4c2> Message-ID: <42093BA7.807@fourthworld.com> Dwayne Rothe wrote: > Hi All, > Is there a known way to open and move the contents of a zip file from within a rev stack (obviously Win OS) ? Sounds like a good opportunity for Chris at Altuit to craft an external. Doable Chipp? If the format isn't important but you just need to work with multiple files, you can store gzip-compressed data in custom properties in a stack file, using that stack file as the carrier. If you take the time to store the type and creator codes obtained from "the detailed files" on Mac you can even restore those when you write them out again -- something the Zip format doesn't handle at all. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jsilver at qualcomm.com Tue Feb 8 17:54:54 2005 From: jsilver at qualcomm.com (Silver, Jason) Date: Tue, 8 Feb 2005 14:54:54 -0800 Subject: mouseDown/Up - no actions when not on buttons Message-ID: Hello (again) :) After some very useful advice from Jacqueline Landman Gay at Hyperactive, I've changed the structure of my mobile phone sim tool. Now, instead of the buttons being on a palette, they're grouped and behave like a background, showing up on every card. When buttons are pressed, they send a custom ButtonPress message with the name of the button being pressed to the card. The card then has a switch statement, and does some action based on which button was pressed. The current card I'm working on is a Login type screen, with two focusable/editable fields, User ID and Password. (Please see my shared stack in RevOnline's User Spaces; the username is jsilver). In the switch statements, I have this script when the user presses up (or down): case navUp -- Determine which text field the user is currently in put the short name of the selectedField into activeField if activeField = "User ID" then focus on field "Password" else -- The user must be in the password field focus on field "User ID" end if break This works all well and good, except when pressing on an area that's not a button (in my stack, the purpleish area). The cursor then disappears from either the User ID or Password fields, and then when pressing Up or Down, the following error occurs (because the focus is not in a field): Type: Chunk: no target found Object: Login Screen Line: put the short name of the selectedField into activeField Basically, I never want the focus to leave either the User ID or Password fields; this simulation is supposed to be controlled solely by the buttons placed in the "Buttons" group. Is there an easy way to block the mouseUp (or mouseDown?) handler from doing anything when not on those buttons? I've tried adding "exit mouseDown" type handlers in the card and stack, but this doesn't do anything. Any help is appreciated. Thanks again! Jason Silver Human Factors Engineer, Sr. QUALCOMM Inc. (858) 845-3444 jsilver at qualcomm.com From dsc at swcp.com Tue Feb 8 18:00:32 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Feb 2005 16:00:32 -0700 Subject: Very fast Revolution commands and functions? In-Reply-To: <938e4b9796edda8b5cfba6b3d0b6bada@fjrhome.net> References: <64878EF567131D4596246171F75FD4A974454F@m-epo-1.epo.cdc.gov> <938e4b9796edda8b5cfba6b3d0b6bada@fjrhome.net> Message-ID: On Feb 8, 2005, at 12:49 PM, Frank D. Engel, Jr. wrote: > On Feb 8, 2005, at 2:31 PM, Lynch, Jonathan wrote: > >> Is add 1 to X faster than put X+1 into X? > > Yes. Over twice as fast. And both are faster on 2.5 than 2.2. Well, on my mac. There is a subtle and exotic difference in meaning. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From alex at tweedly.net Tue Feb 8 18:30:48 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 08 Feb 2005 23:30:48 +0000 Subject: Very fast Revolution commands and functions? In-Reply-To: References: Message-ID: <42094BA8.40508@tweedly.net> Ken Ray wrote: >On 2/8/05 1:31 PM, "Lynch, Jonathan" wrote: > > > >>Is switch faster than if-then? >>Is add 1 to X faster than put X+1 into X? >> >> > >Jonathan, you should read up on the Scripting Tricks called "Increasing >Script Performance" by Wil Djikstra that I have posted on my site... they go >into this and more: > >http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp005 >http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp006 >http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp007 > >Enjoy! > > Thanks ! I had somehow missed those .... I've sent a private reply on a few topics from there, but a general interest one is (from Part 3) > You most likely know that > > |add 1 to x| > > executes faster then: > > |put x + 1 into x| > > The reason is that in 'add 1 to x', the variable x is accessed only > once, whereas in 'put x + 1 into x' it is accessed two times. The > computer doesn't know that the result of 'x + 1' should be put in the > same place x and has to figure out twice where in memory x resides; > execution of the statement is similar to the execution of 'put x + 1 > into y'. If you have a long enough memory, you may remember seeing similar advice about writing C (or Pascal, or ....) You don't any more, because any reasonable compiler will optimize this out; since there is no way for the meaning of "x" to change within the statement "put x+1 into x", there is no need to "figure out twice where in memory x resides". Similarly, given (the equivalent of) a couple of statements like put x+6 into y put x+7 into z or more significantly put a[5]+6 into y put a[5]+7 into z any decent C compiler will (unless told not to by compile options, and assuming that y,x are simple variables) optimize the calculation, and probably also the register load, of the memory location for a[5]. Is there any reason why MC/Rev can't do a similar flow analysis and therefore eliminate double look-ups for x ? -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 From paladinx00 at yahoo.com Tue Feb 8 18:53:11 2005 From: paladinx00 at yahoo.com (Duong Le) Date: Tue, 8 Feb 2005 15:53:11 -0800 (PST) Subject: need help creating standalone application using videograbber Message-ID: <20050208235311.37537.qmail@web61208.mail.yahoo.com> I'm using Rev 2.5 on Mac OS X. I am trying to create a standalone application using the sample Video Capture stack from the sample projects on revonline. When using the standalone app, the video grabber library does not seem to be working. I have even narrowed down the line of code that stops the functioning of the rest of the program. revInitializeVideoGrabber short name of this stack,"qt",tRect Putting a simple answer line after this code shows me that it does not work in the standalone (it works fine in the ide). I've read and searched through the archives. I made sure the video grabber script library is included with the inclusions in the standalone apps settings. I've also read somewhere that a data folder is produced with the library file in it but I do not see that. The standalone simply produces 1 file. Perhaps Rev 2.5 changed some stuff. Any help is greatly appreciated. __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 From ps1 at softseven.org Tue Feb 8 20:58:14 2005 From: ps1 at softseven.org (Paul Salyers) Date: Tue, 08 Feb 2005 19:58:14 -0600 Subject: on load image Message-ID: <6.1.1.1.2.20050208195550.026cd930@softseven.org> Id there a way to play different wav files when a image loads. The way I want this to do it is play 1.wav when this wav finishes then play 2.wav, etc. Please help Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From wow at together.net Tue Feb 8 21:24:02 2005 From: wow at together.net (Richard Miller) Date: Tue, 8 Feb 2005 21:24:02 -0500 Subject: A simple Rev credit card processing solution In-Reply-To: <24db48ddab8c0c259931b02ddf6543de@swcp.com> References: <7ac49065514b726d5cf8cf86327c6746@together.net> <24db48ddab8c0c259931b02ddf6543de@swcp.com> Message-ID: <7e2fc6b1a2e91c5bc58a219702aa01dd@together.net> Dar, I wish I knew the answers to your questions. I worked on this issue with technical people at Authorize.net (after passing through MANY hands) and at Rev to find an answer that seemed to satisfy everyone. I was given the impression the Comodo certificate, along with the transaction key, provided adequate security. Hope this is correct. Richard On Feb 8, 2005, at 4:30 PM, Dar Scott wrote: > > On Feb 8, 2005, at 5:38 AM, Richard Miller wrote: > >> I can now post a simple, effective, secure solution to processing a >> credit card through Rev. > > Thanks for the detailed how-to. > > From the CardPresent documentation I get the impression that the > client needs to have a certificate. Assuming I understand your > example correctly, it does not. That is OK, I think; merchant > authentication in CP is based on the shared secret in x_tran_key. The > Revolution documentation says that the client will be able to submit a > certificate only in the future, so it is good news that a method is > available that does not need it. > > I wonder if there is a way to improve security in this. This uses the > Comodo CA root certificate. I would guess that there are many > certificates signed by Comodo. An owner of a signed certificate might > be able to exploit the Revolution SSL name-matching vulnerability > (bugzilla 2545). Perhaps security might be improved if you could use > a more specific root, perhaps one directly from authorize.net. > > I noticed that CP response verification uses MD5, which Revolution can > do if it is desired. > > Dar > > -- > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Programming Services and Software > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ptrendler at bigpond.com Tue Feb 8 21:32:11 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Wed, 9 Feb 2005 12:32:11 +1000 Subject: mouseDown/Up - no actions when not on buttons References: Message-ID: <002d01c50e4f$911c3f80$0100000a@super> Hello Jason, Could you just make the purple area a button. Turn off showName,autoHilite,sharedHilite, showFocusBorder. And turn off traversalOn - so that it doesn't take focus off the field if it is clicked.. You can use property inspector (size & position/layer) to 'send to the back' alter you create the button. Regards Pat patrend at bigpond.com ----- Original Message ----- From: "Silver, Jason" To: Sent: Wednesday, February 09, 2005 8:54 AM Subject: mouseDown/Up - no actions when not on buttons Hello (again) :) After some very useful advice from Jacqueline Landman Gay at Hyperactive, I've changed the structure of my mobile phone sim tool. Now, instead of the buttons being on a palette, they're grouped and behave like a background, showing up on every card. When buttons are pressed, they send a custom ButtonPress message with the name of the button being pressed to the card. The card then has a switch statement, and does some action based on which button was pressed. The current card I'm working on is a Login type screen, with two focusable/editable fields, User ID and Password. (Please see my shared stack in RevOnline's User Spaces; the username is jsilver). In the switch statements, I have this script when the user presses up (or down): case navUp -- Determine which text field the user is currently in put the short name of the selectedField into activeField if activeField = "User ID" then focus on field "Password" else -- The user must be in the password field focus on field "User ID" end if break This works all well and good, except when pressing on an area that's not a button (in my stack, the purpleish area). The cursor then disappears from either the User ID or Password fields, and then when pressing Up or Down, the following error occurs (because the focus is not in a field): Type: Chunk: no target found Object: Login Screen Line: put the short name of the selectedField into activeField Basically, I never want the focus to leave either the User ID or Password fields; this simulation is supposed to be controlled solely by the buttons placed in the "Buttons" group. Is there an easy way to block the mouseUp (or mouseDown?) handler from doing anything when not on those buttons? I've tried adding "exit mouseDown" type handlers in the card and stack, but this doesn't do anything. Any help is appreciated. Thanks again! Jason Silver Human Factors Engineer, Sr. QUALCOMM Inc. (858) 845-3444 jsilver at qualcomm.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From hershrev at realtorsgroup.us Tue Feb 8 22:12:32 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Tue, 08 Feb 2005 22:12:32 -0500 Subject: Postgres In-Reply-To: <58ef7d54b6124a43f7ac57a32c8616ca@fjrhome.net> Message-ID: On 2/8/05 10:48 AM, "Frank D. Engel, Jr." wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > No, it wouldn't. > > Let's say you want to enable 192.168.0.x, for example (x is anything in > 0..255): > > all all 192.168.0.0 255.255.255.0 trust > > Note: "trust" for a network is a *really* *really* *really* bad idea, > since it does not demand a password from any user, and anyone can just > claim to be "postgres" (the database superuser), and the server will > just "trust" that they are indeed who they claim to be. You should *at > least* use "password", or even better use "md5"... > > all all 192.168.0.0 255.255.255.0 md5 I wish I'd know how to use it, set it. Hershel > > > Note about Subnet Masks: when comparing two given IP addresses to > determine if an incoming connection is part of the specified subnet, so > to speak, both addresses are bitwise ANDed with the subnet mask, and > the result must match. > > So if you really trust the entire world of hackers and virus-writers > with complete and unrestricted access to your database server: > > all all 0.0.0.0 0.0.0.0 trust > > > will probably work. > > On Feb 7, 2005, at 11:58 PM, Hershel Fisch wrote: > >> On 2/7/05 2:45 PM, "Jan Schenkel" wrote: >> Thanks, it works with the addition of 255.255.255.255 . My question >> now if I >> want to enable a range of ip's how do I do that instead of putting a >> whole >> lot of lines , like writing >> All all 0.0.0.0 255.255.255.255 trust >> or leaving it blank >> All all 255.255.255.255 trust >> would work? >> Hershel >> >>> --- Hershel Fisch wrote: >>>> Hi all I'm trying to connect to my postgres 8.0 >>>> server on a osx 10.3 >>>> >>>> >>>> This is a copy from the pg_hpa.con file >>>> >>>> >>>> # TYPE DATABASE USER CIDR-ADDRESS >>>> METHOD >>>> >>>> # "local" is for Unix domain socket connections only >>>> local all all >>>> trust >>>> # IPv4 local connections: >>>> host all all 127.0.0.1/32 >>>> trust >>>> >>>> host all all 192.168.1.101 >>>> trust # this is the >>>> line I added . >>>> >>>> # IPv6 local connections: >>>> host all all ::1/128 >>>> trust >>>> >>>> The error " FATAL: missing or erroneous pg_hba.conf >>>> file." >>>> Thanks a mill. >>>> Ps I reinstalled postgres clean. >>>> Thanks , Hershel >>>> >>> >>> Hi Hershel, >>> >>> I think you forgot to add the subnet-mask at the end >>> of that IP-address 192.168.1.101 -- I think that ought >>> to be /24 but I'm not good with this sort of >>> calculations. However, there are calculators on the >>> internet. >>> >>> Hope this helped, >>> >>> Jan Schenkel. >>> >>> ===== >>> Quartam - Tools for Revolution >>> >>> >>> ===== >>> "As we grow older, we grow both wiser and more foolish at the same >>> time." (La >>> Rochefoucauld) >>> >>> >>> >>> __________________________________ >>> Do you Yahoo!? >>> The all-new My Yahoo! - What will yours do? >>> http://my.yahoo.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 >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCCN9p7aqtWrR9cZoRAsGFAKCEMVI7wSpF7gHgYmZ16unoE5BYNQCfcLGx > XQeR2reyjVYTmzc5ho7SAqI= > =LivA > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Tue Feb 8 22:25:38 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 08 Feb 2005 21:25:38 -0600 Subject: rev and zip files In-Reply-To: <42093BA7.807@fourthworld.com> References: <001601c50e29$ad0a2b60$54fe1dd3@p4c2> <42093BA7.807@fourthworld.com> Message-ID: <420982B2.3020304@chipp.com> Yep, we already have one in the works... -Chipp Richard Gaskin wrote: > Dwayne Rothe wrote: > >> Hi All, >> Is there a known way to open and move the contents of a zip file from >> within a rev stack (obviously Win OS) ? > > > Sounds like a good opportunity for Chris at Altuit to craft an external. > Doable Chipp? > > If the format isn't important but you just need to work with multiple > files, you can store gzip-compressed data in custom properties in a > stack file, using that stack file as the carrier. If you take the time > to store the type and creator codes obtained from "the detailed files" > on Mac you can even restore those when you write them out again -- > something the Zip format doesn't handle at all. > From jacque at hyperactivesw.com Tue Feb 8 23:08:53 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Feb 2005 22:08:53 -0600 Subject: mouseDown/Up - no actions when not on buttons In-Reply-To: References: Message-ID: <42098CD5.6070207@hyperactivesw.com> On 2/8/05 4:54 PM, Silver, Jason wrote: > case navUp > -- Determine which text field the user is currently in > put the short name of the selectedField into activeField > if activeField = "User ID" then > focus on field "Password" > else -- The user must be in the password field > focus on field "User ID" > end if > break > > This works all well and good, except when pressing on an area that's not > a button (in my stack, the purpleish area). The cursor then disappears > from either the User ID or Password fields, and then when pressing Up or > Down, the following error occurs (because the focus is not in a field): > > Type: Chunk: no target found > Object: Login Screen > Line: put the short name of the selectedField into activeField That's because when you click on the card, no field is in focus. The "selectedfield" will be empty, and you can't get the short name of empty. Instead of trying to get the name for all cases, change the syntax to: case navUp -- Determine which text field the user was in if the selectedField contains "User ID" then -- change this focus on field "Password" else -- Currently in password field focus on field "User ID" end if break By using "contains" instead of "equals", you can work with an empty case. Since it is never used more than once, you can also eliminate the line that puts the selectedfield into the variable; just compare it directly. I took a quick look at your script, and noticed you have an "exit" statement as the last line of the handler. No need -- all messages automatically stop at the end of the handler, unless they are expressly passed. The buttonPress message will never go any farther. You don't need "send to" in the button scripts -- all messages are automatically sent to the card if the button itself doesn't handle them. Use: on mouseup buttonPress "selectKey" end mouseup But even better, since you have elegantly named your buttons for the messages they send (which is good,) you could put this same script in all of them: on mouseUp buttonPress (the short name of me) end mouseUp And if you wanted to get really fancy, don't put any scripts in those buttons at all. Leave them completely empty. Instead, use a single card script: on mouseup get the name of the target if it contains "button" then buttonPress (the short name of the target) end mouseUp This last approach will work even if you add future buttons that aren't supposed to use the "buttonpress" message. If you give those future buttons their own "mouseup" handler, then the "mouseup" message they catch will never reach the one that is living in the card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Feb 8 23:14:54 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Feb 2005 22:14:54 -0600 Subject: mouseDown/Up - no actions when not on buttons In-Reply-To: <42098CD5.6070207@hyperactivesw.com> References: <42098CD5.6070207@hyperactivesw.com> Message-ID: <42098E3E.4030807@hyperactivesw.com> On 2/8/05 10:08 PM, I wrote: > By using "contains" instead of "equals", you can work with an empty > case. Sorry, this is of course untrue; you could use equals there. The thing that fixes the script is that it is no longer trying to get the name of empty. Any comparison type would work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Tue Feb 8 23:55:21 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 9 Feb 2005 05:55:21 +0100 Subject: Samples of completed projects In-Reply-To: Message-ID: <20050209050236.1394C93005D@mail.runrev.com> > I havent seen any stack with full photograph or graphics Backgrounds. You can try my new game in the making... http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=73 (download size is 8.7 MBs!) But it's alpha - although it works - it has a couple problems... and my ImageShow stack http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=41 (MC and RR - 150 KBs) cheers Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Benjamin Pastrana > Sent: Tuesday, February 08, 2005 20:14 > To: use-revolution at lists.runrev.com > Subject: Samples of completed projects > > I would like to see real finished examples of REVOLUTION > stacks That DON'T look like the REVOLUTION windows. > > > Any one to share?? > Thanks! > > Benjamin > -- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Tue Feb 8 23:52:13 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 8 Feb 2005 18:52:13 -1000 Subject: XML on Linux Message-ID: <6839682f0fed54b14df7fd7050e78dcb@hindu.org> How could one implement the XML library on a Linux machine such that CGI scripts can use rev's XML commands to process xml files? 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 revdan at danshafer.com Wed Feb 9 00:06:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 8 Feb 2005 21:06:10 -0800 Subject: The Case of the Disappearing Custom Property Message-ID: I have a large stack (about 87MB) that contains two QuickTime movies imported as controls. I'm using this approach because the client doesn't want anyone to be able to view these movies without registering and receiving a password and QuickTime movies can't be password-protected. So far, so good. In the IDE, everything goes as expected. The stack opens, the user is asked for name and password and, if the password matches the value of a custom property stored in the stack, he is given permission to proceed. If not, he's told he has to go get the password and the stack closes. Saved as a standalone, this does not work. I spent about 3 hours on this today and what I've found after a lot of tracing is that in the standalone app, the custom property containing the password against which the user's entry is to be matched is empty. I have an answer dialog that displays the value of that property. In the IDE, it shows the property correctly and the stack works. In the runtime, that dialog says the custom property has no value in it. Known bug? I can't find anything on this in Mozilla. I'm going to resort to placing the password into the stack as a variable, but that seems somehow less elegant. Dan From martin at materiaprima.fsnet.co.uk Wed Feb 9 03:16:19 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 9 Feb 2005 03:16:19 -0500 (EST) Subject: rev and zip files In-Reply-To: <42093BA7.807@fourthworld.com> References: <001601c50e29$ad0a2b60$54fe1dd3@p4c2> <001601c50e29$ad0a2b60$54fe1dd3@p4c2> Message-ID: >Richard Gaskin wrote: >... If you take the time >to store the type and creator codes obtained from "the detailed files" >on Mac you can even restore those when you write them out again -- >something the Zip format doesn't handle at all. > Well that's not entirely true Richard. The zip utilities for Mac that I've used create a folder in the zip archive called "XtraStuf.mac". When you extract the archive on another Mac, the contents of this folder are used to restore any resource forks. When the archive is expanded on a PC this is of course not used and just appears as a folder containing useless files. Inside XtraStuf.mac there is a file for any file in the archive that has a resource fork, with the same name and path as the data fork file (ie the directory structure of the archive is reproduced inside XtraStuf.mac where necessary, so that the path to the resource fork file matches the path to the data fork file, excepting the first directory). Martin Baxter From martin at materiaprima.fsnet.co.uk Wed Feb 9 03:17:17 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 9 Feb 2005 03:17:17 -0500 (EST) Subject: OT: Why does XP choke on the filename - "com1.gif" Message-ID: Please excuse the more or less OT question but I thought maybe one of the wise people here might know the reason for this. Yesterday I decided to transfer some old files from mac to PC via USB flash disk. Turned out there was a file in there called "com1.gif" (someone else sent this to me a long time ago) Windows XP refused to copy this to the PC hard disk. It also refused to rename or delete it. Displaying an alert saying "Access denied". The files weren't important so I just gave up. Then I tried to dial up using the modem on COM1. It failed to connect because COM1 was already in use. I cleared COM1 simply by restarting. But I'm puzzled why this should occur. Despite the filename, I don't see why trying to write an image file with this name should apparently result in COM1 being opened. It makes me wonder if there are any other filenames I should avoid. Of course the cause might be something peculiar to my machine, but I wouldn't know what. Martin Baxter From ambassador at fourthworld.com Wed Feb 9 03:10:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Feb 2005 00:10:43 -0800 Subject: rev and zip files In-Reply-To: References: <001601c50e29$ad0a2b60$54fe1dd3@p4c2> <001601c50e29$ad0a2b60$54fe1dd3@p4c2> Message-ID: <4209C583.7090301@fourthworld.com> Martin Baxter wrote: >>Richard Gaskin wrote: >>... If you take the time >>to store the type and creator codes obtained from "the detailed files" >>on Mac you can even restore those when you write them out again -- >>something the Zip format doesn't handle at all. >> > Well that's not entirely true Richard. The zip utilities for Mac that I've > used create a folder in the zip archive called "XtraStuf.mac". I must be old. :) Apparently Mac extensions were added to the spec -- from : Third-party Mappings: -ZipIt Macintosh Extra Field (long) (0x2605): The following is the layout of the ZipIt extra block for Macintosh. The local-header and central-header versions are identical. This block must be present if the file is stored MacBinary-encoded and it should not be used if the file is not stored MacBinary-encoded. Value Size Description ----- ---- ----------- (Mac2) 0x2605 Short tag for this extra block type TSize Short total data size for this block "ZPIT" beLong extra-field signature FnLen Byte length of FileName FileName variable full Macintosh filename FileType Byte[4] four-byte Mac file type string Creator Byte[4] four-byte Mac creator string Which Mac Zip tools use those? And do any of the Win Zip tools allows you to define the values of those fields for moving files cross-platform? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From martin at materiaprima.fsnet.co.uk Wed Feb 9 07:02:39 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 09 Feb 2005 12:02:39 +0000 Subject: rev and zip files In-Reply-To: <4209C583.7090301@fourthworld.com> References: <001601c50e29$ad0a2b60$54fe1dd3@p4c2> <001601c50e29$ad0a2b60$54fe1dd3@p4c2> Message-ID: >Martin Baxter wrote: >>>Richard Gaskin wrote: >>>... If you take the time >>>to store the type and creator codes obtained from "the detailed files" >>>on Mac you can even restore those when you write them out again -- >>>something the Zip format doesn't handle at all. >>> >> Well that's not entirely true Richard. The zip utilities for Mac that I've >> used create a folder in the zip archive called "XtraStuf.mac". > >I must be old. :) Apparently Mac extensions were added to the spec -- >from : > > Third-party Mappings: > > -ZipIt Macintosh Extra Field (long) (0x2605): > > The following is the layout of the ZipIt extra block > for Macintosh. The local-header and central-header versions > are identical. This block must be present if the file is > stored MacBinary-encoded and it should not be used if the file > is not stored MacBinary-encoded. > > Value Size Description > ----- ---- ----------- > (Mac2) 0x2605 Short tag for this extra block type > TSize Short total data size for this block > "ZPIT" beLong extra-field signature > FnLen Byte length of FileName > FileName variable full Macintosh filename > FileType Byte[4] four-byte Mac file type string > Creator Byte[4] four-byte Mac creator string > To be honest I had no idea that it was part of the official spec either, I'm impressed. > >Which Mac Zip tools use those? > >And do any of the Win Zip tools allows you to define the values of those >fields for moving files cross-platform? > Well presumably ZipIt uses them for one, Here are some links for it that were posted here recently. I think ZipIt was the first zip utility for Mac? >I use Zipit 2.2.2 on MacOS 9.1 and compress files >to / from OSX and Win without any prob. >A trial version can be downloaded at >http://www.maczipit.com/zipit-222.sea.bin >or >http://www.maczipit.com/download.html > >hope that helps, >JB I would expect that Stuffit is at least aware of archive in that format. And I use MacZip, which is free and available from download.com. I use it to move stuff back and forth between mac <> mac and mac <> PC routinely. I don't know if it is using the format you quote but it would seem a bit daft if it didn't. Admittedly MacZip has a less than friendly interface, so I've never looked at the geekier things it can do (you can send it command-line type commands and arguments via applescript for instance), only ever used it by dropping folders or archives on it, which works well enough. Martin Baxter From fde101 at fjrhome.net Wed Feb 9 08:29:59 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 9 Feb 2005 08:29:59 -0500 Subject: Postgres (OT) In-Reply-To: References: Message-ID: <0b26a6252ba7161e3f1f73a1de81d59f@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Look in the PostgreSQL docs for the CREATE USER and ALTER USER commands. On Feb 8, 2005, at 10:12 PM, Hershel Fisch wrote: >> just "trust" that they are indeed who they claim to be. You should >> *at >> least* use "password", or even better use "md5"... >> >> all all 192.168.0.0 255.255.255.0 md5 > I wish I'd know how to use it, set it. > Hershel - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCChBY7aqtWrR9cZoRAvBMAJ0b+8BTJxPpjj1FCqjlZy/6qyiiogCfYZ4L A/NDsLyMepm0ztBGU0Yw9Mw= =+Jqi -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Feb 9 09:11:32 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 9 Feb 2005 09:11:32 -0500 Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: References: Message-ID: <2bad91b68468bec2a845e205fd95d42f@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chalk up another Windoze issue! I just tried this under W2K: 1. Create a folder on the desktop (right-click, new, folder) 2. Name it "com1" or "com2" This also complains -- a file with that name already exists!!! I don't see it! Where?!?!? ;-) On Feb 9, 2005, at 3:17 AM, Martin Baxter wrote: > Please excuse the more or less OT question but I thought maybe one of > the > wise people here might know the reason for this. > > Yesterday I decided to transfer some old files from mac to PC via USB > flash > disk. > Turned out there was a file in there called "com1.gif" (someone else > sent > this to me a long time ago) > Windows XP refused to copy this to the PC hard disk. > It also refused to rename or delete it. Displaying an alert saying > "Access > denied". > > The files weren't important so I just gave up. > Then I tried to dial up using the modem on COM1. It failed to connect > because COM1 was already in use. > > I cleared COM1 simply by restarting. > But I'm puzzled why this should occur. Despite the filename, I don't > see > why trying to write an image file with this name should apparently > result > in COM1 being opened. It makes me wonder if there are any other > filenames I > should avoid. > > Of course the cause might be something peculiar to my machine, but I > wouldn't know what. > > Martin Baxter > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCChoV7aqtWrR9cZoRAtZ9AJ9fUyP+fukEIYPgwb418n1jaVtAuQCfRpxy m8ZYi667MUz2p6SpY8BbsJE= =1x0D -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From xbury.cs at clearstream.com Wed Feb 9 09:20:03 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 9 Feb 2005 15:20:03 +0100 Subject: OT: Why does XP choke on the filename - "com1.gif" Message-ID: Com1 and com2 are reserved names for "communication" ports such as serial ports or virtual ports... You can for example test a cd by echoing it through the com port as if it was a disk... com3 and 4 might also be taken btw... cheers Xavier On 09.02.2005 15:11:32 use-revolution-bounces wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Chalk up another Windoze issue! I just tried this under W2K: > >1. Create a folder on the desktop (right-click, new, folder) >2. Name it "com1" or "com2" > >This also complains -- a file with that name already exists!!! I >don't see it! Where?!?!? > >;-) > >On Feb 9, 2005, at 3:17 AM, Martin Baxter wrote: > >> Please excuse the more or less OT question but I thought maybe one of >> the >> wise people here might know the reason for this. >> >> Yesterday I decided to transfer some old files from mac to PC via USB >> flash >> disk. >> Turned out there was a file in there called "com1.gif" (someone else >> sent >> this to me a long time ago) >> Windows XP refused to copy this to the PC hard disk. >> It also refused to rename or delete it. Displaying an alert saying >> "Access >> denied". >> >> The files weren't important so I just gave up. >> Then I tried to dial up using the modem on COM1. It failed to connect >> because COM1 was already in use. >> >> I cleared COM1 simply by restarting. >> But I'm puzzled why this should occur. Despite the filename, I don't >> see >> why trying to write an image file with this name should apparently >> result >> in COM1 being opened. It makes me wonder if there are any other >> filenames I >> should avoid. >> >> Of course the cause might be something peculiar to my machine, but I >> wouldn't know what. >> >> Martin Baxter >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >- ----------------------------------------------------------- >Frank D. Engel, Jr. > >$ ln -s /usr/share/kjvbible /usr/manual >$ true | cat /usr/manual | grep "John 3:16" >John 3:16 For God so loved the world, that he gave his only begotten >Son, that whosoever believeth in him should not perish, but have >everlasting life. >$ >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (Darwin) > >iD8DBQFCChoV7aqtWrR9cZoRAtZ9AJ9fUyP+fukEIYPgwb418n1jaVtAuQCfRpxy >m8ZYi667MUz2p6SpY8BbsJE= >=1x0D >-----END PGP SIGNATURE----- > > > >___________________________________________________________ >$0 Web Hosting with up to 120MB web space, 1000 MB Transfer >10 Personalized POP and Web E-mail Accounts, and much more. >Signup at www.doteasy.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 3mcgrath at adelphia.net Wed Feb 9 09:26:55 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 9 Feb 2005 09:26:55 -0500 Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: References: Message-ID: <9c3884038813d952ad8e0ee9b2b008c3@adelphia.net> I believe com1 - com23 are the reserved com port names. I just read that somewhere? Tom On Feb 9, 2005, at 9:20 AM, xbury.cs at clearstream.com wrote: > > com3 and 4 might also be taken btw... Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From BNZ2 at CDC.GOV Wed Feb 9 09:49:10 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 9 Feb 2005 09:49:10 -0500 Subject: embedded video/audio player? Message-ID: <64878EF567131D4596246171F75FD4A9744550@m-epo-1.epo.cdc.gov> Is there a way, or an external, for playing mpeg movies without using QT or WMP? I apologize if this is treading over old ground - but I am still not quite clear on this. My understanding of Mpeg is that it basically stores a series of video frames, except that after the first frame, the only information that is stored for subsequent frames is pixel data for pixels that have changed. I would think it would be fairly straight forward to be able to constantly update an image to include the information for the next frame in a series of frames. I am not sure what sort of frame rate you would be able to achieve if this were done solely in transcript. My reason for asking, is that I think it would be nice for multimedia presentations to be able to just pop in the CD, press a button, and it all plays. Having to worry about whether QT or WMP is installed seems very problematical. In the past, I have found QT to be somewhat distasteful, because every time I played something with it, QT would set itself to be the default media player. That is obnoxious. Default settings should be under the user's control. Besides, not everyone will have either QT or WMP installed. I guess, if this were in a situation in which file size was not such an issue, then one could convert the movie to a gif animation, and have synched-up audio play at the same time - sounds kind of awkward though. So - has anyone tried any sort of scheme for playing video/audio without depending on other programs being installed on the users computer? Thanks, Jonathan From kray at sonsothunder.com Wed Feb 9 09:55:59 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 09 Feb 2005 08:55:59 -0600 Subject: The Case of the Disappearing Custom Property In-Reply-To: Message-ID: On 2/8/05 11:06 PM, "Dan Shafer" wrote: > Known bug? I can't find anything on this in Mozilla. I'm going to > resort to placing the password into the stack as a variable, but that > seems somehow less elegant. Any chance it is a custom property that is stripped off during standalone building? Perhaps it's part of a profile or has a "rev" name? Just a few ideas... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at tactilemedia.com Wed Feb 9 10:19:45 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 09 Feb 2005 07:19:45 -0800 Subject: embedded video/audio player? In-Reply-To: <64878EF567131D4596246171F75FD4A9744550@m-epo-1.epo.cdc.gov> Message-ID: Recently, Lynch, Jonathan wrote: > Is there a way, or an external, for playing mpeg movies without using QT > or WMP? What would you use then to play the media? Even with a simple text file you need some means to view it. > I would think it would be fairly straight forward to be able to > constantly update an image to include the information for the next frame > in a series of frames. I am not sure what sort of frame rate you would > be able to achieve if this were done solely in transcript. This is extremely unlikely given you'd have to write something to decompress all the proprietary and non-proprietary codecs used to compress all video formats out there. > My reason for asking, is that I think it would be nice for multimedia > presentations to be able to just pop in the CD, press a button, and it > all plays. Having to worry about whether QT or WMP is installed seems > very problematical. Virtually every multimedia title out there includes system requirements on its packaging. Even media sites like iFilm and similar require that you have Real, WMP or QT to view the content. Requiring that users have some multimedia framework installed is actually pretty standard. > In the past, I have found QT to be somewhat distasteful, because every > time I played something with it, QT would set itself to be the default > media player. That is obnoxious. Default settings should be under the > user's control. > > Besides, not everyone will have either QT or WMP installed. This is the reason for stating System Requirements. :-) > I guess, if this were in a situation in which file size was not such an > issue, then one could convert the movie to a gif animation, and have > synched-up audio play at the same time - sounds kind of awkward though. Again, you'd need to write something that could decompress any multitude of audio and video formats out there -- not a trivial task. > So - has anyone tried any sort of scheme for playing video/audio without > depending on other programs being installed on the users computer? I would expect the most people to answer doing something like this is too much work. The labor required to pull this off is significant or perhaps redundant considering that most of the players have been in development for for years by teams of programmers. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From BNZ2 at CDC.GOV Wed Feb 9 10:29:33 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 9 Feb 2005 10:29:33 -0500 Subject: embedded video/audio player? Message-ID: <64878EF567131D4596246171F75FD4A9744551@m-epo-1.epo.cdc.gov> Well - I didn't mean that it would have the ability to play any format. There are already programs that convert mpeg to gif animation, for example. I just meant the ability to play and control one format. The conversion to that format would take place during production - not on the users end. I read somewhere, but I cannot remember if it was in the REV docs or on this discussion group, about using a constantly updated image as a means of showing video animation. Was that just speculative, or has that actually been done? Cheers, Jonathan From mwieder at ahsoftware.net Wed Feb 9 11:08:26 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Feb 2005 08:08:26 -0800 Subject: The Case of the Disappearing Custom Property In-Reply-To: References: Message-ID: <109731321.20050209080826@ahsoftware.net> Dan- You're not doing something silly like trying to set a customProperty in a running mainStack, are you? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Feb 9 11:18:48 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Feb 2005 08:18:48 -0800 Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: <9c3884038813d952ad8e0ee9b2b008c3@adelphia.net> References: <9c3884038813d952ad8e0ee9b2b008c3@adelphia.net> Message-ID: <1901352715.20050209081848@ahsoftware.net> Thomas- Wednesday, February 9, 2005, 6:26:55 AM, you wrote: TMI> I believe com1 - com23 are the reserved com port names. I just read TMI> that somewhere? There are other reserved words as well: LPT, PRN, NUL, I'm sure there are others that I can't think of off the top of my head. It's a holdover from DOS commandlines where you don't need the trailing colon in order to reference a logical device: COPY FILE.TXT COM1 -- -Mark Wieder mwieder at ahsoftware.net From jimlyons at earthlink.net Wed Feb 9 11:30:55 2005 From: jimlyons at earthlink.net (Jim Lyons) Date: Wed, 9 Feb 2005 11:30:55 -0500 Subject: Problems using Dreamcard Message-ID: In earlier messages of this thread, I described the problems I had when I just copied the Dreamcard application out of my Rev 2.5 folder onto a CD with a stack and copied them to a friend's Mac. Thanks to help from the list, I found the problems were caused by not "installing" Dreamcard and the resources it needs to work. When I downloaded and installed the trial version of Rev 2.5 to my friend's machine and opened the stack with the included player, the earlier problems were gone. So I left the stack (a membership directory) with my friend to work on using her newly installed Dreamcard player. Besides problems printing (subject for another thread), in turns out that my Save command was not actually working! She put in quite a bit of work before realizing this, unfortunately. Of course, I had tested saving with my menu command, but running in the IDE. Now that I test it with my Dreamcard player, I discover it doesn't work. My menu command is: save stack "Directory" as the filename of this stack Again, this functions correctly in the IDE, but not under Dreamcard. Could "this stack" be different in the player? That would be a rude shock. Am I making bad assumptions about using the player? And I ask again, are there any rules, tips, warnings, guidelines, for designing stacks to be used with Dreamcard anywhere? Thanks for any help. Jim Lyons From b.xavier at internet.lu Wed Feb 9 12:01:29 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 9 Feb 2005 18:01:29 +0100 Subject: Ann: Kount Fu Master In-Reply-To: <64878EF567131D4596246171F75FD4A9744550@m-epo-1.epo.cdc.gov> Message-ID: <20050209170842.48A68930070@mail.runrev.com> Hi Rev Scripters, I made a discrete mention about this new game im working on in a post yesterday so I thought I might as well anounce the beta test release of the game engine and demo... The explanation, unworthy screenshot and url for the story and demo download is available at http://www.monsieurx.com/modules.php?name=News&file=article&sid=174 There might be plans to develop downloadable custom kits to adapts themes, shapes, sounds, languages, sounds, images, scores and more... Ideas abound... Im just wondering if this is worth the effort to develop for educational markets or if it's just the kind of shareware that get played once and forgotten. It does have a valuable benefit - it teaches you to count much faster than before... ;) If you're interested in the game or debugging it or translating it into your language, please inquire! There's free licenses in trade for a few... Cheers a la Rev Xavier -- http://MonsieurX.com - Nitrous tools for RunRev development! From revdan at danshafer.com Wed Feb 9 12:14:22 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 9 Feb 2005 09:14:22 -0800 Subject: The Case of the Disappearing Custom Property In-Reply-To: References: Message-ID: <62a34fcad00ee4ac267a47e7730514d4@danshafer.com> Turns out the stack was corrupted. Chipp Walters was kind enough to spend considerable time with me on this last night and finally suggested I open the stack, rename it and save it under a different file name. As soon as I did that, the problem went away. (In the interim, the stack developed an additional problem of being unable to be saved as a standalone.) The good news is that I was backed up and archived thanks to Chipp's most excellent altArchive plugin so I was never in real danger of losing work. Dan On Feb 9, 2005, at 6:55 AM, Ken Ray wrote: > On 2/8/05 11:06 PM, "Dan Shafer" wrote: > >> Known bug? I can't find anything on this in Mozilla. I'm going to >> resort to placing the password into the stack as a variable, but that >> seems somehow less elegant. > > Any chance it is a custom property that is stripped off during > standalone > building? Perhaps it's part of a profile or has a "rev" name? > > Just a few ideas... > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ps1 at softseven.org Wed Feb 9 12:14:55 2005 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 09 Feb 2005 11:14:55 -0600 Subject: play sound error Message-ID: <6.1.1.1.2.20050209110531.026442c8@softseven.org> on mouseup play audioClip "1" wait until the sound is done play audioClip "2" wait until the sound is done end mouseup executing at 11:13:39 AM Type Handler: can't find handler Object Label Field Line play audioClip "1" wait until the sound is done Hint until What's going on here. the first wav file will play but the second don't start and I get the above error message. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From klaus at major-k.de Wed Feb 9 12:28:26 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 9 Feb 2005 18:28:26 +0100 Subject: play sound error In-Reply-To: <6.1.1.1.2.20050209110531.026442c8@softseven.org> References: <6.1.1.1.2.20050209110531.026442c8@softseven.org> Message-ID: Dear Mr. Salyers, Ty this one: on mouseup play audioClip "1" wait until the sound is done play audioClip "2" wait until the sound is done end mouseup 4 different command = 4 different lines! Regards Klaus Major klaus at major-k.de http://www.major-k.de From lists at mangomultimedia.com Wed Feb 9 12:33:14 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 9 Feb 2005 09:33:14 -0800 Subject: The Case of the Disappearing Custom Property In-Reply-To: References: Message-ID: On Feb 8, 2005, at 9:06 PM, Dan Shafer wrote: > I have a large stack (about 87MB) that contains two QuickTime movies > imported as controls. I'm using this approach because the client > doesn't want anyone to be able to view these movies without > registering and receiving a password and QuickTime movies can't be > password-protected. Dan, I just wanted to mention that you can add password protection to QuickTime movies using a QuickTime sprite track. You can add logic to a QuickTime sprite track that will keep the movie from displaying any audio/visual elements unless a variable in the movie is a certain value. This method does require a tool for authoring wired sprites and you would have to use the EnhancedQT external to set the sprite track variable but it is doable. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at tweedly.net Wed Feb 9 13:00:14 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Feb 2005 18:00:14 +0000 Subject: Problems using Dreamcard In-Reply-To: References: Message-ID: <420A4FAE.5010801@tweedly.net> Jim Lyons wrote: > In earlier messages of this thread, I described the problems I had > when I just copied the Dreamcard application out of my Rev 2.5 folder > onto a CD with a stack and copied them to a friend's Mac. Thanks to > help from the list, I found the problems were caused by not > "installing" Dreamcard and the resources it needs to work. When I > downloaded and installed the trial version of Rev 2.5 to my friend's > machine and opened the stack with the included player, the earlier > problems were gone. > > So I left the stack (a membership directory) with my friend to work on > using her newly installed Dreamcard player. Besides problems printing > (subject for another thread), in turns out that my Save command was > not actually working! She put in quite a bit of work before realizing > this, unfortunately. Of course, I had tested saving with my menu > command, but running in the IDE. Now that I test it with my Dreamcard > player, I discover it doesn't work. > > My menu command is: save stack "Directory" as the filename of this stack > > Again, this functions correctly in the IDE, but not under Dreamcard. > Could "this stack" be different in the player? That would be a rude > shock. Am I making bad assumptions about using the player? And I ask > again, are there any rules, tips, warnings, guidelines, for designing > stacks to be used with Dreamcard anywhere? Thanks for any help. Two possibilities : 1. Make sure the Player is not in "secure" mode (which prevents it from writing files or accessing the network). [ Click on the Rev icon at top right, and set the checkbox for "Run in non-secure mode" ] 2. There is a bug (Bugzilla 2294) by which stacks run in Dreamcard Player do not have a "home" directory, so expressions such as the filename of this stack do not produce the correct answer. (I've worked around this by (once only) asking the using to specify the folder they wish to use, and storing this in a preferences file; if I find a prefs file and it specifies a data folder, then there's no need to ask again. Code something like > if lPrefsFileName is empty then > if the platform is "Win32" then > put specialfolderPath(baseconvert("0x001c", 16, 10)) into tFolder > else > put specialFolderPath("Preferences") into tFolder > end if etc. As far as I know, the only *expected* difference between the player and regular environment is the issue of secure mode - it's only bugs that make them different. This is the only major one I know of - but there could be others. It would be nice to search by component in Bugzilla, but unfortunately there is bug 2140 - Need to have a Bugzilla component for "Dreamcard Player" I've just had a quick look through the bugs which mention Dreamcard or Player, and while I might have missed some, I don't see anything else likely to cause different behaviour between the same stack in Player vs Rev. -- Alex Tweedly www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 From stephenREVOLUTION at barncard.com Wed Feb 9 12:59:29 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 9 Feb 2005 09:59:29 -0800 Subject: rev and zip files Message-ID: I would think that Aladdin (makers of Stuffit) might have even written the spec. And Unstuffit seems to handle everything I throw at it, including zips. Also don't forget that Aladdin makes a PC version of Stuffit/Unstuffit. sqb > > >I would expect that Stuffit is at least aware of archive in that format. > > >Martin Baxter -- ---------------------------------------------------------------- Rome did not create a great empire by having meetings. Rome created a great empire by killing all those who opposed it. ---------------------------------------------------------------- From revdan at danshafer.com Wed Feb 9 13:13:22 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 9 Feb 2005 10:13:22 -0800 Subject: [OT] QT Editing Tool (was Re: The Case of the Disappearing Custom Property) In-Reply-To: References: Message-ID: Trevor.... Thanks. I need to look into this in greater detail. Do you have a recommended tool for QT editing? I just use QTPro. At one point I used MovieWorks but my version is no longer up to date. Is there something better? dan On Feb 9, 2005, at 9:33 AM, Trevor DeVore wrote: > On Feb 8, 2005, at 9:06 PM, Dan Shafer wrote: > >> I have a large stack (about 87MB) that contains two QuickTime movies >> imported as controls. I'm using this approach because the client >> doesn't want anyone to be able to view these movies without >> registering and receiving a password and QuickTime movies can't be >> password-protected. > > Dan, > > I just wanted to mention that you can add password protection to > QuickTime movies using a QuickTime sprite track. You can add logic to > a QuickTime sprite track that will keep the movie from displaying any > audio/visual elements unless a variable in the movie is a certain > value. This method does require a tool for authoring wired sprites > and you would have to use the EnhancedQT external to set the sprite > track variable but it is doable. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Wed Feb 9 13:26:58 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 9 Feb 2005 10:26:58 -0800 Subject: [OT] QT Editing Tool (was Re: The Case of the Disappearing Custom Property) Message-ID: Dan, if you have a copy of Golive 5,6,7 around, that might do the trick. There's quite an extensive QT editor in there. sqb >Trevor.... > >Thanks. I need to look into this in greater detail. Do you have a >recommended tool for QT editing? I just use QTPro. At one point I >used MovieWorks but my version is no longer up to date. Is there >something better? > >dan From lists at mangomultimedia.com Wed Feb 9 13:35:59 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 9 Feb 2005 10:35:59 -0800 Subject: [OT] QT Editing Tool In-Reply-To: References: Message-ID: On Feb 9, 2005, at 10:13 AM, Dan Shafer wrote: > Trevor.... > > Thanks. I need to look into this in greater detail. Do you have a > recommended tool for QT editing? I just use QTPro. At one point I used > MovieWorks but my version is no longer up to date. Is there something > better? This really depends on what you want to do. While QT Pro lets you edit movies it will not let you add interactivity using sprite tracks which is you need to add something like password protection I mentioned previously. For this type of QT editing I couldn't live without LiveStage Pro from TotallyHip . It is an incredibly comprehensive tool that allows you to exploit most everything that the QuickTime architecture has to offer. If you are interested in Wired QuickTime then I would pick up the book "Interactive QuickTime - Authoring Wired Media" by Matthew Peterson. This goes into great detail about interactive QuickTime and you get something like $150 off a purchase of LiveStage Pro if you buy within 30 days of buying the book. This book explains how to use sprite tracks to add a little DRM to your movies. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From martin at materiaprima.fsnet.co.uk Wed Feb 9 13:58:07 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 9 Feb 2005 13:58:07 -0500 (EST) Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: <1901352715.20050209081848@ahsoftware.net> References: <9c3884038813d952ad8e0ee9b2b008c3@adelphia.net> <9c3884038813d952ad8e0ee9b2b008c3@adelphia.net> Message-ID: >Thomas- > >Wednesday, February 9, 2005, 6:26:55 AM, you wrote: > >TMI> I believe com1 - com23 are the reserved com port names. I just read >TMI> that somewhere? > >There are other reserved words as well: LPT, PRN, NUL, I'm sure there >are others that I can't think of off the top of my head. It's a >holdover from DOS commandlines where you don't need the trailing colon >in order to reference a logical device: > >COPY FILE.TXT COM1 > Thanks for explaining that, yes of course, MSDOS, I thought they finally dumped that ? But really, a multi-user, multi-tasking, allegedly "modern" operating system that can't tell a reference to a file on disk from a reference to a serial port? I think I'm actually shocked. Martin Baxter From fde101 at fjrhome.net Wed Feb 9 14:04:48 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 9 Feb 2005 14:04:48 -0500 Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: References: <9c3884038813d952ad8e0ee9b2b008c3@adelphia.net> <9c3884038813d952ad8e0ee9b2b008c3@adelphia.net> Message-ID: <7c4cbe9a03f686dca74ce51a2437b9ba@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, it's Windows. What did you expect? I was able to name a folder com16 or some such, btw... Apparently Windows only blocks the names for ports which actually exist. Makes sense, but what happens when I put my "com16" folder on a disk and stick it into a Windows box with 16 or more serial ports? Actually, I'm going to try making a "com1" folder on a CD (from my Mac) and inserting that into a Windows box. Hmm... Well, Windows 2000 sees this as not a problem. You can look inside the empty folder and everything. Same with XP home. Note: In XP home, creating the empty folder on the desktop and naming it "com1" results in Windows quietly switching the name back to "New Folder" with no error or anything. W2K at least complained that the file already existed. Strange inconsistency. On Feb 9, 2005, at 1:58 PM, Martin Baxter wrote: >> Thomas- >> >> Wednesday, February 9, 2005, 6:26:55 AM, you wrote: >> >> TMI> I believe com1 - com23 are the reserved com port names. I just >> read >> TMI> that somewhere? >> >> There are other reserved words as well: LPT, PRN, NUL, I'm sure there >> are others that I can't think of off the top of my head. It's a >> holdover from DOS commandlines where you don't need the trailing colon >> in order to reference a logical device: >> >> COPY FILE.TXT COM1 >> > > Thanks for explaining that, yes of course, MSDOS, I thought they > finally > dumped that ? > > But really, a multi-user, multi-tasking, allegedly "modern" operating > system that can't tell a reference to a file on disk from a reference > to a > serial port? > > I think I'm actually shocked. > > Martin Baxter > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCl7Q7aqtWrR9cZoRApAbAJ4pqa5sJcNaA9cOxlHW86hNdaM3lQCZAbaK sXI2zB1/KFl/RQRnjlYHTpA= =xHZW -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From James.Cass at sealedair.com Wed Feb 9 14:33:21 2005 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Wed, 9 Feb 2005 14:33:21 -0500 Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: <7c4cbe9a03f686dca74ce51a2437b9ba@fjrhome.net> Message-ID: > Actually, I'm going to try making a > "com1" folder on a CD (from my Mac) > and inserting that into a Windows box. > Hmm... GOOD GOD MAN!! ARE YOU CRAZY!! You could rip a hole in the space-time continuum and squirt us all out of this dimension like watermelon seeds!! You can't just go plucking the Cosmic Strings like a monkey on a banjo!! OH, THE HUMANITY!!! -James "Frank D. Engel, Jr." Sent by: use-revolution-bounces at lists.runrev.com 02/09/05 02:04 PM Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: OT: Why does XP choke on the filename - "com1.gif" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, it's Windows. What did you expect? I was able to name a folder com16 or some such, btw... Apparently Windows only blocks the names for ports which actually exist. Makes sense, but what happens when I put my "com16" folder on a disk and stick it into a Windows box with 16 or more serial ports? Actually, I'm going to try making a "com1" folder on a CD (from my Mac) and inserting that into a Windows box. Hmm... Well, Windows 2000 sees this as not a problem. You can look inside the empty folder and everything. Same with XP home. Note: In XP home, creating the empty folder on the desktop and naming it "com1" results in Windows quietly switching the name back to "New Folder" with no error or anything. W2K at least complained that the file already existed. Strange inconsistency. On Feb 9, 2005, at 1:58 PM, Martin Baxter wrote: >> Thomas- >> >> Wednesday, February 9, 2005, 6:26:55 AM, you wrote: >> >> TMI> I believe com1 - com23 are the reserved com port names. I just >> read >> TMI> that somewhere? >> >> There are other reserved words as well: LPT, PRN, NUL, I'm sure there >> are others that I can't think of off the top of my head. It's a >> holdover from DOS commandlines where you don't need the trailing colon >> in order to reference a logical device: >> >> COPY FILE.TXT COM1 >> > > Thanks for explaining that, yes of course, MSDOS, I thought they > finally > dumped that ? > > But really, a multi-user, multi-tasking, allegedly "modern" operating > system that can't tell a reference to a file on disk from a reference > to a > serial port? > > I think I'm actually shocked. > > Martin Baxter > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCl7Q7aqtWrR9cZoRApAbAJ4pqa5sJcNaA9cOxlHW86hNdaM3lQCZAbaK sXI2zB1/KFl/RQRnjlYHTpA= =xHZW -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Wed Feb 9 15:04:22 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Feb 2005 12:04:22 -0800 (PST) Subject: CGI access to PostGreSQL In-Reply-To: <9dfa495bce6bc70b3b4405b45b35baf6@hindu.org> Message-ID: <20050209200422.56602.qmail@web60509.mail.yahoo.com> --- Sivakatirswami wrote: > Aloha, Jan: > > Linux box running Red Hat (not sure which version... > is that critical?) > > version() returns > > 2.6 > > Thanks > Sivakatirswami > Aloha, You probably need to copy over some libraries then ; if my memory serves me well it will find the revdb library and the drivers just fine if they're all in the same directory as the revolution executable. Taking a quick peek at the directory on my Windows machine, I'd say you need the files from the subdir /components/global environment/database_drivers/linux/ And you'll also need the revdb-Linux and revxml-Linux library files (according to your other post with regards to the XML library on Linux). Hmm, those two library files seem to be missing in my copy of Rev 2.5 but are there in my copy of Rev 2.2 I have a vague recollection of these being compiled into the Revolution CGI-engines, but maybe someone from the RunRev team could elaborate? Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From benr_mc at cogapp.com Wed Feb 9 14:05:17 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 09 Feb 2005 19:05:17 +0000 Subject: MP3 without QuickTime on Windows In-Reply-To: Message-ID: Hi Klaus > Quick guess: > > Did you "set the dontuseqt to true"? > In an "preopenstack"-handler or something... > > I think even if QT is NOT present the engine thinks to have to use > QT...? I haven't; but I don't think it's relevant, as the same app on a PC running 'ordinary' windows XP works fine - if QT is installed, it uses QT; if QT is uninstalled, it uses Media Player. Can RunRev confirm the actual requirements, or give me a clue how to debug what's not working? (EG on OS X I now about using the console to get detailed info about what's failing to work when it tries to access some external component; is there some equivalent on Windows (XPe) that I can use to figure out what the problem is here? Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 > From: Ben Rubinstein > Date: Tue, 08 Feb 2005 15:48:38 +0000 > To: "use-revolution at lists.runrev.com" > Subject: Re: MP3 without QuickTime on Windows > > Hi Klaus, > > Thanks for your help already. I'm making progress, but I'm not quite where I > wanted to be yet. > > As noted in my previous post, I'm trying to play MP3s on a minimal > installation of Windows XP Embedded. I don't have direct control over the XPe > build (and wouldn't know what I was doing if I did) - I try something, make a > fresh request, get a new solid state disk for the unit, try again. Quite > longwinded, and there's a tight timetable on this project. > > As noted before, I removed QuickTime from a normal PC running XP, and played > MP3 files, using a 'quicktime player', without problems (and without a > controller, which is fine). I wasn't previously able to install either > Media Player or QuickTime on the XPe unit. > > I've now got a new disk for the XPe unit, with MediaPlayer. I can play an MP3 > file directly by double-clicking, it opens MediaPlayer, plays it fine no > problems. However, from Rev I still get 'could not open video player' when I > set the filename of the player to the MP3 file. > > I am also now able to install QuickTime (version 4!) on the XPe unit; and can > then play the MP3 from Rev fine, complete with controller. But when I > uninstall QuickTime, I'm back to square one. > > I then tried getting Media Player 9 for XP from the MS website, and installing > that. Installation apparently proceeded without a problem, and Media Player > can play the content without problems - but the symptoms when playing from Rev > are the same. > > Evidently all installations of Media Player are not equal. Can you (or > anyone) clue me in to what I need (and preferably how to express this to the > people building the disk image)? > > If we have to, we might be able to get away with QuickTIme - but it will cause > other difficulties, so if we can avoid it just to play MP3 files that would be > an advantage. > > Thank you, > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 From janschenkel at yahoo.com Wed Feb 9 15:09:50 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Feb 2005 12:09:50 -0800 (PST) Subject: Metal anomalies In-Reply-To: <8fb2d6478e7bcc10abf15d7236c9670d@fjrhome.net> Message-ID: <20050209200950.69306.qmail@web60504.mail.yahoo.com> --- "Frank D. Engel, Jr." wrote: > On Feb 7, 2005, at 3:25 PM, Jan Schenkel wrote: > > > > I'm not quite sure I agree on this : it only takes > a > > couple of lines of code to script this yourself, > and > > at which point should the engine do it for you ? > > After the mouseDown message has gone all the way > to > > the back of the message path? Or before any of > your > > scripts get to it, thus rendering any card level > > 'mouseDown' mesages that normally get triggered > when > > you click next to the controls on your card? > > When the mouseUp message reaches the engine, of > course. At the last > stage of the message path. > Remember how you'd script this yourself : by means of a combination of mouseDown/mouseMove/mouseUp/mouseRelease handlers -- that's four messages that may be caught independently somewhere down the message path, sometimes in different objects in order to minimize scripting efforts. I'm not sure how the engine could know for sure that it's supposed to move the stack around, but that may just be my puny brains ;-) Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 From 3mcgrath at adelphia.net Wed Feb 9 15:21:29 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 9 Feb 2005 15:21:29 -0500 Subject: MP3 without QuickTime on Windows In-Reply-To: References: Message-ID: <4814bc63b25ad98f5b43f4613f2f49fa@adelphia.net> It is relevant On Feb 9, 2005, at 2:05 PM, Ben Rubinstein wrote: > I haven't; but I don't think it's relevant, Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From soapdog at mac.com Wed Feb 9 15:23:04 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 9 Feb 2005 18:23:04 -0200 Subject: The Case of the Disappearing Custom Property In-Reply-To: References: Message-ID: <5e579bc1b48937fcd909820aa74ca3e1@mac.com> On Feb 9, 2005, at 3:06 AM, Dan Shafer wrote: > Saved as a standalone, this does not work. I spent about 3 hours on > this today and what I've found after a lot of tracing is that in the > standalone app, the custom property containing the password against > which the user's entry is to be matched is empty. I have an answer > dialog that displays the value of that property. In the IDE, it shows > the property correctly and the stack works. In the runtime, that > dialog says the custom property has no value in it. > > Known bug? I can't find anything on this in Mozilla. I'm going to > resort to placing the password into the stack as a variable, but that > seems somehow less elegant. > > Dan Dan, what is the name of the property and to whom it belongs? I have a stripAndShip handler here that will destroy properties beggining with Dev and clear fields begginning with the word "field_" you're not using some similar handler? Or maybe you're using some reserved word... don't know... Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From martin at materiaprima.fsnet.co.uk Wed Feb 9 15:51:03 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 09 Feb 2005 20:51:03 +0000 Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: References: <7c4cbe9a03f686dca74ce51a2437b9ba@fjrhome.net> Message-ID: >>"Frank D. Engel, Jr.": >> Actually, I'm going to try making a >> "com1" folder on a CD (from my Mac) >> and inserting that into a Windows box. >> Hmm... >James Cass: >GOOD GOD MAN!! ARE YOU CRAZY!! You could rip a hole in the space-time >continuum and squirt us all out of this dimension like watermelon seeds!! >You can't just go plucking the Cosmic Strings like a monkey on a banjo!! >OH, THE HUMANITY!!! > >-James ROTFL Go for it Frank ! Martin Baxter From ambassador at fourthworld.com Wed Feb 9 16:08:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Feb 2005 13:08:13 -0800 Subject: Metal anomalies In-Reply-To: <20050209200950.69306.qmail@web60504.mail.yahoo.com> References: <20050209200950.69306.qmail@web60504.mail.yahoo.com> Message-ID: <420A7BBD.9020502@fourthworld.com> Jan Schenkel wrote: > Remember how you'd script this yourself : by means of > a combination of > mouseDown/mouseMove/mouseUp/mouseRelease handlers -- > that's four messages that may be caught independently > somewhere down the message path, sometimes in > different objects in order to minimize scripting > efforts. The requirement of writing four handlers for all but the limited subset of things the grab command handles is a long-standing annoyance. We understand that using mouseMove is essential to avoid the polling issue with mouseStillDown, but this raises a question: Why not just fix mouseStillDown so it doesn't poll? It could be sent in response to mouseMove instead of being tied to the idleRate as it is now, and I doubt many (any?) scripts in shipping products would notice the difference. If it seems sensible to simplify those four handlers down to one revised mouseStillDown, consider voting for: There's also a suggestion there for extensing the drag command to incorporate some useful syntax options extablished by SuperCard. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Wed Feb 9 16:35:40 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Feb 2005 21:35:40 +0000 Subject: Problems using Dreamcard In-Reply-To: <420A4FAE.5010801@tweedly.net> References: <420A4FAE.5010801@tweedly.net> Message-ID: <420A822C.8010102@tweedly.net> Alex Tweedly wrote: > Two possibilities : > > 1. Make sure the Player is not in "secure" mode (which prevents it > from writing files or accessing the network). > [ Click on the Rev icon at top right, and set the checkbox for "Run > in non-secure mode" ] > > 2. There is a bug (Bugzilla 2294) by which stacks run in Dreamcard > Player do not have a "home" directory, so expressions such as > the filename of this stack > do not produce the correct answer. > When Dreamcard and the Player came out, I tried using them for a while, but quickly ran into some problems (Bugzilla 2117, 2138, 2139, 2140, 2142) which were all survivable (in fact - a couple of them are entered as enhancements because it wasn't clear to me whether they were real bugs or just possible improvements). When I ran into 2294, I decided to (temporarily) give up on using Dreamcard Player - fortunately I still have a valid 2.2.1 Express license, so can build standalones for my users (though some of them would prefer the much smaller downloads we'd get if we could use DC Player). But triggered by Jim's question, I went back for another look. In less than 30 minutes, I found more problems (2593, 2594, 2595, 2596 and 2597). Is anyone actually using Dreamcard Player ? How extensively ? Is there anything about your user base that makes them able to use it without running into problems (or is it something about me that makes me unlucky :-) ? Am I just too picky ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 From jacque at hyperactivesw.com Wed Feb 9 16:54:38 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Feb 2005 15:54:38 -0600 Subject: OT: Why does XP choke on the filename - "com1.gif" In-Reply-To: References: Message-ID: <420A869E.2030405@hyperactivesw.com> On 2/9/05 1:33 PM, James.Cass at sealedair.com wrote: >> Actually, I'm going to try making a >> "com1" folder on a CD (from my Mac) >> and inserting that into a Windows box. >> Hmm... > > > GOOD GOD MAN!! ARE YOU CRAZY!! You could rip a hole in the space-time > continuum and squirt us all out of this dimension like watermelon seeds!! > You can't just go plucking the Cosmic Strings like a monkey on a banjo!! > OH, THE HUMANITY!!! > > -James This is possibly the funniest thing I have ever seen come through this list. I am *still* laughing. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Wed Feb 9 17:37:00 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 9 Feb 2005 20:37:00 -0200 Subject: The Case of the Disappearing Custom Property In-Reply-To: <62a34fcad00ee4ac267a47e7730514d4@danshafer.com> References: <62a34fcad00ee4ac267a47e7730514d4@danshafer.com> Message-ID: <864b91b34ef38531b08c046b109f15b7@mac.com> On Feb 9, 2005, at 3:14 PM, Dan Shafer wrote: > The good news is that I was backed up and archived thanks to Chipp's > most excellent altArchive plugin so I was never in real danger of > losing work. > > Dan > Dan and Chipp, altArchive is THE MOST IMPORTANT LIFE SAVER EVER! Everytime I destroy Rev, every time I make one of my server experiments fail, everytime I crash an external, I know I am safe cause St. Archiver is looking after my stacks! andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From jimlyons at earthlink.net Wed Feb 9 17:40:23 2005 From: jimlyons at earthlink.net (Jim Lyons) Date: Wed, 9 Feb 2005 17:40:23 -0500 Subject: Problems using Dreamcard In-Reply-To: <20050209212254.06552930070@mail.runrev.com> References: <20050209212254.06552930070@mail.runrev.com> Message-ID: <959D9F00-7AEB-11D9-9FAF-000A95893982@earthlink.net> I discovered a stack I made wasn't really saving when running under Dreamcard Player and wrote: >> Of course, I had tested saving with my menu command, but running in >> the IDE. Now that I test it with my Dreamcard player, I discover it >> doesn't work. >> >> My menu command is: save stack "Directory" as the filename of this >> stack >> >> Again, this functions correctly in the IDE, but not under Dreamcard. >> ... Alex Tweedly kindly replied: > Two possibilities : > > 1. Make sure the Player is not in "secure" mode (which prevents it from > writing files or accessing the network). > [ Click on the Rev icon at top right, and set the checkbox for "Run > in non-secure mode" ] Yes, that was it. When I bring up Dreamcard Player, the RevOnline browser appears, and sure enough there is a Rev icon at the top right, with no rollover message nor any indication that it is a button, or that it actually has nothing to do with RevOnline, but is actually your access to the Preferences for the Player application! Jeezy Peezy! I checked the "Run in insecure mode" checkbox, quit and restarted, and now my little stack saves correctly in the player. Thanks for telling me about this, Alex. I just spent a frustrating hour looking for this information: at the Dreamcard homepage there is nothing but marketing-speak -- "Do anything!". At RevOnline, I don't see the Learning Center in my channels (?!) so I didn't check there. I reread the readme files in my Rev 2.5 distribution for info about Dreamcard -- "Straight out of the box, Dreamcard provides the features of a word processor, a presentation tool, a simple spreadsheet...". And finally I looked again in the Rev documentation -- in Topics, Dictionary, and FAQ you can only get "dre" into the filter box before you get the annoying "nothing matches" dialog. Sigh and double-sigh. > 2. There is a bug (Bugzilla 2294) by which stacks run in Dreamcard > Player do not have a "home" directory, so expressions such as > the filename of this stack > do not produce the correct answer.... Thanks for the warning about this! > I've just had a quick look through the bugs which mention Dreamcard or > Player, and while I might have missed some, I don't see anything else > likely to cause different behaviour between the same stack in Player > vs Rev. Thanks so much for your help Alex. By the way, where is the info about secure mode? Jim Lyons From alex at tweedly.net Wed Feb 9 18:12:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Feb 2005 23:12:55 +0000 Subject: Problems using Dreamcard In-Reply-To: <959D9F00-7AEB-11D9-9FAF-000A95893982@earthlink.net> References: <20050209212254.06552930070@mail.runrev.com> <959D9F00-7AEB-11D9-9FAF-000A95893982@earthlink.net> Message-ID: <420A98F7.5010302@tweedly.net> Jim Lyons wrote: > Thanks for telling me about this, Alex. I just spent a frustrating > hour looking for this information: at the Dreamcard homepage there is > nothing but marketing-speak -- "Do anything!". At RevOnline, I don't > see the Learning Center in my channels (?!) so I didn't check there. No idea why you don't see them - when you clock RevOnline from the IDE, you should see four boxes (My Space, User Spaces, What's New and Learning Centre). Since the Learning Centre is only available to licensees, there wouldn't be much point in putting Dreamcard Player info in there. > I reread the readme files in my Rev 2.5 distribution for info about > Dreamcard -- "Straight out of the box, Dreamcard provides the features > of a word processor, a presentation tool, a simple spreadsheet...". > And finally I looked again in the Rev documentation -- in Topics, > Dictionary, and FAQ you can only get "dre" into the filter box before > you get the annoying "nothing matches" dialog. Sigh and double-sigh. Jim - you need to know about the wonderful stack from Ken Ray, with a way to fix your copy of Runrev for this annoying dialog see http://lists.runrev.com/pipermail/use-revolution/2005-January/050110.html > > Thanks so much for your help Alex. By the way, where is the info about > secure mode? Beats me :-) I think I learnt about it from this email list (specifically, an email from Kevin Miller to the list back in July) when the player was first announced (or first beta-ed). I'm fairly sure nothing about Dreamcard is described in the built-in docs, and I don't see anything on the web site to describe secure mode. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 From markgreenberg at cox.net Wed Feb 9 18:48:57 2005 From: markgreenberg at cox.net (Mark Greenberg) Date: Wed, 9 Feb 2005 16:48:57 -0700 Subject: Ann: Kount Fu Master Message-ID: <2A11EB8D-7AF5-11D9-87A9-000A959B61BE@cox.net> Xavier, the screen shot shows that the interface is awesome. Any chance of compiling it for us Mac users? Mark Greenberg From ptrendler at bigpond.com Wed Feb 9 20:50:12 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Thu, 10 Feb 2005 11:50:12 +1000 Subject: mouseDown/Up - no actions when not on buttons References: <42098CD5.6070207@hyperactivesw.com> Message-ID: <007301c50f12$e429f4b0$0100000a@super> J Landman Gay wrote: snip > Instead of trying to get the name for all cases, change the syntax to: > > case navUp > -- Determine which text field the user was in > if the selectedField contains "User ID" then -- change this > focus on field "Password" Jaqueline, The above is always empty. If you use: > put the short name of the selectedField into activeField > if activeField = "User ID" then as Jason did, you can store the selectedField. Of course, the rest of your recommendations are a far better way of coding. Pat patrend at bigpond.com From boinjyboing at hotmail.com Wed Feb 9 21:41:19 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Wed, 9 Feb 2005 18:41:19 -0800 Subject: rev and zip files Message-ID: There is a way to zip files or even folders without an external. I did this by shelling another zipping utility. To be even more sly about it, the zipping executable is "embedded" in the stack in a custom property. It's on RevOnline. User Name: Benjam Program: Windows ZipFolder This program only works for windows. Also, it hasn't been tested that well. If it doesn't work please e-mail me at boinjyboing at hotmail.com. -Ben P.S. Is it true that you can read from the standard input and output from a exe? Is this the same that c++ uses? From bvlahos at mac.com Wed Feb 9 23:34:16 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 9 Feb 2005 20:34:16 -0800 Subject: Metal anomalies In-Reply-To: <20050209200950.69306.qmail@web60504.mail.yahoo.com> References: <20050209200950.69306.qmail@web60504.mail.yahoo.com> Message-ID: <06065926-7B1D-11D9-B222-0003936A2C42@mac.com> Dragging the window IS the correct behavior for metal on OS X. Without the suggested handlers, applications with the metal look don't behave normally and they should IMHO. Bill Vlahos On Feb 9, 2005, at 12:09 PM, Jan Schenkel wrote: > I'm not sure how the engine could know for sure that > it's supposed to move the stack around, but that may > just be my puny brains ;-) From sims at ezpzapps.com Thu Feb 10 00:00:03 2005 From: sims at ezpzapps.com (sims) Date: Thu, 10 Feb 2005 06:00:03 +0100 Subject: Metal anomalies In-Reply-To: <06065926-7B1D-11D9-B222-0003936A2C42@mac.com> References: <20050209200950.69306.qmail@web60504.mail.yahoo.com> <06065926-7B1D-11D9-B222-0003936A2C42@mac.com> Message-ID: >Dragging the window IS the correct behavior for metal on OS X. >Without the suggested handlers, applications with the metal look >don't behave normally and they should IMHO. > >Bill Vlahos I've been using the following script (borrowed from Scott Rossi I think), placing it in a fld whose only purpose is facilitate dragging the wd. Does this help you? sims local startX, startY, dragWd on mouseDown if the target contains "Menubar" is false then put true into dragWd put the mouseH into startX put the mouseV into startY else pass mouseDown end if end mouseDown on mouseMove newMouseH, newMouseV if dragWd then set the loc of this stack to item 1 of the loc of this \ stack - startX + newMouseH,item 2 of the loc of this stack - startY + newMouseV end if end mouseMove on mouseUp put false into dragWd end mouseUp on mouseRelease put false into dragWd end mouseRelease From b.xavier at internet.lu Thu Feb 10 01:02:15 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 10 Feb 2005 07:02:15 +0100 Subject: Ann: Kount Fu Master In-Reply-To: <2A11EB8D-7AF5-11D9-87A9-000A959B61BE@cox.net> Message-ID: <20050210060925.E9BAE930187@mail.runrev.com> Thank you Mark! Well, I'll be darned, I didn't expect that high an adjective! Did you try it? The chances of a Mac version depends on whether I sell the game when it's finished so I can buy a Mac compilation pack and eventually a mini-mac. Eventually my translation Nitrous plugin might help but given I haven't sold one Nitrous plugin or received any shareware donations in over a year, my eight ball instinct says it's doubtful. I'll let the market decide... Regards, Xavier -- http://monsieurx.com Nitrous supplier for accelerated RunRev development > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Greenberg > Sent: Thursday, February 10, 2005 00:49 > To: use-revolution at lists.runrev.com > Subject: Re: Ann: Kount Fu Master > > Xavier, the screen shot shows that the interface is awesome. > Any chance of compiling it for us Mac users? > > Mark Greenberg > > _______________________________________________ > 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 Feb 10 01:55:40 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 10 Feb 2005 07:55:40 +0100 Subject: play sound error Message-ID: Klaus, Mr. Salyers, That's strange, I play any and all sounds without this problem on windows without waiting at all... When I launch sound #2, it cuts sound #1 too :( Is this a Mac particularity? cheers Xavier On 09.02.2005 18:28:26 use-revolution-bounces wrote: >Dear Mr. Salyers, > >Ty this one: > >on mouseup >play audioClip "1" >wait until the sound is done >play audioClip "2" >wait until the sound is done >end mouseup > >4 different command = 4 different lines! > > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >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 xbury.cs at clearstream.com Thu Feb 10 01:58:52 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 10 Feb 2005 07:58:52 +0100 Subject: OT: Why does XP choke on the filename - "com1.gif" Message-ID: >Note: In XP home, creating the empty folder on the desktop and naming >it "com1" results in Windows quietly switching the name back to "New >Folder" with no error or anything. W2K at least complained that the >file already existed. The error message I get in W2K, W2k3 is invalid file name... That should explain it... 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 rodney at infiny.co.nz Thu Feb 10 02:27:59 2005 From: rodney at infiny.co.nz (rodney tamblyn) Date: Thu, 10 Feb 2005 20:27:59 +1300 Subject: New Externals... In-Reply-To: <64878EF567131D4596246171F75FD4A9469F96@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469F96@m-epo-1.epo.cdc.gov> Message-ID: <4A774926-7B35-11D9-AAED-003065F97100@infiny.co.nz> We're investigating a VOIP external for Revolution. I'll announce something further here when/if progress has been made... Rodney > 3. VOIP toolkit. Interface to existing SIP libraries, and controllable > audio encoding (G711 or 723 or later, with the external managing all > packet sending and reception). Choice of external talking either to > hardware (i.e. handset or mic/spkrs) or passing audio buffers to the > Transcript [and similarly taking audio buffer from Transcript and > encoding/sending it]. -- Rodney Tamblyn OceanBrowser Ltd 44 Melville Street Dunedin, New Zealand Ph +64-3-4778606 extension 1 iax2:rodney at oceanbrowser.dyndns.info http://www.oceanbrowser.com/ From mike_e_price at hotmail.com Wed Feb 9 07:30:50 2005 From: mike_e_price at hotmail.com (Michael Price) Date: Wed, 09 Feb 2005 07:30:50 -0500 Subject: overprinting when printing script Message-ID: I printed a script but the the characters printed on top of each other. How can I correct this? Thanks. From David.Glasgow at calderstones.nhs.uk Thu Feb 10 04:52:55 2005 From: David.Glasgow at calderstones.nhs.uk (Glasgow David) Date: Thu, 10 Feb 2005 09:52:55 -0000 Subject: Have you developed Windows stacks on Mac w Virtual PC? Message-ID: To answer a question you haven't asked.....I regularly use VPC to test a new build and the only 2 caveats are that my old version (4.x) gets a little muddled about the location of the screenloc and VPC seems to behave much *better* than most typical Win installs. As to builds, I have done it quite a few times and it works OK, if slowly. The reason I did it was to try to see if it would fix a bug in shown a Win standalone built on the Mac. It didn't fix it, because of course the problem was to do with platform specific scripting (mine) and nothing to do with the build platform. Best wishes, David Glasgow ---------------------------------------------------------------------- Message: 1 Date: Tue, 8 Feb 2005 11:29:18 -0500 From: "Frank D. Engel, Jr." Subject: Re: Have you developed Windows stacks on Mac w Virtual PC? To: How to use Revolution Message-ID: <7438792f5ba20864568768785847f8ad at fjrhome.net> Content-Type: text/plain; charset=US-ASCII; format=flowed -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been doing some testing under VPC. Slow, but often usable depending on your needs. Again though, I wouldn't build under VPC if you can avoid it -- build from the IDE running on the Mac. On Feb 8, 2005, at 10:37 AM, Thomas McGrath III wrote: > I have built on OSX and then copied over to Virtual PC and opened > within REV running on Virtual PC. I built a cross-platform CD > On Feb 8, 2005, at 9:02 AM, Burrton Woodruff wrote: >> >> Has anyone built Windows applications on a Mac using Virtual PC? > - ----------------------------------------------------------- From 36degrees at runrev.com Thu Feb 10 05:05:25 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Thu, 10 Feb 2005 10:05:25 +0000 Subject: CGI access to PostGreSQL In-Reply-To: <20050209200422.56602.qmail@web60509.mail.yahoo.com> References: <20050209200422.56602.qmail@web60509.mail.yahoo.com> Message-ID: <1108029925.29186.13.camel@rachmaninov.runtime> > Hmm, those two library files seem to be missing in my > copy of Rev 2.5 but are there in my copy of Rev 2.2 > I have a vague recollection of these being compiled > into the Revolution CGI-engines, but maybe someone > from the RunRev team could elaborate? The Revolution 2.5 (and up) Linux engine has both revXML and revDB embedded within it, so the externals are not necessary. However, the database drivers themselves are not embedded and you need to tell the engine where to find them by doing: revdb_setdriverpath (or revSetDatabaseDriverPath ) Where is the directory containing the drivers. Also, Linux paths are case-sensitive so make sure that the value you pass for the database type looks the same as the driver file: i.e. if you pass "mysql" the engine will look for dbmysql.so if you pass "MySQL" the engine will look for dbMySQL.so Warmest Regards, Mark. > Hope this helped, > > Jan Schenkel. > > ===== > Quartam - Tools for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------------------------------- Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From Mike at Doub.com Thu Feb 10 06:46:05 2005 From: Mike at Doub.com (Mike Doub) Date: Thu, 10 Feb 2005 06:46:05 -0500 Subject: Listserver/email inbound and outbound In-Reply-To: <0605F3BA-F527-11D8-A69A-0003936D012E@mac.com> Message-ID: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> Hello List, I am thinking about writing a custom listserver type application but I don't know that much about how to get my system to be a mail host. I am looking for advice about any tools or scripts that could get me started. I am interested in experimenting with the idea of a list server that you subscribe to topics rather than to the whole list. My idea is that everyone would have an "announcement" channel that could be configurable by keywords and searchable via the web. The user then "subscribes" to topics of interest. This crazy idea came from trying to work the communication problem of wanting to be part of discussion about specific software bugs. Think of subscribing to the discussion tied to a specific bugzilla bug. Most folks have a few favorite bugs that they would like to monitor, but not really all of them. I would appreciate people's thoughts on both the inbound and outbound side of email, with Rev as the code managing the behavior of the list server. Thanks in advance, Mike From revolution at derbrill.de Thu Feb 10 07:21:37 2005 From: revolution at derbrill.de (malte brill) Date: Thu, 10 Feb 2005 13:21:37 +0100 Subject: Hello list, I =?iso-8859-1?q?=B4?=m back! In-Reply-To: Message-ID: Hi listas, I just want to let you know that after moving both, my home and my office and a bit of trouble with my ex internet and phone provider, I?m back online. Now I?ll take some time to read through the posts I?ve missed. Additional note: the old email account I?ve subscribed to this list (malte.brill at t-online.de) is no longer active. If you want to write me off list please use this account: revolution at derbrill.de Kind regards, Malte From klaus at major-k.de Thu Feb 10 07:26:33 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 10 Feb 2005 13:26:33 +0100 Subject: =?iso-8859-1?q?Re=3A_Hello_list=2C_I_=B4m_back!?= In-Reply-To: References: Message-ID: <06904e0d50269e406890827fc65052e1@major-k.de> Hi Malte, > Hi listas, > > I just want to let you know that after moving both, my home and my > office > and a bit of trouble with my ex internet and phone provider, I?m back > online. Now I?ll take some time to read through the posts I?ve missed. Cooooooooool , welcome back mon ami!!!!!! :-) > Kind regards, > > Malte Best Klaus Major klaus at major-k.de http://www.major-k.de From kresten.bjerg at psy.ku.dk Thu Feb 10 08:06:13 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Thu, 10 Feb 2005 14:06:13 +0100 Subject: Enigma: how to quote zero Message-ID: <420B5C45.9090006@psy.ku.dk> I am trying to script a handler to produce buttons with scripts including lines which contain "0". but use of quote & 0 & quote (or zero) just reproduce the word "quote" instead of the needed "s. There must exist a solution. but all experiments seem to fail this is how the (functioning) lines in the "handmade" buttons look like: if the number of chars of item 1 of retro = 1 then put "0" before retro end if put "0" into char 5 of retro put short name of me into ikon put ikon after field retro Kresten Refer please to Oikos Homestation , for further information Kresten Bjerg Mailto:Kresten at psy.ku.dk Adress 1: Ollekolle, Institut for psykologi, K?benhavns Universitet Amager, Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99 Adress 2: Sortedam Dossering 95 B, 2100 Copenhagen, DK - (45) 35 38 99 39 Adress 3: Skrivergaarden, H?gsma pr Glim?kra, SE - (+46) 708 915 386 ______________________________________________________________ From kresten.bjerg at psy.ku.dk Thu Feb 10 08:12:23 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Thu, 10 Feb 2005 14:12:23 +0100 Subject: Danish revolution-users ? Message-ID: <420B5DB7.9000800@psy.ku.dk> Hvis der er danske revolution eller dreamcard brugere, ville det m?ske v?re v?rd at vide om hinanden - e-mailadresser og/eller telefonnumre ? -- venlig hilsen Kresten ________________________________________________________ Refer please to Oikos Homestation , for further information Kresten Bjerg Mag.art. forhenv?rende lektor i psykologi, Mailto:Kresten at psy.ku.dk Adress 1: Ollekolle, Institut for psykologi, K?benhavns Universitet Amager, Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99 Adress 2: Sortedam Dossering 95 B, 2100 Copenhagen, DK - (45) 35 38 99 39 Adress 3: Skrivergaarden, H?gsma pr Glim?kra, SE - (+46) 708 915 386 ______________________________________________________________ From kresten.bjerg at psy.ku.dk Thu Feb 10 08:21:18 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Thu, 10 Feb 2005 14:21:18 +0100 Subject: adress fields with same name, disregarding IDs Message-ID: <420B5FCE.40704@psy.ku.dk> Thank you Alex, for a beautiful solution, simple and effective ! I am very grateful Kresten ________________________________________________________ Refer please to Oikos Homestation , for further information Kresten Bjerg Mag.art. forhenv?rende lektor i psykologi, Mailto:Kresten at psy.ku.dk Adress 1: Institut for psykologi, K?benhavns Universitet Amager, Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99 ______________________________________________________________ From klaus at major-k.de Thu Feb 10 08:29:33 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 10 Feb 2005 14:29:33 +0100 Subject: Enigma: how to quote zero In-Reply-To: <420B5C45.9090006@psy.ku.dk> References: <420B5C45.9090006@psy.ku.dk> Message-ID: <681b13b9ec0d206c35eeb6582eaef6c1@major-k.de> Dag Kresten, > I am trying to script a handler to produce buttons with scripts > including lines which contain "0". but use of quote & 0 & quote (or > zero) just reproduce the word "quote" instead of the needed "s. > There must exist a solution. but all experiments seem to fail > > this is how the (functioning) lines in the "handmade" buttons look > like: > > if the number of chars of item 1 of retro = 1 then > put "0" before retro > end if > put "0" into char 5 of retro > put short name of me into ikon > put ikon after field retro > > Kresten Hmmm... put QUOTE & "0" & QUOTE -> "0" Try to QOUTE the zero :-) Or am i missing something? Regards Klaus Major klaus at major-k.de http://www.major-k.de From rgriffit at ctc.net Thu Feb 10 09:04:28 2005 From: rgriffit at ctc.net (Raymond E. Griffith) Date: Thu, 10 Feb 2005 09:04:28 -0500 Subject: Enigma: how to quote zero In-Reply-To: <420B5C45.9090006@psy.ku.dk> Message-ID: > I am trying to script a handler to produce buttons with scripts > including lines which contain "0". but use of quote & 0 & quote (or > zero) just reproduce the word "quote" instead of the needed "s. > There must exist a solution. but all experiments seem to fail > > this is how the (functioning) lines in the "handmade" buttons look like: > > if the number of chars of item 1 of retro = 1 then > put "0" before retro > end if > put "0" into char 5 of retro > put short name of me into ikon > put ikon after field retro > > Kresten Here is a little script which might help you find your way: on mouseUp set numberformat to "00" put 1+0 into fld 1 end mouseUp > > Refer please to Oikos Homestation , for > further information > > Kresten Bjerg > > Mailto:Kresten at psy.ku.dk > > Adress 1: Ollekolle, Institut for psykologi, K?benhavns Universitet Amager, > Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99 > > Adress 2: Sortedam Dossering 95 B, 2100 Copenhagen, DK - (45) 35 38 99 39 > > Adress 3: Skrivergaarden, H?gsma pr Glim?kra, SE - (+46) 708 915 386 > > ______________________________________________________________ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jhurley at infostations.com Thu Feb 10 10:22:03 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 10 Feb 2005 07:22:03 -0800 Subject: Metal anomalies In-Reply-To: <20050209212254.8573393017A@mail.runrev.com> References: <20050209212254.8573393017A@mail.runrev.com> Message-ID: > >Richard Gaskin wrote: >The requirement of writing four handlers for all but the limited subset >of things the grab command handles is a long-standing annoyance. > >We understand that using mouseMove is essential to avoid the polling >issue with mouseStillDown, but this raises a question: > > Why not just fix mouseStillDown so it doesn't poll? > >It could be sent in response to mouseMove instead of being tied to the >idleRate as it is now, and I doubt many (any?) scripts in shipping >products would notice the difference. > >If it seems sensible to simplify those four handlers down to one revised >mouseStillDown, consider voting for: > > >There's also a suggestion there for extensing the drag command to >incorporate some useful syntax options extablished by SuperCard. > >-- Richard, Here, here. This simplification would be especially valuable in education. So much easier for a beginning scripter. Still a bit more complex than the old HC solution: "Repeat while the mouse is down" How does one go about "voting" for a bug/request? I've found the bug site. What do I do there? Jim Hurley From xslaugh at gmail.com Thu Feb 10 10:23:11 2005 From: xslaugh at gmail.com (Scott Slaugh) Date: Thu, 10 Feb 2005 08:23:11 -0700 Subject: Standalone application problem Message-ID: I just discovered a problem with building standalone applications in Rev 2.5. I have a program that I tried to build a standalone for. (My synchronizer stack, found under xslaugh on revOnline.) The program runs fine in the IDE, but when made into a standalone, it gives an error message on startup. The error message that I get in the standalone always says something about some field not existing. However, if I add the 'of stack "whatever"' to the name of my fields, I get no error message. Now, the stack has a mainstack and a substack in it. It almost seems to me that when the standalone is built, Rev thinks my put commands are trying to reference the substack, not the mainstack. I also discovered that if I build a standalone of the same stack in Rev 2.2.1, the program runs fine. It seems to me that something got changed in the standalone builder in Rev 2.5. Does anyone know of anything else that could be causing this? I seem to recall having been able to build this stack under 2.5 successfully before. However, I did just run the check for updates from the help menu. Perhaps an updated stack is causing the problem? Scott Slaugh From jhurley at infostations.com Thu Feb 10 10:25:12 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 10 Feb 2005 07:25:12 -0800 Subject: Metal anomalies Message-ID: > >How does one go about "voting" for a bug/request? > >I've found the bug site. What do I do there? > >Jim Hurley Sorry, just found the "Vote for this bug" line. Jim From eric.chatonet at wanadoo.fr Thu Feb 10 11:07:06 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Thu, 10 Feb 2005 17:07:06 +0100 Subject: "How to" stacks on revOnLine In-Reply-To: <20050210131646.3DF659301A7@mail.runrev.com> References: <20050210131646.3DF659301A7@mail.runrev.com> Message-ID: <4211c56d3f37af9d668f4f824c9e0b91@wanadoo.fr> Hi everyone, I put on revOnLine 3 stacks that begin a collection of "How to" stacks: #001 How to magnify images and only images Shows how to install a variation of the magnifying glass provided with my Guides Picker plugin in order to magnify all images in a stack but images only... #002 How to change card dimensions Shows how to change smoothly the dimensions of any card as in the rev property palette. You can choose the new width, the new height anf the transition delay. #003 How to install brushed metal appearance on any platform Creates a new stack with metal appearance, resizing and drag anywhere on MacOS, Windows or Linux. Then it's your turn :-) User name: So Smart Software Category: Programming Hope you will enjoy! More to come... With best regards, Eric Chatonet. --------------------------------------------------------------- For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From RGould8 at aol.com Thu Feb 10 11:07:09 2005 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 10 Feb 2005 11:07:09 EST Subject: OT: Ping timeout much longer with 10.3.7 Message-ID: <1eb.346e6516.2f3ce0ad@aol.com> Our testers have discovered that when Revolution does a shell("ping") to a server that isn't responding, that the timeouts are much different, depending on which version of Mac OS X one is on. In Mac OS 10.3.2, we get feedback in a matter of seconds. In Mac OS 10.3.7, it takes over 2 minutes to get feedback. This happens in the terminal window too, so it's not a Rev issue. I'm not into unix enough to know what to look for on Apple's site for a technote on this. "ping latency"? What's interesting is that the same problem exists for traceroute, even though the docs say that traceroute's wait-period is to default to 3 seconds. Any thoughts? From revdan at danshafer.com Thu Feb 10 12:28:18 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 10 Feb 2005 09:28:18 -0800 Subject: [OT] QT Editing Tool In-Reply-To: References: Message-ID: <47207b04cf7b0ea7bbcab07abd788dd3@danshafer.com> Trevor.... Thanks for the pointers. I downloaded the 30-day free trial of LSP last night (good thing I have a T-1!) and ordered the book from Amazon.com. Dan On Feb 9, 2005, at 10:35 AM, Trevor DeVore wrote: > On Feb 9, 2005, at 10:13 AM, Dan Shafer wrote: > >> Trevor.... >> >> Thanks. I need to look into this in greater detail. Do you have a >> recommended tool for QT editing? I just use QTPro. At one point I >> used MovieWorks but my version is no longer up to date. Is there >> something better? > > This really depends on what you want to do. While QT Pro lets you > edit movies it will not let you add interactivity using sprite tracks > which is you need to add something like password protection I > mentioned previously. For this type of QT editing I couldn't live > without LiveStage Pro from TotallyHip . It is an > incredibly comprehensive tool that allows you to exploit most > everything that the QuickTime architecture has to offer. > > If you are interested in Wired QuickTime then I would pick up the book > "Interactive QuickTime - Authoring Wired Media" by Matthew Peterson. > This goes into great detail about interactive QuickTime and you get > something like $150 off a purchase of LiveStage Pro if you buy within > 30 days of buying the book. This book explains how to use sprite > tracks to add a little DRM to your movies. From revdan at danshafer.com Thu Feb 10 12:42:14 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 10 Feb 2005 09:42:14 -0800 Subject: overprinting when printing script In-Reply-To: References: Message-ID: <26bd6ed9a66256b4749f1be766f5974b@danshafer.com> I see this from time to time, but not consistently. What OS are you developing in? Dan On Feb 9, 2005, at 4:30 AM, Michael Price wrote: > I printed a script but the the characters printed on top of each > other. How can I correct this? > Thanks. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Thu Feb 10 12:43:08 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 10 Feb 2005 09:43:08 -0800 Subject: =?iso-8859-1?q?Re=3A_Hello_list=2C_I_=B4m_back!?= In-Reply-To: References: Message-ID: We missed your wit and wisdom, Malte! Dan On Feb 10, 2005, at 4:21 AM, malte brill wrote: > Hi listas, > > I just want to let you know that after moving both, my home and my > office > and a bit of trouble with my ex internet and phone provider, I?m back > online. Now I?ll take some time to read through the posts I?ve missed. > > Additional note: > > the old email account I?ve subscribed to this list > (malte.brill at t-online.de) > is no longer active. If you want to write me off list please use this > account: > > revolution at derbrill.de > > Kind regards, > > Malte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Thu Feb 10 12:59:43 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 10 Feb 2005 15:59:43 -0200 Subject: =?iso-8859-1?q?Re=3A_Hello_list=2C_I_=B4m_back!?= In-Reply-To: References: Message-ID: <53483747381e8524b73f1b20576782c1@mac.com> On Feb 10, 2005, at 10:21 AM, malte brill wrote: > > I just want to let you know that after moving both, my home and my > office > and a bit of trouble with my ex internet and phone provider, I?m back > online. Now I?ll take some time to read through the posts I?ve missed. > Hi Malte, welcome back man! Andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From soapdog at mac.com Thu Feb 10 13:02:45 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 10 Feb 2005 16:02:45 -0200 Subject: "How to" stacks on revOnLine In-Reply-To: <4211c56d3f37af9d668f4f824c9e0b91@wanadoo.fr> References: <20050210131646.3DF659301A7@mail.runrev.com> <4211c56d3f37af9d668f4f824c9e0b91@wanadoo.fr> Message-ID: Eric, Thanks for the stacks!!! I am using guides picker and it's an invaluable tool, specially for me for somtimes I think I am "line blind" and think that my controls are indeed aligned (... till some friend shouts: "as aligned as a picasso picture andre"). Cheers andre On Feb 10, 2005, at 2:07 PM, ?ric Chatonet wrote: > Hi everyone, > > I put on revOnLine 3 stacks that begin a collection of "How to" stacks: > > #001 How to magnify images and only images > Shows how to install a variation of the magnifying glass provided with > my Guides Picker plugin in order to magnify all images in a stack but > images only... > > #002 How to change card dimensions > Shows how to change smoothly the dimensions of any card as in the rev > property palette. > You can choose the new width, the new height anf the transition delay. > > #003 How to install brushed metal appearance on any platform > Creates a new stack with metal appearance, resizing and drag anywhere > on MacOS, Windows or Linux. > Then it's your turn :-) > > User name: So Smart Software > Category: Programming > > Hope you will enjoy! > More to come... > > With best regards, > > Eric Chatonet. > > --------------------------------------------------------------- > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > --------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Post 24, Bd de Port-Royal 75005 Paris > Phone (33) 143 317 762 > Mobile (33) 620 745 086 > --------------------------------------------------------------- > > _______________________________________________ > 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 dsc at swcp.com Thu Feb 10 13:31:17 2005 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Feb 2005 11:31:17 -0700 Subject: Enigma: how to quote zero In-Reply-To: <420B5C45.9090006@psy.ku.dk> References: <420B5C45.9090006@psy.ku.dk> Message-ID: <2a9864f540dd420d68be6bfa0e2ae6ea@swcp.com> On Feb 10, 2005, at 6:06 AM, Kresten Bjerg wrote: > I am trying to script a handler to produce buttons with scripts > including lines which contain "0". but use of quote & 0 & quote (or > zero) just reproduce the word "quote" instead of the needed "s. I'm having trouble understanding your goal or problem. This works for me: on mouseUp put quote & 0 & quote end mouseUp ==> "0" Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From dsc at swcp.com Thu Feb 10 13:45:55 2005 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Feb 2005 11:45:55 -0700 Subject: OT: Ping timeout much longer with 10.3.7 In-Reply-To: <1eb.346e6516.2f3ce0ad@aol.com> References: <1eb.346e6516.2f3ce0ad@aol.com> Message-ID: <031d650a1617c5b06ce80aada2081ac5@swcp.com> On Feb 10, 2005, at 9:07 AM, RGould8 at aol.com wrote: > Our testers have discovered that when Revolution does a shell("ping") > to a > server that isn't responding, that the timeouts are much different, > depending on > which version of Mac OS X one is on. In Mac OS 10.3.2, we get > feedback in a > matter of seconds. In Mac OS 10.3.7, it takes over 2 minutes to get > feedback. Somebody on this list mentioned a 10.3.7 bug involving network delays. Do you have the same results with ip address only? That is, without DNS lookup? Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From James.Cass at sealedair.com Thu Feb 10 13:47:15 2005 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Thu, 10 Feb 2005 13:47:15 -0500 Subject: OT: Ping timeout much longer with 10.3.7 In-Reply-To: <031d650a1617c5b06ce80aada2081ac5@swcp.com> Message-ID: The Apple Software Update for MacOSX 10.3.8 is now available. Update with caution as always. -James Dar Scott Sent by: use-revolution-bounces at lists.runrev.com 02/10/05 01:45 PM Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: OT: Ping timeout much longer with 10.3.7 On Feb 10, 2005, at 9:07 AM, RGould8 at aol.com wrote: > Our testers have discovered that when Revolution does a shell("ping") > to a > server that isn't responding, that the timeouts are much different, > depending on > which version of Mac OS X one is on. In Mac OS 10.3.2, we get > feedback in a > matter of seconds. In Mac OS 10.3.7, it takes over 2 minutes to get > feedback. Somebody on this list mentioned a 10.3.7 bug involving network delays. Do you have the same results with ip address only? That is, without DNS lookup? Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jsilver at qualcomm.com Thu Feb 10 13:58:40 2005 From: jsilver at qualcomm.com (Silver, Jason) Date: Thu, 10 Feb 2005 10:58:40 -0800 Subject: mouseDown/Up - no actions when not on buttons Message-ID: Even without storing the selectedField into a local variable, I was still getting errors when clicking on the stack. The problems persisted even when there was an invisible button behind the "normal" buttons. I think the best way to prevent errors is the following method: Store the current location of the cursor in a local variable for the card. For all buttons that depend on the selectedField being in an text box, run a function to return the name of the selectedField. If empty is returned, then we know we're not in "User ID" or "Password" anymore. Restore the previous known location from the variable, and go there. I have yet another question (actually one that my boss would like me to pose to the mailing list), but I think I'll start it in a new topic, as it has nothing to do with buttons. :) All the best, Jason -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Pat Trendler Sent: Wednesday, February 09, 2005 5:50 PM To: jacque at hyperactivesw.com; How to use Revolution Subject: Re: mouseDown/Up - no actions when not on buttons J Landman Gay wrote: snip > Instead of trying to get the name for all cases, change the syntax to: > > case navUp > -- Determine which text field the user was in > if the selectedField contains "User ID" then -- change this > focus on field "Password" Jaqueline, The above is always empty. If you use: > put the short name of the selectedField into activeField > if activeField = "User ID" then as Jason did, you can store the selectedField. Of course, the rest of your recommendations are a far better way of coding. Pat patrend at bigpond.com From hershrev at realtorsgroup.us Thu Feb 10 14:26:46 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 10 Feb 2005 14:26:46 -0500 Subject: Selecting groups Message-ID: Hi, I'm trying to figure how to select a group not by selecting it from the application browser? In 2.2 when an item from a group was selected then the group was selected, in 2.5 the item is selected and not the group. Thanks, Hershel From janschenkel at yahoo.com Thu Feb 10 14:29:17 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 10 Feb 2005 11:29:17 -0800 (PST) Subject: Selecting groups In-Reply-To: Message-ID: <20050210192917.92385.qmail@web60505.mail.yahoo.com> --- Hershel Fisch wrote: > Hi, I'm trying to figure how to select a group not > by selecting it from the > application browser? > In 2.2 when an item from a group was selected then > the group was selected, > in 2.5 the item is selected and not the group. > Thanks, Hershel > In the toolbar there is a button "Select grouped items" -> click that to toggle the behaviour. Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From alex at tweedly.net Thu Feb 10 14:30:40 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Feb 2005 19:30:40 +0000 Subject: OT: Ping timeout much longer with 10.3.7 In-Reply-To: <031d650a1617c5b06ce80aada2081ac5@swcp.com> References: <1eb.346e6516.2f3ce0ad@aol.com> <031d650a1617c5b06ce80aada2081ac5@swcp.com> Message-ID: <420BB660.4030206@tweedly.net> Dar Scott wrote: > > On Feb 10, 2005, at 9:07 AM, RGould8 at aol.com wrote: > >> Our testers have discovered that when Revolution does a shell("ping") >> to a >> server that isn't responding, that the timeouts are much different, >> depending on >> which version of Mac OS X one is on. In Mac OS 10.3.2, we get >> feedback in a >> matter of seconds. In Mac OS 10.3.7, it takes over 2 minutes to get >> feedback. > > > Somebody on this list mentioned a 10.3.7 bug involving network delays. > > Do you have the same results with ip address only? That is, without > DNS lookup? and remember if testing with traceroute, it's not enough to use numeric IP address in the command line, as in traceroute 216.109.118.73 you also need to use the "-d" option to prevent DNS lookups to convert the ip addresses to names. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 From janschenkel at yahoo.com Thu Feb 10 14:31:04 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 10 Feb 2005 11:31:04 -0800 (PST) Subject: =?iso-8859-1?q?Re=3A_Hello_list=2C_I_=B4m_back!?= In-Reply-To: Message-ID: <20050210193105.589.qmail@web60507.mail.yahoo.com> --- malte brill wrote: > Hi listas, > > I just want to let you know that after moving both, > my home and my office > and a bit of trouble with my ex internet and phone > provider, I?m back > online. Now I?ll take some time to read through the > posts I?ve missed. > > [snip] > > Kind regards, > > Malte > Welcome back, Malte -- having spent quite a few evenings myself catching up on the list, I can assure you it's been as busy as ever ;-) Kind regards, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From soapdog at mac.com Thu Feb 10 14:33:33 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 10 Feb 2005 17:33:33 -0200 Subject: Selecting groups In-Reply-To: References: Message-ID: On Feb 10, 2005, at 5:26 PM, Hershel Fisch wrote: > Hi, I'm trying to figure how to select a group not by selecting it > from the > application browser? > In 2.2 when an item from a group was selected then the group was > selected, > in 2.5 the item is selected and not the group. > Thanks, Hershel > Hershel, theres an icon in the main toolbar called "select group" , it will toogle group or item selection for you. cheers andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From sanke at hrz.uni-kassel.de Thu Feb 10 14:45:25 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 10 Feb 2005 20:45:25 +0100 Subject: Drag from-within-to list fields Message-ID: <420BB9D5.5050609@hrz.uni-kassel.de> I have assembled six stacks - as substacks of a stack "dragmenu" - that implement and illustrate various forms of drag behavior to be used with list fields. The stack can be directly downloaded from here or from page "Tools and Samples for Development" of The scripts can most certainly - as usual - be improved, refined, and extended, but they may at least show directions how to tackle some problems coming up when you wish to visibly (not just with a drag cursor) drag between or inside controls whose locktext is set to true. 1. There is one stack for dragging text lines "between" list fields Any number of list fields can be used with the interaction of the (identical) scripts of the list fields and the card. If one of the lines is clicked, a semi-transparent button appears that can be dragged to other list fields. Releasing the mousebutton places the dragged line inside the lines of the chosen list field. If the line is dragged to the empty space below the lines in another list field, it will be added below the last line. Releasing the mousebutton in the same field where the dragging started - or somewhere else in the stack window - simply lets the dragged line disappear. The transparency of the drag-button is achieved by setting the ink to "blend" on MacOS and to "scrOrReverse" on Windows together with an appropriate backcolor.. 2. Four variants of dragging "within" list fields: a) In this preview card of a slideshow stack dragging is used to arrange the sequence of images for the slideshow (The slideshow part is not added to this sample stack, but can be downloaded elsewhere from my website). The drag-procedure here does not make use of snapshot-lines, buttons, or graphics, but simply "drags" the textline itself. The script part of the list field responsible for the dragging comprises a total of 27 script lines. If you experiment with this stack, be sure that stack "datachoice" - a customised "answer dialog" - is available, which is also an example of how "dialogdata" can be used with modal stacks. "Datachoice" is contained as a parallel substack of main stack "dragmenu", because as a substack it cannot be part of substack "slideshow" in this case. b) In stack 2.b, again, a transparent button with the ink set to "blend" or "scrOrReverse" - as mentioned above - is used. The line number to place the dragged word is calculated by using item 2 of the mouseloc and the textheight of the field. c) Following the recent discussion on this list, I have taken the liberty to slightly modify Scott Rossi's "GetinLine" stack in order to obviate the flashing of the screen and the necessity of a delay of 250 millisecs for the drag start when a snapshot of the line-to-be-dragged is used. I have substituted the snapshot image with a button and eliminated the delay, otherwise the script was left mainly intact. d) Another modification of "GetinLine", this time using a transparent graphic instead of the snapshot image and also removing graphic "dragpointer", which may not be needed with this solution. However, that may be a matter of "visual" taste. 3. Producing textlines in a list field by clicking on a text field and dragging from the list field to the text field to "fill the created blanks" This is a simplified version of a card from a rather old stack using different formats of so-called "cloze-procedure" exercises - a popular format in language teaching -, originally programmed in Hypercard. Traces of Hypercard can still be detected in the script. With the SHIFT-key down and click on words in the text field "dotted" blanks are created in the text and the selected words appear - sorted alphabetically - in the list field. This feature belongs to the "teacher" module of the "cloze" exercise. The words can then be dragged from the list field to the dotted blanks - the button-version for dragging is used. If a dragged word fits, it will be inserted at the place of the blank, if not, it will be moved back to the list field. The "create blanks" and "drag-from-list field" features are implemented by the interacting scripts of the text field, the list field, the dragged button, and the card script; additionally a back-up text field is needed (field "Kontrolle") where a duplicate of the full text is stored.-- As said above, the scripts could and possibly need to be improved and refined; especially, I have not implemented "scrolling-while-dragging" in my examples. Such a feature could be added, but presumably with solutions different from those used in the stacks of Scott Rossi and Jan Schenkel. However, the basic functionality is there: You just have to scroll a "full" list field between dragging. Regards, Wilhelm Sanke From FlexibleLearning at aol.com Thu Feb 10 14:57:29 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 10 Feb 2005 14:57:29 EST Subject: get URL behaviour Message-ID: Can *anyone* shed light on why a 'get url myTextFileURL' command returns 'requested' instead of the contents of the text file? Has synchronicity changed?? Any insight most gratefully received! /H Frustrated of Cranleigh From kray at sonsothunder.com Thu Feb 10 15:12:51 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 10 Feb 2005 14:12:51 -0600 Subject: Hello list, I =?iso-8859-1?q?=B4?=m back! In-Reply-To: Message-ID: On 2/10/05 6:21 AM, "malte brill" wrote: Glad to have you back, Malte! :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kevin at runrev.com Thu Feb 10 15:45:35 2005 From: kevin at runrev.com (Kevin Miller) Date: Thu, 10 Feb 2005 20:45:35 +0000 Subject: MP3 without QuickTime on Windows In-Reply-To: Message-ID: On 9/2/05 7:05 pm, "Ben Rubinstein" wrote: >> Quick guess: >> >> Did you "set the dontuseqt to true"? >> In an "preopenstack"-handler or something... >> >> I think even if QT is NOT present the engine thinks to have to use >> QT...? > > I haven't; but I don't think it's relevant, as the same app on a PC running > 'ordinary' windows XP works fine - if QT is installed, it uses QT; if QT is > uninstalled, it uses Media Player. > > Can RunRev confirm the actual requirements, or give me a clue how to debug > what's not working? (EG on OS X I now about using the console to get > detailed info about what's failing to work when it tries to access some > external component; is there some equivalent on Windows (XPe) that I can use > to figure out what the problem is here? The subsystem we use is not currently the full Windows Media Player, so MP3 will not work without QuickTime (yet). You may be able to get this to work with MCISendString(). Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From alex at tweedly.net Thu Feb 10 16:11:10 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Feb 2005 21:11:10 +0000 Subject: get URL behaviour In-Reply-To: References: Message-ID: <420BCDEE.3020203@tweedly.net> FlexibleLearning at aol.com wrote: >Can *anyone* shed light on why a 'get url myTextFileURL' command returns >'requested' instead of the contents of the text file? Has synchronicity changed?? > >Any insight most gratefully received! > > If the server returns an error message, you would get that message instead of the file content - so it's possible that the web site has set custom error messages, and you're getting one of them (though "requested" isn't much of a custom message). Are you connecting through a proxy or web cache ? It sounds just possible they could return this as a message if there was some unusual time-out condition. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 From pixelbird at interisland.net Thu Feb 10 16:33:18 2005 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 10 Feb 2005 13:33:18 -0800 Subject: use-revolution Digest, Vol 17, Issue 34 In-Reply-To: <20050210131645.C27D99301A5@mail.runrev.com> References: <20050210131645.C27D99301A5@mail.runrev.com> Message-ID: <61059962-7BAB-11D9-A7EC-000A27945590@interisland.net> On Feb 10, 2005, at 5:16 AM, use-revolution-request at lists.runrev.com wrote: > Date: Wed, 9 Feb 2005 20:34:16 -0800 > From: Bill Vlahos > Subject: Re: Metal anomalies > > > Dragging the window IS the correct behavior for metal on OS X. Without > the suggested handlers, applications with the metal look don't behave > normally and they should IMHO. Just a note; AFAIK, most metal window stuff, even Apple's own application metal windows, are a hack (but probably written in 'C' or Cocoa). E.g., the metal backgrounds (by which you can drag), buttons, etc., you see in metal apps aren't part of the actual window. Ken N. From kevin at runrev.com Thu Feb 10 16:24:15 2005 From: kevin at runrev.com (Kevin Miller) Date: Thu, 10 Feb 2005 21:24:15 +0000 Subject: Problems using Dreamcard In-Reply-To: <420A98F7.5010302@tweedly.net> Message-ID: On 9/2/05 11:12 pm, "Alex Tweedly" wrote: > Since the Learning Centre is only available to licensees, there wouldn't > be much point in putting Dreamcard Player info in there. Actually, most of the Learning Center is available to all (only some of the more advanced video topics aren't). The Video Tutorials are also available at: http://support.runrev.com/tutorials/ Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From dcragg at lacscentre.co.uk Thu Feb 10 16:34:43 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 10 Feb 2005 21:34:43 +0000 Subject: get URL behaviour In-Reply-To: References: Message-ID: <02540e26686d410377f1174540c03a50@lacscentre.co.uk> On 10 Feb 2005, at 19:57, FlexibleLearning at aol.com wrote: > Can *anyone* shed light on why a 'get url myTextFileURL' command > returns > 'requested' instead of the contents of the text file? Has > synchronicity changed?? > > Any insight most gratefully received! > Is this an http or ftp url (i.e. not a file url)? If so, is "requested" returned in "the result" or in the "it" variable? I'm asking because "requested" is one of the "states" of the variable in libUrl that tracks the status of a request and eventually is returned as "the result". However, it should be set to empty or an error message before the request completes. Can you log the activity (libUrlSetLogField) and see if it reveals anything? Cheers Dave From jsilver at qualcomm.com Thu Feb 10 16:33:00 2005 From: jsilver at qualcomm.com (Silver, Jason) Date: Thu, 10 Feb 2005 13:33:00 -0800 Subject: Dynamically creating notes that lay "on top" of cards Message-ID: Being such a bottom-up thinker, I'm having some trouble taking a step back and looking at the overall structure for this design. On our "unstable yet maturing" mobile phone simulation, there are times when dialogs (from here on in, I'll call them notes) must be displayed on top of whatever is already on the screen. For example, you may have written a text message and pressed the "End" key; you'll be asked if you want to save what you've written. What happens is as follows: 1) The user does something which causes the note to be displayed 2) The existing screen is dimmed, and the note is displayed on top. 3) The softkeys are changed so that they relate to the note (e.g. "Yes" and "No") 4) The user decides on a relevant action. Okay, now the Revolution side of things. To dim the screen, I've created a solid white image that uses a blend so that the screen appears faded. Creating a note is simple - it would just consist of two fields grouped: the "Title" of the note and the "Body" of the note. Softkey changes can be done with a function, passing two parameters (name of left softkey, name of right softkey). But here I am thinking bottom-up again... The "Big picture" questions concern how these new notes interact with the existing card. Since there can be several different notes that can overlay on the card (albeit one at a time), it seems silly to have all these notes pre-created and invisible. So, the big question is, can we just have a note, then simply feed it the title and body when it is displayed? Also, since the softkeys change, the behavior has to change for those buttons. The "ButtonPress" message which I previously created was handled at the card (specifically leftSoftkey and rightSoftkey). Since that one card can either not be displaying a note, or have one of any number of notes on top of it, does it seem sensible to create yet another switch statement? The condition would have to check if a note is visible. But the behavior can be different depending on which note...maybe I should create the notes, have the behavior encapsulated in that note (i.e. the field), and pass the ButtonPress message to the note if there's one up? There are so many ways to do things in Transcript, and moreover, in Revolution, that I don't know what to try first. Any advice on which direction to go would be helpful. Thank you! Best regards, Jason From kevin at runrev.com Thu Feb 10 16:47:12 2005 From: kevin at runrev.com (Kevin Miller) Date: Thu, 10 Feb 2005 21:47:12 +0000 Subject: XML on Linux In-Reply-To: <6839682f0fed54b14df7fd7050e78dcb@hindu.org> Message-ID: On 9/2/05 4:52 am, "Sivakatirswami" wrote: > How could one implement the XML library on a Linux machine such that > CGI scripts can use rev's XML commands to process xml files? As far as I know this should work without any special configuration, because the XML library was embedded directly into the Linux engine. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From jperryl at ecs.fullerton.edu Thu Feb 10 16:54:49 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 10 Feb 2005 13:54:49 -0800 (PST) Subject: Selecting groups In-Reply-To: Message-ID: Just last night we were having this same issue in the class lab. On my instructor's machine, selecting the group selected, well, the group, but on many of the students' machines selecting the group selected whatever item in the group you clicked on. Clicking on the 'select group' or whatever button on the toolbar seemed to make things right again. Another of those confusing Rev modality issues. Oh, and on the cursor front, my students (all but two of whom are 3rd or 4th year CS majors) had modality issues with the select cursor buttons on the tools palette. It's confusing and just not obvious. Judy On Thu, 10 Feb 2005, Hershel Fisch wrote: > Hi, I'm trying to figure how to select a group not by selecting it from the > application browser? > In 2.2 when an item from a group was selected then the group was selected, > in 2.5 the item is selected and not the group. > Thanks, Hershel > > _______________________________________________ > 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 Feb 10 17:26:35 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 10 Feb 2005 23:26:35 +0100 Subject: XML on Linux In-Reply-To: References: Message-ID: <3d4c2d125682b904cb746237b0a60886@major-k.de> Hi Kevin, > On 9/2/05 4:52 am, "Sivakatirswami" wrote: > >> How could one implement the XML library on a Linux machine such that >> CGI scripts can use rev's XML commands to process xml files? > > As far as I know this should work without any special configuration, > because > the XML library was embedded directly into the Linux engine. is it possible to havbe this also in the other engines? The less external files the better :-) > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools Regards Klaus Major klaus at major-k.de http://www.major-k.de From ptrendler at bigpond.com Thu Feb 10 17:31:16 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri, 11 Feb 2005 08:31:16 +1000 Subject: mouseDown/Up - no actions when not on buttons References: Message-ID: <000d01c50fc0$43d75490$0100000a@super> Sorry Jason, I should also have added to below - not make the button invisible, colors & patterns/fill background color purple and just leave the mouseup/mousedown in the script. Not that you need that now in this case. Pat patrend at bigpond.com >Turn off showName,autoHilite,sharedHilite, showFocusBorder. And turn off >traversalOn - so that it doesn't take focus off the field if it is >clicked.. You can use property inspector (size & position/layer) to 'send to the back' alter you create the button. ----- Original Message ----- From: "Silver, Jason" To: "How to use Revolution" Sent: Friday, February 11, 2005 4:58 AM Subject: RE: mouseDown/Up - no actions when not on buttons Even without storing the selectedField into a local variable, I was still getting errors when clicking on the stack. The problems persisted even when there was an invisible button behind the "normal" buttons. I think the best way to prevent errors is the following method: Store the current location of the cursor in a local variable for the card. For all buttons that depend on the selectedField being in an text box, run a function to return the name of the selectedField. If empty is returned, then we know we're not in "User ID" or "Password" anymore. Restore the previous known location from the variable, and go there. I have yet another question (actually one that my boss would like me to pose to the mailing list), but I think I'll start it in a new topic, as it has nothing to do with buttons. :) All the best, Jason -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Pat Trendler Sent: Wednesday, February 09, 2005 5:50 PM To: jacque at hyperactivesw.com; How to use Revolution Subject: Re: mouseDown/Up - no actions when not on buttons J Landman Gay wrote: snip > Instead of trying to get the name for all cases, change the syntax to: > > case navUp > -- Determine which text field the user was in > if the selectedField contains "User ID" then -- change this > focus on field "Password" Jaqueline, The above is always empty. If you use: > put the short name of the selectedField into activeField > if activeField = "User ID" then as Jason did, you can store the selectedField. Of course, the rest of your recommendations are a far better way of coding. Pat patrend at bigpond.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From alex at tweedly.net Thu Feb 10 17:32:26 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Feb 2005 22:32:26 +0000 Subject: Problems using Dreamcard In-Reply-To: References: Message-ID: <420BE0FA.2040106@tweedly.net> Kevin Miller wrote: >On 9/2/05 11:12 pm, "Alex Tweedly" wrote: >Since the Learning Centre is only available to licensees, there wouldn't >be much point in putting Dreamcard Player info in there. > > > >Actually, most of the Learning Center is available to all (only some of the >more advanced video topics aren't). The Video Tutorials are also available >at: > >http://support.runrev.com/tutorials/ > > Yes, I'd forgotten they were there - thanks. You might want to consider adding the Learning Centre button to the Dreamcard Player, as another opportunity for Player users to get interested in getting DC itself. -- Alex. -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 From benr_mc at cogapp.com Thu Feb 10 17:37:04 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 10 Feb 2005 22:37:04 +0000 Subject: MP3 without QuickTime on Windows Message-ID: On Thu Feb 10 20:45:35 Kevin Miller wrote, > The subsystem we use is not currently the full Windows Media Player, so MP3 > will not work without QuickTime (yet). You may be able to get this to work > with MCISendString(). Kevin, thanks for the information. I'll look into MCISendString. What puzzles me however is that it seems the app will play MP3 without QuickTime in some situations - eg on a bog-standard PC running normal Windows XP - but not in another - ie my target device running XP Embedded. Can you shed any light on this? (BTW this is quite a fun project, and Rev is performing splendidly well. If we make it out of prototype and into deployment, I look forward to giving Rod a case study.) Cheers, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From benr_mc at cogapp.com Thu Feb 10 17:42:09 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 10 Feb 2005 22:42:09 +0000 Subject: MP3 without QuickTime on Windows Message-ID: On Wed Feb 9 15:21:29 Thomas McGrath III wrote: > It is relevant > > On Feb 9, 2005, at 2:05 PM, Ben Rubinstein wrote: > >> I haven't; but I don't think it's relevant, Thomas, Thanks for taking the time to respond to my query. Could you shed some more light, however? What I wrote was: > I haven't; but I don't think it's relevant, as the same app on a PC running > 'ordinary' windows XP works fine - if QT is installed, it uses QT; if QT is > uninstalled, it uses Media Player. That's why I didn't think it was relevant. Can you explain why it actually is relevant, and why this counter-example is not? Many thanks, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From kresten.bjerg at psy.ku.dk Thu Feb 10 12:04:33 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Fri, 11 Feb 2005 01:04:33 +0800 Subject: Enigma: how to quote zero References: <420B5C45.9090006@psy.ku.dk> <2a9864f540dd420d68be6bfa0e2ae6ea@swcp.com> Message-ID: <420B9421.F4D1F776@psy.ku.dk> Thanks also to Dar Scott Yes, as I replied to Klaus Major, that formula works per se, but when a script in another object, a list field, shall be able to produce buttons, different from each line, but all with a script, i.e. from a formula like put "put "0" before xyz" into line 8--(of button script) put "..............................." into line 9 etc etc this very special problem comes, thar what is true in messagebox context does not work in a field-script for producing the text of buttonscripts. - wheras it can be handwritten into a button script and function OK there. So????? From 3mcgrath at adelphia.net Thu Feb 10 19:07:37 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 10 Feb 2005 19:07:37 -0500 Subject: serial send OK receive not ok Message-ID: <2367ba02899f4abdb9c3561f23d0c700@adelphia.net> Hello all, I have been playing with my macbrick again. I have been using Sarah's serial test task and can connect via usb to my usb macbrick with serial commands. My problem is I don't know anything about serial commands. I can see the device (which has sending and receiving lights) receive the signal from the serial test stack but it does not do what I think it should do and no receive is confirmed. I tried sending a true then send mouseUp to btn "Open Serial Port" end if put word 1 of the selectedText of btn "SendEOL" into eol if eol = "CR" then put numToChar(13) into eol else if eol = "LF" then put LF into eol else put CRLF into eol put the label of btn "Port" into thePort put fld "sendField" into theData if the hilite of btn "OS X" then write theData & eol to driver thePort else write theData & eol to file thePort end if put "-> " & theData & return after fld "recField" read from driver thePort until eof -- EMPTY IN 1 SECONDS PUT IT -- my test to see if it has anything in it - it does not????????? put the result & return after fld "recField" end mouseUp Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Thu Feb 10 19:15:09 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Feb 2005 16:15:09 -0800 Subject: XML on Linux In-Reply-To: <3d4c2d125682b904cb746237b0a60886@major-k.de> References: <3d4c2d125682b904cb746237b0a60886@major-k.de> Message-ID: <420BF90D.2080803@fourthworld.com> Klaus Major wrote: > Hi Kevin, > >> On 9/2/05 4:52 am, "Sivakatirswami" wrote: >> >>> How could one implement the XML library on a Linux machine such that >>> CGI scripts can use rev's XML commands to process xml files? >> >> >> As far as I know this should work without any special configuration, >> because >> the XML library was embedded directly into the Linux engine. > > > is it possible to havbe this also in the other engines? > > The less external files the better :-) Maybe. The engine's already 2MB in size. Until RR plans to have some sort of modular code base in which we could toss features we're not using from our standalones, I'm very conscious about the size of the executable. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From katir at hindu.org Thu Feb 10 17:20:20 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 10 Feb 2005 12:20:20 -1000 Subject: overprinting when printing script In-Reply-To: <26bd6ed9a66256b4749f1be766f5974b@danshafer.com> References: <26bd6ed9a66256b4749f1be766f5974b@danshafer.com> Message-ID: <5b3ae74d903543d0ac7ee03cf1d2ae7a@hindu.org> Confirmed on Windows See my previous post which no one responded to...printing issues on Windows: ======= [snip] on printTranscript # load main transcript put fld "Transcript" after tPrintTranscript # print revShowPrintdialog, true,true revPrintText tPrintTranscript end printTranscript My beta tester from Adelaide, Australia writes: ====== I have tested the printing from a PC. The results are quite strange. 1. The first page prints beautifully 2. Subsequent pages are a mess. This is the same whether I print from pages 1 - 6 , or print in reverse. The first page (i.e. page #1 of the transcript) is printed nicely, and pages #2 - 6 are a mess. I had a look at the PS it produces, but it has been so long since I read Postscript that I could not find the error. This is what appears on pages 2 - 6 ? Some text is missing - from the end of page 1 until a couple of pages from the end of the transcript. ? The last 5 pages print the same material. ? The text is heavily overprinted.? Each paragraph remains separate, but the whole paragraph is overprinted. What should be a paragraph of about 10 lines is reduced to 3 overprinted lines. 19 lines are reduced to 5 overprinted lines. And so forth. Hope this helps. PS. When I use a Post Script Viewer, the PS looks just fine, and actually I can print the file OK from the post script. So something is possibly happening within the Transcriber software [a Rev app] to cause the problems. On Feb 10, 2005, at 7:42 AM, Dan Shafer wrote: > I see this from time to time, but not consistently. What OS are you > developing in? > > Dan > > On Feb 9, 2005, at 4:30 AM, Michael Price wrote: > >> I printed a script but the the characters printed on top of each >> other. How can I correct this? >> Thanks. >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Feb 10 15:52:09 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 10 Feb 2005 10:52:09 -1000 Subject: overprinting when printing script In-Reply-To: <26bd6ed9a66256b4749f1be766f5974b@danshafer.com> References: <26bd6ed9a66256b4749f1be766f5974b@danshafer.com> Message-ID: <5525334eeceb433c1eb5048bf75b287f@hindu.org> I posted a longer example of this issue earlier, but no one responded ( "Printing Disaster on Windows") This looks like a Windows issue? Here's the "symptoms" with a tad more info...from one of my beta testers ======= on printTranscript [snip] # load main transcript put fld "Transcript" after tPrintTranscript # print revShowPrintdialog, true,true revPrintText tPrintTranscript end printTranscript tested on Mac OSX with great results.. and feeling confident, released this to a few users... My beta tester from Adelaide, Australia writes: ====== I have tested the printing from a PC. The results are quite strange. 1. The first page prints beautifully 2. Subsequent pages are a mess. This is the same whether I print from pages 1 - 6 , or print in reverse. The first page (i.e. page #1 of the transcript) is printed nicely, and pages #2 - 6 are a mess. I had a look at the PS it produces, but it has been so long since I read Postscript that I could not find the error. This is what appears on pages 2 - 6 ? Some text is missing - from the end of page 1 until a couple of pages from the end of the transcript. ? The last 5 pages print the same material. ? The text is heavily overprinted.? Each paragraph remains separate, but the whole paragraph is overprinted. What should be a paragraph of about 10 lines is reduced to 3 overprinted lines. 19 lines are reduced to 5 overprinted lines. And so forth. Hope this helps. PS. When I use a Post Script Viewer, the PS looks just fine, and actually I can print the file OK from the post script. So something is possibly happening within the Transcriber software to cause the problems. ======= Any insights? do I have to include some externals with the windows app to get printing to work right on PC's? On Feb 10, 2005, at 7:42 AM, Dan Shafer wrote: > I see this from time to time, but not consistently. What OS are you > developing in? > > Dan > > On Feb 9, 2005, at 4:30 AM, Michael Price wrote: > >> I printed a script but the the characters printed on top of each >> other. How can I correct this? >> Thanks. >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Thu Feb 10 20:37:49 2005 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Feb 2005 18:37:49 -0700 Subject: Enigma: how to quote zero In-Reply-To: <420B9421.F4D1F776@psy.ku.dk> References: <420B5C45.9090006@psy.ku.dk> <2a9864f540dd420d68be6bfa0e2ae6ea@swcp.com> <420B9421.F4D1F776@psy.ku.dk> Message-ID: <71493f7f2985fd37f96f391735090cb7@swcp.com> On Feb 10, 2005, at 10:04 AM, Kresten Bjerg wrote: > put "put "0" before xyz" into line 8--(of button script) There are several good ways to handle this. Key Ray usually pulls out a cool quoting function. I once bad-mouthed format but now I like it. put format("put \"0\" before xyz") into line 8 Am I getting closer to what you need? Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From bvlahos at mac.com Thu Feb 10 21:38:59 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 10 Feb 2005 18:38:59 -0800 Subject: Listserver/email inbound and outbound In-Reply-To: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> References: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> Message-ID: <157689E6-7BD6-11D9-A27F-0003936A2C42@mac.com> Mike, I think this is a nifty idea once it is fleshed out a bit. On Feb 10, 2005, at 3:46 AM, Mike Doub wrote: > Hello List, > > I am thinking about writing a custom listserver type application but I > don't > know that much about how to get my system to be a mail host. I am > looking > for advice about any tools or scripts that could get me started. There was a very recent thread on how to make an email server directly from a Revolution app. > > I am interested in experimenting with the idea of a list server that > you > subscribe to topics rather than to the whole list. My idea is that > everyone > would have an "announcement" channel that could be configurable by > keywords > and searchable via the web. The user then "subscribes" to topics of > interest. > > This crazy idea came from trying to work the communication problem of > wanting to be part of discussion about specific software bugs. Think of > subscribing to the discussion tied to a specific bugzilla bug. Most > folks > have a few favorite bugs that they would like to monitor, but not > really all > of them. > > I would appreciate people's thoughts on both the inbound and outbound > side > of email, with Rev as the code managing the behavior of the list > server. The toughest part of this is coming up with the new metaphor for choosing how to be selective. It seems to me that a keyword specification is problematic because both the subscriber and subscribee would be making somewhat arbitrary choices on the words that were not included at all (thereby missing the thread) or were included incidentally (thereby increasing the noise). However, I think what might be really interesting would be not only the listserver type application but an information server application. I'm thinking of something like a bulletin board (either server based or client based [think RevNet]) where there would be channels of discussions. It seems like the most difficult opportunity is how to organize the channels. This could be a new type of application. Bill Vlahos From mwieder at ahsoftware.net Thu Feb 10 22:05:51 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 10 Feb 2005 19:05:51 -0800 Subject: overprinting when printing script In-Reply-To: References: Message-ID: <1524274835.20050210190551@ahsoftware.net> Michael- Wednesday, February 9, 2005, 4:30:50 AM, you wrote: MP> I printed a script but the the characters printed on top of each other. How MP> can I correct this? MP> Thanks. My guess is that you have colorized the script and you're trying to print under Windows. If so, you have a couple of options: first of all, you can remove the colorization using Chipp Walters' AltCleanStack plugin; alternately you can copy the text to the clipboard, then paste it into your text editor of choice and print from there. -- -Mark Wieder mwieder at ahsoftware.net From sarahr at genesearch.com.au Thu Feb 10 22:32:29 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 11 Feb 2005 13:32:29 +1000 Subject: serial send OK receive not ok In-Reply-To: <2367ba02899f4abdb9c3561f23d0c700@adelphia.net> References: <2367ba02899f4abdb9c3561f23d0c700@adelphia.net> Message-ID: <8EE59755-7BDD-11D9-896A-0003937A97B8@genesearch.com.au> > I have been playing with my macbrick again. I have been using Sarah's > serial test task and can connect via usb to my usb macbrick with > serial commands. > > My problem is I don't know anything about serial commands. I can see > the device (which has sending and receiving lights) receive the signal > from the serial test stack but it does not do what I think it should > do and no receive is confirmed. I tried sending a macbrick is a version request string but I can't get or don't get > anything back confirming it. I don't know what to do???? > Hi Tom, Glad my Serial stuff is proving useful. A couple of things to try: Change the end-of-line character for sending data. My stack allows three different options and it may be that the brick won't respond until it gets the right one. (I use a serial device that ignores all incoming data until it gets LF). The other thing is to read for a set period instead of until eof, just in case it is a timing thing and the response is being delayed. Cheers, Sarah From dsc at swcp.com Thu Feb 10 22:34:00 2005 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Feb 2005 20:34:00 -0700 Subject: serial send OK receive not ok In-Reply-To: <2367ba02899f4abdb9c3561f23d0c700@adelphia.net> References: <2367ba02899f4abdb9c3561f23d0c700@adelphia.net> Message-ID: <4f28f625fea47ccbbdac5e3662e9bf3c@swcp.com> On Feb 10, 2005, at 5:07 PM, Thomas McGrath III wrote: > on mouseUp > if the hilite of btn "Port open" <> true then > send mouseUp to btn "Open Serial Port" > end if > put word 1 of the selectedText of btn "SendEOL" into eol > if eol = "CR" then put numToChar(13) into eol > else if eol = "LF" then put LF into eol > else put CRLF into eol > put the label of btn "Port" into thePort > put fld "sendField" into theData > if the hilite of btn "OS X" then > write theData & eol to driver thePort > else > write theData & eol to file thePort > end if > put "-> " & theData & return after fld "recField" wait 1 seconds -- just for now > read from driver thePort until eof -- EMPTY IN 1 SECONDS > PUT IT -- my test to see if it has anything in it - it does > not????????? > put the result & return after fld "recField" > end mouseUp I know some folks have success with OS X serial, but I find it bug ridden. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From sarahr at genesearch.com.au Thu Feb 10 22:35:42 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 11 Feb 2005 13:35:42 +1000 Subject: Application Browser In-Reply-To: <199390619855039b5b8692b63eeb3e75@kagi.com> References: <199390619855039b5b8692b63eeb3e75@kagi.com> Message-ID: <01DFD510-7BDE-11D9-896A-0003937A97B8@genesearch.com.au> > I open my main stack in the Application Browser and I see: > MainStack > revSOAP > libSmtp > libEmail > libEmailHelp > libEmail > > I do not need libEmailHelp and I for sure do not need two libEmails > but, I cannot figure out how to get rid of them. When I select them in > the Application Browser, there seems to be no menu selection that > removes the substack. When I look in the inspector for my main stack, > under "Stack Files" I would expect to see the stack files shown in > the Application Browser but that list is empty. > > I can see substacks in the Application Window. Why can I not > manipulate them in that window? Why can I not remove them or add them > in that window? What is the connection between the Application Browser > list of stacks and the "stack Files" list of stacks? > If the stacks are part of your stack file, you can right-click on them in the App Browser and choose "Delete sub-stack" from the popup menu. However I recently had a similar problem until I remembered that the sub-stacks were actually library stacks, not true sub-stacks. Open the Inspector for the main stack and have a look in the Stack files section. I expect that you will see most of the stacks there. libEmailHelp may a sub-stack of libEmail so you may have to top-level that libEmail stack in order to delete it. Cheers, Sarah From dsquance at elkvalley.net Thu Feb 10 23:04:17 2005 From: dsquance at elkvalley.net (David Squance) Date: Thu, 10 Feb 2005 21:04:17 -0700 Subject: Dynamically creating notes that lay "on top" of cards In-Reply-To: References: Message-ID: <3cdc0735e742c180eebc6312e8556aad@elkvalley.net> On Feb 10, 2005, at 2:33 PM, Silver, Jason wrote: > The "Big picture" questions concern how these new notes interact with > the existing card. Since there can be several different notes that can > overlay on the card (albeit one at a time), it seems silly to have all > these notes pre-created and invisible. So, the big question is, can we > just have a note, then simply feed it the title and body when it is > displayed? You could enter the title and content of the notes into custom properties. These could be set either via the message box, since they would be static, or in an openstack (or some such) handler, and called when the user clicked on the activating button. However, if you only use one note with varying content from custom properties, you'll need the switch statement alluded to below either way. More experienced revers will likely chime in here. > Also, since the softkeys change, the behavior has to change for those > buttons. The "ButtonPress" message which I previously created was > handled at the card (specifically leftSoftkey and rightSoftkey). > Since > that one card can either not be displaying a note, or have one of any > number of notes on top of it, does it seem sensible to create yet > another switch statement? The condition would have to check if a note > is visible. But the behavior can be different depending on which > note...maybe I should create the notes, have the behavior encapsulated > in that note (i.e. the field), and pass the ButtonPress message to the > note if there's one up? Best, Dave From jacque at hyperactivesw.com Thu Feb 10 23:59:30 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Feb 2005 22:59:30 -0600 Subject: Dynamically creating notes that lay "on top" of cards In-Reply-To: References: Message-ID: <420C3BB2.5000102@hyperactivesw.com> On 2/10/05 3:33 PM, Silver, Jason wrote: > Since there can be several different notes that can > overlay on the card (albeit one at a time), it seems silly to have all > these notes pre-created and invisible. So, the big question is, can we > just have a note, then simply feed it the title and body when it is > displayed? Sure. That's how I'd do it. Store the notes somewhere, say in a custom property, and the feed them as needed to the "notes" field group: put the uMyTitle of btn 1 into fld "myNoteTitle" put the uMyNote of btn 1 into fld "myNoteContent" > Also, since the softkeys change, the behavior has to change for those > buttons. The "ButtonPress" message which I previously created was > handled at the card (specifically leftSoftkey and rightSoftkey). Since > that one card can either not be displaying a note, or have one of any > number of notes on top of it, does it seem sensible to create yet > another switch statement? The condition would have to check if a note > is visible. But the behavior can be different depending on which > note...maybe I should create the notes, have the behavior encapsulated > in that note (i.e. the field), and pass the ButtonPress message to the > note if there's one up? The buttonPress handler could check to see if the notes field is visible. If so, branch to a "notes" switch structure. If not, branch to your current switch structure. These could be part of the buttonPress handler, or that handler could call one of two other handlers that contain the switch statements. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From xbury.cs at clearstream.com Fri Feb 11 02:35:31 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 11 Feb 2005 08:35:31 +0100 Subject: MP3 without QuickTime on Windows Message-ID: All you need is (with a default mp3 player installed) to get shell("start" && mymp3filepath) Why try harder? ;)) It's just a question of having a default "play" or "Open" command associated with a player... cheers Xavier >The subsystem we use is not currently the full Windows Media Player, so MP3 >will not work without QuickTime (yet). You may be able to get this to work >with MCISendString(). > >Kind regards, > >Kevin > >Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ >Runtime Revolution - User-Centric Development Tools > >_______________________________________________ >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 Signe.Sanne at roman.uib.no Fri Feb 11 04:00:37 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Fri, 11 Feb 2005 10:00:37 +0100 Subject: MP3 without QuickTime on Windows In-Reply-To: References: Message-ID: <420C7435.6030403@roman.uib.no> xbury.cs at clearstream.com skrev: > All you need is (with a default mp3 player installed) to > > get shell("start" && mymp3filepath) > > Why try harder? ;)) > > It's just a question of having a default "play" or "Open" command > associated with a player... Hello Xavier Should 'mymp3filepath' include 'file' or 'url'? Do we need a player object in the stack? On my WindowsXP (where I have both Windows Media Player and QuickTime installed) I tried without any success: set itemDel to "/" put item 1 to -2 of the effective filename of this stack into tFolder put tFolder & "/M0NKP9EA.MID" into mymp3filepath get shell ("start" && mymp3filepath) From FlexibleLearning at aol.com Fri Feb 11 04:18:59 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 11 Feb 2005 04:18:59 EST Subject: get URL behaviour Message-ID: <60.4f0ecaee.2f3dd283@aol.com> >Can *anyone* shed light on why a 'get url myTextFileURL' command returns >'requested' instead of the contents of the text file? Has synchronicity changed?? Alex said: >If the server returns an error message, you would get that message >instead of the file content - so it's possible that the web site has set >custom error messages, and you're getting one of them (though >"requested" isn't much of a custom message). > >Are you connecting through a proxy or web cache ? It sounds just >possible they could return this as a message if there was some unusual >time-out condition. Dave said: >Is this an http or ftp url (i.e. not a file url)? >If so, is "requested" returned in "the result" or in the "it" variable? >I'm asking because "requested" is one of the "states" of the variable >in libUrl that tracks the status of a request and eventually is >returned as "the result". However, it should be set to empty or an >error message before the request completes. > >Can you log the activity (libUrlSetLogField) and see if it reveals anything? Thanks for the pointers, guys... "Requested" is returned in the result of an http file request behind a firewall. Strangely, the test stack we used to track the problem down works okay; I am still trying to establish what is different in the test stack which (so far as I can see) mirrors the original. I am suspecting a failed server response that ought to read "timeout", but since this is arm's length it's a bit difficult to identify. Next stop, libUrlSetLogField. /H From p2m at p2m.net Thu Feb 10 04:36:47 2005 From: p2m at p2m.net (Philippe) Date: Thu, 10 Feb 2005 10:36:47 +0100 Subject: How to build nice repport with Revolution Message-ID: <92f04ffad04aa2216442db41373a53b1@p2m.net> Hi, I'm a new user of Revolution and it's a real pleasure to work with this soft. I was also an old user of Hypercard since version 1.0 to the last one. Revolution is nice, but I don't find ? easy way to create nice repport. Of course, for printing a text or a list I use revPrintField, but I want to create some repports more complex. Just for an exemple, if I want to print address labels using a MySQL database and let the user choose his personnal size of labels. How can I do that ? I think that the repport builder doesn't more exist. I remember the create repport from Hypercard, it was so nice and easy. My software will be used by different countries, so I have to let the choice of the paper size US Letter and A4 for exemple. How I do that with Revolution ? Thank you for your help Philippe From p2m at netkiri.com Fri Feb 11 00:14:41 2005 From: p2m at netkiri.com (Philippe de Martelaere) Date: Fri, 11 Feb 2005 06:14:41 +0100 Subject: How to build nice repport with Revolution Message-ID: <78dd83f1e869f484b7c92a4e7ebe229f@netkiri.com> Hi, I'm a new user of Revolution and it's a real pleasure to work with this soft. I was also an old user of Hypercard since version 1.0 to the last one. Revolution is nice, but I don't find ? easy way to create nice repport. Of course, for printing a text or a list I use revPrintField, but I want to create some repports more complex. Just for an exemple, if I want to print address labels using a MySQL database and let the user choose his personnal size of labels. How can I do that ? I think that the repport builder doesn't more exist. I remember the create repport from Hypercard, it was so nice and easy. My software will be used by different countries, so I have to let the choice of the paper size US Letter and A4 for exemple. How I do that with Revolution ? Thank you for your help Philippe From klaus at major-k.de Fri Feb 11 04:49:18 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 11 Feb 2005 10:49:18 +0100 Subject: MP3 without QuickTime on Windows In-Reply-To: <420C7435.6030403@roman.uib.no> References: <420C7435.6030403@roman.uib.no> Message-ID: <70831996a245fff63610bd33cf57e6a7@major-k.de> Hi Signe Marie, > xbury.cs at clearstream.com skrev: > >> All you need is (with a default mp3 player installed) to get >> shell("start" && mymp3filepath) >> Why try harder? ;)) >> It's just a question of having a default "play" or "Open" command >> associated with a player... > > Hello Xavier > Should 'mymp3filepath' include 'file' or 'url'? Neither nor! > Do we need a player object in the stack? On my WindowsXP (where I have > both Windows Media Player and QuickTime installed) I tried without any > success: > > set itemDel to "/" > put item 1 to -2 of the effective filename of this stack into tFolder > put tFolder & "/M0NKP9EA.MID" into mymp3filepath replace "/" with "\" in mymp3filepath ##it's windoze ;-) > get shell ("start" && mymp3filepath) This might work, but will probably start the WindowsMediaPlayer or any app that is associated with the "MID" suffix... So i think this is just wishful thinking ;-) because we will give control over the sound(s) out of our/Rev's hands... Regards Klaus Major klaus at major-k.de http://www.major-k.de From xbury.cs at clearstream.com Fri Feb 11 04:48:14 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 11 Feb 2005 10:48:14 +0100 Subject: MP3 without QuickTime on Windows Message-ID: Hi You dont need a player object. Just shell does the trick. You need to use "start", and the backslashes in your path... (Make sure your current directory points to a valid path) And make sure the default to open a file (mp3 or mid) is set to a program that can play it. It's important that there is a default (a line in bold in the file association dialog (go to Explorer.exe ->Tools menu->menu item Folder Options->tab File Types->btn Advanced...). If you click on mp3 in the list, click advanced, choose "Play" in the list, and click on Edit to find the "launching command" for that file type and action. check out the "assoc" command line which will list all the defined types and allows also associations to be made... cheers Xavier On 11.02.2005 10:00:37 use-revolution-bounces wrote: >xbury.cs at clearstream.com skrev: > >> All you need is (with a default mp3 player installed) to >> >> get shell("start" && mymp3filepath) >> >> Why try harder? ;)) >> >> It's just a question of having a default "play" or "Open" command >> associated with a player... > >Hello Xavier >Should 'mymp3filepath' include 'file' or 'url'? >Do we need a player object in the stack? On my WindowsXP (where I have both >Windows Media Player and QuickTime installed) I tried without any success: > >set itemDel to "/" >put item 1 to -2 of the effective filename of this stack into tFolder >put tFolder & "/M0NKP9EA.MID" into mymp3filepath >get shell ("start" && mymp3filepath) >_______________________________________________ >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 Signe.Sanne at roman.uib.no Fri Feb 11 05:27:34 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Fri, 11 Feb 2005 11:27:34 +0100 Subject: MP3 without QuickTime on Windows In-Reply-To: <70831996a245fff63610bd33cf57e6a7@major-k.de> References: <420C7435.6030403@roman.uib.no> <70831996a245fff63610bd33cf57e6a7@major-k.de> Message-ID: <420C8896.7070807@roman.uib.no> Merci beaucoup, Xavier and Vielen Danke to Claus! >> set itemDel to "/" >> put item 1 to -2 of the effective filename of this stack into tFolder >> put tFolder & "/M0NKP9EA.MID" into mymp3filepath > > > replace "/" with "\" in mymp3filepath > ##it's windoze ;-) > >> get shell ("start" && mymp3filepath) > With the change of "/" to "\" it still did not work, I got the error: Can't find "C:\Documents". I then discovered that when moving the folder from the desktop to another location on C: it would work. Apparently the program did not tackle the spaces in "C:\Documents and Settings\....\Desktop..." And the player which opened it, was not WMP, but WinAmp. Signe Marie From xbury.cs at clearstream.com Fri Feb 11 05:32:36 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 11 Feb 2005 11:32:36 +0100 Subject: MP3 without QuickTime on Windows Message-ID: It's important to always put quotes in paths on windows if they have a space or ampersand. And WinAmp must be your default player... if you want to use another player, dont use start... use the path provided in the file association dialog. You'll see %1 which means the path. And usually also the useful switch to /play or /enqueue the file ... hope that helps! Xavier On 11.02.2005 11:27:34 use-revolution-bounces wrote: >Merci beaucoup, Xavier and Vielen Danke to Claus! > >>> set itemDel to "/" >>> put item 1 to -2 of the effective filename of this stack into tFolder >>> put tFolder & "/M0NKP9EA.MID" into mymp3filepath >> >> >> replace "/" with "\" in mymp3filepath >> ##it's windoze ;-) >> >>> get shell ("start" && mymp3filepath) >> >With the change of "/" to "\" it still did not work, I got the error: Can't >find "C:\Documents". I then discovered that when moving the folder from the >desktop to another location on C: it would work. Apparently the program did >not tackle the spaces in "C:\Documents and Settings\....\Desktop..." > >And the player which opened it, was not WMP, but WinAmp. > >Signe Marie > >_______________________________________________ >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 kresten.bjerg at psy.ku.dk Fri Feb 11 05:47:45 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Fri, 11 Feb 2005 11:47:45 +0100 Subject: Enigma: how to quote zero Message-ID: <420C8D51.4080808@psy.ku.dk> Dear Dar Scott Not only closer. You hit it, precisely. It works 100 percent ! A big relief for me. gratefully yours Kresten -- Refer please to Oikos Homestation , for further information Kresten Bjerg Mag.art. forhenv?rende lektor i psykologi, Mailto:Kresten at psy.ku.dk Adress 1: Ollekolle, Institut for psykologi, K?benhavns Universitet Amager, Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99 Adress 2: Sortedam Dossering 95 B, 2100 Copenhagen, DK - (45) 35 38 99 39 ______________________________________________________________ From matteovarisco at tiscali.it Fri Feb 11 06:21:22 2005 From: matteovarisco at tiscali.it (Matteo Varisco) Date: Fri, 11 Feb 2005 12:21:22 +0100 Subject: Mouse dissapear and don't save changes with DreamCard Player XP In-Reply-To: <20050211035015.BD2CC9301CD@mail.runrev.com> References: <20050211035015.BD2CC9301CD@mail.runrev.com> Message-ID: Hello, I have made a simple stack with Runtime Revolution 2.5 for Mac OS X and works well within the IDE of DreamCard for Windows 2.5 and with the DreamCard Player for Mac OS X. But with a Windows XP and the DreamCard Player I have two problems: 1) if I double click on the icon "Revolution DreamCard Player" and then open the stack, if I change a text in a field the stack don't save the changes. I have already selected the check box "Run in non-secure mode" without results. 2) if I drag the stack on the icon "Revolution.exe" in the folder of the player the changes mades in the fields of the stack are saved, but the cursor of the mouse disappears if it is on the window of the stack. So it is difficult to work because I cannot see the mouse pointer. There is a solution for this bug? Thanks in advance (and sorry for my mistakes in English), Matteo -- +-----------------------------------------------+ Matteo Varisco Programmer on computer Apple Macintosh E-mail: mailto:info at matteovarisco.com Web site: http://www.matteovarisco.com/ +-----------------------------------------------+ From alex at tweedly.net Fri Feb 11 08:53:27 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 11 Feb 2005 13:53:27 +0000 Subject: Listserver/email inbound and outbound In-Reply-To: <157689E6-7BD6-11D9-A27F-0003936A2C42@mac.com> References: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> <157689E6-7BD6-11D9-A27F-0003936A2C42@mac.com> Message-ID: <420CB8D7.9060606@tweedly.net> Bill Vlahos wrote: > Mike, > > I think this is a nifty idea once it is fleshed out a bit. Yes - I very much agree. > On Feb 10, 2005, at 3:46 AM, Mike Doub wrote: > >> Hello List, >> >> I am thinking about writing a custom listserver type application but >> I don't >> know that much about how to get my system to be a mail host. I am >> looking >> for advice about any tools or scripts that could get me started. > > There was a very recent thread on how to make an email server directly > from a Revolution app. Since you only need to send email from the actual server, most of the difficulties described in that thread don't apply - you can simply build-in your server username/password. So read up on shaosean's libSMTP and the sending side will be fairly straightforward. For the receiving side, again libraries are available (shaosean's libEmail and Sarah's libPOP) to do much of the detailed work. If it's practical for your context, I'd only allow simple text emails (type text and text/html) to avoid having to worry about encoding schemes, and MIME types and viruses , etc. Do (please) be sure to set the email headers properly when you send mail - from: the originator - reply-to: the list address - precedence: list (or bulk) (or similar - exactly what's appropriate is up to you, but having the precedence set is important). see http://www.monkeytools.com/oreilly/networking/sendmail/ch35_01.htm for a good description (though you need to ignore all the details of how to set the flags - you only care about what the headers should be). >> >> I am interested in experimenting with the idea of a list server that you >> subscribe to topics rather than to the whole list. My idea is that >> everyone >> would have an "announcement" channel that could be configurable by >> keywords >> and searchable via the web. The user then "subscribes" to topics of >> interest. >> >> This crazy idea came from trying to work the communication problem of >> wanting to be part of discussion about specific software bugs. Think of >> subscribing to the discussion tied to a specific bugzilla bug. Most >> folks >> have a few favorite bugs that they would like to monitor, but not >> really all >> of them. >> >> I would appreciate people's thoughts on both the inbound and outbound >> side >> of email, with Rev as the code managing the behavior of the list server. > > The toughest part of this is coming up with the new metaphor for > choosing how to be selective. It seems to me that a keyword > specification is problematic because both the subscriber and > subscribee would be making somewhat arbitrary choices on the words > that were not included at all (thereby missing the thread) or were > included incidentally (thereby increasing the noise). You might also consider a hierarchical scheme to specify interest (I'm interested in only a few bugs, someone in Customer Support might be interest in all bug discussions, a product manager might want everything about his product, etc.) You might get this with careful regular expression description of "keywords", or might need a more explicit scheme. > However, I think what might be really interesting would be not only > the listserver type application but an information server application. > I'm thinking of something like a bulletin board (either server based > or client based [think RevNet]) where there would be channels of > discussions. It seems like the most difficult opportunity is how to > organize the channels. This could be a new type of application. If you allow web browsing (or maybe a custom client) to find and select new channels, you need to consider whether that join triggers the sending of all mail already in the archive on that channel (I think it should, at least as an option). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From ps1 at softseven.org Fri Feb 11 09:18:55 2005 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 11 Feb 2005 08:18:55 -0600 Subject: Check for updates... In-Reply-To: <420CB8D7.9060606@tweedly.net> References: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> <157689E6-7BD6-11D9-A27F-0003936A2C42@mac.com> <420CB8D7.9060606@tweedly.net> Message-ID: <6.1.1.1.2.20050211081221.02692bb0@softseven.org> Dear Rev User, Anyone here have a sample stack I could look at that will check for update programs and if an update is found make a dl link active? I have an ideal by having a file on the server and in the folder with the program. Both files are read and the contents are stored in different fields then compared, if the fields are the same than no update is ready, id their different then there is a update and a dl link will appear. The only problem I'm having is I don't know how to read a file from the web server without first dl it. Is there another way? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From soapdog at mac.com Fri Feb 11 10:26:02 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 11 Feb 2005 13:26:02 -0200 Subject: Check for updates... In-Reply-To: <6.1.1.1.2.20050211081221.02692bb0@softseven.org> References: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> <157689E6-7BD6-11D9-A27F-0003936A2C42@mac.com> <420CB8D7.9060606@tweedly.net> <6.1.1.1.2.20050211081221.02692bb0@softseven.org> Message-ID: On Feb 11, 2005, at 12:18 PM, Paul Salyers wrote: > Dear Rev User, > > Anyone here have a sample stack I could look at that will check for > update programs and if an update is found make a dl link active? > > I have an ideal by having a file on the server and in the folder with > the program. Both files are read and the contents are stored in > different fields then compared, if the fields are the same than no > update is ready, id their different then there is a update and a dl > link will appear. The only problem I'm having is I don't know how to > read a file from the web server without first dl it. > > Is there another way? Paul, You could put a text file with the current version online, then you could match this version to the version of your stack, if the web one is newer, then you download the update. If you really want to go into this, you should check altSplash by Altuit, it will do all this things. Andre > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From userev at canelasoftware.com Fri Feb 11 10:54:28 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 11 Feb 2005 07:54:28 -0800 Subject: Comment on editing front scripts Message-ID: Debugging front scripts that contain events like (mouseMove, mouseUp, mouseDown...), is impossible in Rev. Rev's script editor changes size erratically and buttons on the editor move to unknown places. So I switched to my trusty copy of MC to work on them. Dawg gone of MC did not give it the best try to work on them. For the most part, editing was ok. Then I realized that variables are still updating live as your mouse moves across your app to get to the script editor. Thus things start falling apart. Then it dawned on me to remove the front script just before the breakpoint line. This simple solution took me a few hours to realize. Thought others might benefit from my pain. Best regards, Mark Talluto CANELA Software -- http://www.canelasoftware.com From b.xavier at internet.lu Fri Feb 11 12:07:06 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 11 Feb 2005 18:07:06 +0100 Subject: Split, combine ok but where's extract? In-Reply-To: Message-ID: <20050211171411.573959300AE@mail.runrev.com> Just wondering if there is a simple way to extract the list of the second key of an array I have an array like array[x]=text1,text2 I need to get either the list of text1 or text 2... I could create more variables but that's not clean in this design of mine. I have an extract function that repeat for each line but is there a better way to extract columns from a table using split, combine or ??? TIA guys! Wish ya'll a great weekend! Xavier -- MonsieurX.com - working on that GUI translator! From mwieder at ahsoftware.net Fri Feb 11 12:05:19 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Feb 2005 09:05:19 -0800 Subject: Check for updates... In-Reply-To: <6.1.1.1.2.20050211081221.02692bb0@softseven.org> References: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> <157689E6-7BD6-11D9-A27F-0003936A2C42@mac.com> <420CB8D7.9060606@tweedly.net> <6.1.1.1.2.20050211081221.02692bb0@softseven.org> Message-ID: <1242457533.20050211090519@ahsoftware.net> Paul- Friday, February 11, 2005, 6:18:55 AM, you wrote: PS> Anyone here have a sample stack I could look at that will check for update PS> programs and if an update is found make a dl link active? Here's how I deal with this in StacKnowledge: on my web server I have two files - a zipped copy of the current version of the stack and a text file called StacKnowledge.txt. On checking for the latest version I download the text file. The first line of the text file is the current version number. I compare that with the version stored in a stack customProperty and if it's greater then I start a download of the latest version from the server. Otherwise I just display a message stating that the running version is up to date. Using the text file approach means that I can put release notes, version history, etc. inside the file as long as I don't mess with the first line. -- -Mark Wieder mwieder at ahsoftware.net From 36degrees at runrev.com Fri Feb 11 12:25:09 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Fri, 11 Feb 2005 17:25:09 +0000 Subject: XML on Linux In-Reply-To: <420BF90D.2080803@fourthworld.com> References: <3d4c2d125682b904cb746237b0a60886@major-k.de> <420BF90D.2080803@fourthworld.com> Message-ID: <1108142709.20144.312.camel@rachmaninov.runtime> On Fri, 2005-02-11 at 00:15, Richard Gaskin wrote: > Klaus Major wrote: > > Hi Kevin, > > > >> On 9/2/05 4:52 am, "Sivakatirswami" wrote: > >> > >>> How could one implement the XML library on a Linux machine such that > >>> CGI scripts can use rev's XML commands to process xml files? > >> > >> > >> As far as I know this should work without any special configuration, > >> because > >> the XML library was embedded directly into the Linux engine. > > > > > > is it possible to havbe this also in the other engines? > > > > The less external files the better :-) > > Maybe. > > The engine's already 2MB in size. Until RR plans to have some sort of > modular code base in which we could toss features we're not using from > our standalones, I'm very conscious about the size of the executable. The XML and DB externals are indeed both embedded into the engine on Linux in engines 2.5 and later. This was done in order to get around the limitations of the externals interface on UNIX platforms in lieu of replacing the mechanism with one using shared libraries similar to Mac and Windows. (An unfortunate overhang from MetaCard's heritage, the UNIX platforms have historically used external processes because many variants of UNIX, in the past, didn't have support for dynamically loadable shared libraries). In terms of the growing size of the engine then I share Richard's concerns in this area - indeed, we are acutely aware of this issue and have been actively researching solutions to it. Warmest regards, Mark. ----------------------------------------------------------------- Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From benr_mc at cogapp.com Fri Feb 11 11:40:52 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 11 Feb 2005 16:40:52 +0000 Subject: MP3 without QuickTime on Windows Message-ID: xbury.cs at clearstream.com wrote: > All you need is (with a default mp3 player installed) to > > get shell("start" && mymp3filepath) > > Why try harder? ;)) Hi Xavier, Thanks for the suggestion. That would probably do it for many cases - unfortunately I want to be able to tell when the sound is finished, and possibly also to dynamically fade the volume. So if I can get a player object working in Rev, that would be optimal. My current situation is that on one Windows XP machine, without QuickTIme, this works fine; on another machine, running Windows XP embedded, it does not (although Media Player 9 is installed on that machine, and working fine). I'm trying to track down the critical difference. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From ambassador at fourthworld.com Fri Feb 11 12:39:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Feb 2005 09:39:53 -0800 Subject: Check for updates... In-Reply-To: <6.1.1.1.2.20050211081221.02692bb0@softseven.org> References: <20050210114624.LLUR730.imf22aec.mail.bellsouth.net@mail.tribrain.net> <157689E6-7BD6-11D9-A27F-0003936A2C42@mac.com> <420CB8D7.9060606@tweedly.net> <6.1.1.1.2.20050211081221.02692bb0@softseven.org> Message-ID: <420CEDE9.404@fourthworld.com> Paul Salyers wrote: > Dear Rev User, > > Anyone here have a sample stack I could look at that will check for > update programs and if an update is found make a dl link active? devolution: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From b.xavier at internet.lu Fri Feb 11 12:53:17 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 11 Feb 2005 18:53:17 +0100 Subject: Comment on editing front scripts In-Reply-To: Message-ID: <20050211180021.1ABD59300AE@mail.runrev.com> > Then it dawned on me to remove the front script just before > the breakpoint line. This simple solution took me a few > hours to realize. > Thought others might benefit from my pain. Good going! This might have helped greatly prevent some nitrous explosions while I developped the WinN20 and PropsN2O plugins last year! A smooth trick to avoid debugger errors or intruding the debugger while keeping track of execution values is to just "put" whatever in the message box like the variables' name and values that you want, you can also put them into a global array or use a condition to ask to change a value (if the shiftkey is down...). I made a debugarray global and a debug display handler too so it doesn't have the message box interfering! Last week I was working on injecting Nitrous into the RevVariableWatcher stack and of course it all went berzerk. GM included (bogzillaed months ago). Now I know how to get back on track ;) Thanks! There's also some scripts or calls you dont want to have in the frontscripts! Rather reserved for the back scripts or stacksinuse... Customize the gui at your sweetest taste! Its the Hyper Spirit! Sweet and ez! Cheers Xavier -- http://MonsieurX.com Boost your Rev-RAD with X's Nitrous plugins From johnrule at rcsprogramming.com Fri Feb 11 12:48:57 2005 From: johnrule at rcsprogramming.com (John Rule) Date: Fri, 11 Feb 2005 09:48:57 -0800 Subject: sockets and Windows behavior In-Reply-To: <20050211170033.B4D919300F1@mail.runrev.com> Message-ID: <200502111151359.SM01428@minipcxp> Maybe someone can explain this... I noticed that when a socket (regular or datagram) is opened to Windows (via my app that is listening on port 1901), an 'alias' port is given instead of the 'real' one. For example, if my external device (computer, PDA, etc.) connects to socket 192.168.77.10:1901 for communications, the actual socket reported is a random number (like 1407), and it changes each time the device connects (incrementally..1408, 1409, 1410). Is this Windows or RunRev? Thanks, JR From klaus at major-k.de Fri Feb 11 12:55:45 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 11 Feb 2005 18:55:45 +0100 Subject: XML on Linux In-Reply-To: <1108142709.20144.312.camel@rachmaninov.runtime> References: <3d4c2d125682b904cb746237b0a60886@major-k.de> <420BF90D.2080803@fourthworld.com> <1108142709.20144.312.camel@rachmaninov.runtime> Message-ID: <99c1ac3b53e936dcddbc628b96a784c2@major-k.de> Hi Mark and Richard, >>>> ...the XML library was embedded directly into the Linux engine. >>> is it possible to havbe this also in the other engines? >>> The less external files the better :-) >> >> Maybe. >> >> The engine's already 2MB in size. Until RR plans to have some sort of >> modular code base in which we could toss features we're not using from >> our standalones, I'm very conscious about the size of the executable. > > The XML and DB externals are indeed both embedded into the engine on > Linux in engines 2.5 ... > ...loadable shared libraries). > In terms of the growing size of the engine then I share Richard's > concerns in this area - OK, just a thought :-) > indeed, we are acutely aware of this issue and > have been actively researching solutions to it. "Modules" would be fine as Richard suggested ;-) > Warmest regards, > > Mark. > > ----------------------------------------------------------------- > Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com > Runtime Revolution ~ User-Centric Development Tools Best Klaus Major klaus at major-k.de http://www.major-k.de From soapdog at mac.com Fri Feb 11 12:56:33 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 11 Feb 2005 15:56:33 -0200 Subject: sockets and Windows behavior In-Reply-To: <200502111151359.SM01428@minipcxp> References: <200502111151359.SM01428@minipcxp> Message-ID: <12829c28b0da0b5f791991a77546ea41@mac.com> On Feb 11, 2005, at 3:48 PM, John Rule wrote: > Maybe someone can explain this... > > I noticed that when a socket (regular or datagram) is opened to > Windows > (via my app that is listening on port 1901), an 'alias' port is given > instead of the 'real' one. For example, if my external device > (computer, > PDA, etc.) connects to socket 192.168.77.10:1901 for communications, > the > actual socket reported is a random number (like 1407), and it changes > each > time the device connects (incrementally..1408, 1409, 1410). > > Is this Windows or RunRev? John, If I understand correcly what you've written, that's the normal TCP/IP behaviour. When a client connect to a server via a give port, the server will accept the connection and move the connection to a whole random free socket so that it can keep accepting connections on the given port (in your case, 1901). That's the standard way... that way, you can connect two or more clients to the same server... Andre PS: hum... I think a little network foundations primer would be good... shall we write one? > > Thanks, > JR > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From kevin at runrev.com Fri Feb 11 12:56:52 2005 From: kevin at runrev.com (Kevin Miller) Date: Fri, 11 Feb 2005 17:56:52 +0000 Subject: MP3 without QuickTime on Windows In-Reply-To: Message-ID: On 10/2/05 10:37 pm, "Ben Rubinstein" wrote: >> The subsystem we use is not currently the full Windows Media Player, so MP3 >> will not work without QuickTime (yet). You may be able to get this to work >> with MCISendString(). > > Kevin, thanks for the information. I'll look into MCISendString. > > What puzzles me however is that it seems the app will play MP3 without > QuickTime in some situations - eg on a bog-standard PC running normal > Windows XP - but not in another - ie my target device running XP Embedded. > Can you shed any light on this? You need to install an MP3 codec in the Windows operating system itself. Windows Media Player 10 will install one, as will iTunes. This sort of audio codec will then be picked up by Rev even without QuickTime. > (BTW this is quite a fun project, and Rev is performing splendidly well. If > we make it out of prototype and into deployment, I look forward to giving > Rod a case study.) Sounds good! Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From revdan at danshafer.com Fri Feb 11 13:04:04 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 11 Feb 2005 10:04:04 -0800 Subject: "How to" stacks on revOnLine In-Reply-To: <4211c56d3f37af9d668f4f824c9e0b91@wanadoo.fr> References: <20050210131646.3DF659301A7@mail.runrev.com> <4211c56d3f37af9d668f4f824c9e0b91@wanadoo.fr> Message-ID: Eric... Thanks. The resize card How To was helpful. I'm using it in three applications already! Dan On Feb 10, 2005, at 8:07 AM, ?ric Chatonet wrote: > > I put on revOnLine 3 stacks that begin a collection of "How to" stacks: From b.xavier at internet.lu Fri Feb 11 13:18:57 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 11 Feb 2005 19:18:57 +0100 Subject: MP3 without QuickTime on Windows In-Reply-To: Message-ID: <20050211182600.EC895930117@mail.runrev.com> This is good to hear! What about just plain wav support? Those are mac and lunix readeable and work well (with an exception to some lower bitrates)... I'll test the mp3s definitely too! Why didnt I try before beats me! Wait a minute, ogg encodings too then, Rev is getting there where we want it I hope!!! Play is such a powerful word! Too bad many dont take it seriously! XB > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Kevin Miller > Sent: Friday, February 11, 2005 18:57 > To: How to use Revolution > Subject: Re: MP3 without QuickTime on Windows > > On 10/2/05 10:37 pm, "Ben Rubinstein" wrote: > > >> The subsystem we use is not currently the full Windows > Media Player, > >> so MP3 will not work without QuickTime (yet). You may be > able to get > >> this to work with MCISendString(). > > > > Kevin, thanks for the information. I'll look into MCISendString. > > > > What puzzles me however is that it seems the app will play > MP3 without > > QuickTime in some situations - eg on a bog-standard PC > running normal > > Windows XP - but not in another - ie my target device > running XP Embedded. > > Can you shed any light on this? > > You need to install an MP3 codec in the Windows operating > system itself. > Windows Media Player 10 will install one, as will iTunes. > This sort of audio codec will then be picked up by Rev even > without QuickTime. > > > (BTW this is quite a fun project, and Rev is performing splendidly > > well. If we make it out of prototype and into deployment, I look > > forward to giving Rod a case study.) > > Sounds good! > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From userev at canelasoftware.com Fri Feb 11 13:44:27 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 11 Feb 2005 10:44:27 -0800 Subject: Comment on editing front scripts In-Reply-To: <20050211180021.1ABD59300AE@mail.runrev.com> References: <20050211180021.1ABD59300AE@mail.runrev.com> Message-ID: <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> On Feb 11, 2005, at 9:53 AM, MisterX wrote: > There's also some scripts or calls you dont want to have in the > frontscripts! Rather reserved for the back scripts or stacksinuse... This is true. I could probably move half of my code to the back scripts. Best regards, Mark Talluto CANELA Software -- http://www.canelasoftware.com From ambassador at fourthworld.com Fri Feb 11 13:52:03 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Feb 2005 10:52:03 -0800 Subject: Comment on editing front scripts In-Reply-To: <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> References: <20050211180021.1ABD59300AE@mail.runrev.com> <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> Message-ID: <420CFED3.5010002@fourthworld.com> Mark Talluto wrote: > > On Feb 11, 2005, at 9:53 AM, MisterX wrote: > >> There's also some scripts or calls you dont want to have in the >> frontscripts! Rather reserved for the back scripts or stacksinuse... > > This is true. I could probably move half of my code to the back scripts. This reminds me of an annoyance: as noted in the docs somewhere, sometimes script errors in frontscripts or backscripts are not reported properly as such, instead pointing to the non-inserted script that called it. Why is that, and how hard would it be to fix? Mark W? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From b.xavier at internet.lu Fri Feb 11 14:00:10 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 11 Feb 2005 20:00:10 +0100 Subject: Comment on editing front scripts In-Reply-To: <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> Message-ID: <20050211190714.633C59300AE@mail.runrev.com> it's cool but it's like resorting to mallocs ;)) yuk! Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Talluto > Sent: Friday, February 11, 2005 19:44 > To: How to use Revolution > Subject: Re: Comment on editing front scripts > > > On Feb 11, 2005, at 9:53 AM, MisterX wrote: > > > There's also some scripts or calls you dont want to have in the > > frontscripts! Rather reserved for the back scripts or stacksinuse... > > > This is true. I could probably move half of my code to the > back scripts. > > > Best regards, > Mark Talluto > CANELA Software > -- > > http://www.canelasoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From userev at canelasoftware.com Fri Feb 11 14:22:39 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 11 Feb 2005 11:22:39 -0800 Subject: Comment on editing front scripts In-Reply-To: <420CFED3.5010002@fourthworld.com> References: <20050211180021.1ABD59300AE@mail.runrev.com> <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> <420CFED3.5010002@fourthworld.com> Message-ID: On Feb 11, 2005, at 10:52 AM, Richard Gaskin wrote: > This reminds me of an annoyance: as noted in the docs somewhere, > sometimes script errors in frontscripts or backscripts are not > reported properly as such, instead pointing to the non-inserted script > that called it. > > Why is that, and how hard would it be to fix? Ahhh...Now if we could have reliable script errors in every instance, life would be much easier. I noticed this problem as well. I did a dance of beeps, put [insert variable here], exit [insert handler here], and wait 2 seconds to figure out where true problems arose. Best regards, Mark Talluto CANELA Software -- http://www.canelasoftware.com From ambassador at fourthworld.com Fri Feb 11 14:25:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Feb 2005 11:25:15 -0800 Subject: Comment on editing front scripts In-Reply-To: References: <20050211180021.1ABD59300AE@mail.runrev.com> <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> <420CFED3.5010002@fourthworld.com> Message-ID: <420D069B.6030603@fourthworld.com> Mark Talluto wrote: > > On Feb 11, 2005, at 10:52 AM, Richard Gaskin wrote: > >> This reminds me of an annoyance: as noted in the docs somewhere, >> sometimes script errors in frontscripts or backscripts are not >> reported properly as such, instead pointing to the non-inserted script >> that called it. >> >> Why is that, and how hard would it be to fix? > > Ahhh...Now if we could have reliable script errors in every instance, > life would be much easier. I noticed this problem as well. I did a > dance of beeps, put [insert variable here], exit [insert handler here], > and wait 2 seconds to figure out where true problems arose. It may not be much of a bulet-point, but for myself I'd prefer to see an overhaul of error handling above any other feature currently in queue. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From userev at canelasoftware.com Fri Feb 11 14:32:36 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 11 Feb 2005 11:32:36 -0800 Subject: Comment on editing front scripts In-Reply-To: <420D069B.6030603@fourthworld.com> References: <20050211180021.1ABD59300AE@mail.runrev.com> <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> <420CFED3.5010002@fourthworld.com> <420D069B.6030603@fourthworld.com> Message-ID: <3a82c68ea3355c50a07326f55e736e99@canelasoftware.com> On Feb 11, 2005, at 11:25 AM, Richard Gaskin wrote: > Mark Talluto wrote: >> On Feb 11, 2005, at 10:52 AM, Richard Gaskin wrote: >>> This reminds me of an annoyance: as noted in the docs somewhere, >>> sometimes script errors in frontscripts or backscripts are not >>> reported properly as such, instead pointing to the non-inserted >>> script that called it. >>> >>> Why is that, and how hard would it be to fix? >> >> Ahhh...Now if we could have reliable script errors in every instance, >> life would be much easier. I noticed this problem as well. I did a >> dance of beeps, put [insert variable here], exit [insert handler >> here], and wait 2 seconds to figure out where true problems arose. > > It may not be much of a bulet-point, but for myself I'd prefer to see > an overhaul of error handling above any other feature currently in > queue. I have 5 votes waiting to add to that if you'll point me to the request. Mark Talluto -- CANELA Software http://www.canelasoftware.com From katir at hindu.org Fri Feb 11 14:45:01 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 11 Feb 2005 09:45:01 -1000 Subject: Rev Stacks for "tiny" read only backend web dBases Message-ID: For a small amount of data to be delivered on the web e.g. 1000 records or less; in this case, word definitions of a glossary. where the record has only two pieces of data --word -- definition, am wondering if a back end revolution stack can serve us? Since input will be by a single admin individual, access would be read only. It's so simple, I'm not sure we need a macho PostGreSQL dbase for this and a Rev Stack would be so easy-portable. I can have someone working on a stack on his own machine... then just move it to the server how efficient is that... very... The question would be: are there any read access concurrency issues in such a web app context? Anyone else doing this? what's your experience? if a cgi calls "start using stack "../html/books/master_lexicon.rev" ... does that mean another person hitting the same CGI within milliseconds will have a problem? Thanks Sivakatirswami From soapdog at mac.com Fri Feb 11 14:59:00 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 11 Feb 2005 17:59:00 -0200 Subject: Rev Stacks for "tiny" read only backend web dBases In-Reply-To: References: Message-ID: <1bcdc281373f7d2adfd680e88a464644@mac.com> Swami, if you're only reading, I think there will be no problem but beware of writing records when someone is reading them. I don't know if start using can travel networks, but sure it can travel folders, so you might be in good hands. Anyway, if you're dealing with such simple data have you considered simple XML files or even simpler, a text file? like: function saveGlossaryToFile pGlossaryArrayA combine pGlossaryArrayA by numToChar(4) and numToChar(5) put pGlossaryArrayA into url "file:../html/books/master_lexicon.txt" end saveGlossaryToFile function loadGlossaryFromFile put URL "file:../html/books/master_lexicon.txt" into tGlossaryArrayA split tGlossaryArrayA by numToChar(4) and numToChar(5) return tGlossaryArrayA end loadGlossaryFromFile PS: I just created both funcs on the run as I typed this answer... Andre On Feb 11, 2005, at 5:45 PM, Sivakatirswami wrote: > For a small amount of data to be delivered on the web e.g. 1000 > records or less; in this case, word definitions of a glossary. where > the record has only two pieces of data > > --word > -- definition, > am wondering if a back end revolution stack can serve us? > > Since input will be by a single admin individual, access would be read > only. It's so simple, I'm not sure we need a macho PostGreSQL dbase > for this and a Rev Stack would be so easy-portable. I can have someone > working on a stack on his own machine... then just move it to the > server how efficient is that... very... > > The question would be: are there any read access concurrency issues in > such a web app context? > > Anyone else doing this? what's your experience? > > if a cgi calls > > "start using stack "../html/books/master_lexicon.rev" > > ... does that mean another person hitting the same CGI within > milliseconds will have a problem? > > Thanks > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From mdswindell at charter.net Fri Feb 11 14:58:56 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 11 Feb 2005 11:58:56 -0800 Subject: VPC Ed. Pricing and Version Recommendation needed Message-ID: <194fe58ccf8e136931a15d6ee8444ddc@charter.net> Is there a place to get an Education discount on VPC 7? And which version would a PC know-nothing be best off getting? I was thinking XP Home Edition. I only need it to run a couple of older programs and test Rev. stacks and standalones for PC. Thanks, Mark From katir at hindu.org Fri Feb 11 15:24:52 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 11 Feb 2005 10:24:52 -1000 Subject: OT-Virtual Tour Web Panorama Tools Message-ID: I'm looking for tools that can create those virtual reality panaramas we see on the web. Virtual Tours... user clicks on a URL... they go some where... big wide image... they can move left or right, down the street, take a right... I see "www.realtourvision.com" which generates .wmv files you have to download. But these JAVA things seem very buggy... Tour Weaver is pretty much what we are looking for, but it is a Windows Only program. We would be putting these on the web. Thanks Sivakatirswami From jperryl at ecs.fullerton.edu Fri Feb 11 15:31:03 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 11 Feb 2005 12:31:03 -0800 (PST) Subject: VPC Ed. Pricing and Version Recommendation needed In-Reply-To: <194fe58ccf8e136931a15d6ee8444ddc@charter.net> Message-ID: Mark, Are you at a university? My university bookstore either stocks it or can order it. I suppose you could also order it directly from Microsoft. If you already have access to a license for XP, just get the emulator itself without the OS (for example, your ed institution may well have a license agreement that allows you a free/low-cost license for home use). This should bring down the cost considerably. Judy On Fri, 11 Feb 2005, Mark Swindell wrote: > Is there a place to get an Education discount on VPC 7? And which > version would a PC know-nothing be best off getting? I was thinking XP > Home Edition. I only need it to run a couple of older programs and > test Rev. stacks and standalones for PC. > > Thanks, > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wdesigns at austin.rr.com Fri Feb 11 15:32:47 2005 From: wdesigns at austin.rr.com (Douglas Westbrook) Date: Fri, 11 Feb 2005 14:32:47 -0600 Subject: OT-Virtual Tour Web Panorama Tools In-Reply-To: References: Message-ID: <1a88eec0d779565e6905acdaf69a082c@austin.rr.com> Try this. http://www.clickheredesign.com.au CubicConnector & CubicConverter They worked for me. Doug On Feb 11, 2005, at 2:24 PM, Sivakatirswami wrote: > I'm looking for tools that can create those virtual reality panaramas > we see on the web. Virtual Tours... > > user clicks on a URL... they go some where... big wide image... they > can move left or right, down the street, take a right... > > I see "www.realtourvision.com" which generates .wmv files you have to > download. But these JAVA things seem very buggy... > > Tour Weaver is pretty much what we are looking for, but it is a > Windows Only program. > > We would be putting these on the web. > > Thanks > Sivakatirswami > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Fri Feb 11 15:32:47 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 11 Feb 2005 12:32:47 -0800 (PST) Subject: OT-Virtual Tour Web Panorama Tools In-Reply-To: Message-ID: I think Apple still sells its VR Authoring Studio, tho' it's not seen an upgrade in many a year IIRC. Others may have a better solution (hopefully!) Judy On Fri, 11 Feb 2005, Sivakatirswami wrote: > I'm looking for tools that can create those virtual reality panaramas > we see on the web. Virtual Tours... From klaus at major-k.de Fri Feb 11 16:18:47 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 11 Feb 2005 22:18:47 +0100 Subject: OT-Virtual Tour Web Panorama Tools In-Reply-To: References: Message-ID: Hi all, > I think Apple still sells its VR Authoring Studio, tho' it's not seen > an > upgrade in many a year IIRC. > > Others may have a better solution (hopefully!) > > Judy > > On Fri, 11 Feb 2005, Sivakatirswami wrote: > >> I'm looking for tools that can create those virtual reality panaramas >> we see on the web. Virtual Tours... i use VRWorks http://www.vrtoolbox.com/vrworx25.html for occasional creations of QTVRs... Very powerful, easy to use and affordable (relatively ;-)... Regards Klaus Major klaus at major-k.de http://www.major-k.de From mdswindell at charter.net Fri Feb 11 16:31:07 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 11 Feb 2005 13:31:07 -0800 Subject: VPC Ed. Pricing and Version Recommendation needed In-Reply-To: References: Message-ID: <11d61b5f3a348c02abfe7674ee599157@charter.net> No, I'm in the elementary education system in California. I own no Windows OS products or licenses. MS offers only links to stores, and I see no Ed pricing at any of them, nor at Apple. -Mark On Feb 11, 2005, at 12:31 PM, Judy Perry wrote: > Mark, > > Are you at a university? My university bookstore either stocks it or > can > order it. I suppose you could also order it directly from Microsoft. > If > you already have access to a license for XP, just get the emulator > itself > without the OS (for example, your ed institution may well have a > license > agreement that allows you a free/low-cost license for home use). This > should bring down the cost considerably. > > Judy > > On Fri, 11 Feb 2005, Mark Swindell wrote: > >> Is there a place to get an Education discount on VPC 7? And which >> version would a PC know-nothing be best off getting? I was thinking >> XP >> Home Edition. I only need it to run a couple of older programs and >> test Rev. stacks and standalones for PC. >> >> Thanks, >> Mark From jperryl at ecs.fullerton.edu Fri Feb 11 17:10:41 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 11 Feb 2005 14:10:41 -0800 (PST) Subject: VPC Ed. Pricing and Version Recommendation needed In-Reply-To: <11d61b5f3a348c02abfe7674ee599157@charter.net> Message-ID: Where in California are you? Judy On Fri, 11 Feb 2005, Mark Swindell wrote: > No, I'm in the elementary education system in California. I own no > Windows OS products or licenses. MS offers only links to stores, and > I see no Ed pricing at any of them, nor at Apple. > -Mark > > On Feb 11, 2005, at 12:31 PM, Judy Perry wrote: > > > Mark, > > > > Are you at a university? My university bookstore either stocks it or > > can > > order it. I suppose you could also order it directly from Microsoft. > > If > > you already have access to a license for XP, just get the emulator > > itself > > without the OS (for example, your ed institution may well have a > > license > > agreement that allows you a free/low-cost license for home use). This > > should bring down the cost considerably. > > > > Judy > > > > On Fri, 11 Feb 2005, Mark Swindell wrote: > > > >> Is there a place to get an Education discount on VPC 7? And which > >> version would a PC know-nothing be best off getting? I was thinking > >> XP > >> Home Edition. I only need it to run a couple of older programs and > >> test Rev. stacks and standalones for PC. > >> > >> Thanks, > >> Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at dvglasgow.wanadoo.co.uk Fri Feb 11 17:28:19 2005 From: david at dvglasgow.wanadoo.co.uk (Mr D Glasgow) Date: Fri, 11 Feb 2005 22:28:19 +0000 Subject: re Ping timeout much longer with 10.3.7 In-Reply-To: <20050210170046.6A7B19300A8@mail.runrev.com> References: <20050210170046.6A7B19300A8@mail.runrev.com> Message-ID: <746eca0e6cabc423f2a3278367c774e7@dvglasgow.wanadoo.co.uk> Hmmm. Just a wild guess, but 10.3.8 claims to fix some very long launch latencies in iCal, Mail. that were a problem in 10.3.7 etc. Could be connected? On 10 Feb 2005, at 5:00 pm, use-revolution-request at lists.runrev.com wrote: > Date: Thu, 10 Feb 2005 11:07:09 EST > From: RGould8 at aol.com > Subject: OT: Ping timeout much longer with 10.3.7 > To: use-revolution at lists.runrev.com > Message-ID: <1eb.346e6516.2f3ce0ad at aol.com> > Content-Type: text/plain; charset="US-ASCII" > > Our testers have discovered that when Revolution does a shell("ping") > to a > server that isn't responding, that the timeouts are much different, > depending on > which version of Mac OS X one is on. In Mac OS 10.3.2, we get > feedback in a > matter of seconds. In Mac OS 10.3.7, it takes over 2 minutes to get > feedback. This happens in the terminal window too, so it's not a Rev > issue. I'm > not into unix enough to know what to look for on Apple's site for a > technote on > this. "ping latency"? What's interesting is that the same problem > exists > for traceroute, even though the docs say that traceroute's wait-period > is to > default to 3 seconds. Any thoughts? From graham.samuel at blueyonder.co.uk Fri Feb 11 17:51:14 2005 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Fri, 11 Feb 2005 22:51:14 +0000 Subject: sockets and Windows behavior Message-ID: > On Fri, 11 Feb 2005 15:56:33 -0200, Andre Garzia wrote: > [...] > PS: hum... I think a little network foundations primer would be good... > shall we write one? If you do, I'd like to be your first customer! I could not even reliably describe what a socket is (not really even what kind of a concept it is), let alone a datagram... Graham ------------------------------------------------------------------------ --- Graham Samuel / The Living Fossil Co. / UK and France From jacque at hyperactivesw.com Fri Feb 11 18:02:53 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Feb 2005 17:02:53 -0600 Subject: Rev Stacks for "tiny" read only backend web dBases In-Reply-To: References: Message-ID: <420D399D.4090805@hyperactivesw.com> On 2/11/05 1:45 PM, Sivakatirswami wrote: > For a small amount of data to be delivered on the web e.g. 1000 records > or less; in this case, word definitions of a glossary. where the record > has only two pieces of data > > --word > -- definition, > am wondering if a back end revolution stack can serve us? I would think so. Even if you just use "find" to locate the words, it wouldn't be too bad (though the "find" command isn't the fastest thing in the world.) The fastest way to locate a card is by ID though, so you might want to create a lookup table instead. Before you publish the stack, run a handler that walks through the cards and stores the word and the card ID in a list somewhere. Then have the CGI get the lookup table, extract the ID, and grab the definition from that card. Which actually means that someone else's suggestion of just using a text file might work just as well, though maybe a little less esthetic for data entry. > > Since input will be by a single admin individual, access would be read > only. It's so simple, I'm not sure we need a macho PostGreSQL dbase for > this and a Rev Stack would be so easy-portable. I can have someone > working on a stack on his own machine... then just move it to the server > how efficient is that... very... Right. Very easy. > > The question would be: are there any read access concurrency issues in > such a web app context? Not if the file is only being read. It can be opened multiple times by any number of instances of the engine. > > Anyone else doing this? what's your experience? > > if a cgi calls > > "start using stack "../html/books/master_lexicon.rev" > > ... does that mean another person hitting the same CGI within > milliseconds will have a problem? I have a CGI on my site that does this. There hasn't been any problem, as long as the files are read-only. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Feb 11 18:13:16 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Feb 2005 16:13:16 -0700 Subject: sockets and Windows behavior In-Reply-To: <200502111151359.SM01428@minipcxp> References: <200502111151359.SM01428@minipcxp> Message-ID: <5a1d872d438ce70efa863c3928a9afd6@swcp.com> On Feb 11, 2005, at 10:48 AM, John Rule wrote: > I noticed that when a socket (regular or datagram) is opened to > Windows > (via my app that is listening on port 1901), an 'alias' port is given > instead of the 'real' one. For example, if my external device > (computer, > PDA, etc.) connects to socket 192.168.77.10:1901 for communications, > the > actual socket reported is a random number (like 1407), and it changes > each > time the device connects (incrementally..1408, 1409, 1410). In TCP/IP both TCP and UDP uses the notion of ports. TCP uses connections and might be easier to explain. When computer or device 10.0.0.1 makes a TCP connection to port 1901 on 192.168.77.10, it needs to assign a port on 10.0.0.1. In most socket APIs the program requesting the connection may specify the port to use on 10.0.0.1, however in most cases it does not and the communications system assigns it. The connection if fully specified by the two address-port pairs. Typical socket implementations exploit that and allow multiple connections to a passive (listening) end. Those are all distinct. So a connection (from the view of 10.0.0.1) is specified by this: Remote IP address = 192.168.77.10 Remote port = 1901 Local IP = 10.0.0.1 Local port = 1407 Every IP packet has similar information in the header In Revolution when a connection callback (message) comes in, the IP address and the port of the other end are provided. If the connection is broken (or not, actually) and the other end makes another connection it is likely to be using another port. Ports must wait a short time before they can be reused, so typically systems just go to the next one if a port is not specified. There are cases in which the process opening the port needs to specify the port or at least find out what it is. Unfortunately there is no way to do that in Revolution. For most protocols this is not needed. Since Revolution hides the local port number, if you make multiple connections to the same listener, you need to specify an socket id name or number in the open. On the other hand, Revolution accept has no way to specify the IP address on a multihomed system. If you are listening on both TCP and UDP on the same port number, they can be confused in Revolution. UDP is connectionless, but is often handled as though it is a connection in sockets implementations and especially the view in Revolution. The same concepts apply roughly. (UDP is sort of a stepchild so folks don't worry about getting it right. Windows XP handles UDP errors poorly. Most Unix systems don't broadcast in a way consistent with the intent of UDP; I argue it is wrong.) If I missed what you are getting at, I apologize and will try to target that. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From boinjyboing at hotmail.com Fri Feb 11 18:20:36 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Fri, 11 Feb 2005 15:20:36 -0800 Subject: Comment on editing front scripts Message-ID: >Debugging front scripts that contain events like (mouseMove, mouseUp, >mouseDown...), is impossible in Rev. Rev's script editor changes size >erratically and buttons on the editor move to unknown places. So I >switched to my trusty copy of MC to work on them. Dawg gone of MC did >not give it the best try to work on them. For the most part, editing >was ok. Then I realized that variables are still updating live as your >mouse moves across your app to get to the script editor. Thus things >start falling apart. I also have had weird results with these type of front scripts. The solution that worked well for me was to put a line like this into all of the front scripts. if the tool is not "browse tool" then pass mousemove --or whatever other handler That way, when editing scripts all I had to do was switch to the select tool and all of the frontscripts would be disabled, and editing scripts worked ok again. Best of all, this line doesn't need to be removed after you're done debugging and ready to compile. -Ben From alex at tweedly.net Fri Feb 11 19:17:51 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 12 Feb 2005 00:17:51 +0000 Subject: sockets and Windows behavior In-Reply-To: <5a1d872d438ce70efa863c3928a9afd6@swcp.com> References: <200502111151359.SM01428@minipcxp> <5a1d872d438ce70efa863c3928a9afd6@swcp.com> Message-ID: <420D4B2F.8040308@tweedly.net> Dar Scott wrote: > UDP is connectionless, but is often handled as though it is a > connection in sockets implementations and especially the view in > Revolution. The same concepts apply roughly. (UDP is sort of a > stepchild so folks don't worry about getting it right. Windows XP > handles UDP errors poorly. Most Unix systems don't broadcast in a way > consistent with the intent of UDP; I argue it is wrong.) I'm curious what you're getting at here Dar. AFAIK, UDP has no concept of broadcast, so I'm left wondering how it can be wrong. Thanks, -- Alex. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From sarahr at genesearch.com.au Fri Feb 11 19:40:07 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Sat, 12 Feb 2005 10:40:07 +1000 Subject: Testers wanted Message-ID: Hi All, I have written a program to download the picture of the day from various web sites, and display them as desktop pictures. Now I need testers before I start publicizing it. If anyone is interested in having a go and giving me their feedback, please email me directly at pod at troz.net The program is for Mac & Windows only. Thanks, Sarah From mwieder at ahsoftware.net Fri Feb 11 20:53:58 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Feb 2005 17:53:58 -0800 Subject: Split, combine ok but where's extract? In-Reply-To: <20050211171411.573959300AE@mail.runrev.com> References: <20050211171411.573959300AE@mail.runrev.com> Message-ID: <19034176673.20050211175358@ahsoftware.net> MisterX- Friday, February 11, 2005, 9:07:06 AM, you wrote: M> Just wondering if there is a simple way to extract the list of the second M> key of an array repeat for each line theItem in the keys of array put item 2 of array[theItem] after field "myField" end repeat -- same obviously for item 1 -- -Mark Wieder mwieder at ahsoftware.net From gregortroll at gmail.com Fri Feb 11 21:21:43 2005 From: gregortroll at gmail.com (James Steiner) Date: Fri, 11 Feb 2005 21:21:43 -0500 Subject: Enigma: how to quote zero In-Reply-To: <71493f7f2985fd37f96f391735090cb7@swcp.com> References: <420B5C45.9090006@psy.ku.dk> <2a9864f540dd420d68be6bfa0e2ae6ea@swcp.com> <420B9421.F4D1F776@psy.ku.dk> <71493f7f2985fd37f96f391735090cb7@swcp.com> Message-ID: <5ec6743205021118212d01453c@mail.gmail.com> >> > put format("put \"0\" before xyz") into line 8 Wouldn't put ( "put " & quote & "0" & quote & " before xyz" ) into line 8 also work, without having to resort to using a fancy function like format?? The goal here is to build up the string that represents the script line... so as long as you keep in mind that certain characters, like ", are interpreted specially, and so can't be used directly, you'll have no problem. ~~James From ambassador at fourthworld.com Fri Feb 11 21:44:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Feb 2005 18:44:40 -0800 Subject: Enigma: how to quote zero In-Reply-To: <5ec6743205021118212d01453c@mail.gmail.com> References: <420B5C45.9090006@psy.ku.dk> <2a9864f540dd420d68be6bfa0e2ae6ea@swcp.com> <420B9421.F4D1F776@psy.ku.dk> <71493f7f2985fd37f96f391735090cb7@swcp.com> <5ec6743205021118212d01453c@mail.gmail.com> Message-ID: <420D6D98.6040605@fourthworld.com> James Steiner wrote: >>>> put format("put \"0\" before xyz") into line 8 > > > Wouldn't > > put ( "put " & quote & "0" & quote & " before xyz" ) into line 8 > > also work, without having to resort to using a fancy function like format?? Or my favorite fancy function, q: function q s return quote & s & quote end q put q(0) before yz -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dick.kriesel at mail.com Fri Feb 11 21:50:33 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 11 Feb 2005 18:50:33 -0800 Subject: Split, combine ok but where's extract? In-Reply-To: <19034176673.20050211175358@ahsoftware.net> Message-ID: On 2/11/05 5:53 PM, "Mark Wieder" wrote: > MisterX- > > Friday, February 11, 2005, 9:07:06 AM, you wrote: > > M> Just wondering if there is a simple way to extract the list of the second > M> key of an array > > repeat for each line theItem in the keys of array > put item 2 of array[theItem] after field "myField" > end repeat > > -- same obviously for item 1 if you don't want duplicates you could try repeat for each line theItem in the keys of array put 1 into uniqueSecondItems[item 2 of theItem] end repeat put the keys of uniqueSecondItems after field "myField" From katir at hindu.org Fri Feb 11 23:27:00 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 11 Feb 2005 18:27:00 -1000 Subject: Rev Stacks for "tiny" read only backend web dBases In-Reply-To: <420D399D.4090805@hyperactivesw.com> References: <420D399D.4090805@hyperactivesw.com> Message-ID: Thanks to all for the recommendations: A text file could work... I'm just not sure how big it will be.. I could have the stack simply dump the text and FTP that to the site... Thanks Sivakatirswami On Feb 11, 2005, at 1:02 PM, J. Landman Gay wrote: > On 2/11/05 1:45 PM, Sivakatirswami wrote: > >> For a small amount of data to be delivered on the web e.g. 1000 >> records or less; in this case, word definitions of a glossary. where >> the record has only two pieces of data >> --word >> -- definition, am wondering if a back end revolution stack can serve >> us? > > I would think so. Even if you just use "find" to locate the words, it > wouldn't be too bad (though the "find" command isn't the fastest thing > in the world.) The fastest way to locate a card is by ID though, so > you might want to create a lookup table instead. Before you publish > the stack, run a handler that walks through the cards and stores the > word and the card ID in a list somewhere. Then have the CGI get the > lookup table, extract the ID, and grab the definition from that card. > > Which actually means that someone else's suggestion of just using a > text file might work just as well, though maybe a little less esthetic > for data entry. > >> Since input will be by a single admin individual, access would be >> read only. It's so simple, I'm not sure we need a macho PostGreSQL >> dbase for this and a Rev Stack would be so easy-portable. I can have >> someone working on a stack on his own machine... then just move it to >> the server how efficient is that... very... > > Right. Very easy. > >> The question would be: are there any read access concurrency issues >> in such a web app context? > > Not if the file is only being read. It can be opened multiple times by > any number of instances of the engine. > >> Anyone else doing this? what's your experience? >> if a cgi calls >> "start using stack "../html/books/master_lexicon.rev" >> ... does that mean another person hitting the same CGI within >> milliseconds will have a problem? > > I have a CGI on my site that does this. There hasn't been any problem, > as long as the files are read-only. > > -- > 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 yoy at comcast.net Fri Feb 11 23:39:33 2005 From: yoy at comcast.net (yoy) Date: Fri, 11 Feb 2005 23:39:33 -0500 Subject: Enigma: how to quote zero References: <420B5C45.9090006@psy.ku.dk><2a9864f540dd420d68be6bfa0e2ae6ea@swcp.com> <420B9421.F4D1F776@psy.ku.dk><71493f7f2985fd37f96f391735090cb7@swcp.com><5ec6743205021118212d01453c@mail.gmail.com> <420D6D98.6040605@fourthworld.com> Message-ID: <000c01c510be$33163050$6701a8c0@fatal> Here's a handler I put into the card script that does your script to a variable first, then the variable into a button script... on doit -- global newButtonname put "if the number of chars of item 1 of retro = 1 then" into line 1 of tempVar put "put" && quote & 0 & quote && "before retro" into line 2 of tempVar put "end if" into line 3 of tempVar put "put" && quote & 0 & quote && "into char 5 of retro" into line 4 of tempVar put "put short name of me into ikon" into line 5 of tempVar put "put ikon after field retro" into line 6 of tempVar set the script of button "One" to tempVar --use newButtonname instead of "One" for other buttons end doit Create a button named One then in the message box type doit and return then check the button's script. Not an expert solution because I'm not an expert. Clear or cloudy? Andy Burns ----- Original Message ----- From: "Richard Gaskin" To: "How to use Revolution" Sent: Friday, February 11, 2005 9:44 PM Subject: Re: Enigma: how to quote zero > James Steiner wrote: > >>>> put format("put \"0\" before xyz") into line 8 > > > > > > Wouldn't > > > > put ( "put " & quote & "0" & quote & " before xyz" ) into line 8 > > > > also work, without having to resort to using a fancy function like format?? > > Or my favorite fancy function, q: > > function q s > return quote & s & quote > end q > > > put q(0) before yz > > > -- > 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 b.xavier at internet.lu Sat Feb 12 00:58:40 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 12 Feb 2005 06:58:40 +0100 Subject: Testers wanted In-Reply-To: Message-ID: <20050212060542.E3CFF9300F2@mail.runrev.com> Hi Sarah, I'll surely give it a try! cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Sarah Reichelt > Sent: Saturday, February 12, 2005 01:40 > To: use-revolution at lists.runrev.com > Subject: Testers wanted > > Hi All, > > I have written a program to download the picture of the day > from various web sites, and display them as desktop pictures. > Now I need testers before I start publicizing it. If anyone > is interested in having a go and giving me their feedback, > please email me directly at pod at troz.net > > The program is for Mac & Windows only. > > Thanks, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Feb 12 01:19:31 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 12 Feb 2005 07:19:31 +0100 Subject: Split, combine ok but where's extract? In-Reply-To: Message-ID: <20050212062630.E766093006E@mail.runrev.com> doesn't combine array with comma,return split array with comma,return do somethign like that too? According to the help docs, the split command strips duplicates and should be faster than a loop... This is worth a bit of investigating and testing... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dick Kriesel > Sent: Saturday, February 12, 2005 03:51 > To: How to use Revolution > Subject: Re: Split, combine ok but where's extract? > > On 2/11/05 5:53 PM, "Mark Wieder" wrote: > > > MisterX- > > > > Friday, February 11, 2005, 9:07:06 AM, you wrote: > > > > M> Just wondering if there is a simple way to extract the > list of the > > M> second key of an array > > > > repeat for each line theItem in the keys of array > > put item 2 of array[theItem] after field "myField" > > end repeat > > > > -- same obviously for item 1 > > if you don't want duplicates you could try > > repeat for each line theItem in the keys of array > put 1 into uniqueSecondItems[item 2 of theItem] end repeat > put the keys of uniqueSecondItems after field "myField" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Feb 12 01:19:31 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 12 Feb 2005 07:19:31 +0100 Subject: "How to" stacks on revOnLine (and the postIt field trick!) In-Reply-To: Message-ID: <20050212062631.91AFE9300FF@mail.runrev.com> Dan, There's lots of cools trick you can do with interactive resizing... put this script in a yellow field... (dont take my wording too literally please) on mousewithin if the shiftkey is down then set the botright of me to the mouseloc -- adaptation required... else if the optionkey is down then set the loc of me to the mouseloc -- needs the offset delta thing -- to move smoothly from the mouseloc position -- at the call time end if end mousewithin on mouseleave CollapseMeAndMoveMeToPrefCorner -- left as exercise ;) end mouseleave It could be mousedown or a button, you get the idea... Now, you got a post-it note you can move all around... The number of possibilities is quite cool too if you stick it into a plugin stack... ;) If you add the animation tricks from www.bit-101.com, etc... Dan, may I sponsor you many Ideas! ;) Check out the ClipperX tool stack I wrote for MC (not to uptodate since that's in the EditN2O palette now (unpublished XOS addon). All the borders of the window can be dragged around! Grab the corners to resize the stack! Grab the sides to move the stack! And it's also skinned! It was the foundation to my themeN2O stack also unpublished! I never get time to finish these and nobody cares for those that are published so Im the only one enjoying them themes in Rev! ;) But surely this trick is worth much since I've never forgotten it! This technique can be applied to a palette stack so you can move it around when there's no "window" title to uglify your GUI. Dream it then Rev it! Xavier -- http://MonsieurX.com Check out the downloads for free RunRev, Metacard, and also HyperCard goodies a gogo to download! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dan Shafer > Sent: Friday, February 11, 2005 19:04 > To: How to use Revolution > Subject: Re: "How to" stacks on revOnLine > > Eric... > Thanks. The resize card How To was helpful. I'm using it in > three applications already! > > Dan > > On Feb 10, 2005, at 8:07 AM, ?ric Chatonet wrote: > > > > I put on revOnLine 3 stacks that begin a collection of "How > to" stacks: > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Feb 12 01:19:31 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 12 Feb 2005 07:19:31 +0100 Subject: Comment on editing front scripts In-Reply-To: <3a82c68ea3355c50a07326f55e736e99@canelasoftware.com> Message-ID: <20050212062633.E8B0893006E@mail.runrev.com> Mark, You can add your votes to bugzillas 2347, 2344, 2320, 2351, 1638, etc... I've entered quite a few bugzillas concerning debugging, script editor and associated stacks... There was a big improvement in 2.5 but there still lots of issues including ugly visuals in the script editor menu bar! A little searching in bugzilla will give you a list of voting targets... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Talluto > Sent: Friday, February 11, 2005 20:33 > To: How to use Revolution > Subject: Re: Comment on editing front scripts > > > On Feb 11, 2005, at 11:25 AM, Richard Gaskin wrote: > > > Mark Talluto wrote: > >> On Feb 11, 2005, at 10:52 AM, Richard Gaskin wrote: > >>> This reminds me of an annoyance: as noted in the docs somewhere, > >>> sometimes script errors in frontscripts or backscripts are not > >>> reported properly as such, instead pointing to the non-inserted > >>> script that called it. > >>> > >>> Why is that, and how hard would it be to fix? > >> > >> Ahhh...Now if we could have reliable script errors in > every instance, > >> life would be much easier. I noticed this problem as > well. I did a > >> dance of beeps, put [insert variable here], exit [insert handler > >> here], and wait 2 seconds to figure out where true problems arose. > > > > It may not be much of a bulet-point, but for myself I'd > prefer to see > > an overhaul of error handling above any other feature currently in > > queue. > > I have 5 votes waiting to add to that if you'll point me to > the request. > > > Mark Talluto > -- > CANELA Software > http://www.canelasoftware.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 Sat Feb 12 01:29:43 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 12 Feb 2005 07:29:43 +0100 Subject: Split, combine ok but where's extract? In-Reply-To: <19034176673.20050211175358@ahsoftware.net> Message-ID: <20050212063645.3E85693010B@mail.runrev.com> Mark, I did say I already wrote a function to extract these but is there no split combination that does this without a slow loop? Here's the two functions I used function MergeColumns local xp,y,linecount,z,c put the paramcount into xp put empty into y put empty into linecount repeat with x = 1 to xp get param(x) get the number of lines in it put it & comma after linecount end repeat delete last char of linecount put max(linecount) into linecount repeat with x = 1 to linecount repeat with y = 1 to xp put line x of param(y) into z put z & comma after line x of c end repeat delete last char of c end repeat return c end MergeColumns function ExtractItems tabl,column,adelimiter if adelimiter is not empty then set the itemdelimiter to adelimiter end if local a put "" into a local x=1 repeat for each line L in tabl put (item column of l) into line x of a add 1 to x end repeat return a end ExtractItems Of which the MergeColumn could use lots of optimizing ;) But they're slow functions compared to split or combine. If you extract the keys from a double array the problem remains in the case of a second key name like array[a,b] where, for example, the b keys have to be extracted. That's why I was wondering if there was a faster function... Cheers Xavier -- http://MonsieurX.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: Saturday, February 12, 2005 02:54 > To: 'How to use Revolution' > Subject: Re: Split, combine ok but where's extract? > > MisterX- > > Friday, February 11, 2005, 9:07:06 AM, you wrote: > > M> Just wondering if there is a simple way to extract the list of the > M> second key of an array > > repeat for each line theItem in the keys of array > put item 2 of array[theItem] after field "myField" > end repeat > > -- same obviously for item 1 > > -- > -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 ambassador at fourthworld.com Sat Feb 12 01:35:47 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Feb 2005 22:35:47 -0800 Subject: Comment on editing front scripts In-Reply-To: <20050212062633.E8B0893006E@mail.runrev.com> References: <20050212062633.E8B0893006E@mail.runrev.com> Message-ID: <420DA3C3.3030508@fourthworld.com> MisterX wrote: >>>>On Feb 11, 2005, at 10:52 AM, Richard Gaskin wrote: >>>> >>>>> This reminds me of an annoyance: as noted in the docs somewhere, >>>>> sometimes script errors in frontscripts or backscripts are not >>>>> reported properly as such, instead pointing to the non-inserted >>>>> script that called it. >>>>> >>>>> Why is that, and how hard would it be to fix? >>>> >>>> Ahhh...Now if we could have reliable script errors in >>>> every instance, life would be much easier. >>> >>> It may not be much of a bullet-point, but for myself I'd >>> prefer to see an overhaul of error handling above any >>> other feature currently in queue. >> >> I have 5 votes waiting to add to that if you'll point me >> to the request. > > You can add your votes to bugzillas 2347, 2344, 2320, 2351, 1638, > etc... Those cosmetic issues would be helpful, but I was thinking less about the UI than what's going on under the hood with the engine. I don't mind taking an evening to make my own error dialog (I have to anyway to get something suitable for including with my app), and if the error handling was revamped it would only be a few lines anyway. But getting to a simple, robust, and thorough reporting mechanism may be a bit of engine work. I've posted a message to the improve-rev list to see if we can get a spec together to propose.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From johnrule at rcsprogramming.com Sat Feb 12 01:34:38 2005 From: johnrule at rcsprogramming.com (John Rule) Date: Fri, 11 Feb 2005 22:34:38 -0800 Subject: sockets and Windows behavior In-Reply-To: <20050212062650.105DA9300FF@mail.runrev.com> Message-ID: <200502120037359.SM01404@minipcxp> Thank you for the detailed responses everyone! To make my task even more difficult, I was trying to do a UDP broadcast, and accept a variable number of responses (unspecified number of devices). What became confusing was 'when' to parse the data parameter and when to use the 'with function' call. It was even further complicated by when the devices responded (when the socket is opened, or when the 'poll' is sent). It turned out to be a combination of several things...loads of fun. JR From b.xavier at internet.lu Sat Feb 12 02:41:08 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 12 Feb 2005 08:41:08 +0100 Subject: Comment on editing front scripts In-Reply-To: <420DA3C3.3030508@fourthworld.com> Message-ID: <20050212074809.7539C93006E@mail.runrev.com> we do have to look at the scope we need. Debugging, variables, script editor, error display (and relevance to error or compilation problems), etc... And there is the hierarchy of problems when a function calls one which has a mistake as you pointed out before (an old problem!)... Part of this problem is the lack of threading in the engine imoho. Different threads that dont interfere or block the others would be quite helpful! It would require a few "trys" and catches more but it would solidify things further. HyperCard has a separate code running to do debugging and script editing and surely that helped a lot more than having an all in one script environment that does the IDE operations and debugging at the same time. As I've said before the IDE interferes a lot, and the issue comes back again and again in one form or the other... If it helps, here's some rules and logic operation schemes from XOS: For one, I keep track of who locks and unlocks what and in what order (FIFO style). If one operations blocks the other, there's either a debug breakpoint with data report (customizable report of who did what when with what data) or there is an overrule of a lock (uninplemented yet). One intersting adventure I had is this: You know the errordisplay is GM broken each time an error occurs (where's that revOnline update i wonder). But the RevVariableWatcher uses a resizestack handler. I tried to improve the RVW because of it's totally annoying resizing inneficient design and adding Rev's GM features was total chaos in the engine! I had to restore an virgin copy of the RVW to continue! ;) So, separation of tasks via threading (for non-data-returning handlers) would be cool and a solution to Rev's error-handling erratic display... As soon as my mom leaves, I'll start working on the GM for XOS now that the XOS Language engine is near finished. It's hard to develop an IDE, that's for sure! But all together it's that much easier! Cheers 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, February 12, 2005 07:36 > To: How to use Revolution > Subject: Re: Comment on editing front scripts > > MisterX wrote: > > >>>>On Feb 11, 2005, at 10:52 AM, Richard Gaskin wrote: > >>>> > >>>>> This reminds me of an annoyance: as noted in the docs > somewhere, >>>>> sometimes script errors in frontscripts or > backscripts are not >>>>> reported properly as such, instead > pointing to the non-inserted >>>>> script that called it. > >>>>> > >>>>> Why is that, and how hard would it be to fix? > >>>> > >>>> Ahhh...Now if we could have reliable script errors in > >>>> every instance, life would be much easier. > >>> > >>> It may not be much of a bullet-point, but for myself I'd > >>> prefer to see an overhaul of error handling above any > >>> other feature currently in queue. > >> > >> I have 5 votes waiting to add to that if you'll point me > >> to the request. > > > > You can add your votes to bugzillas 2347, 2344, 2320, > 2351, 1638, > etc... > > Those cosmetic issues would be helpful, but I was thinking > less about the UI than what's going on under the hood with the engine. > > I don't mind taking an evening to make my own error dialog (I > have to anyway to get something suitable for including with > my app), and if the error handling was revamped it would only > be a few lines anyway. > > But getting to a simple, robust, and thorough reporting > mechanism may be a bit of engine work. > > I've posted a message to the improve-rev list to see if we > can get a spec together to propose.... > > -- > 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 lists at paris-saigon.com Sat Feb 12 06:18:33 2005 From: lists at paris-saigon.com (Steve Paris) Date: Sat, 12 Feb 2005 18:18:33 +0700 Subject: ODBC database access Message-ID: <420DE609.7030700@paris-saigon.com> I have been tinkering with Revolution and lurking on this list for some time. The willingness of many on this list to help both new Rev users, and suggest solutions to more complex issues encounted by more experienced Rev users, is truly impressive. I did quite a bit of work in Supercard a few years ago, and using Transcript has the same "enjoyable way to program" factor that I loved about Supercard. Now I am working on a more substantial database client, and going through the learning curve for revDB. I have struck a problem that I haven't been able to resolve, but maybe someone with much more experience than me on this list has seen this before: The client accesses an Access database via ODBC. ( I know, I know. It will be ported to something more powerful db later, but at this point I need to use Access). I have used the softwaredbdemo as a starting point. I can make the connection OK, but even the simplest select statement returns an error. For example, if I use this statement to create the sql: put "SELECT * " & cr & \ "FROM Students " & cr & \ "WHERE Students.StudentID = " & quote & studentID & quote into tSQL and execute the query, I get this error: [Microsoft][ODBC Microsoft Access Driver]Too few parameters. Expected 1. The Microsoft site says this occurs if a field name is incorrect. But I have checked and double checked, used a list of fields as opposed to the *, copied the SQL out of Access directly, tried different punctuation... but get the same error. I must be missing something fundamental. Any pointers toward a resolution would be greatly appreciated. Steve From alex at tweedly.net Sat Feb 12 06:52:02 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 12 Feb 2005 11:52:02 +0000 Subject: Split, combine ok but where's extract? In-Reply-To: <20050212063645.3E85693010B@mail.runrev.com> References: <20050212063645.3E85693010B@mail.runrev.com> Message-ID: <420DEDE2.5060605@tweedly.net> MisterX wrote: >Mark, > >I did say I already wrote a function to extract these >but is there no split combination that does this without >a slow loop? > >Here's the two functions I used > > function MergeColumns >end MergeColumns > I'm still trying to understand just what that one does (in all cases) so I'll start with the simpler one. >function ExtractItems tabl,column,adelimiter > if adelimiter is not empty then > set the itemdelimiter to adelimiter > end if > > local a > put "" into a > local x=1 > repeat for each line L in tabl > put (item column of l) into line x of a > add 1 to x > end repeat > return a >end ExtractItems > > x is used only to count the number of lines,and changed only when a new line is added the end - so just use "put after" function ExtractItems tabl,column,adelimiter local a if adelimiter is not empty then set the itemdelimiter to adelimiter end if repeat for each line L in tabl put (item column of L) & cr after a end repeat delete the last char of a return a end ExtractItems >Of which the MergeColumn could use lots of optimizing ;) >But they're slow functions compared to split or combine. > > I can't see a way to use split/combine (except for the special case of first col). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From alex at tweedly.net Sat Feb 12 07:16:44 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 12 Feb 2005 12:16:44 +0000 Subject: Split, combine ok but where's extract? In-Reply-To: <20050212063645.3E85693010B@mail.runrev.com> References: <20050212063645.3E85693010B@mail.runrev.com> Message-ID: <420DF3AC.8050200@tweedly.net> MisterX wrote: I can't see any radically different approach - but you can certainly optimize the details > function MergeColumns > local xp,y,linecount,z,c > put the paramcount into xp > > put empty into y > put empty into linecount > repeat with x = 1 to xp > put the number of lines in param(x) & comma after linecount > end repeat > delete last char of linecount > put max(linecount) into linecount > > Then either > repeat with x = 1 to linecount > repeat with y = 1 to xp > put line x of param(y) & comma after line x of c > end repeat > delete last char of c > end repeat > > or (probably better) > repeat with x = 1 to linecount > repeat with y = 1 to xp > put line x of param(y) comma after c > end repeat > delete last char of c > put cr after c > end repeat > > It would be worth experimenting with turning the loop inside out repeat with x = 1 to xp put param(x) into theLine repeat with y = 1 to linecount put line y of theLine & comma after line y of c end repeat end repeat repeat with y = 1 to linecount delete the last char of line y of c end repeat but I don't think that will be faster. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From ambassador at fourthworld.com Sat Feb 12 07:36:19 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 12 Feb 2005 04:36:19 -0800 Subject: Split, combine ok but where's extract? In-Reply-To: <420DF3AC.8050200@tweedly.net> References: <20050212063645.3E85693010B@mail.runrev.com> <420DF3AC.8050200@tweedly.net> Message-ID: <420DF843.6030200@fourthworld.com> Alex Tweedly wrote: > MisterX wrote: > or (probably better) > >> repeat with x = 1 to linecount >> repeat with y = 1 to xp >> put line x of param(y) comma after c >> end repeat >> delete last char of c >> put cr after c >> end repeat > > It would be worth experimenting with turning the loop inside out > > repeat with x = 1 to xp > put param(x) into theLine > repeat with y = 1 to linecount > put line y of theLine & comma after line y of c > end repeat > end repeat > repeat with y = 1 to linecount > delete the last char of line y of c > end repeat > > but I don't think that will be faster. Darn, Alex, I got so used to being amazed with your nifty use of arrays I was betting on you coming up with a one-liner for this. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From janschenkel at yahoo.com Sat Feb 12 07:50:15 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 12 Feb 2005 04:50:15 -0800 (PST) Subject: ODBC database access In-Reply-To: <420DE609.7030700@paris-saigon.com> Message-ID: <20050212125015.41575.qmail@web60508.mail.yahoo.com> --- Steve Paris wrote: > I have been tinkering with Revolution and lurking on > this list for some > time. The willingness of many on this list to help > both new Rev users, > and suggest solutions to more complex issues > encounted by more > experienced Rev users, is truly impressive. I did > quite a bit of work > in Supercard a few years ago, and using Transcript > has the same > "enjoyable way to program" factor that I loved > about Supercard. Now I > am working on a more substantial database client, > and going through the > learning curve for revDB. I have struck a problem > that I haven't been > able to resolve, but maybe someone with much more > experience than me on > this list has seen this before: > > The client accesses an Access database via ODBC. ( I > know, I know. It > will be ported to something more powerful db later, > but at this point I > need to use Access). I have used the softwaredbdemo > as a starting point. > I can make the connection OK, but even the simplest > select statement > returns an error. For example, if I use this > statement to create the sql: > put "SELECT * " & cr & \ > "FROM Students " & cr & \ > "WHERE Students.StudentID = " & quote & > studentID & quote into tSQL > > and execute the query, I get this error: > [Microsoft][ODBC Microsoft Access Driver]Too few > parameters. Expected 1. > > The Microsoft site says this occurs if a field name > is incorrect. But I > have checked and double checked, used a list of > fields as opposed to the > *, copied the SQL out of Access directly, tried > different punctuation... > but get the same error. > > I must be missing something fundamental. Any > pointers toward a > resolution would be greatly appreciated. > > Steve > Hi Steve, Welcome to Revolution -- you'll find it a great tool for interfacing with databases, even if it has a bit of a learning curve when you're used to doing this 'the hypercard way' with backgrounds and cards. Try using single quotes for the strings in your SQL-suery, as in the following snippet : -- put "SELECT * " & cr & \ "FROM Students " & cr & \ "WHERE Students.StudentID = '" & \ studentID & "'" into tSQL -- Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com From lists at paris-saigon.com Sat Feb 12 08:06:22 2005 From: lists at paris-saigon.com (Steve Paris) Date: Sat, 12 Feb 2005 20:06:22 +0700 Subject: ODBC database access In-Reply-To: <20050212125015.41575.qmail@web60508.mail.yahoo.com> References: <20050212125015.41575.qmail@web60508.mail.yahoo.com> Message-ID: <420DFF4E.80002@paris-saigon.com> Thanks Jan. It works! Jan Schenkel wrote: > >Hi Steve, > >Welcome to Revolution -- you'll find it a great tool >for interfacing with databases, even if it has a bit >of a learning curve when you're used to doing this >'the hypercard way' with backgrounds and cards. > >Try using single quotes for the strings in your >SQL-suery, as in the following snippet : >-- >put "SELECT * " & cr & \ > "FROM Students " & cr & \ > "WHERE Students.StudentID = '" & \ > studentID & "'" into tSQL >-- > >Hope this helped, > >Jan Schenkel. > >===== >Quartam - Tools for Revolution > > >===== >"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > >__________________________________ >Do you Yahoo!? >Meet the all-new My Yahoo! - Try it today! >http://my.yahoo.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > From rev at armbase.com Sat Feb 12 10:28:29 2005 From: rev at armbase.com (Bob Hartley) Date: Sat, 12 Feb 2005 15:28:29 +0000 Subject: copy field to stack of unknown name Message-ID: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> Hi All. I have a wee database designer app for my students "Armbase Database Designer". I would like to copy a field from my master database to the new database. The new database is named by the student so I don't know the name. Therefor I cant use on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack "MyDatabase.abd" end mouseUp I thought of putting the file name of the stack into a variable tStackName and using the command on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack "tStackName" end mouseUp Any ideas? All the best Bob; Sunny Scotland -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From klaus at major-k.de Sat Feb 12 10:31:31 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 12 Feb 2005 16:31:31 +0100 Subject: copy field to stack of unknown name In-Reply-To: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> Message-ID: Hi Bob, > Hi All. > > I have a wee database designer app for my students "Armbase Database > Designer". I would like to copy a field from my master database to the > new database. The new database is named by the student so I don't know > the name. > > Therefor I cant use > on mouseUp > copy field "TextField" of stack "Armbase Database Designer" to card > 1 of stack "MyDatabase.abd" > end mouseUp > > I thought of putting the file name of the stack into a variable > tStackName and using the command > on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack tStackName ## leave the quotes and that should work fine :-) > end mouseUp > > Any ideas? A variable will do. > All the best > Bob; Sunny Scotland Regards Klaus Major klaus at major-k.de http://www.major-k.de From johnrule at rcsprogramming.com Sat Feb 12 10:36:49 2005 From: johnrule at rcsprogramming.com (John Rule) Date: Sat, 12 Feb 2005 07:36:49 -0800 Subject: sockets and Windows behavior Message-ID: <200502120938312.SM01396@minipcxp> Maybe the problem is in doing broadcast messages in general on Windows (this same code works fine on OSX...Linux is another issue altogether). It doesn't work consistently (I do not always get the callback to my 'with' message, the average is 6 out of 10). Using a 'sniffer', I am ALWAYS getting my response from the devices. It seems like it is just that the messages are not always finding their way back to my callback handler (in Windows XP). Is this a problem, or is there a better way? Thank you, John Rule -----Original Message----- From: John Rule [mailto:johnrule at rcsprogramming.com] Sent: Friday, February 11, 2005 10:35 PM To: 'use-revolution at lists.runrev.com' Subject: Re: sockets and Windows behavior Thank you for the detailed responses everyone! To make my task even more difficult, I was trying to do a UDP broadcast, and accept a variable number of responses (unspecified number of devices). What became confusing was 'when' to parse the data parameter and when to use the 'with function' call. It was even further complicated by when the devices responded (when the socket is opened, or when the 'poll' is sent). It turned out to be a combination of several things...loads of fun. JR From rev at armbase.com Sat Feb 12 11:09:05 2005 From: rev at armbase.com (Bob Hartley) Date: Sat, 12 Feb 2005 16:09:05 +0000 Subject: copy field to stack of unknown name In-Reply-To: References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> Message-ID: <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> At 15:31 12/02/2005, you wrote: >Hi Bob, Hi Klaus No luck with this. I used the method of Richard Gaskin's employee database to ask the user for a filename before starting. I had this working the old fashioned way but I think the pre-save is more elegant. Anyway I used this for them to make a new file..... on doFileNew ask file "Name new database file:" with "MyDatabase.abd" if it is empty then exit to top put it into tFileName if char -4 to -1 of tFileName is not ".abd" then put ".abd" after tFileName set the itemDelimiter to "/" put last item of tFileName into tStackName set the visible of stack "Master Database" to false clone stack "Master database" Err the result set the name of stack it to tStackName set the title of stack tStackName to (char 1 to -5 of tStackName) --set the minWidth of stack tStackName to 500 --set the minHeight of stack tStackName to 250 set the fileName of stack tStackName to tFileName -- "tFileName" is the full pathname of the file the user named earlier. Err the result set the visible of stack "Master Database" to true put the stackFileType into tSaveStackFileType set the stackFileType to "RevoABD_" save stack tStackName Err the result set the stackFileType to tSaveStackFileType show stack tStackName toplevel stack tStackName end doFileNew Now when I use a buton with the script on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack tFileName --or use tStackName end mouseUp then there is an error executing at 4:01:57 PM Type Chunk: can't find stack Object Add Field Line copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack tFileName Hint button id 1052 of card id 1002 of stack "Armbase Database Designer" If I use tStackName I get the same executing at 4:03:54 PM Type Chunk: can't find stack Object Add Field Line copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack tStackName Hint button id 1052 of card id 1002 of stack "Armbase Database Designer" But if I use on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack "MyDatabase.abd" end mouseUp It works, however I don't know if the target stack is always going to be MyDatabase.abd If I use tStackName.abd I get the same error Any help would be great Cheers Bob; Sunny Scotland -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From p2m at mac.com Sat Feb 12 12:07:43 2005 From: p2m at mac.com (P2M) Date: Sat, 12 Feb 2005 18:07:43 +0100 Subject: How to build nice repport with Revolution Message-ID: Hi, I'm a new user of Revolution and it's a real pleasure to work with this soft. I was also an old user of Hypercard since version 1.0 to the last one. Revolution is nice, but I don't find ? easy way to create nice repport. Of course, for printing a text or a list I use revPrintField, but I want to create some repports more complex. Just for an exemple, if I want to print address labels using a MySQL database and let the user choose his personnal size of labels. How can I do that ? I think that the repport builder doesn't more exist. I remember the create repport from Hypercard, it was so nice and easy. My software will be used by different countries, so I have to let the choice of the paper size US Letter and A4 for exemple. How I do that with Revolution ? Thank you for your help Philippe (Paris, France) From dvk at dvkconsult.com.au Sat Feb 12 18:08:48 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun, 13 Feb 2005 10:08:48 +1100 Subject: Split, combine ok but where's extract? In-Reply-To: <20050212170025.DD6D59300F1@mail.runrev.com> References: <20050212170025.DD6D59300F1@mail.runrev.com> Message-ID: <4d00d4bf562e4aae4301ac8b1247edce@dvkconsult.com.au> On 13/02/2005, at 4:00, MisterX" wrote: Xavier I have not searched back to your original request, but if I understand it correctly then you wish to be able to de-merge columns from an array, and that these columns may be of the data or of the keys. Let us assume you have an array where an element is defined by: put "n1,n2" into myArray[a,b] Here, you can extract anything from the keys or the element using split and combine. For example, this code places all four columns in separate variables v1-v4 (untested) put the keys of myArray into tKeys split tKeys with return and comma put the keys of tKeys into v1 combine tKeys -- discards the keys put tKeys into v2 combine myArray -- discards the keys split myArray with return and comma put the keys of myArray into v3 combine myArray put myArray into v4 Now, v1=a, v2=b, v3=n1, v4=n2 (or close enough if I made a coding error) I have a column merge function somewhere. I will look it up to see if it is any improvement over what you have. regards David From dvk at dvkconsult.com.au Sat Feb 12 18:43:53 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun, 13 Feb 2005 10:43:53 +1100 Subject: Split, combine ok but where's extract? Message-ID: Xavier This is the merge part Assume you have the following two variables: v1 contains "a" v2 contains "b" split v2 with return put 1 into i repeat for each line x in v1 put v2[i] into myArray[x] end repeat combine myArray with return and comma myArray is now a list whose first line is "a,b" This code avoids any "repeat with i = 1 to n" loops and is thus fairly linear in time taken with longer lists. Incidentally, I left "with return" off a couple of lines in the previous extract code. I have not done any speed tests. Hope this is relevant. regards David From dvk at dvkconsult.com.au Sat Feb 12 18:46:20 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun, 13 Feb 2005 10:46:20 +1100 Subject: Split, combine ok but where's extract? In-Reply-To: References: Message-ID: <7554a3e1a830351c1c07d52242269618@dvkconsult.com.au> Moron me! Doing some edits from my test script I omitted the line "add 1 to i" just before " end repeat" On 13/02/2005, at 10:43, David Vaughan wrote: > Xavier > > This is the merge part > Assume you have the following two variables: > v1 contains "a" > v2 contains "b" > > split v2 with return > put 1 into i > repeat for each line x in v1 > put v2[i] into myArray[x] > end repeat > combine myArray with return and comma > > myArray is now a list whose first line is "a,b" > > This code avoids any "repeat with i = 1 to n" loops and is thus fairly > linear in time taken with longer lists. > > Incidentally, I left "with return" off a couple of lines in the > previous extract code. > > I have not done any speed tests. > > Hope this is relevant. > > regards > David From b.xavier at internet.lu Sat Feb 12 19:29:06 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 13 Feb 2005 01:29:06 +0100 Subject: Split, combine ok but where's extract? In-Reply-To: <7554a3e1a830351c1c07d52242269618@dvkconsult.com.au> Message-ID: <20050213003605.8ED8B9300D8@mail.runrev.com> Just sweet! I'll test it monday (or before) on my 2k lines tables ;) Surely will be shocking and you'll be famous! Gza > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > David Vaughan > Sent: Sunday, February 13, 2005 00:46 > To: use-revolution at lists.runrev.com > Subject: Re: Split, combine ok but where's extract? > > Moron me! Doing some edits from my test script I omitted the line "add > 1 to i" just before " end repeat" > > On 13/02/2005, at 10:43, David Vaughan wrote: > > > Xavier > > > > This is the merge part > > Assume you have the following two variables: > > v1 contains "a" > > v2 contains "b" > > > > split v2 with return > > put 1 into i > > repeat for each line x in v1 > > put v2[i] into myArray[x] > > end repeat > > combine myArray with return and comma > > > > myArray is now a list whose first line is "a,b" > > > > This code avoids any "repeat with i = 1 to n" loops and is > thus fairly > > linear in time taken with longer lists. > > > > Incidentally, I left "with return" off a couple of lines in the > > previous extract code. > > > > I have not done any speed tests. > > > > Hope this is relevant. > > > > regards > > David > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Sat Feb 12 19:25:01 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 13 Feb 2005 00:25:01 +0000 Subject: Split, combine ok but where's extract? In-Reply-To: <4d00d4bf562e4aae4301ac8b1247edce@dvkconsult.com.au> References: <20050212170025.DD6D59300F1@mail.runrev.com> <4d00d4bf562e4aae4301ac8b1247edce@dvkconsult.com.au> Message-ID: <420E9E5D.5020007@tweedly.net> David Vaughan wrote: > > On 13/02/2005, at 4:00, MisterX" wrote: > > Xavier > > I have not searched back to your original request, but if I understand > it correctly then you wish to be able to de-merge columns from an > array, and that these columns may be of the data or of the keys. Let > us assume you have an array where an element is defined by: > put "n1,n2" into myArray[a,b] > > Here, you can extract anything from the keys or the element using > split and combine. For example, this code places all four columns in > separate variables v1-v4 (untested) > > put the keys of myArray into tKeys > split tKeys with return and comma > put the keys of tKeys into v1 > combine tKeys -- discards the keys > put tKeys into v2 > > combine myArray -- discards the keys > split myArray with return and comma > put the keys of myArray into v3 > combine myArray > put myArray into v4 > > Now, v1=a, v2=b, v3=n1, v4=n2 > (or close enough if I made a coding error) > > I have a column merge function somewhere. I will look it up to see if > it is any improvement over what you have. David, I may have missed something in the original problem description, but I think there's a problem with this scheme. If you take the case of put "1,2" into myArray[a,b] put "1,3" into myarray[c,d] I believe what Xavier wants (at least, what his posted code gives - though it used a simple table not keys) is v1 = a,c v2 = b,d v3 = 1,1 v4 = 2,3 Note particularly v3 - using the various "repeat" forms, it has each item from the column. split/combine will remove duplicates - and hence give v1 = a,c v2 = b,d v3 = 1 v4 = 2,3 There's a similar problem with the merge code - repeated values in a column cause loss of data. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From alex at tweedly.net Sat Feb 12 19:36:26 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 13 Feb 2005 00:36:26 +0000 Subject: Split, combine ok but where's extract? In-Reply-To: <420E9E5D.5020007@tweedly.net> References: <20050212170025.DD6D59300F1@mail.runrev.com> <4d00d4bf562e4aae4301ac8b1247edce@dvkconsult.com.au> <420E9E5D.5020007@tweedly.net> Message-ID: <420EA10A.1050302@tweedly.net> Alex Tweedly wrote: And now corrects himself ...) > David Vaughan wrote: > > David, > I may have missed something in the original problem description, but I > think there's a problem with this scheme. > > If you take the case of > put "1,2" into myArray[a,b] > put "1,3" into myarray[c,d] > > I believe what Xavier wants (at least, what his posted code gives - > though it used a simple table not keys) is > v1 = a,c > v2 = b,d > v3 = 1,1 > v4 = 2,3 > > Note particularly v3 - using the various "repeat" forms, it has each > item from the column. > > split/combine will remove duplicates - and hence give > v1 = a,c > v2 = b,d > v3 = 1 > v4 = 2,3 Nope. It will actually give v1 = a,c v2 = b,d v3 = 1 v4 = 3 **** the other value got lost in the split immediately before the assignment to v3; I don't know if it's theoretically guaranteed which of the values it will give, but in practice, with few entries, it will give the latter one. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From erikhans08 at yahoo.com Sat Feb 12 19:47:34 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 12 Feb 2005 16:47:34 -0800 (PST) Subject: Chipp's project thoughts: store icons on a card or inan unapplied group? In-Reply-To: <4204453D.2020602@chipp.com> Message-ID: <20050213004734.18852.qmail@web61204.mail.yahoo.com> --- Chipp Walters wrote: > Here are some thoughts regarding > starting a Rev project: > the second card is used to store > icons and graphics and other parts > and is never seen. moving to Rev from HC, my dancer icons wound up in a group which i only found by way of the menu. is there an advantage to icons being on a card as opposed to floating around somewhere in RevSpace? Thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From erikhans08 at yahoo.com Sat Feb 12 19:50:08 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 12 Feb 2005 16:50:08 -0800 (PST) Subject: does a group weigh 30K? In-Reply-To: Message-ID: <20050213005008.17424.qmail@web61205.mail.yahoo.com> does a group weigh 30K? i did check the docs... thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From ambassador at fourthworld.com Sat Feb 12 20:06:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 12 Feb 2005 17:06:43 -0800 Subject: does a group weigh 30K? In-Reply-To: <20050213005008.17424.qmail@web61205.mail.yahoo.com> References: <20050213005008.17424.qmail@web61205.mail.yahoo.com> Message-ID: <420EA823.1030104@fourthworld.com> Erik Hansen wrote: > does a group weigh 30K? > i did check the docs... I'm not sure if object sizes are listed there, but I made two stacks and got these in the Finder's "Get Info": New stack with no objects: 363 bytes New stack with empty group: 394 byes So this difference is about 30, but just bytes instead of kilobytes. :) -- 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 jacque at hyperactivesw.com Sat Feb 12 21:00:15 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Feb 2005 20:00:15 -0600 Subject: does a group weigh 30K? In-Reply-To: <20050213005008.17424.qmail@web61205.mail.yahoo.com> References: <20050213005008.17424.qmail@web61205.mail.yahoo.com> Message-ID: <420EB4AF.8070601@hyperactivesw.com> On 2/12/05 6:50 PM, Erik Hansen wrote: > does a group weigh 30K? It depends on what's in it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From erikhans08 at yahoo.com Sat Feb 12 22:13:12 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 12 Feb 2005 19:13:12 -0800 (PST) Subject: does a group weigh 30K? In-Reply-To: <420EA823.1030104@fourthworld.com> Message-ID: <20050213031312.55965.qmail@web61203.mail.yahoo.com> > New stack with no objects: 363 bytes > > New stack with empty group: 394 byes > > So this difference is about 30, but just bytes > instead of kilobytes. :) > > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: > Publish any database on any Web site classic Gaskin response Jacqueline Landman Gay jacque at hyperactivesw.com HyperActive Software http://www.hyperactivesw.com > It depends on what's in it. Zen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From dsc at swcp.com Sat Feb 12 23:51:24 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 12 Feb 2005 21:51:24 -0700 Subject: sockets and Windows behavior In-Reply-To: <200502120938312.SM01396@minipcxp> References: <200502120938312.SM01396@minipcxp> Message-ID: On Feb 12, 2005, at 8:36 AM, John Rule wrote: > Maybe the problem is in doing broadcast messages in general on > Windows > (this same code works fine on OSX...Linux is another issue > altogether). It > doesn't work consistently (I do not always get the callback to my > 'with' > message, the average is 6 out of 10). > > Using a 'sniffer', I am ALWAYS getting my response from the devices. > It > seems like it is just that the messages are not always finding their > way > back to my callback handler (in Windows XP). > > Is this a problem, or is there a better way? If the devices are responding to the ip address and port that sent the query, then this might be your problem: The doc is lacking on using UDP. The callback for 'open datagram socket' is not for open. (It would be sent immediately, if it was.) It is for read. Scott Raney says to use that instead of read. If the devices are not responding to the port that sent the broadcast, but to some specific port then I guess the above does not apply; you would be using accept. If the messages are very large or a very large number comes in at once, then Windows will lose some. There are some system parameters that can be tweeked, but I forgot what they are. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From 36degrees at runrev.com Sun Feb 13 08:57:24 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sun, 13 Feb 2005 13:57:24 +0000 Subject: Comment on editing front scripts In-Reply-To: <420CFED3.5010002@fourthworld.com> References: <20050211180021.1ABD59300AE@mail.runrev.com> <67aaf6b4fe41567bc33fabbc81d193e7@canelasoftware.com> <420CFED3.5010002@fourthworld.com> Message-ID: <1108303044.2126.49.camel@rachmaninov.runtime> > This reminds me of an annoyance: as noted in the docs somewhere, > sometimes script errors in frontscripts or backscripts are not reported > properly as such, instead pointing to the non-inserted script that > called it. > > Why is that, and how hard would it be to fix? > > Mark W? Me? Where? I think you must be thinking of someone else... ;o) Having taken a quick look at this, as far as I can see the engine is reporting this correctly - i.e. if you put a try/catch handler around some offending lines, then the resulting error string is what you would expect. Therefore, I'd guess any problem in this area would lie with the parsing of the reported error string. (I'm not ruling out there couldn't be a glitch or two in the engine's report, but my brief tests seem to suggest that it is most likely IDE related). Indeed, it seems that this problem appears only when Script Debug Mode is off - therefore this suggests it is revErrorDisplay's interpretation of the error string that is at fault. (The reason it's okay in Script Debug Mode is because the engine sends a 'traceError' message instead, and this includes the context as a parameter). Anyway, shouldn't be too hard to fix... Warmest Regards, Mark. ----------------------------------------------------------------- Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From b.xavier at internet.lu Sun Feb 13 11:42:18 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 13 Feb 2005 17:42:18 +0100 Subject: Comment on editing front scripts In-Reply-To: <1108303044.2126.49.camel@rachmaninov.runtime> Message-ID: <20050213164919.0EF6C9300AD@mail.runrev.com> Hi gals and guys, Speaking of frontscripts, wouldn't it be cool if you could query variables while debugging via the message box? like put array[x,y] and you get the answer you can't see in the debugger without adding debuging context variables... Just a thought... Worth a bugzilla suggestive entry? cheers Xavier -- MonsieurX.com - Be wild! From vanesch at yahoo.com Sun Feb 13 13:58:16 2005 From: vanesch at yahoo.com (Stephen Van Esch) Date: Sun, 13 Feb 2005 10:58:16 -0800 (PST) Subject: Launch pdf on cd Message-ID: <20050213185817.91370.qmail@web30807.mail.mud.yahoo.com> Folks: I've searched through the archives and haven't found a satisfactory answer. Here's what I'd like to do: When a user clicks a link, I'd like the PDF viewer (Acrobat or Preview) to launch and display a specified pdf located on the CD. Acrobat or Preview is a requirement to run this CD so I don't have to check for the installation and I'd rather not worry about finding out where the app is located on the user's hard drive. I've experimented with revgourl without success. I'm not sure if this is because the link to the pdf has to be relative in this case. Any help would be appreciated. Steve __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From janschenkel at yahoo.com Sun Feb 13 15:36:50 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Feb 2005 12:36:50 -0800 (PST) Subject: How to build nice repport with Revolution In-Reply-To: <78dd83f1e869f484b7c92a4e7ebe229f@netkiri.com> Message-ID: <20050213203651.79982.qmail@web60506.mail.yahoo.com> --- Philippe de Martelaere wrote: > Hi, > > I'm a new user of Revolution and it's a real > pleasure to work with this > soft. > I was also an old user of Hypercard since version > 1.0 to the last one. > > Revolution is nice, but I don't find ? easy way to > create nice repport. > > Of course, for printing a text or a list I use > revPrintField, but I > want to create > some repports more complex. > > Just for an exemple, if I want to print address > labels using a MySQL > database and let the user choose his personnal size > of labels. > How can I do that ? > > I think that the repport builder doesn't more exist. > I remember the > create repport from Hypercard, it was so nice and > easy. > > My software will be used by different countries, so > I have to > let the choice of the paper size US Letter and A4 > for exemple. > How I do that with Revolution ? > > Thank you for your help > > Philippe > Hi Philippe, Welcome to the Revolution -- it won't be televized, but at least we'll have fun while we're at it ;-) As it is, you have three options for reporting : 1) using an external application to handle the formatting 2) using a template stack that you fill up with the rel data and then print 3) waiting a few more weeks for Quartam Reports to make its way out of project into product stage Allow me to elaborate on these options. ==== 1) External applications Wide-spread applications such as Word (or Apple's brand new Pages) allow you to make .RTF files, which are nothing but text files describing the formatting, including tables, headers and footers. When you create the files in the external application, fill them with data 'tags' which you can then replace in a Revolution script : -- replace "<>" with tName in tRTFtext -- When you're done replacing the data, you write the RTF data to a text file, and open it in the external applcation to print it. Advantage : can be done fairly quickly, especially with Word which comes with a slew of predefined label sizes Downside : requires that your end user has a compatible application when it comes to viewing and printing 2) Template stacks You create a stack that is large enough for a single page that you want to print. You place enough fields on it and lay them out so that they match your labels. Then your printing script fills the fields with the data that you want to print : -- put tName into field "Name_1" of stack "LabelsTemplate" -- Once the fields are filled with data, you just use the 'print card' command. If you want to print data that fills more than one page in a single job, look at the 'open printing' and 'close printing' commands. Advantage : no external applications or library needed Downside : tedious to lay-out and script reports 3) Quartam Reports Now as the person working on that project, I'm not very impartial *grin* -- and it may not be the best solution for your particular situation. Nevertheless, I invite you to read more about it : Advantage : aimed at full-blown report printing, it also offers support for labels Downside : isn't available yet. ==== Finally, allow me to point out that there's no need to post your question three times through different email addresses. If someone feels up to replying, you will get your reply ; multiplicity does not speed up the thinking process in this very capable volunteer group, I've noticed ;-) Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From janschenkel at yahoo.com Sun Feb 13 15:41:32 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Feb 2005 12:41:32 -0800 (PST) Subject: Launch pdf on cd In-Reply-To: <20050213185817.91370.qmail@web30807.mail.mud.yahoo.com> Message-ID: <20050213204133.36295.qmail@web60504.mail.yahoo.com> --- Stephen Van Esch wrote: > Folks: > > I've searched through the archives and haven't found > a > satisfactory answer. Here's what I'd like to do: > > When a user clicks a link, I'd like the PDF viewer > (Acrobat or Preview) to launch and display a > specified > pdf located on the CD. > > Acrobat or Preview is a requirement to run this CD > so > I don't have to check for the installation and I'd > rather not worry about finding out where the app is > located on the user's hard drive. > > I've experimented with revgourl without success. I'm > not sure if this is because the link to the pdf has > to > be relative in this case. > > Any help would be appreciated. > > Steve > Hi STeve, If the stack you're launching rom is located on the CD, you can use 'the effective filename' to figure out where exactly it is located, so you can build up the complete file path to the PDF. Other than that, I'd advise using the 'launch' command, or if you're using Windows, you could use the 'shell' function with a start command : -- get shell("start" && tPDFfilepath) -- Or you can buy the wonderful altBrowser external for Revolution, and display the PDF file right in your own application ! Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jrosat at mac.com Sun Feb 13 15:56:02 2005 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 13 Feb 2005 21:56:02 +0100 Subject: Problem with revNumberOfRecords Message-ID: <95e414c19d17cc681b1c1a66d0e8e357@mac.com> Dear all, I use a stack with a MySQL database. To move through the records in a record set I use this script: revMoveToFirstRecord thisCursor repeat for revNumberOfRecords(thisCursor) times -- bla bla revMoveToNextRecord thisCursor end repeat When I use the same stack with a Access 97 database and a ODBC connection and the same number of records, the revNumberOfRecords function return -1. How to resolve this problem ? J?r?me Rosat From roger.kingston at ultrasolve.com Sun Feb 13 16:16:53 2005 From: roger.kingston at ultrasolve.com (Roger Kingston) Date: Sun, 13 Feb 2005 21:16:53 -0000 Subject: RevMail Problem Message-ID: <000001c51211$5939a060$0401a8c0@ULTRASOLVE2> I'm running RR 2.5 under MS Windows XP SP2 and have stumbled across a problem with revMail in a standalone. The mail script I have is in a button on a card in a substack and it works fine in the Development environment and MS Outlook - starting the mail program if it's not running, but just does nothing in the standalone. (No error message). Code is: revMail lvMailTo,lvRecipientList,lvSubject,lvBody The Standalone Application Settings are set to 'search' for required inclusions. Can anyone help please? Roger Kingston From janschenkel at yahoo.com Sun Feb 13 16:54:00 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Feb 2005 13:54:00 -0800 (PST) Subject: Problem with revNumberOfRecords In-Reply-To: <95e414c19d17cc681b1c1a66d0e8e357@mac.com> Message-ID: <20050213215400.7115.qmail@web60505.mail.yahoo.com> --- J?r?me Rosat wrote: > Dear all, > > I use a stack with a MySQL database. To move through > the records in a > record set I use this script: > > revMoveToFirstRecord thisCursor > repeat for revNumberOfRecords(thisCursor) times > -- bla bla > revMoveToNextRecord thisCursor > end repeat > > When I use the same stack with a Access 97 database > and a ODBC > connection and the same number of records, the > revNumberOfRecords > function return -1. > > How to resolve this problem ? > > J?r?me Rosat > Hi J?r?me, This particular problem has been around forever, and is appearently a conflict between Access and the revdb ODBC driver. Your best solution is to use the 'revdb_iseof()' or 'revCurrentRecordIsLast()' functions to determine the end of your loop : -- revMoveToFirstRecord thisCursor repeat forever -- bla bla if revCurrentRecordIsLast() then exit repeat else revMoveNextRecord thisCursor end repeat -- Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From dvk at dvkconsult.com.au Sun Feb 13 17:13:12 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon, 14 Feb 2005 09:13:12 +1100 Subject: Split, combine ok but where's extract? In-Reply-To: <20050213170004.80B9D9300CC@mail.runrev.com> References: <20050213170004.80B9D9300CC@mail.runrev.com> Message-ID: <6d96fa9efcfb5a326b67ffc300b23abd@dvkconsult.com.au> On 14/02/2005, at 4:00, Alex Tweedly wrote: > If you take the case of > put "1,2" into myArray[a,b] > put "1,3" into myarray[c,d] > Nope. It will actually give > v1 = a,c > v2 = b,d > v3 = 1 > v4 = 3 **** the other value got lost in the split immediately > before the assignment to v3; I don't know if it's theoretically > guaranteed which of the values it will give, but in practice, with few > entries, it will give the latter one. > Alex Perhaps I have misunderstood the depth of the problem. I do not appear to have the described difficulty with the example data. Here is code (assume a couple of testing fields, "f1" and "f2") and the results using your actual example data. put "1,2" into myArray[a,b] put "1,3" into myarray[c,d] put the keys of myArray into field "f1" combine myArray with return put myArray into field "f2" splits the keys from the data, preserving all components, while (using data from the fields as created above) put field "f1" into tData -- the a,b \r c,d data put field "f2" into tKeys -- the 1,2 \r 1,3 data split tData with return put 1 into i repeat for each line x in tKeys put tData[i] into myArray[x] add 1 to i end repeat -- and to prove it happened combine myArray with return and "#" put myArray into field "f2" puts them back in an array. The only relevant possibility of duplication appears to be with the keys of the original array, which by definition were not duplicated anyway. I receive the digest so discussions may be slow. regards David > > -- > Alex Tweedly http://www.tweedly.net From jrosat at mac.com Sun Feb 13 17:24:41 2005 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 13 Feb 2005 23:24:41 +0100 Subject: Problem with revNumberOfRecords In-Reply-To: <20050213215400.7115.qmail@web60505.mail.yahoo.com> References: <20050213215400.7115.qmail@web60505.mail.yahoo.com> Message-ID: <69d4a93c4c54f4a71f17847bf8eba887@mac.com> Dear Jan Thank you for your answer, but the solution doesn't work. I send this message I few month ago to say that the 'revCurrentRecordIsLast' and 'revCurrentRecordIsFirst' in Dreamcard (and probably in Revolution) doesn't work (see the following message): Any other solution ? Best regards J?r?me Bonjour Jan, Yes I use MySQL. After creating a recordset, I execute: 'revMoveToFirstRecord' (go to the first record). Results: 'revNumberOfRecords' : 3 'revCurrentRecord' : 0 'revCurrentRecordIsLast' : false 'revCurrentRecordIsFirst' : false ??? Then I execute 'revMoveToNextRecord' (go to the second record). Results: 'result() : true 'revNumberOfRecords' : 3 'revCurrentRecord' : 1 'revCurrentRecordIsLast' : false 'revCurrentRecordIsFirst' : false Then I execute 'revMoveToNextRecord' (go to the third and last record). Results: 'result() : true 'revNumberOfRecords' : 3 'revCurrentRecord' : 2 'revCurrentRecordIsLast' : false ?? 'revCurrentRecordIsFirst' : false Then I execute 'revMoveToNextRecord' (just to see). Results: 'result() : false 'revNumberOfRecords' : 3 'revCurrentRecord' : 2 'revCurrentRecordIsLast' : true 'revCurrentRecordIsFirst' : false I hope it is clear. J?r?me Rosat Le 6 nov. 04, ? 06:25, Jan Schenkel a ?crit : > --- J?r?me Rosat wrote: >> Bonjour tout le monde, >> >> In Dreamcard documentation, for the >> revCurrentRecordIsLast function, >> it's written that "Returns whether the current >> record is the last >> record in a record set (database cursor)." >> >> In my recordset with 3 records, when the cursor is >> on the first record, >> revCurrentRecordIsLast return false. It's Ok for me. >> After moving the cursor with revMoveToNextRecord to >> the second record, >> revCurrentRecordIsLast return false. It's still OK >> for me. >> If I move the cursor to the third and last record, >> revCurrentRecordIsLast still return false. With the >> upper definition, >> the result should be true. The third record is the >> last one. >> But revCurrentRecordIsLast return true only if I use >> >> revMoveToNextRecord once again. In short, >> revCurrentRecordIsLast return >> true when revMoveToNextRecord return an error. And >> it is the same for >> revCurrentRecordIsFirst. >> >> Is it a bug or I'm stupid ? >> >> J?r?me Rosat >> > > Bonjour J?r?me, > > What does the function 'revNumberOfRecords' return for > that result set ? And is this still on MySQL ? > > Jan Schenkel. > > ===== > Join us at the European Revolution Conference > November 14-16, MALTA. ~ http://TechieTours.com/Rev/ > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > __________________________________ > Do you Yahoo!? > Check out the new Yahoo! Front Page. > www.yahoo.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 Le 13 f?vr. 05, ? 22:54, Jan Schenkel a ?crit : > --- J?r?me Rosat wrote: >> Dear all, >> >> I use a stack with a MySQL database. To move through >> the records in a >> record set I use this script: >> >> revMoveToFirstRecord thisCursor >> repeat for revNumberOfRecords(thisCursor) times >> -- bla bla >> revMoveToNextRecord thisCursor >> end repeat >> >> When I use the same stack with a Access 97 database >> and a ODBC >> connection and the same number of records, the >> revNumberOfRecords >> function return -1. >> >> How to resolve this problem ? >> >> J?r?me Rosat >> > > Hi J?r?me, > > This particular problem has been around forever, and > is appearently a conflict between Access and the revdb > ODBC driver. > Your best solution is to use the 'revdb_iseof()' or > 'revCurrentRecordIsLast()' functions to determine the > end of your loop : > -- > revMoveToFirstRecord thisCursor > repeat forever > -- bla bla > if revCurrentRecordIsLast() then exit repeat > else revMoveNextRecord thisCursor > end repeat > -- > > Hope this helped, > > Jan Schenkel. > > ===== > Quartam - Tools for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - Get yours free! > http://my.yahoo.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > J?r?me Rosat 13, chemin des Palettes 1212 Grand-Lancy 022 880 20 70 From dvk at dvkconsult.com.au Sun Feb 13 17:31:58 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon, 14 Feb 2005 09:31:58 +1100 Subject: Split, combine ok but where's extract? In-Reply-To: <6d96fa9efcfb5a326b67ffc300b23abd@dvkconsult.com.au> References: <20050213170004.80B9D9300CC@mail.runrev.com> <6d96fa9efcfb5a326b67ffc300b23abd@dvkconsult.com.au> Message-ID: <4c14017af001c27ab3f2f67cb654eea0@dvkconsult.com.au> Xavier, Alex and all. The principal difficulty with the split/combine code I have suggested for extract/merge is that key order is not preserved in relation to the data when you get the keys. If you wish to re-merge after an extract then you must know what is the correct key order (e.g. a simple sort). Oh, and I also reversed the data and keys in the second code block (first two lines) compared with the extract. Mechanical error. regards David From katir at hindu.org Sun Feb 13 19:13:39 2005 From: katir at hindu.org (Sivakatirswami) Date: Sun, 13 Feb 2005 14:13:39 -1000 Subject: Collaboration on the LAN-NET In-Reply-To: <20050114071202.52106.qmail@web60508.mail.yahoo.com> References: <20050114071202.52106.qmail@web60508.mail.yahoo.com> Message-ID: I just wanted to thank those who responded... I'm looking into these options and when we come up with a distributed collaboration system I'll share it interesting.. this seems to be "hot" these days... our managing editor sent this around today: ===== February 13, 2005 New Tools Making Online Work Easier By THE ASSOCIATED PRESS Filed at 1:17 p.m. ET PALO ALTO, Calif. (AP) -- This scenario is all too familiar to office workers who collaborate electronically on projects: E-mails get passed around with differing versions of documents-in-progress attached. Instant messages whizz by. Web sites are cited, then lost. It's often a jumbled mess, with no central online location for shared data. There must be a better way. A new crop of tools aims to help turn the Web -- be it on the public Internet or a company network -- into much more than a collection of documents one visits like a museum: Look, but don't touch. The idea is to make it easy to quickly post and remove stuff from digital bulletin boards where the online communities of the future will gather to catch up and trade ideas, images and work. ``We're turning the Web into a conversation,'' said Glenn Reid, chief executive and founder of Five Across Inc. Reid's startup and several other companies will offer their visions for accomplishing that on stage at the DEMO conference in Arizona, an annual showcase of tech innovation. [snip] Behind JotSpot is Joe Kraus, a serial entrepreneur who co-founded the early search engine Excite. Kraus became a believer in Wikis after he and fellow co-founder Graham Spencer got fed up with exchanging hundreds of e-mails and attachments and tried using a Wiki instead while working on a business plan. That ultimately led to JotSpot's birth in October, competing against Socialtext and a handful of others in the fledgling market. [snip] At DEMO, Palo Alto-based Five Across is introducing speedy technology that lets bloggers instantaneously update their blog pages with text, photos, audio or video clips, even spreadsheets and presentations, using easy drag-and-drop motions. etc. Sivakatirswami On Jan 13, 2005, at 9:12 PM, Jan Schenkel wrote: > --- Sivakatirswami wrote: >> OK here is a "brainstorm" type post: >> >> [snip] >> >> So first solution I can think of would be to have a >> distributed viewer >> stack that reads the main stack from the server... >> and the captions are >> external text files... with some kind or semaphore, >> locking mechanism >> "caption being edited" which is on if it is in use, >> release when done. >> Maybe external text files are not necessary... if I >> had a permanently >> open and running rev process-stack on the server and >> the viewer stack >> just talked to that and the captions were contained >> inside there. Or >> may be no stack on the server at all which only has >> the photos and >> external caption text files and semaphore flags >> >> I'm just beginning to think about this, and looking >> for any and all >> ideas. >> >> TIA >> >> Sivakatirswami >> > > I think your last idea is on the right track, and I > can't believe that Andre hasn't suggested it yet (Take > away a man's casket, and he -- hold on, that's not a > real expression -- oh, shoot) : have a look at his > libNetServices server solution and the XML-RPC client > library that ships with Rev 2.5 > Combining those two, you can run a server application > that receives requests from client stacks, returns the > pictures and the data that goes with it, and then when > the clients is finished, receives the annotations. > You can even send it an XML-RPC command to start > uploading to the real website ! > > Hope this helped, > > Jan Schenkel. > ---- > Quartam - Tools for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - What will yours do? > http://my.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Sun Feb 13 19:27:40 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 14 Feb 2005 00:27:40 +0000 Subject: Split, combine ok but where's extract? In-Reply-To: <6d96fa9efcfb5a326b67ffc300b23abd@dvkconsult.com.au> References: <20050213170004.80B9D9300CC@mail.runrev.com> <6d96fa9efcfb5a326b67ffc300b23abd@dvkconsult.com.au> Message-ID: <420FF07C.2010703@tweedly.net> David Vaughan wrote: > > Perhaps I have misunderstood the depth of the problem. I do not appear > to have the described difficulty with the example data. The problem (as I understand it) was to split out the columns of the keys and/or the data of an array. That's what the code you first proposed did (or tried to do); the fragment shown in this (tonight's) email is only the first half of the code - and therefore doesn't get far enough into it to demonstrate the problem. > Here is code (assume a couple of testing fields, "f1" and "f2") and > the results using your actual example data. > > put "1,2" into myArray[a,b] > put "1,3" into myarray[c,d] > put the keys of myArray into field "f1" > combine myArray with return > put myArray into field "f2" Indeed, there's no problem there - it would be the next part which dissected the columns of the data that shows the problem. Here's the complete section of code as you first sent it (with a couple of "with return"s added as you suggested) > put the keys of myArray into tKeys > split tKeys with return and comma > put the keys of tKeys into v1 > combine tKeys with return -- discards the keys > put tKeys into v2 > > combine myArray with return -- discards the keys > split myArray with return and comma > put the keys of myArray into v3 > combine myArray with return > put myArray into v4 > > Now, v1=a, v2=b, v3=n1, v4=n2 > (or close enough if I made a coding error) i.e. v1 is the first column (of the keys), v2 is the second, v3 is the first column from the data and v4 is the second column from the data. Now if you take my data put "1,2" into myArray[a,b] put "1,3" into myarray[c,d] then run the above algorithm, what you get is v1 = a \r b v2 = c \r d v3 = 1 v4 = 3 which is not what we need - the duplicate item "1" in column 3 (col 1 of the data) caused a problem. > > puts them back in an array. The only relevant possibility of > duplication appears to be with the keys of the original array, which > by definition were not duplicated anyway. > Not really. By definition, the *complete* keys of the original array are not duplicated; but the problem arises because items within any particular column CAN be duplicates. Here's your second code fragment - but with different values to demonstrate the problem put field "f1" into tData -- the a,b \r c,d data -- LET's make f1 contain 3,4 \r3,5 put field "f2" into tKeys -- the 1,2 \r 1,3 data split tData with return -- causes a problem put 1 into i repeat for each line x in tKeys put tData[i] into myArray[x] add 1 to i end repeat -- and to prove it happened combine myArray with return and "#" put myArray into field "f2" And this shows the problem. The 3rd line "split tData with return" results in a single array entry, tData[3] = 5, because of the duplication of the "3" - even though "3,4" didn't duplicate "3,5" > I receive the digest so discussions may be slow. In some ways this discussion is more complex than it need be - Xavier's second example (including the code he posted) was simply separating out the columns (and merging the columns) of a single columnar table. So the problem is : given a table 1,2,3,4 5,6,7,8 9,10,11,12 generate separate lists of the columns v1 = 1 \r 5 \r 9 (spaces for readability only) v2 = 2 \r 6 \r 10 v3 = 3 \r 7 \r 11 v4 = 4 \r 8 \r 12 This is (in effect) what your initial code proposal would do (adjusting for a table instead of an array), and is also what Xavier's code would do. But given different input 1,2,3,4 5,2,7,8 9,10,11,12 his would give v1 = 1 \r 5 \r 9 (spaces for readability only) v2 = 2 \r 2 \r 10 v3 = 3 \r 7 \r 11 v4 = 4 \r 8 \r 12 and re-merging would get back the original input value. However, your's would give v1 = 1 \r 5 \r 9 (spaces for readability only) v2 = 2 \r 10 v3 = 7 \r 11 v4 = 8 \r 12 and there would be no way to recover the initial value. -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From alex at tweedly.net Sun Feb 13 19:33:26 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 14 Feb 2005 00:33:26 +0000 Subject: Split, combine ok but where's extract? In-Reply-To: <4c14017af001c27ab3f2f67cb654eea0@dvkconsult.com.au> References: <20050213170004.80B9D9300CC@mail.runrev.com> <6d96fa9efcfb5a326b67ffc300b23abd@dvkconsult.com.au> <4c14017af001c27ab3f2f67cb654eea0@dvkconsult.com.au> Message-ID: <420FF1D6.1020205@tweedly.net> David Vaughan wrote: > > Oh, and I also reversed the data and keys in the second code block > (first two lines) compared with the extract. Mechanical error. I didn't even notice that :-) Well - that makes it even clearer ..... here's your second code fragment, with the reversal "un-reversed". put field "f1" into tKeys -- the a,b \r c,d data (reversal restored) put field "f2" into tData -- the 1,2 \r 1,3 data split tData with return (and already there is a problem - tData has a single entry tData[1] = 3 ) put 1 into i repeat for each line x in tKeys put tData[i] into myArray[x] add 1 to i end repeat -- and to prove it happened combine myArray with return and "#" put myArray into field "f2" puts them back in an array. -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From chipp at chipp.com Sun Feb 13 19:42:40 2005 From: chipp at chipp.com (Chipp Walters) Date: Sun, 13 Feb 2005 18:42:40 -0600 Subject: Launch pdf on cd In-Reply-To: <20050213204133.36295.qmail@web60504.mail.yahoo.com> References: <20050213204133.36295.qmail@web60504.mail.yahoo.com> Message-ID: <420FF400.9030805@chipp.com> Thanks Jan for the altBrowser plug. But, as much as I'd like to sell another copy of altBrowser, there's a way to do this on MacOSX. Launch works well on PC, but for MacOS X you need to do a little extra work: on viewPDF_MacOSX pPDFpath if "AppleScript" is not among the lines of the alternateLanguages then answer "AppleScript must be installed." exit to top end if put revMacFromUnixPath(pPDFpath) into pPDFpath --> THIS ASSUMES YOU'VE JUST DOWNLOADED A .PDF FILE --> AND THE CREATOR AND FILETYPE AREN'T PROPERLY SET put "tell application " "e& "Finder" & quote & cr into tScript put "set the creator type of file " "e& pPDFpath "e& \ " to " "e& "CARO" "e& cr after tScript put "set the file type of file " "e& pPDFpath "e& \ " to " "e& "PDF " "e& cr after tScript put "end tell" after tScript do tScript as Applescript put the result into sError put "tell application " "e& "Finder" & quote & cr into tScript put "open file " "e& pPDFpath "e & cr after tScript put "end tell" after tScript do tScript as Applescript put the result into sError end viewPDF_MacOSX Jan Schenkel wrote: > --- Stephen Van Esch wrote: > >>Folks: >> >>I've searched through the archives and haven't found >>a >>satisfactory answer. Here's what I'd like to do: >> >>When a user clicks a link, I'd like the PDF viewer >>(Acrobat or Preview) to launch and display a >>specified >>pdf located on the CD. From vanesch at yahoo.com Sun Feb 13 21:52:46 2005 From: vanesch at yahoo.com (Stephen Van Esch) Date: Sun, 13 Feb 2005 18:52:46 -0800 (PST) Subject: Launch pdf on cd In-Reply-To: <420FF400.9030805@chipp.com> Message-ID: <20050214025246.91808.qmail@web30803.mail.mud.yahoo.com> Chipp: Thanks for this. One thing. As I understand it, CARO is associated with Acrobat. I'm assuming that substituting the creator type for Preview will work equally well. I do own a copy of altBrowser and my backup plan is to convert the pdf to HTML and use that. If Safari displayed pdfs within the browser, altBrowser would probably be my first choice. Thanks again. Steve --- Chipp Walters wrote: > Thanks Jan for the altBrowser plug. But, as much as > I'd like to sell > another copy of altBrowser, there's a way to do this > on MacOSX. Launch > works well on PC, but for MacOS X you need to do a > little extra work: > > on viewPDF_MacOSX pPDFpath > if "AppleScript" is not among the lines of the > alternateLanguages then > answer "AppleScript must be installed." > exit to top > end if > put revMacFromUnixPath(pPDFpath) into pPDFpath > > --> THIS ASSUMES YOU'VE JUST DOWNLOADED A .PDF > FILE > --> AND THE CREATOR AND FILETYPE AREN'T PROPERLY > SET > put "tell application " "e& "Finder" & quote > & cr into tScript > put "set the creator type of file " "e& > pPDFpath "e& \ > " to " "e& "CARO" "e& cr after > tScript > put "set the file type of file " "e& pPDFpath > "e& \ > " to " "e& "PDF " "e& cr after > tScript > put "end tell" after tScript > do tScript as Applescript > put the result into sError > > put "tell application " "e& "Finder" & quote > & cr into tScript > put "open file " "e& pPDFpath "e & cr > after tScript > put "end tell" after tScript > do tScript as Applescript > put the result into sError > > end viewPDF_MacOSX > > > Jan Schenkel wrote: > > --- Stephen Van Esch wrote: > > > >>Folks: > >> > >>I've searched through the archives and haven't > found > >>a > >>satisfactory answer. Here's what I'd like to do: > >> > >>When a user clicks a link, I'd like the PDF viewer > >>(Acrobat or Preview) to launch and display a > >>specified > >>pdf located on the CD. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From vanesch at yahoo.com Sun Feb 13 22:01:58 2005 From: vanesch at yahoo.com (Stephen Van Esch) Date: Sun, 13 Feb 2005 19:01:58 -0800 (PST) Subject: PDF plug-in Message-ID: <20050214030158.94466.qmail@web30803.mail.mud.yahoo.com> Folks: Searching through the archives for a solution to my pdf dilemma, I came across a thread regarding the possibility of porting or creating a plug-in similar to a PDF Xtra for Director. On the Director side, the Xtra displays pdfs within the project and allows some control over the pdf (zoom, search, print etc.). I'm currently using this Xtra on another project and find it very handy. Has anything happened to this? Steve __________________________________ Do you Yahoo!? All your favorites on one personal page ? Try My Yahoo! http://my.yahoo.com From sarahr at genesearch.com.au Sun Feb 13 22:02:16 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 14 Feb 2005 13:02:16 +1000 Subject: copy field to stack of unknown name In-Reply-To: <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> Message-ID: <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> Hi Bob, I think you are on the right track, but the stack name (or stack file name) needs to be a global or custom property if scripts in other objects are going to access it. Cheers, Sarah On 13/02/2005, at 2:04 AM, Bob Hartley wrote: > At 15:31 12/02/2005, you wrote: > >> Hi Bob, > > > Hi Klaus > > No luck with this. I used the method of Richard Gaskin's employee > database to ask the user for a filename before starting. I had this > working the old fashioned way but I think the pre-save is more > elegant. Anyway I used this for them to make a new file..... > > on doFileNew > ask file "Name new database file:" with "MyDatabase.abd" > if it is empty then exit to top > put it into tFileName > if char -4 to -1 of tFileName is not ".abd" then put ".abd" after > tFileName > set the itemDelimiter to "/" > put last item of tFileName into tStackName > set the visible of stack "Master Database" to false > clone stack "Master database" > Err the result > set the name of stack it to tStackName > set the title of stack tStackName to (char 1 to -5 of tStackName) > --set the minWidth of stack tStackName to 500 > --set the minHeight of stack tStackName to 250 > set the fileName of stack tStackName to tFileName > -- "tFileName" is the full pathname of the file the user named > earlier. > Err the result > set the visible of stack "Master Database" to true > put the stackFileType into tSaveStackFileType > set the stackFileType to "RevoABD_" > save stack tStackName > Err the result > set the stackFileType to tSaveStackFileType > show stack tStackName > toplevel stack tStackName > end doFileNew > > Now when I use a buton with the script > > on mouseUp > copy field "TextField" of stack "Armbase Database Designer" to card > 1 of stack tFileName > --or use tStackName > end mouseUp > > then there is an error > executing at 4:01:57 PM > Type Chunk: can't find stack > Object Add Field > Line copy field "TextField" of stack "Armbase Database Designer" to > card 1 of stack tFileName > Hint button id 1052 of card id 1002 of stack "Armbase Database > Designer" > > If I use tStackName I get the same > executing at 4:03:54 PM > Type Chunk: can't find stack > Object Add Field > Line copy field "TextField" of stack "Armbase Database Designer" to > card 1 of stack tStackName > Hint button id 1052 of card id 1002 of stack "Armbase Database > Designer" > > But if I use > > on mouseUp > copy field "TextField" of stack "Armbase Database Designer" to card > 1 of stack "MyDatabase.abd" > end mouseUp > > It works, however I don't know if the target stack is always going to > be MyDatabase.abd > > If I use > tStackName.abd I get the same error > > Any help would be great > > Cheers > Bob; Sunny Scotland From mwieder at ahsoftware.net Sun Feb 13 22:19:13 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 13 Feb 2005 19:19:13 -0800 Subject: Problem with revNumberOfRecords In-Reply-To: <20050213215400.7115.qmail@web60505.mail.yahoo.com> References: <20050213215400.7115.qmail@web60505.mail.yahoo.com> Message-ID: <16932789328.20050213191913@ahsoftware.net> Jan- Sunday, February 13, 2005, 1:54:00 PM, you wrote: JS> This particular problem has been around forever, and JS> is appearently a conflict between Access and the revdb JS> ODBC driver. Right. For a list of some of the other things that make runrev useless with Access, consider casting some votes to bug #1528. I've had *several* Access projects now that I would have loved to do in runrev, but that forward-only odbc mode is a killer. http://support.runrev.com/bugdatabase/show_bug.cgi?id=1528 -- -Mark Wieder mwieder at ahsoftware.net From janschenkel at yahoo.com Mon Feb 14 01:04:27 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Feb 2005 22:04:27 -0800 (PST) Subject: PDF plug-in In-Reply-To: <20050214030158.94466.qmail@web30803.mail.mud.yahoo.com> Message-ID: <20050214060427.1889.qmail@web60508.mail.yahoo.com> --- Stephen Van Esch wrote: > Folks: > > Searching through the archives for a solution to my > pdf dilemma, I came across a thread regarding the > possibility of porting or creating a plug-in similar > to a PDF Xtra for Director. On the Director side, > the > Xtra displays pdfs within the project and allows > some > control over the pdf (zoom, search, print etc.). I'm > currently using this Xtra on another project and > find > it very handy. Has anything happened to this? > > Steve > Hi Steve, Not knowing you were on the Mac side of the fence, I forgot to tell you about a Mac-only trick to display PDF files in your stacks : a player object. On MacOSX only, QuickTime supports the display of PDF files as if they're a movie object, so you should be able to set the fileName property of a player to point to a PDF file, and display it in your stack. Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From erikhans08 at yahoo.com Mon Feb 14 02:11:21 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 13 Feb 2005 23:11:21 -0800 (PST) Subject: Quicktime Player or Quicktime Pro for Rev (on Windows)? In-Reply-To: Message-ID: <20050214071121.49410.qmail@web61202.mail.yahoo.com> Quicktime Player or Quicktime Pro for Rev (on windows)? Quicktime Player is free but are there hidden costs? Thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From drothe at optusnet.com.au Mon Feb 14 02:23:57 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Mon, 14 Feb 2005 17:23:57 +1000 Subject: RevMail Problem References: <20050214031738.3C1E89300D6@mail.runrev.com> Message-ID: <000b01c51266$269facd0$89f6a4cb@p4c2> Hi Roger, Problem lies in the original revlibrary.rev file (components/global environment/) The problem has been fixed, you can download an update by running Rev 2.5 then choose Help > Check for Updates... You will probably be prompted to update the revstandalonesettings.rev file (components/tools/) also. This is done automatically and a backup copy of each is made! Cheers Dwayne... > From: "Roger Kingston" > Subject: RevMail Problem > > I'm running RR 2.5 under MS Windows XP SP2 and have stumbled across a > problem with revMail in a standalone. The mail script I have is in a > button on a card in a substack and it works fine in the Development > environment and MS Outlook - starting the mail program if it's not > running, but just does nothing in the standalone. (No error message). > > Code is: > revMail lvMailTo,lvRecipientList,lvSubject,lvBody > > The Standalone Application Settings are set to 'search' for required > inclusions. > > Can anyone help please? > > > Roger Kingston From yvescoppe at skynet.be Mon Feb 14 04:57:45 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 14 Feb 2005 10:57:45 +0100 Subject: Images Message-ID: Hi list I have a mainstack A (from a friend) with images in the image Library i have a substack C of a mainStack B and I like to store the image of the image Library of mainstack A into the image Library of substack C of stack B I've tried different ways without success Can anyone help me Thank you. Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Mon Feb 14 05:06:25 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 14 Feb 2005 11:06:25 +0100 Subject: Video Camera Message-ID: <84047c4c571cac8d4c30ec158882c6f7@skynet.be> hi, on Mac OS X I use a video camera to take some little sequences. I import the sequences with iMovie via the firewire port and the export the sequence from iMovie to the desktop in mp4. Then I import the mp4 sequence in a stack in a quicktIme control; is it possible to do all those steps in on by importing directly the sequence of the video camera from the firewire port in my rev stack and store the mp4 file in a directory ? Thank you. Greetings. Yves COPPE yvescoppe at skynet.be From xbury.cs at clearstream.com Mon Feb 14 05:28:49 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 14 Feb 2005 11:28:49 +0100 Subject: Images Message-ID: Yves, what about copy image x of stack a to stack b that should work. Just make sure the stacks are opened... cheers Xavier On 14.02.2005 10:57:45 use-revolution-bounces wrote: >Hi list > > >I have a mainstack A (from a friend) with images in the image Library > >i have a substack C of a mainStack B and I like to store the image of >the image Library of mainstack A into the image Library of substack C >of stack B > >I've tried different ways without success > >Can anyone help me > >Thank you. > > > >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 ----------------------------------------- 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 bwoodruf at butler.edu Mon Feb 14 05:38:44 2005 From: bwoodruf at butler.edu (Burrrton Woodruff) Date: Mon, 14 Feb 2005 05:38:44 -0500 Subject: Look for Virtual PC at ebay Message-ID: <6e5e9ab6634e50fb68c195cc0ace8f78@butler.edu> Dear Judy, I just purchased a copy of VPC 7 with (is it) XP Pro for $140 delivered on ebay. Its been shipped. That is a $100 or so savings for me. Burrton Woodruff RippleSoft Software bwoodruf at butler.edu From zink at newmex.com Fri Feb 11 21:21:06 2005 From: zink at newmex.com (Nelson Zink) Date: Fri, 11 Feb 2005 19:21:06 -0700 Subject: DreamCard Starts on OS9 Message-ID: To All, My DreamCard has suddenly taken to trying to open under Mac system 9 instead of Mac OSX. Any ideas for a resolution? Nelson From prakashsingh_solanki at yahoo.co.in Sun Feb 13 23:02:55 2005 From: prakashsingh_solanki at yahoo.co.in (prakash singh) Date: Mon, 14 Feb 2005 04:02:55 +0000 (GMT) Subject: use-revolution Digest, Vol 17, Issue 43 In-Reply-To: <20050214031738.3C1E89300D6@mail.runrev.com> Message-ID: <20050214040255.28499.qmail@web8503.mail.in.yahoo.com> REmove use-revolution-request at lists.runrev.com wrote: Send use-revolution mailing list submissions to use-revolution at lists.runrev.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.runrev.com/mailman/listinfo/use-revolution or, via email, send a message with subject or body 'help' to use-revolution-request at lists.runrev.com You can reach the person managing the list at use-revolution-owner at lists.runrev.com When replying, please edit your Subject line so it is more specific than "Re: Contents of use-revolution digest..." you can find the archives for this list at: http://lists.runrev.com/pipermail/use-revolution/ and search them using this link: http://www.google.com/advanced_search?q=site:lists.runrev.com Today's Topics: 1. Launch pdf on cd (Stephen Van Esch) 2. Re: How to build nice repport with Revolution (Jan Schenkel) 3. Re: Launch pdf on cd (Jan Schenkel) 4. Problem with revNumberOfRecords (J?r?me Rosat) 5. RevMail Problem (Roger Kingston) 6. Re: Problem with revNumberOfRecords (Jan Schenkel) 7. Re: Split, combine ok but where's extract? (David Vaughan) 8. Re: Split, combine ok but where's extract? (David Vaughan) 9. Re: Collaboration on the LAN-NET (Sivakatirswami) 10. Re: Split, combine ok but where's extract? (Alex Tweedly) 11. Re: Split, combine ok but where's extract? (Alex Tweedly) 12. Re: Launch pdf on cd (Chipp Walters) 13. Re: Launch pdf on cd (Stephen Van Esch) 14. PDF plug-in (Stephen Van Esch) 15. Re: copy field to stack of unknown name (Sarah Reichelt) ---------------------------------------------------------------------- Message: 1 Date: Sun, 13 Feb 2005 10:58:16 -0800 (PST) From: Stephen Van Esch Subject: Launch pdf on cd To: use-revolution at lists.runrev.com Message-ID: <20050213185817.91370.qmail at web30807.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii Folks: I've searched through the archives and haven't found a satisfactory answer. Here's what I'd like to do: When a user clicks a link, I'd like the PDF viewer (Acrobat or Preview) to launch and display a specified pdf located on the CD. Acrobat or Preview is a requirement to run this CD so I don't have to check for the installation and I'd rather not worry about finding out where the app is located on the user's hard drive. I've experimented with revgourl without success. I'm not sure if this is because the link to the pdf has to be relative in this case. Any help would be appreciated. Steve __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------ Message: 2 Date: Sun, 13 Feb 2005 12:36:50 -0800 (PST) From: Jan Schenkel Subject: Re: How to build nice repport with Revolution To: How to use Revolution Message-ID: <20050213203651.79982.qmail at web60506.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii --- Philippe de Martelaere wrote: > Hi, > > I'm a new user of Revolution and it's a real > pleasure to work with this > soft. > I was also an old user of Hypercard since version > 1.0 to the last one. > > Revolution is nice, but I don't find ? easy way to > create nice repport. > > Of course, for printing a text or a list I use > revPrintField, but I > want to create > some repports more complex. > > Just for an exemple, if I want to print address > labels using a MySQL > database and let the user choose his personnal size > of labels. > How can I do that ? > > I think that the repport builder doesn't more exist. > I remember the > create repport from Hypercard, it was so nice and > easy. > > My software will be used by different countries, so > I have to > let the choice of the paper size US Letter and A4 > for exemple. > How I do that with Revolution ? > > Thank you for your help > > Philippe > Hi Philippe, Welcome to the Revolution -- it won't be televized, but at least we'll have fun while we're at it ;-) As it is, you have three options for reporting : 1) using an external application to handle the formatting 2) using a template stack that you fill up with the rel data and then print 3) waiting a few more weeks for Quartam Reports to make its way out of project into product stage Allow me to elaborate on these options. ==== 1) External applications Wide-spread applications such as Word (or Apple's brand new Pages) allow you to make .RTF files, which are nothing but text files describing the formatting, including tables, headers and footers. When you create the files in the external application, fill them with data 'tags' which you can then replace in a Revolution script : -- replace "<>" with tName in tRTFtext -- When you're done replacing the data, you write the RTF data to a text file, and open it in the external applcation to print it. Advantage : can be done fairly quickly, especially with Word which comes with a slew of predefined label sizes Downside : requires that your end user has a compatible application when it comes to viewing and printing 2) Template stacks You create a stack that is large enough for a single page that you want to print. You place enough fields on it and lay them out so that they match your labels. Then your printing script fills the fields with the data that you want to print : -- put tName into field "Name_1" of stack "LabelsTemplate" -- Once the fields are filled with data, you just use the 'print card' command. If you want to print data that fills more than one page in a single job, look at the 'open printing' and 'close printing' commands. Advantage : no external applications or library needed Downside : tedious to lay-out and script reports 3) Quartam Reports Now as the person working on that project, I'm not very impartial *grin* -- and it may not be the best solution for your particular situation. Nevertheless, I invite you to read more about it : Advantage : aimed at full-blown report printing, it also offers support for labels Downside : isn't available yet. ==== Finally, allow me to point out that there's no need to post your question three times through different email addresses. If someone feels up to replying, you will get your reply ; multiplicity does not speed up the thinking process in this very capable volunteer group, I've noticed ;-) Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 ------------------------------ Message: 3 Date: Sun, 13 Feb 2005 12:41:32 -0800 (PST) From: Jan Schenkel Subject: Re: Launch pdf on cd To: How to use Revolution Message-ID: <20050213204133.36295.qmail at web60504.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii --- Stephen Van Esch wrote: > Folks: > > I've searched through the archives and haven't found > a > satisfactory answer. Here's what I'd like to do: > > When a user clicks a link, I'd like the PDF viewer > (Acrobat or Preview) to launch and display a > specified > pdf located on the CD. > > Acrobat or Preview is a requirement to run this CD > so > I don't have to check for the installation and I'd > rather not worry about finding out where the app is > located on the user's hard drive. > > I've experimented with revgourl without success. I'm > not sure if this is because the link to the pdf has > to > be relative in this case. > > Any help would be appreciated. > > Steve > Hi STeve, If the stack you're launching rom is located on the CD, you can use 'the effective filename' to figure out where exactly it is located, so you can build up the complete file path to the PDF. Other than that, I'd advise using the 'launch' command, or if you're using Windows, you could use the 'shell' function with a start command : -- get shell("start" && tPDFfilepath) -- Or you can buy the wonderful altBrowser external for Revolution, and display the PDF file right in your own application ! Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 4 Date: Sun, 13 Feb 2005 21:56:02 +0100 From: J?r?me Rosat Subject: Problem with revNumberOfRecords To: How to use Revolution Message-ID: <95e414c19d17cc681b1c1a66d0e8e357 at mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dear all, I use a stack with a MySQL database. To move through the records in a record set I use this script: revMoveToFirstRecord thisCursor repeat for revNumberOfRecords(thisCursor) times -- bla bla revMoveToNextRecord thisCursor end repeat When I use the same stack with a Access 97 database and a ODBC connection and the same number of records, the revNumberOfRecords function return -1. How to resolve this problem ? J?r?me Rosat ------------------------------ Message: 5 Date: Sun, 13 Feb 2005 21:16:53 -0000 From: "Roger Kingston" Subject: RevMail Problem To: Message-ID: <000001c51211$5939a060$0401a8c0 at ULTRASOLVE2> Content-Type: text/plain; charset="us-ascii" I'm running RR 2.5 under MS Windows XP SP2 and have stumbled across a problem with revMail in a standalone. The mail script I have is in a button on a card in a substack and it works fine in the Development environment and MS Outlook - starting the mail program if it's not running, but just does nothing in the standalone. (No error message). Code is: revMail lvMailTo,lvRecipientList,lvSubject,lvBody The Standalone Application Settings are set to 'search' for required inclusions. Can anyone help please? Roger Kingston ------------------------------ Message: 6 Date: Sun, 13 Feb 2005 13:54:00 -0800 (PST) From: Jan Schenkel Subject: Re: Problem with revNumberOfRecords To: How to use Revolution Message-ID: <20050213215400.7115.qmail at web60505.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii --- J?r?me Rosat wrote: > Dear all, > > I use a stack with a MySQL database. To move through > the records in a > record set I use this script: > > revMoveToFirstRecord thisCursor > repeat for revNumberOfRecords(thisCursor) times > -- bla bla > revMoveToNextRecord thisCursor > end repeat > > When I use the same stack with a Access 97 database > and a ODBC > connection and the same number of records, the > revNumberOfRecords > function return -1. > > How to resolve this problem ? > > J?r?me Rosat > Hi J?r?me, This particular problem has been around forever, and is appearently a conflict between Access and the revdb ODBC driver. Your best solution is to use the 'revdb_iseof()' or 'revCurrentRecordIsLast()' functions to determine the end of your loop : -- revMoveToFirstRecord thisCursor repeat forever -- bla bla if revCurrentRecordIsLast() then exit repeat else revMoveNextRecord thisCursor end repeat -- Hope this helped, Jan Schenkel. ===== Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ------------------------------ Message: 7 Date: Mon, 14 Feb 2005 09:13:12 +1100 From: David Vaughan Subject: Re: Split, combine ok but where's extract? To: use-revolution at lists.runrev.com Message-ID: <6d96fa9efcfb5a326b67ffc300b23abd at dvkconsult.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed On 14/02/2005, at 4:00, Alex Tweedly wrote: > If you take the case of > put "1,2" into myArray[a,b] > put "1,3" into myarray[c,d] > Nope. It will actually give > v1 = a,c > v2 = b,d > v3 = 1 > v4 = 3 **** the other value got lost in the split immediately > before the assignment to v3; I don't know if it's theoretically > guaranteed which of the values it will give, but in practice, with few > entries, it will give the latter one. > Alex Perhaps I have misunderstood the depth of the problem. I do not appear to have the described difficulty with the example data. Here is code (assume a couple of testing fields, "f1" and "f2") and the results using your actual example data. put "1,2" into myArray[a,b] put "1,3" into myarray[c,d] put the keys of myArray into field "f1" combine myArray with return put myArray into field "f2" splits the keys from the data, preserving all components, while (using data from the fields as created above) put field "f1" into tData -- the a,b \r c,d data put field "f2" into tKeys -- the 1,2 \r 1,3 data split tData with return put 1 into i repeat for each line x in tKeys put tData[i] into myArray[x] add 1 to i end repeat -- and to prove it happened combine myArray with return and "#" put myArray into field "f2" puts them back in an array. The only relevant possibility of duplication appears to be with the keys of the original array, which by definition were not duplicated anyway. I receive the digest so discussions may be slow. regards David > > -- > Alex Tweedly http://www.tweedly.netFrom jrosat at mac.com Sun Feb 13 17:38:47 2005 Return-Path: Delivered-To: use-revolution at lists.runrev.com Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.46]) by mail.runrev.com (Postfix) with ESMTP id 2509993005B for ; Sun, 13 Feb 2005 17:38:47 -0500 (EST) Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id j1DMOkes011546 for ; Sun, 13 Feb 2005 14:24:46 -0800 (PST) Received: from [10.0.1.2] (adsl-62-167-83-100.adslplus.ch [62.167.83.100]) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id j1DMOgnn029162 for ; Sun, 13 Feb 2005 14:24:44 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <20050213215400.7115.qmail at web60505.mail.yahoo.com> References: <20050213215400.7115.qmail at web60505.mail.yahoo.com> Message-Id: <69d4a93c4c54f4a71f17847bf8eba887 at mac.com> From: =?ISO-8859-1?Q?J=E9r=F4me_Rosat?= Date: Sun, 13 Feb 2005 23:24:41 +0100 To: How to use Revolution X-Mailer: Apple Mail (2.619.2) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Problem with revNumberOfRecords X-BeenThere: use-revolution at lists.runrev.com X-Mailman-Version: 2.1.1 Precedence: list Reply-To: How to use Revolution List-Id: How to use Revolution List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear Jan Thank you for your answer, but the solution doesn't work. I send this message I few month ago to say that the=20 'revCurrentRecordIsLast' and 'revCurrentRecordIsFirst' in Dreamcard=20 (and probably in Revolution) doesn't work (see the following message): Any other solution ? Best regards J=E9r=F4me Bonjour Jan, Yes I use MySQL. After creating a recordset, I execute:=20 'revMoveToFirstRecord' (go to the first record). Results: 'revNumberOfRecords' : 3 'revCurrentRecord' : 0 'revCurrentRecordIsLast' : false 'revCurrentRecordIsFirst' : false ??? Then I execute 'revMoveToNextRecord' (go to the second record). Results: 'result() : true 'revNumberOfRecords' : 3 'revCurrentRecord' : 1 'revCurrentRecordIsLast' : false 'revCurrentRecordIsFirst' : false Then I execute 'revMoveToNextRecord' (go to the third and last record).=20= Results: 'result() : true 'revNumberOfRecords' : 3 'revCurrentRecord' : 2 'revCurrentRecordIsLast' : false ?? 'revCurrentRecordIsFirst' : false Then I execute 'revMoveToNextRecord' (just to see). Results: 'result() : false 'revNumberOfRecords' : 3 'revCurrentRecord' : 2 'revCurrentRecordIsLast' : true 'revCurrentRecordIsFirst' : false I hope it is clear. J=E9r=F4me Rosat Le 6 nov. 04, =E0 06:25, Jan Schenkel a =E9crit : > --- J=E9r=F4me Rosat wrote: >> Bonjour tout le monde, >> >> In Dreamcard documentation, for the >> revCurrentRecordIsLast function, >> it's written that "Returns whether the current >> record is the last >> record in a record set (database cursor)." >> >> In my recordset with 3 records, when the cursor is >> on the first record, >> revCurrentRecordIsLast return false. It's Ok for me. >> After moving the cursor with revMoveToNextRecord to >> the second record, >> revCurrentRecordIsLast return false. It's still OK >> for me. >> If I move the cursor to the third and last record, >> revCurrentRecordIsLast still return false. With the >> upper definition, >> the result should be true. The third record is the >> last one. >> But revCurrentRecordIsLast return true only if I use >> >> revMoveToNextRecord once again. In short, >> revCurrentRecordIsLast return >> true when revMoveToNextRecord return an error. And >> it is the same for >> revCurrentRecordIsFirst. >> >> Is it a bug or I'm stupid ? >> >> J=E9r=F4me Rosat >> > > Bonjour J=E9r=F4me, > > What does the function 'revNumberOfRecords' return for > that result set ? And is this still on MySQL ? > > Jan Schenkel. > > =3D=3D=3D=3D=3D > Join us at the European Revolution Conference > November 14-16, MALTA. ~ http://TechieTours.com/Rev/ > > =3D=3D=3D=3D=3D > "As we grow older, we grow both wiser and more foolish at the same=20 > time." (La Rochefoucauld) > > > =09 > __________________________________ > Do you Yahoo!? > Check out the new Yahoo! Front Page. > www.yahoo.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 Le 13 f=E9vr. 05, =E0 22:54, Jan Schenkel a =E9crit : > --- J=E9r=F4me Rosat wrote: >> Dear all, >> >> I use a stack with a MySQL database. To move through >> the records in a >> record set I use this script: >> >> revMoveToFirstRecord thisCursor >> repeat for revNumberOfRecords(thisCursor) times >> -- bla bla >> revMoveToNextRecord thisCursor >> end repeat >> >> When I use the same stack with a Access 97 database >> and a ODBC >> connection and the same number of records, the >> revNumberOfRecords >> function return -1. >> >> How to resolve this problem ? >> >> J=E9r=F4me Rosat >> > > Hi J=E9r=F4me, > > This particular problem has been around forever, and > is appearently a conflict between Access and the revdb > ODBC driver. > Your best solution is to use the 'revdb_iseof()' or > 'revCurrentRecordIsLast()' functions to determine the > end of your loop : > -- > revMoveToFirstRecord thisCursor > repeat forever > -- bla bla > if revCurrentRecordIsLast() then exit repeat > else revMoveNextRecord thisCursor > end repeat > -- > > Hope this helped, > > Jan Schenkel. === message truncated === Yahoo! India Matrimony: Find your life partneronline. From klaus at major-k.de Mon Feb 14 05:54:24 2005 From: klaus at major-k.de (Klaus Major) Date: Mon, 14 Feb 2005 11:54:24 +0100 Subject: Video Camera In-Reply-To: <84047c4c571cac8d4c30ec158882c6f7@skynet.be> References: <84047c4c571cac8d4c30ec158882c6f7@skynet.be> Message-ID: <08256fbab9c075a21c60487e4e133784@major-k.de> Bonjour Yves, > hi, > > on Mac OS X > > I use a video camera to take some little sequences. I import the > sequences with iMovie via the firewire port and the export the > sequence from iMovie to the desktop in mp4. > Then I import the mp4 sequence in a stack in a quicktIme control; > is it possible to do all those steps in on by importing directly the > sequence of the video camera from the firewire port in my rev stack > and store the mp4 file in a directory ? hmmm, sounds like a job for the "revVideoGrabber" external (built-in!) :-) Check the docs for "revvideo..." > Thank you. > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be Regards Klaus Major klaus at major-k.de http://www.major-k.de From yvescoppe at skynet.be Mon Feb 14 06:06:16 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 14 Feb 2005 12:06:16 +0100 Subject: Video Camera In-Reply-To: <08256fbab9c075a21c60487e4e133784@major-k.de> References: <84047c4c571cac8d4c30ec158882c6f7@skynet.be> <08256fbab9c075a21c60487e4e133784@major-k.de> Message-ID: Le 14 f?vr. 05, ? 11:54, Klaus Major a ?crit : > Bonjour Yves, > >> hi, >> >> on Mac OS X >> >> I use a video camera to take some little sequences. I import the >> sequences with iMovie via the firewire port and the export the >> sequence from iMovie to the desktop in mp4. >> Then I import the mp4 sequence in a stack in a quicktIme control; >> is it possible to do all those steps in on by importing directly the >> sequence of the video camera from the firewire port in my rev stack >> and store the mp4 file in a directory ? > > hmmm, sounds like a job for the "revVideoGrabber" external (built-in!) > :-) > > Check the docs for "revvideo..." > >> Thank you Klaus. Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Mon Feb 14 06:06:43 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 14 Feb 2005 12:06:43 +0100 Subject: Images In-Reply-To: References: Message-ID: <9428b34f63e81a21275a2d0557bca8bd@skynet.be> Le 14 f?vr. 05, ? 11:28, xbury.cs at clearstream.com a ?crit : > Yves, > > what about > > copy image x of stack a to stack b > > that should work. Just make sure the stacks are opened... > > i'll try and let you know. Greetings. Yves COPPE yvescoppe at skynet.be From frank at backtalk.com Mon Feb 14 08:54:21 2005 From: frank at backtalk.com (Frank Leahy) Date: Mon, 14 Feb 2005 13:54:21 +0000 Subject: Typing foreign characters in RunRev Message-ID: I seem to be unable to type foreign characters into any RunRev (2.2) field, so it looks like I'll have to handle it myself. Here's what I want to do: When I type an ?mlaut in Apple Mail, i.e. "option-u" followed by "u", first it shows me that I'm in "umlaut mode" by giving showing floating dots above the (empty) character, and hiliting those dots with a yellow hiliter. Then, when I type "u" or "o" or any other character that is umlaut-able, it hides the yellow hiliting and inserts the correct character. This is a nice interface for knowing that you're in "foreign character typing mode". Has anyone written a similar routine for RunRev? I'm about to write one, but if someone has some working code already and wanted to share it, I'd be most appreciative. Thanks in advance, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From alisterhp at mac.com Mon Feb 14 08:59:36 2005 From: alisterhp at mac.com (Alister Pillow) Date: Tue, 15 Feb 2005 00:29:36 +1030 Subject: Windows crash in Dreamcard or Standalone with movie Player Message-ID: Hi, I've built a "soccer penalty shootout" game (for a client). There are about 50 video clips (quicktime .movs) showing different kicks and their result (randomly selected "goal" or "save") plus videos of instructions, congratulations etc. There is nearly 800MB of video - so none of it has been imported as videoclips - it's all external. There is a serious problem on the (Windows platform - XP Pro and Home) in either Dreamcard or a Standalone (built on a Mac) when repeatedly playing video clips - showing, hiding, starting, stopping. My last test case had two Movies ("kick" and "goal") on the same card. When the "playStopped" message is received, the "target" is hidden and the other player started. When the crash occurs (in the Standalone) it causes an OS dialog to appear: ----- "Soccer for Windows" has encountered a problem and needs to close. We are sorry for the inconvenience. ------ The data associated with the report usually mentions the qt.dll - but sometimes only the ntdll.dll. When run in Dreamcard, there is no error message or anything. (I have previously wrapped try-catch blocks around everything - to no avail.) NOTE: this error doesn't happen immediately. It usually takes 5 minutes or so before it appears. Even more peculiar, the action will continue underneath the error message. The code for this is fairly simple and the action takes place on one card: ---- local pName on openCard start player "p1" end openCard on playStopped # Lock messages to avoid the associated "playStopped" message lock screen lock messages put the short name of the target into pName hide the target unlock messages swapPlayers end playStopped on swapPlayers if pName is "p2" then show player "p1" unlock screen start player "p1" else show player "p2" unlock screen start player "p2" end if end swapPlayers ---- Has anyone encountered this problem? It doesn't happen on a Mac (so you Mac people can rest easy). Just as well Apple has released the Mini - I might have to pony-up for one to replace the PC. Thanks, ---- Alister Pillow NewMedia Engineer Geordie Springfield Pty Ltd ABN 32 076 649 048 alisterhp at mac.com m - 0403 982 146 b - 08 8272 2350 From xbury.cs at clearstream.com Mon Feb 14 09:09:50 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 14 Feb 2005 15:09:50 +0100 Subject: Typing foreign characters in RunRev Message-ID: Na Frank, That should be a nice and simple keydown card message on keydown k if the hilite of btn "typeGerman" then get chartranlate[k] if it is empty then pass keydown else put it into the selection end if else pass keydown end keydown something like that... (not tested, from the hairloosing top of my head) ;) This way you dont need to type extra stuff but you do need to click the button on and off to choose what you type... Maybe you could also use the option or control key to switch modes... Another approach is to typre something like /u and later do a replace for each /a or /u into the letters you want... Hope that helps cheers Xavier On 14.02.2005 14:54:21 use-revolution-bounces wrote: >I seem to be unable to type foreign characters into any RunRev (2.2) >field, so it looks like I'll have to handle it myself. > >Here's what I want to do: > >When I type an ?mlaut in Apple Mail, i.e. "option-u" followed by "u", >first it shows me that I'm in "umlaut mode" by giving showing floating >dots above the (empty) character, and hiliting those dots with a yellow >hiliter. Then, when I type "u" or "o" or any other character that is >umlaut-able, it hides the yellow hiliting and inserts the correct >character. > >This is a nice interface for knowing that you're in "foreign character >typing mode". Has anyone written a similar routine for RunRev? I'm >about to write one, but if someone has some working code already and >wanted to share it, I'd be most appreciative. > >Thanks in advance, >-- Frank > >Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users >See us on the web at http://www.webphotospro.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 mike_e_price at hotmail.com Mon Feb 14 09:18:40 2005 From: mike_e_price at hotmail.com (Michael Price) Date: Mon, 14 Feb 2005 09:18:40 -0500 Subject: overprinting when printing script Message-ID: It is colorized and I am using Windows XP. So the copy and paste will work fine. Thanks. I thought maybe I had some print option set incorrectly. From Signe.Sanne at roman.uib.no Mon Feb 14 09:31:48 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Mon, 14 Feb 2005 15:31:48 +0100 Subject: Typing foreign characters in RunRev In-Reply-To: References: Message-ID: <4210B654.4010709@roman.uib.no> Frank Leahy skrev: > I seem to be unable to type foreign characters into any RunRev (2.2) > field, so it looks like I'll have to handle it myself. > > Here's what I want to do: > > When I type an ?mlaut in Apple Mail, i.e. "option-u" followed by "u", > first it shows me that I'm in "umlaut mode" by giving showing floating > dots above the (empty) character, and hiliting those dots with a yellow > hiliter. Then, when I type "u" or "o" or any other character that is > umlaut-able, it hides the yellow hiliting and inserts the correct > character. > > This is a nice interface for knowing that you're in "foreign character > typing mode". Has anyone written a similar routine for RunRev? I'm > about to write one, but if someone has some working code already and > wanted to share it, I'd be most appreciative. If you just want to type umlaut's and accents in a field, remember that you have to press the umlaut/accent key first (without anything appearing on the screen). Then you press the letter, and both appears at the same time. Hope this was what you were looking for. Signe Marie Sanne From ps1 at softseven.org Mon Feb 14 09:28:35 2005 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 14 Feb 2005 08:28:35 -0600 Subject: Images In-Reply-To: References: Message-ID: <6.1.1.1.2.20050214082611.02682470@softseven.org> A friend and I are working on propjet on different computers. The question is when we are finished how do we put the stacks together into one stack? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From frank at backtalk.com Mon Feb 14 09:52:25 2005 From: frank at backtalk.com (Frank Leahy) Date: Mon, 14 Feb 2005 14:52:25 +0000 Subject: Typing foreign characters in RunRev In-Reply-To: <20050214142421.8C4789300CF@mail.runrev.com> References: <20050214142421.8C4789300CF@mail.runrev.com> Message-ID: <0A38001B-7E98-11D9-9B8B-000A9580FCCE@backtalk.com> Xavier, Thanks, but I was looking for something that would emulate the way that it's done in every piece of software except Rev -- hold down option key and type "u", see floating dots, type "u" and get ?mlaut. I'm curious what our German, French and Portuguese Revers do.. Can you type accents and umlauts into Rev fields? What happens if you use a US keyboard instead of a German/French/Portuguese keyboard, can you still type them? And a final question, does anyone know where the floating dots (or floating accent or floating tilda) characters are stored, and how to show them in a Rev field? Thanks, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Feb 14, 2005, at 2:24 PM, use-revolution-request at lists.runrev.com wrote: > From: xbury.cs at clearstream.com > Subject: Re: Typing foreign characters in RunRev > To: How to use Revolution > Message-ID: > boerse.de> > > Content-Type: text/plain; charset="iso-8859-1" > > Na Frank, > > That should be a nice and simple keydown card message ... From xbury.cs at clearstream.com Mon Feb 14 09:52:06 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 14 Feb 2005 15:52:06 +0100 Subject: Images Message-ID: Hi Paul, set the mainstack of this stack to superstack save stack superstack check out the mainstack and substacks in the revdocs for more! cheers Xavier On 14.02.2005 15:28:35 use-revolution-bounces wrote: >A friend and I are working on propjet on different computers. The question >is when we are finished how do we put the stacks together into one stack? > >Paul Salyers >PS1 - Senior Rep. >PS1 at softseven.org >Http://ps1.SoftSeven.org > >_______________________________________________ >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 xbury.cs at clearstream.com Mon Feb 14 10:17:59 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 14 Feb 2005 16:17:59 +0100 Subject: Typing foreign characters in RunRev Message-ID: Well well.. Im not confronted with that problem on windows ;)) Surely there must be a 3 year old bugzilla in red waiting for votes on this case... sorry I was useless... Xavier On 14.02.2005 15:52:25 use-revolution-bounces wrote: >Xavier, > >Thanks, but I was looking for something that would emulate the way that >it's done in every piece of software except Rev -- hold down option key >and type "u", see floating dots, type "u" and get ?mlaut. > >I'm curious what our German, French and Portuguese Revers do.. Can you >type accents and umlauts into Rev fields? What happens if you use a US >keyboard instead of a German/French/Portuguese keyboard, can you still >type them? > >And a final question, does anyone know where the floating dots (or >floating accent or floating tilda) characters are stored, and how to >show them in a Rev field? > >Thanks, >-- Frank > >Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users >See us on the web at http://www.webphotospro.com/ > >On Feb 14, 2005, at 2:24 PM, use-revolution-request at lists.runrev.com >wrote: > >> From: xbury.cs at clearstream.com >> Subject: Re: Typing foreign characters in RunRev >> To: How to use Revolution >> Message-ID: >> > boerse.de> >> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Na Frank, >> >> That should be a nice and simple keydown card message >... > >_______________________________________________ >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 revdan at danshafer.com Mon Feb 14 11:43:03 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 14 Feb 2005 08:43:03 -0800 Subject: Quicktime Player or Quicktime Pro for Rev (on Windows)? In-Reply-To: <20050214071121.49410.qmail@web61202.mail.yahoo.com> References: <20050214071121.49410.qmail@web61202.mail.yahoo.com> Message-ID: <93cf4febe822edc3cb558d27ba15acd2@danshafer.com> You don't need QTPro unless you intend to EDIT media. The player is fine for playback. Dan On Feb 13, 2005, at 11:11 PM, Erik Hansen wrote: > > Quicktime Player or Quicktime Pro > for Rev (on windows)? > > Quicktime Player is free > but are there hidden costs? > > Thanks, > > Erik Hansen > > ===== > erik at erikhansen.org http://www.erikhansen.org > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 250MB free storage. Do more. Manage less. > http://info.mail.yahoo.com/mail_250 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ps1 at softseven.org Mon Feb 14 12:24:20 2005 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 14 Feb 2005 11:24:20 -0600 Subject: text size Message-ID: <6.1.1.1.2.20050214112322.026986c8@softseven.org> The largest text size I can get is 24, can Rev go bigger? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From klaus at major-k.de Mon Feb 14 12:41:56 2005 From: klaus at major-k.de (Klaus Major) Date: Mon, 14 Feb 2005 18:41:56 +0100 Subject: text size In-Reply-To: <6.1.1.1.2.20050214112322.026986c8@softseven.org> References: <6.1.1.1.2.20050214112322.026986c8@softseven.org> Message-ID: Hi Paul, > The largest text size I can get is 24, can Rev go bigger? No, sorry... But some user told me they could get up to 26 with some effort... :-D Well actually you can enter bigger values MANUALLY in the "text size" combo box of the "Text formatting" dept. of the inspector. > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. BTW, an attempt wouldn't have hurt... From stephenREVOLUTION at barncard.com Mon Feb 14 12:44:28 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 14 Feb 2005 09:44:28 -0800 Subject: Images Message-ID: I would say plan for it in advance by the design you do right now. Create some common place to put your data or stacks online, create some central place for your data exchange, use MYSQL for data, etc. Also using a version control system such as Magic Carpet would be useful for collaborative projects. Otherwise you guys will be stepping on each other's toes. sqb >A friend and I are working on propjet on different computers. The >question is when we are finished how do we put the stacks together >into one stack? > >Paul Salyers From jrosat at mac.com Mon Feb 14 13:31:47 2005 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Mon, 14 Feb 2005 19:31:47 +0100 Subject: Problem with revNumberOfRecords In-Reply-To: <16932789328.20050213191913@ahsoftware.net> References: <20050213215400.7115.qmail@web60505.mail.yahoo.com> <16932789328.20050213191913@ahsoftware.net> Message-ID: <070542fd507ac20805178474a8c05342@mac.com> Mark, I gave 5 votes to the bug 1528. revCurrentRecordIsFirst and revCurrentRecordIsLast are not working with MySQL too. J?r?me Rosat Le 14 f?vr. 05, ? 04:19, Mark Wieder a ?crit : > Jan- > > Sunday, February 13, 2005, 1:54:00 PM, you wrote: > > JS> This particular problem has been around forever, and > JS> is appearently a conflict between Access and the revdb > JS> ODBC driver. > > Right. For a list of some of the other things that make runrev useless > with Access, consider casting some votes to bug #1528. I've had > *several* Access projects now that I would have loved to do in runrev, > but that forward-only odbc mode is a killer. > > http://support.runrev.com/bugdatabase/show_bug.cgi?id=1528 > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > J?r?me Rosat 13, chemin des Palettes 1212 Grand-Lancy 022 880 20 70 From katir at hindu.org Mon Feb 14 13:36:21 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 14 Feb 2005 08:36:21 -1000 Subject: [ANN] Blog Research Project 1.0 In-Reply-To: References: Message-ID: Andre: do you have a server side app for this? Sivakatirswami On Jan 9, 2005, at 5:59 PM, Andre Garzia wrote: > Hi folks, > > Since today I took that cast of, I took the day of to make one simple > software and release it full of source to the community. As some might > know, I am involved with Blog clients and make some shareware cash out > of it. Today, I've re-implemented in Rev my old iBlog program, it was > first done in RealBASIC years ago, it took me about a month. In Rev it > took me some hours (of course, now I knew how to do the stuff). I used > to sell this app for five bucks, the Rev version is free for your > pleasure... since I plan to work more on this, I called the think > "Blog Research Project - client 1.0" (for theres also the server, but > not ready). > > This software is a blog client for Blog systems that implement the > Blogger API 1.0. Almost all blog systems implement this standard, from > server tools like Movable Type, to blog portals like Blogger.com, all > support this spec. This spec is XML-RPC based and enable a client to > add, modify and remove posts from blogs, it also enable the user to > sets it's templates and data. > > For this simple client, i've implemented only the calls needed for > posting. Anyone here interested in XML-RPC, XML or client/server > software might like this app. Also those that like blogs will be able > to post to their blogs from inside the Rev IDE. This also serve as an > example to the Fourth World Article "beyond the browser" for anyone > can compare the easiness of using this rich client to the awkward > experience of using Blogger or Movable Type HTML interface. > > To use this app you just browse to my space in revOnline (my user is > soapdog). Also if funnier if you have your own account on a blog > system but this is not needed for the stack comes packed with a "demo > account" setup that uses Blogger.com and a username that I just > created for it. Anyone wishing to see the result of using this stack > to post to the demo user just point your browser to > http://eatownhaggis.blogspot.com > > Just try, launch the app, type something, press POST! then press "Open > blog" and see the result!!!! you can also set your own account in > blogger and start bloggin for yourself! Feel free to send me comments! > > Cheers > andre > > -- > Andre Alves Garzia ? 2004 > Soap Dog Studios - BRAZIL > http://studio.soapdog.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at wanadoo.fr Mon Feb 14 13:50:52 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Mon, 14 Feb 2005 19:50:52 +0100 Subject: Typing foreign characters in RunRev In-Reply-To: <20050214170034.4275F9300CF@mail.runrev.com> References: <20050214170034.4275F9300CF@mail.runrev.com> Message-ID: Hi Frank, Le 14 f?vr. 05, ? 18:00, Frank Leahy a ?crit : > I'm curious what our German, French and Portuguese Revers do.. Can you > type accents and umlauts into Rev fields? What happens if you use a US > keyboard instead of a German/French/Portuguese keyboard, can you still > type them? The keyboards work differently according to the language and the keys are not the same in each language (I am telling about hardware). When a language uses often accentuated vowels, umlauts or tilde, the corresponding keyboard offers the right keys without any combination. You can get them too on any keyboard but you have to know how to get them and it's often a little tricky. If you don't count unicode languages, you can find more than 30 different "standard" keyboards... For instance the first keys are "azerty" in French, "qwerz" in German and "qwerty" in English... Imagine what happens for the other keys: "]" in english is "+" in German, "$" in French and Italian, a key combination in Spanish and Portuguese (but not the same: "`" and "?"), etc. Then, if you are using Mac OS X, activate the languages you want in the international preferences panel, ask for displaying the corresponding menu into the menubar and open the keyboard utility : you will able to test all the keyboards you desire :-) I never find such an utility in the Windows environment... Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From davis.phil at comcast.net Mon Feb 14 14:00:58 2005 From: davis.phil at comcast.net (Phil Davis) Date: Mon, 14 Feb 2005 11:00:58 -0800 Subject: text size In-Reply-To: <6.1.1.1.2.20050214112322.026986c8@softseven.org> References: <6.1.1.1.2.20050214112322.026986c8@softseven.org> Message-ID: <4210F56A.9070702@comcast.net> You can have any size text you want, you just can't always get there through the choices presented in the Rev Dev UI. However, you can type a larger value into the combo box showing textSize. Try that. I just created a stack, added a button and a field, and ran this command in the message box: set the textSize of this stack to 72 That made the default textSize 72 for all objects in the stack. HTH Phil Davis Paul Salyers wrote: > The largest text size I can get is 24, can Rev go bigger? > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ps1 at softseven.org Mon Feb 14 13:58:57 2005 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 14 Feb 2005 12:58:57 -0600 Subject: text size In-Reply-To: <4210F56A.9070702@comcast.net> References: <6.1.1.1.2.20050214112322.026986c8@softseven.org> <4210F56A.9070702@comcast.net> Message-ID: <6.1.1.1.2.20050214125816.02787e20@softseven.org> At 01:00 PM 2/14/2005, you wrote: >You can have any size text you want, you just can't always get there >through the choices presented in the Rev Dev UI. However, you can type a >larger value into the combo box showing textSize. Try that. > > >I just created a stack, added a button and a field, and ran this command >in the message box: > > set the textSize of this stack to 72 > >That made the default textSize 72 for all objects in the stack. > > >HTH >Phil Davis Dear Phil, Cook it worked! Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home From revolution at jaedworks.com Mon Feb 14 14:17:14 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 14 Feb 2005 11:17:14 -0800 Subject: Typing foreign characters in RunRev In-Reply-To: <0A38001B-7E98-11D9-9B8B-000A9580FCCE@backtalk.com> References: <20050214142421.8C4789300CF@mail.runrev.com> <0A38001B-7E98-11D9-9B8B-000A9580FCCE@backtalk.com> Message-ID: At 2:52 PM +0000 2/14/05, Frank Leahy wrote: >Thanks, but I was looking for something that would emulate the way >that it's done in every piece of software except Rev -- hold down >option key and type "u", see floating dots, type "u" and get ?mlaut. I use Mac software all day and have never seen this. (I don't use Mail.app, though.) So I suspect it's a custom routine. >And a final question, does anyone know where the floating dots (or >floating accent or floating tilda) characters are stored, and how to >show them in a Rev field? I don't remember the ASCII offhand, but you can get an accent character by itself by pressing the relevant key twice. (For example, to get an umlaut, press option-u option-u.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From roger.kingston at ultrasolve.com Mon Feb 14 15:42:41 2005 From: roger.kingston at ultrasolve.com (Roger Kingston) Date: Mon, 14 Feb 2005 20:42:41 -0000 Subject: RevMail Problem In-Reply-To: <20050214142421.8C4789300CF@mail.runrev.com> Message-ID: <000001c512d5$baee2370$0401a8c0@ULTRASOLVE2> Thanks Dwayne, I tried your suggestion, but my version of RR was already up to date. The problem does seem to be related to a missing library in the stand-alone. Revmail doesn't work from the standalone until I start the RR development environment. Whereupon, the mail in the standalone script behaves impeccably, even if I exit the RR development app. A reboot of my PC then restores the standalone to its non-mailing state. Regards Roger Kingston >Hi Roger, >Problem lies in the original revlibrary.rev file (components/global >environment/) >The problem has been fixed, you can download an update by running Rev 2.5 then choose Help > Check >for Updates... You will probably be prompted to update the revstandalonesettings.rev file >(components/tools/) also. >This is done automatically and a backup copy of each is made! >Cheers Dwayne... >> From: "Roger Kingston" >> Subject: RevMail Problem >> >> I'm running RR 2.5 under MS Windows XP SP2 and have stumbled across a >> problem with revMail in a standalone. The mail script I have is in a >> button on a card in a substack and it works fine in the Development >> environment and MS Outlook - starting the mail program if it's not >> running, but just does nothing in the standalone. (No error message). >> >> Code is: >> revMail lvMailTo,lvRecipientList,lvSubject,lvBody >> >> The Standalone Application Settings are set to 'search' for required >> inclusions. >> >> Can anyone help please? >> >> >> Roger Kingston From lists at mangomultimedia.com Mon Feb 14 18:16:44 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 14 Feb 2005 15:16:44 -0800 Subject: & character messes up hierarchal pulldown menus Message-ID: <490f4fcce0aab65c3afcf58a0aacb46f@mangomultimedia.com> I've come across this problem and was wondering if anyone knows of a workaround. On OS X if you have an & symbol in a child menu item then the child is elevated to a parent. Put the following text in a pulldown button: Contemporary [tab]Test [tab]R&&B All This should display: Contemporary All with Test and R&B as children of Contemporary. Instead you see: Contemporary R&B All with Test as a child of Contemporary. This does not happen on Windows XP. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From stephenREVOLUTION at barncard.com Mon Feb 14 18:33:19 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 14 Feb 2005 15:33:19 -0800 Subject: BBEdit Transcript Language Module Message-ID: Hi Trevor - I have version 104 of your BBEdit Transcript Language Module - and am having trouble getting BBEDIT to recognized it. I put it into the Language Module folder (OSX 3.8-- Has there been a big change lately in versions that might break it? I currently have BBEdit 803. I'd love to use it - I have a lot of old HC code to go through. thanks, sqb From dick.kriesel at mail.com Mon Feb 14 20:26:52 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 14 Feb 2005 17:26:52 -0800 Subject: revCopyFile on OS X Message-ID: I?ve tried everything I can think of to get revCopyFile to work in RR 2.5 on OS X 10.3.8. Everything I?ve tried results in ?execution error.? I just voted for BZ 2422. Any clues, honored gurus? -- Dick From soapdog at mac.com Mon Feb 14 20:42:56 2005 From: soapdog at mac.com (Andre Garzia) Date: Mon, 14 Feb 2005 23:42:56 -0200 Subject: revCopyFile on OS X In-Reply-To: References: Message-ID: <38298eef5afb461eb8e68695f9995ff0@mac.com> On Feb 14, 2005, at 11:26 PM, Dick Kriesel wrote: > I?ve tried everything I can think of to get revCopyFile to work in RR > 2.5 on > OS X 10.3.8. > > Everything I?ve tried results in ?execution error.? > > I just voted for BZ 2422. > > Any clues, honored gurus? > > -- Dick > Dick, I could not manage to make that think work either, I built my own copy func using put URL "binfile:sourcefile" into URL "binfile:destinationfile", this of course do not copy bundles... I'll vote on your bug asap... cheers andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From byront at mac.com Mon Feb 14 20:51:42 2005 From: byront at mac.com (Byron Turner) Date: Mon, 14 Feb 2005 17:51:42 -0800 Subject: snap to grid In-Reply-To: References: Message-ID: Thanks everyone for all the help I've received. Since the built in function is defeated by setting the loc of an object I have been working on a snap to grid with a nice shadow effect. I wanted this for end users to move objects around and see where the object will land. Anyway, it seems to work well regardless of the size of the screen. As I'm still a baby programmer there may well be a better way but if anyone is interested I'd be happy to share. I know there is a users spaces at runrev but I have not idea how to upload to that space. Byron "As democracy is perfected, the office of president represents, more and more closely, the inner soul of the people. On some great and glorious day the plain folks of the land will reach their heart's desire at last and the White House will be adorned by a downright moron." --H. L. Mencken From katir at hindu.org Mon Feb 14 20:51:57 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 14 Feb 2005 15:51:57 -1000 Subject: BBEdit Transcript Language Module In-Reply-To: References: Message-ID: Keep us posted... I need this too... tks Sivakatirswami On Feb 14, 2005, at 1:33 PM, Stephen Barncard wrote: > Hi Trevor - > > I have version 104 of your BBEdit Transcript Language Module - and am > having trouble getting BBEDIT to recognized it. I put it into the > Language Module folder (OSX 3.8-- Has there been a big change lately > in versions that might break it? I currently have BBEdit 803. > > I'd love to use it - I have a lot of old HC code to go through. > > thanks, > > sqb > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From byront at mac.com Mon Feb 14 20:55:13 2005 From: byront at mac.com (Byron Turner) Date: Mon, 14 Feb 2005 17:55:13 -0800 Subject: preventing object overlap In-Reply-To: References: Message-ID: <965bc9f2bd54f17479f7908999b86049@mac.com> I have images that the user can drag around a grid and I want to make sure that they don't overlap (one dragged on top of another). I've tried trapping for mouse messages (mouseenter, mousewithin) but they seem to not function while the mouse is down. Drag enter seems to only work if something is being copied, not just moved around. Any thoughts. Byron "Naturally the common people don't want war . . , the people can always be brought to the bidding of the leaders. That is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in any country." --Reichsmarschall, Hermann Goering From stephenREVOLUTION at barncard.com Mon Feb 14 21:08:17 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 14 Feb 2005 18:08:17 -0800 Subject: BBEdit Transcript Language Module Message-ID: Yes, that's the place to put the file. Remember that BBEDIT allows only three additional colors for code- keywords, string constants and Comments, so it's not as 'colorful' as, say, Golive. But comment and Uncomment works. Nice. Thanks Trevor. At 3:56 PM -0800 2/14/05, Trevor DeVore wrote: >Did you put it in ~/Library/Application Support/BBEdit/Language >Modules? BBEdit 8 changed the support folder from BBEdit Support to >just BBEdit. Could that be the problem? > >Trevor >Keep us posted... I need this too... > >tks > >Sivakatirswami > > >On Feb 14, 2005, at 1:33 PM, Stephen Barncard wrote: > >>Hi Trevor - >> >>I have version 104 of your BBEdit Transcript Language Module - and >>am having trouble getting BBEDIT to recognized it. I put it into >>the Language Module folder (OSX 3.8-- Has there been a big change >>lately in versions that might break it? I currently have BBEdit 803. >> >>I'd love to use it - I have a lot of old HC code to go through. >> >>thanks, >> >>sqb >>_______________________________________________ >>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 lists at mangomultimedia.com Mon Feb 14 21:25:08 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 14 Feb 2005 18:25:08 -0800 Subject: BBEdit Transcript Language Module In-Reply-To: References: Message-ID: On Feb 14, 2005, at 6:08 PM, Stephen Barncard wrote: > Yes, that's the place to put the file. Remember that BBEDIT allows > only three additional colors for code- keywords, string constants and > Comments, so it's not as 'colorful' as, say, Golive. But comment and > Uncomment works. Nice. Thanks Trevor. You also get a list of all handlers in the script so you can quickly navigate among them using the function drop-down menu. It is also useful to create your own glossary entries. For example, I use this whenever I create a command: /** * DESCRIPTION * * @param VALUE DESCRIPTION * * @return VALUE */ #indent##inline#on #SELECT# #INSERTION# end #SELECT# I've assigned a keyboard shortcut to it so I can type the name of the handler, select it and press the keyboard shortcut and BBEdit does the rest. Very useful. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jperryl at ecs.fullerton.edu Mon Feb 14 21:50:10 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 14 Feb 2005 18:50:10 -0800 (PST) Subject: preventing object overlap In-Reply-To: <965bc9f2bd54f17479f7908999b86049@mac.com> Message-ID: Byron, Have you looked at the intersect function? Judy On Mon, 14 Feb 2005, Byron Turner wrote: > I have images that the user can drag around a grid and I want to make > sure that they don't overlap (one dragged on top of another). I've > tried trapping for mouse messages (mouseenter, mousewithin) but they > seem to not function while the mouse is down. Drag enter seems to only > work if something is being copied, not just moved around. Any > thoughts. > > Byron > > "Naturally the common people don't want war . . , the people can always > be brought to the bidding of the leaders. That is easy. All you have to > do is to tell them they are being attacked, and denounce the pacifists > for lack of patriotism and exposing the country to danger. It works the > same in any country." > > --Reichsmarschall, Hermann Goering > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Tue Feb 15 02:05:06 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 15 Feb 2005 08:05:06 +0100 Subject: Images In-Reply-To: References: Message-ID: <921dee6d1bf03758b02609dc04689653@skynet.be> Le 14 f?vr. 05, ? 11:28, xbury.cs at clearstream.com a ?crit : > Yves, > > what about > > copy image x of stack a to stack b > > that should work. Just make sure the stacks are opened... > Yes, it works fine. Thank you. Greetings. Yves COPPE yvescoppe at skynet.be From sarahr at genesearch.com.au Tue Feb 15 02:27:46 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 15 Feb 2005 17:27:46 +1000 Subject: revCopyFile on OS X In-Reply-To: References: Message-ID: Hi Dick, I think at some stage revCopyFile changed from taking a file as the destination to taking a folder name. Think of it as being the same as option-dragging a file to another folder in the Finder. It makes a new and identical copy of the file in the destination folder. Your example stack uses file names and appears trying to create at least two copies of the original in the same folder but with different names. if this is what you want to do, you cane either do a revCopyFile and then a rename of each file, or if the files aren't too big to read into memory, use the URL binfile commands to read the file and write it out again to multiple files. Cheers, Sarah On 15/02/2005, at 11:28 AM, Dick Kriesel wrote: > I?ve tried everything I can think of to get revCopyFile to work in RR > 2.5 on > OS X 10.3.8. > > Everything I?ve tried results in ?execution error.? > > I just voted for BZ 2422. > > Any clues, honored gurus? > > -- Dick From boehmisch at animabit.de Tue Feb 15 04:54:28 2005 From: boehmisch at animabit.de (boehmisch at animabit.de) Date: 15 Feb 2005 09:54:28 UT Subject: Re-2: Typing foreign characters in RunRev (unicode !) Message-ID: On Microsoft PCs you have to set up system control (Systemsteuerung) languages and regions (Regional- und Spracheigenschaften) installing the languages you like I am using hebrew und greek therefore I had first to install the language tools for languages writing right to left (you need the OS CD-ROM). In Runrev i can perfectly type hebrew from right to left within one word but it breaks the direction in the sentence. I use winword for typing hebrew text and copy it into the runrev textfield. Runrev is using perfect unicode support in HTMLtext and RTFtext of the textfield.? But runrev breakes foreign languages in table mode of the field because they use the # sign as delimiter for the table columns. All foreign languages are coded using the # sign in HTML ==> foreign languages are immediately broken when used in a table text field. No experience in linux or mac. Regards, Franz Mit freundlichen Gr??en Franz B?hmisch http://www.animabit.de GF Animabit Multimedia Software GmbH Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 boehmisch at animabit.de Original Message processed by David InfoCenter Subject: Re: Typing foreign characters in RunRev (14-Feb-2005 15:52) From: frank at backtalk.com To: boehmisch at animabit.de Xavier, Thanks, but I was looking for something that would emulate the way that it's done in every piece of software except Rev -- hold down option key and type "u", see floating dots, type "u" and get ?mlaut. I'm curious what our German, French and Portuguese Revers do.. Can you type accents and umlauts into Rev fields? What happens if you use a US keyboard instead of a German/French/Portuguese keyboard, can you still type them? And a final question, does anyone know where the floating dots (or floating accent or floating tilda) characters are stored, and how to show them in a Rev field? Thanks, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Feb 14, 2005, at 2:24 PM, use-revolution-request at lists.runrev.com wrote: > From: xbury.cs at clearstream.com > Subject: Re: Typing foreign characters in RunRev > To: How to use Revolution > Message-ID: > > boerse.de> > > Content-Type: text/plain; charset="iso-8859-1" > > Na Frank, > > That should be a nice and simple keydown card message .. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution at lists.runrev.com From larsbrehmer at mac.com Tue Feb 15 07:45:44 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 15 Feb 2005 14:45:44 +0200 Subject: typing foreign characters Message-ID: <28919e865796f7980e1ffbbd0346bf1d@mac.com> Hi List (especially foreign character typers!) I've been following this thread because I had similar problems and questions last year. Here is the weirdest thing I found out back then, and to my knowledge on one has posted this interesting litlte fact yet, at least I never saw it: In Rev (and it seems in standalones as well) you can't get an umlaut even with the option-u extra stroke when using the US English keyboard on a Mac. You can however, using the German keyboard, either hit the [ ; and ' keys which give you ?, ? and ? respectively, but you can also get the umlauts with the option-u-u,o,a method when using the German keyboard (!?!) I always found this quite strange, but it gets even stranger! For those who need these diacriticals and have to switch to the German keyboard but are driven crazy by the different layout (once you get used to the y and z keys there are still all the punctuation marks and shift-number differences) you just have to use the British English keyboard, which has the same layout as the US, except the option-u strokes WILL produce the umlauts in both Rev and standalones! Also the ? (option-n-o) which I also need for Estonian. I never understood why only the US keyboard is the only one that doesn't do this, but using the British keyboard is certainly an easy solution! (note to Klaus - I finally DID actually help someone else :-D) Cheers, Lars From kresten.bjerg at psy.ku.dk Tue Feb 15 08:50:06 2005 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Tue, 15 Feb 2005 14:50:06 +0100 Subject: Bridging between Mac and PC Message-ID: <4211FE0E.5010906@psy.ku.dk> Creating cross-platform revolution applications, from mac (OS 9) to windows PC creates a need for bridging . CDs of course may be a vehicle. A firewire harddisk may be another (allthough uncertainties about its formatting (FAT 32?)) but it seems logical that a direct fire-wire connection between a mac and a PC would be a very usefull gate. I guess this problem is old hat to many professional revolution-users. Any cheap and easy ways to solve it? P.S. There are perhaps already postings on this topic in the accumulated lists, - but I find no internal search-mechanism on the list-site. Is such a mechanism very complicated to implement? Kresten Bjerg Refer please to Oikos Homestation , for further information From jbv.silences at Club-Internet.fr Tue Feb 15 08:55:21 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 15 Feb 2005 14:55:21 +0100 Subject: Bridging between Mac and PC References: <4211FE0E.5010906@psy.ku.dk> Message-ID: <4211FF48.95C597AD@Club-Internet.fr> I for one upload / download zipped files to / from a remote server via ftp... I know this solution may seem out of proportion at first glance, but it's actually fast, convenient and cost effective (most ISPs allow a few Mb - and often much more - so why not use it ?)... JB > Creating cross-platform revolution applications, from mac (OS 9) to > windows PC creates a need for bridging . CDs of course may be a vehicle. > A firewire harddisk may be another (allthough uncertainties about its > formatting (FAT 32?)) but it seems logical that a direct fire-wire > connection between a mac and a PC would be a very usefull gate. I guess > this problem is old hat to many professional revolution-users. Any cheap > and easy ways to solve it? > > P.S. There are perhaps already postings on this topic in the > accumulated lists, - but I find no internal search-mechanism on the > list-site. Is such a mechanism very complicated to implement? > > Kresten Bjerg > > Refer please to Oikos Homestation , for > further information > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rev at armbase.com Tue Feb 15 08:51:20 2005 From: rev at armbase.com (rev at armbase.com) Date: Tue, 15 Feb 2005 13:51:20 +0000 Subject: Bridging between Mac and PC In-Reply-To: <4211FE0E.5010906@psy.ku.dk> References: <4211FE0E.5010906@psy.ku.dk> Message-ID: <1108475480.4211fe5837c16@webmail.armbase.com> Quoting Kresten Bjerg : > Creating cross-platform revolution applications, from mac (OS 9) to > windows PC creates a need for bridging . CDs of course may be a vehicle. > A firewire harddisk may be another (allthough uncertainties about its > formatting (FAT 32?)) but it seems logical that a direct fire-wire > connection between a mac and a PC would be a very usefull gate. I guess > this problem is old hat to many professional revolution-users. Any cheap > and easy ways to solve it? OK I may have missed the point entirely, but I would simply use a reverse network cable (probably you dont need to reverse these days). Alternatively use a router. You can use filesharing to access the HD on each machine. Cheers Bob From martinblackman at hotmail.com Tue Feb 15 08:55:30 2005 From: martinblackman at hotmail.com (Martin Blackman) Date: Tue, 15 Feb 2005 13:55:30 +0000 Subject: Script editor behaviour Message-ID: Hi there, this is my first post so please go easy on me.. I'm not a programmer by profession but have been working on a rev project in my spare time for the last 18 months. A few comments/ queries about the script editor..I'd like to hear if anyone has similar experiences. I'm using rev 2.5 on windows 98. Has anyone noticed that when you hit apply in single-handler view, the script scrolls to the top of the handler. Wouldn't it be nice if it stayed still like in the normal view ? I have a large stack script which I need to view in single handler view, otherwise editing slows right down and copy/paste behaves erratically. For example I hit ctrl-x in non-single handler view (normal view?) which cuts a line, I go to paste it elsewhere and I only get a few 'box' characters and I lose the line altogether. Has anyone had this occur? Occasionally, I need to switch from single-handler to normal view because that is the only way I can get at my list of global variables at the top. Once or twice this has actually thrown my stack script into disarray, eg several lines have disappeared. Anyone had this one ? regards Martin Blackman From 3mcgrath at adelphia.net Tue Feb 15 08:57:36 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 15 Feb 2005 08:57:36 -0500 Subject: preventing object overlap In-Reply-To: <965bc9f2bd54f17479f7908999b86049@mac.com> References: <965bc9f2bd54f17479f7908999b86049@mac.com> Message-ID: intersect(object,object) intersect(field "Comment",the selectedField) if intersect(button "target", button "crosshairs") then flashScreen See also: is within operator, layer property, within function Tom On Feb 14, 2005, at 8:55 PM, Byron Turner wrote: > I have images that the user can drag around a grid and I want to make > sure that they don't overlap (one dragged on top of another). Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From revolution at derbrill.de Tue Feb 15 09:04:02 2005 From: revolution at derbrill.de (malte brill) Date: Tue, 15 Feb 2005 15:04:02 +0100 Subject: & character messes up hierarchal pulldown menus In-Reply-To: <20050215101024.080049300D4@mail.runrev.com> Message-ID: Hi Trevor, >I've come across this problem and was wondering if anyone knows of a >workaround. sorry, no workaround, but a confirmation. But this is only the case under 2.5. Under 2.2 it works as expected. sorry I couldn?t help, (time for Bugzilla?) Malte From 3mcgrath at adelphia.net Tue Feb 15 09:16:39 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 15 Feb 2005 09:16:39 -0500 Subject: Bridging between Mac and PC In-Reply-To: <4211FE0E.5010906@psy.ku.dk> References: <4211FE0E.5010906@psy.ku.dk> Message-ID: <859d2faadba30793b1dd44971ebd7ce4@adelphia.net> You have ethernet cables: (networking software is used) one to one = crossover cable (they reverse three and five???I think) one to hub to one = straight through cable You have firewire: one to one (networking software is still needed to do this) You have server client: each computer is connected to internet. You have email: each computer still needs connected to the internet. You have FTP: each computer still needs connected to the internet. You have Disk: CD ZIP, USB, Flash, etc. (each computer will need a reader device) You have USB: Removable USB drive (each computer will need a USB port) You have bluetooth: if built in (bluetooth networking software is used) You have 802.11B G: Each computer has wireless card (networking software is used) IN the same building I prefer 802.11G Wireless since all of my computers are wireless connected to the internet and can use wireless networking. In different places I prefer CD and or removable USB drives OR email. Others prefer client/server (which can be built in REV). The only time I use firewire is when I want one computer to be the HardDrive/slave and the other to copy Large amounts of software between the two. HTH Tom On Feb 15, 2005, at 8:50 AM, Kresten Bjerg wrote: > Creating cross-platform revolution applications, from mac (OS 9) to > windows PC creates a need for bridging . CDs of course may be a > vehicle. A firewire harddisk may be another (allthough uncertainties > about its formatting (FAT 32?)) but it seems logical that a direct > fire-wire connection between a mac and a PC would be a very usefull > gate. I guess this problem is old hat to many professional > revolution-users. Any cheap and easy ways to solve it? > > P.S. There are perhaps already postings on this topic in the > accumulated lists, - but I find no internal search-mechanism on the > list-site. Is such a mechanism very complicated to implement? > > Kresten Bjerg > Refer please to Oikos Homestation , for > further information > > > _______________________________________________ > 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 benr_mc at cogapp.com Tue Feb 15 09:22:33 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 15 Feb 2005 14:22:33 +0000 Subject: Subscribe gmane to this list? Message-ID: I've recently come across Gmane, an interesting service that attempts to make mailing lists more usefully accessible. It gives a variety of nice interfaces to the list, including two web variants (both of them to my taste substantially better than Mailman provides), news reader, and RSS; and search functionality that constitutes a definite improvement over using google with site. For an example, see http://dir.gmane.org/gmane.culture.cars.volkswagen.diesel It also potentially allows posting through the web interface, which I personally would find helpful. More information here: http://gmane.org/about.php http://gmane.org/faq.php http://gmane.org/features.php I'd propose that this list would be subscribed with posting allowed for list members only, and with email addresses encrypted. Downsides to doing this: - the list is fractionally more public than it is now. Postings to this list are already archived, and discoverable via Google; but now there will be two sites on which such postings may be found; and the list itself will now be in another index, in addition to the one in which it can be found from the runrev site. So I don't think that is very significant. - er? Upsides: - no change to anything existing - no additional effort from RunRev - several valuable new interfaces - (tiny) additional exposure for Revolution (there are a preponderance of developer related lists on the service, and you can search across them) If this list wasn't already archived on a publicly accessible web site, then I'd think twice. But as it is, I can't see any real downside to doing this. But of course, I wouldn't want to do it if the list, or RunRev, would prefer not. Comments? Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From st.king42 at ntlworld.com Tue Feb 15 10:49:01 2005 From: st.king42 at ntlworld.com (Stephen King) Date: Tue, 15 Feb 2005 15:49:01 -0000 Subject: Rotating a QT movie in Rev References: <20050215101023.B88439300CE@mail.runrev.com> Message-ID: <000e01c51375$e01aa0b0$5602a8c0@athalon> Hi, Does anyone know if its possible to rotate a QT movie using Rev. We recently had to take some video using a camera sideways orientation - so I either have to rotate the video 90 degrees or turn the monitor over! I am sure I have read somewhere that QT Pro can do this, but I don't really really have a use for pro and the player normally does me fine. Cheers Steve From lists at mangomultimedia.com Tue Feb 15 10:59:45 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Feb 2005 07:59:45 -0800 Subject: & character messes up hierarchal pulldown menus In-Reply-To: References: Message-ID: <1d4e142e20dcdf67774a1054808bfcae@mangomultimedia.com> On Feb 15, 2005, at 6:04 AM, malte brill wrote: > Hi Trevor, > >> I've come across this problem and was wondering if anyone knows of a >> workaround. > > sorry, no workaround, but a confirmation. But this is only the case > under > 2.5. Under 2.2 it works as expected. > > sorry I couldn?t help, (time for Bugzilla?) I posted two bug reports on this yesterday - 2603 and 2604. 2604 refers to this bug and 2603 refers to the problem of single character options don't appear if any items in the pulldown are tab-indented. This is only on OS X. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Feb 15 11:03:03 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Feb 2005 08:03:03 -0800 Subject: Rotating a QT movie in Rev In-Reply-To: <000e01c51375$e01aa0b0$5602a8c0@athalon> References: <20050215101023.B88439300CE@mail.runrev.com> <000e01c51375$e01aa0b0$5602a8c0@athalon> Message-ID: <50d728e53f8d721c0badf9da2d77e8c2@mangomultimedia.com> On Feb 15, 2005, at 7:49 AM, Stephen King wrote: > Hi, > > Does anyone know if its possible to rotate a QT movie using Rev. We > recently had to take some video using a camera sideways orientation - > so I either have to rotate the video 90 degrees or turn the monitor > over! I am sure I have read somewhere that QT Pro can do this, but I > don't really really have a use for pro and the player normally does me > fine. The beta of the EnhancedQT external allows you to do this thanks to some sample code provided by Brian Yennie. If you download the beta from there are docs included with it. Under "Movie Manipulation" you will find qtRotateMovie. The command returns the newWidth,newHeight in the result() function which you need to use to set the new rect for the player object after calling the command. If I remember correctly I still need to make a couple of tweaks to it before I release 1.0 so if you run into any problems let me know. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revdan at danshafer.com Tue Feb 15 11:47:33 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 15 Feb 2005 08:47:33 -0800 Subject: Bridging between Mac and PC In-Reply-To: <4211FE0E.5010906@psy.ku.dk> References: <4211FE0E.5010906@psy.ku.dk> Message-ID: <40f8cd9bcb7a28de09395276e30ad01a@danshafer.com> We use local network file sharing for this. Mixing Mac and Windows for this kind of thing is nearly trivial. Dan On Feb 15, 2005, at 5:50 AM, Kresten Bjerg wrote: > Creating cross-platform revolution applications, from mac (OS 9) to > windows PC creates a need for bridging . CDs of course may be a > vehicle. A firewire harddisk may be another (allthough uncertainties > about its formatting (FAT 32?)) but it seems logical that a direct > fire-wire connection between a mac and a PC would be a very usefull > gate. I guess this problem is old hat to many professional > revolution-users. Any cheap and easy ways to solve it? > > P.S. There are perhaps already postings on this topic in the > accumulated lists, - but I find no internal search-mechanism on the > list-site. Is such a mechanism very complicated to implement? > > Kresten Bjerg > Refer please to Oikos Homestation , for > further information > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Tue Feb 15 12:00:02 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 15 Feb 2005 09:00:02 -0800 Subject: Subscribe gmane to this list? In-Reply-To: Message-ID: Recently, Ben Rubinstein wrote: > I've recently come across Gmane, an interesting service that attempts to > make mailing lists more usefully accessible. > ... > I'd propose that this list would be subscribed with posting allowed for list > members only, and with email addresses encrypted. Several people over the years have proposed alternate options for the mail list. For myself, I've always believed that a combination of several interface options would be best: email, web forum, etc. If the service acts as you say without any need to change the current means of interaction then it does seem like a good option. It is Runtime's list though, so it would be best to check with them. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jeff at siphonophore.com Tue Feb 15 12:28:46 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Tue, 15 Feb 2005 12:28:46 -0500 Subject: Bridging between Mac and PC In-Reply-To: <20050215170124.B003E9300D3@mail.runrev.com> References: <20050215170124.B003E9300D3@mail.runrev.com> Message-ID: <6d8e33d466643ffb712d4de90404eebb@siphonophore.com> With OS9 you will need some networking software on the Mac to make it talk to the PC via filesharing using a x-over cable or patch cables through a hub (on OSX its built in.) I had the system set up on my old system and it worked well, but was a little 'non mac like' in its set up, but i guess that was because it was trying to make the mac look like and talk like a PC! There is a firewire cable/software solution out there, saw it a few years back. My quick and dirty solution most of the time is my little usb pen drive. you can get them very cheap these days! fast and easy and you can usually fit most of the stuff of a cd onto a 512mb drive. cheers, jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com On Feb 15, 2005, at 12:01 PM, use-revolution-request at lists.runrev.com wrote: > > Quoting Kresten Bjerg : > >> Creating cross-platform revolution applications, from mac (OS 9) to >> windows PC creates a need for bridging . CDs of course may be a >> vehicle. >> A firewire harddisk may be another (allthough uncertainties about its >> formatting (FAT 32?)) but it seems logical that a direct fire-wire >> connection between a mac and a PC would be a very usefull gate. I >> guess >> this problem is old hat to many professional revolution-users. Any >> cheap >> and easy ways to solve it? > > OK I may have missed the point entirely, but I would simply use a > reverse > network cable (probably you dont need to reverse these days). > Alternatively use > a router. You can use filesharing to access the HD on each machine. > > > > Cheers > Bob From stephenREVOLUTION at barncard.com Tue Feb 15 12:38:58 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 15 Feb 2005 09:38:58 -0800 Subject: Rotating a QT movie in Rev Message-ID: >Hi, > >Does anyone know if its possible to rotate a QT movie using Rev. We >recently had to take some video using a camera sideways orientation >- so I either have to rotate the video 90 degrees or turn the >monitor over! I am sure I have read somewhere that QT Pro can do >this, but I don't really really have a use for pro Umm... I think rotating would be a pro feature -- and then you would have a use for it.... > and the player normally does me fine. > >Cheers >Steve From ps1 at softseven.org Tue Feb 15 12:34:04 2005 From: ps1 at softseven.org (Paul Salyers) Date: Tue, 15 Feb 2005 11:34:04 -0600 Subject: sound file help Message-ID: <6.1.1.1.2.20050215112901.02813620@softseven.org> play audioClip "01" -- Play sound file 1 wait until the sound is done Dear Rev Programmers, I use the above command to play a wav file, I need to know 2 things 1) Will Rev use any sound file in place of a wav? 2) Is there a way to stop the sound file when you want to for want ever reason? Thank you Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From klaus at major-k.de Tue Feb 15 12:54:05 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 15 Feb 2005 18:54:05 +0100 Subject: sound file help In-Reply-To: <6.1.1.1.2.20050215112901.02813620@softseven.org> References: <6.1.1.1.2.20050215112901.02813620@softseven.org> Message-ID: <303e6b3a3ca414fca074c52b4d0d9da9@major-k.de> Hi Paul, > play audioClip "01" -- Play sound file 1 > wait until the sound is done > > Dear Rev Programmers, > > I use the above command to play a wav file, I need to know 2 things > > 1) Will Rev use any sound file in place of a wav? With the "play ac xyz" you can only use UNCOMPRESSED WAV and AIF files, and un-/compressed AU files. For anything else you'll have to use player-objects and probably QuickTime... > 2) Is there a way to stop the sound file when you want to for want > ever reason? ... play stop ac "xyz.wav" ... or just generic: ... play stop ac ... > Thank you > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org Regards Klaus Major klaus at major-k.de http://www.major-k.de From b.xavier at internet.lu Tue Feb 15 13:11:38 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 15 Feb 2005 19:11:38 +0100 Subject: Random Help In-Reply-To: <303e6b3a3ca414fca074c52b4d0d9da9@major-k.de> Message-ID: <20050215181825.B3A1B930060@mail.runrev.com> Hey ya there! I dont know what random number of you are annoyed by the fact that the random function in RunRev doesn't include zero. Was zero such a bad invention?. I wonder. But after quite a few random based applications and discoveries, im quite inclined that is less productive programmatically and logically... But anyway, if you want to vote a random number of points for the random sake or emotional release of using random(it+1)-1 instead of random(it) Drop a visit at my suggestive bugzilla http://support.runrev.com/bugdatabase/show_bug.cgi?id=2608 naturally some believe in a random number of exceptions where to put their votes ;) revgourl "http://support.runrev.com/bugdatabase/show_bug.cgi?id="&random(2608) c'ya! Xavier -- MonsieurX.com - a random space for stacks of random stuff!!! From ambassador at fourthworld.com Tue Feb 15 13:09:08 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Feb 2005 10:09:08 -0800 Subject: Random Help In-Reply-To: <20050215181825.B3A1B930060@mail.runrev.com> References: <20050215181825.B3A1B930060@mail.runrev.com> Message-ID: <42123AC4.4040008@fourthworld.com> MisterX wrote: > Hey ya there! > > I dont know what random number of you are annoyed by the fact that the > random function in RunRev doesn't include zero. Was zero such a bad > invention?. I wonder. But after quite a few random based applications and > discoveries, im quite inclined that is less productive programmatically and > logically... What was HyperCard's behavior? Personally I need a number more often than I need to include zero, but I don't use random often so mine may be a special case. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From st.king42 at ntlworld.com Tue Feb 15 13:18:22 2005 From: st.king42 at ntlworld.com (Stephen King) Date: Tue, 15 Feb 2005 18:18:22 -0000 Subject: Rotating a QT movie in Rev References: <20050215170124.B003E9300D3@mail.runrev.com> Message-ID: <000701c5138a$bd2c7870$5602a8c0@athalon> Sounds perfect Trevor, I'll give it a go. Many thanks Steve >> Hi, >> >> Does anyone know if its possible to rotate a QT movie using Rev. We >> recently had to take some video using a camera sideways orientation - >> so I either have to rotate the video 90 degrees or turn the monitor >> over! I am sure I have read somewhere that QT Pro can do this, but I >> don't really really have a use for pro and the player normally does me >> fine. > > The beta of the EnhancedQT external allows you to do this thanks to > some sample code provided by Brian Yennie. If you download the beta > from > there are docs included with it. Under "Movie Manipulation" you will > find qtRotateMovie. The command returns the newWidth,newHeight in the > result() function which you need to use to set the new rect for the > player object after calling the command. If I remember correctly I > still need to make a couple of tweaks to it before I release 1.0 so if > you run into any problems let me know. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com From kray at sonsothunder.com Tue Feb 15 13:35:20 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 15 Feb 2005 12:35:20 -0600 Subject: & character messes up hierarchal pulldown menus In-Reply-To: <490f4fcce0aab65c3afcf58a0aacb46f@mangomultimedia.com> Message-ID: On 2/14/05 5:16 PM, "Trevor DeVore" wrote: > I've come across this problem and was wondering if anyone knows of a > workaround. On OS X if you have an & symbol in a child menu item then > the child is elevated to a parent. Put the following text in a > pulldown button: > > Contemporary > [tab]Test > [tab]R&&B > All > > This should display: > Contemporary > All > > with Test and R&B as children of Contemporary. Instead you see: > Contemporary > R&B > All > > with Test as a child of Contemporary. This does not happen on Windows > XP. Trevor, I tried exactly what you proposed on both Rev 2.2 and 2.5 and got the proper result. I'm on 10.3.4, if that makes any difference... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Tue Feb 15 14:31:09 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Feb 2005 11:31:09 -0800 Subject: & character messes up hierarchal pulldown menus In-Reply-To: References: Message-ID: On Feb 15, 2005, at 10:35 AM, Ken Ray wrote: > > Trevor, I tried exactly what you proposed on both Rev 2.2 and 2.5 and > got > the proper result. I'm on 10.3.4, if that makes any difference... Hmm, possibly. I'm running 10.3.7 on one computer and 10.3.8 on another. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Tue Feb 15 14:52:38 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 15 Feb 2005 12:52:38 -0700 Subject: Random Help In-Reply-To: <20050215181825.B3A1B930060@mail.runrev.com> References: <20050215181825.B3A1B930060@mail.runrev.com> Message-ID: <2091a413759df97bd91ecd1059635809@swcp.com> On Feb 15, 2005, at 11:11 AM, MisterX wrote: > But anyway, if you want to vote a random number of points for the > random > sake or emotional release of > > using random(it+1)-1 instead of random(it) You can write a function that does what you want and put that into your common library. I'd rather see bugs fixed or enhancements that extend basic can-do, especially those that allow other enhancements to be added nicely. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From st.king42 at ntlworld.com Tue Feb 15 15:41:17 2005 From: st.king42 at ntlworld.com (Stephen King) Date: Tue, 15 Feb 2005 20:41:17 -0000 Subject: Rotating a QT movie in Rev Message-ID: <000701c5139e$b3cc0520$5602a8c0@athalon> Just one point Trevor, The link mentions Mac and Windows for the beta, but the download zip seems to only contain Mac. (I'm on PC unfortunately). Am I misunderstanding something Cheers Steve ----- Original Message ----- From: "Stephen King" To: Sent: Tuesday, February 15, 2005 6:18 PM Subject: Re: Rotating a QT movie in Rev > Sounds perfect Trevor, > > I'll give it a go. > > Many thanks > Steve > >>> Hi, >>> >>> Does anyone know if its possible to rotate a QT movie using Rev. We >>> recently had to take some video using a camera sideways orientation - so >>> I either have to rotate the video 90 degrees or turn the monitor over! I >>> am sure I have read somewhere that QT Pro can do this, but I don't >>> really really have a use for pro and the player normally does me fine. >> >> The beta of the EnhancedQT external allows you to do this thanks to some >> sample code provided by Brian Yennie. If you download the beta from >> there >> are docs included with it. Under "Movie Manipulation" you will find >> qtRotateMovie. The command returns the newWidth,newHeight in the >> result() function which you need to use to set the new rect for the >> player object after calling the command. If I remember correctly I still >> need to make a couple of tweaks to it before I release 1.0 so if you run >> into any problems let me know. >> >> >> -- >> Trevor DeVore >> Blue Mango Multimedia >> trevor at mangomultimedia.com > From st.king42 at ntlworld.com Tue Feb 15 15:43:58 2005 From: st.king42 at ntlworld.com (Stephen King) Date: Tue, 15 Feb 2005 20:43:58 -0000 Subject: Rotating a QT movie in Rev Message-ID: <000b01c5139f$13d82f70$5602a8c0@athalon> Oops! Think I found it right on the top of the pile! EnhancedQT.dll I guess. Cheers Steve ----- Original Message ----- From: "Stephen King" To: Sent: Tuesday, February 15, 2005 8:41 PM Subject: Re: Rotating a QT movie in Rev > Just one point Trevor, > > The link mentions Mac and Windows for the beta, but the download zip seems > to only contain Mac. (I'm on PC unfortunately). > > Am I misunderstanding something > > Cheers > Steve > ----- Original Message ----- > From: "Stephen King" > To: > Sent: Tuesday, February 15, 2005 6:18 PM > Subject: Re: Rotating a QT movie in Rev > > >> Sounds perfect Trevor, >> >> I'll give it a go. >> >> Many thanks >> Steve >> >>>> Hi, >>>> >>>> Does anyone know if its possible to rotate a QT movie using Rev. We >>>> recently had to take some video using a camera sideways orientation - >>>> so I either have to rotate the video 90 degrees or turn the monitor >>>> over! I am sure I have read somewhere that QT Pro can do this, but I >>>> don't really really have a use for pro and the player normally does me >>>> fine. >>> >>> The beta of the EnhancedQT external allows you to do this thanks to some >>> sample code provided by Brian Yennie. If you download the beta from >>> there >>> are docs included with it. Under "Movie Manipulation" you will find >>> qtRotateMovie. The command returns the newWidth,newHeight in the >>> result() function which you need to use to set the new rect for the >>> player object after calling the command. If I remember correctly I >>> still need to make a couple of tweaks to it before I release 1.0 so if >>> you run into any problems let me know. >>> >>> >>> -- >>> Trevor DeVore >>> Blue Mango Multimedia >>> trevor at mangomultimedia.com >> > From lists at mangomultimedia.com Tue Feb 15 15:45:07 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Feb 2005 12:45:07 -0800 Subject: Rotating a QT movie in Rev In-Reply-To: <000701c5139e$b3cc0520$5602a8c0@athalon> References: <000701c5139e$b3cc0520$5602a8c0@athalon> Message-ID: <07706fbe4da582ad76752c7b7266aec0@mangomultimedia.com> On Feb 15, 2005, at 12:41 PM, Stephen King wrote: > Just one point Trevor, > > The link mentions Mac and Windows for the beta, but the download zip > seems to only contain Mac. (I'm on PC unfortunately). > > Am I misunderstanding something I just downloaded the beta ZIP archive and it has: ./Documentation ./EnhancedQT.bundle ./EnhancedQT.dll The file you want to use is EnhancedQT.dll. That will work for windows. The direct link to the zip archive is: If you need help getting started with externals you might want to read this article as well: -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From rev at armbase.com Tue Feb 15 15:54:16 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 15 Feb 2005 20:54:16 +0000 Subject: copy field to stack of unknown name In-Reply-To: <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> Message-ID: <6.1.2.0.0.20050215204803.0255fcd0@mail.armbase.com> At 03:02 14/02/2005, you wrote: >Hi Bob, Hi Sarah. I'm still stuck on this. Heeeeelllllpp everyone. :-) >I think you are on the right track, but the stack name (or stack file >name) needs to be a global or custom property if scripts in other objects >are going to access it. I tried doing this in the main stack script. global tStackName -- Added a global here --still to change it to gStackName but will once i get it going on doFileNew ask file "Name new database file:" with "MyDatabase.abd" if it is empty then exit to top put it into tFileName if char -4 to -1 of tFileName is not ".abd" then put ".abd" after tFileName set the itemDelimiter to "/" put last item of tFileName into tStackName set the visible of stack "Master Database" to false clone stack "Master database" Err the result set the name of stack it to tStackName set the title of stack tStackName to (char 1 to -5 of tStackName) set the minWidth of stack tStackName to 800 set the minHeight of stack tStackName to 600 set the fileName of stack tStackName to tFileName -- "tFileName" is the full pathname of the file the user named earlier. Err the result set the visible of stack "Master Database" to true put the stackFileType into tSaveStackFileType set the stackFileType to "RevoABD_" save stack tStackName Err the result set the stackFileType to tSaveStackFileType show stack tStackName toplevel stack tStackName end doFileNew --on the other stack I have a button that has the script on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack "tFileName" end mouseUp Any ideas. If I get this I can get on with all the other buttons etc etc. Cheers Bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From rev at armbase.com Tue Feb 15 15:57:02 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 15 Feb 2005 20:57:02 +0000 Subject: copy field to stack of unknown name In-Reply-To: <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> Message-ID: <6.1.2.0.0.20050215205541.0256a228@mail.armbase.com> PS I also tried this in the main stack global tStackName, tFileName and a button that had on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack "tFileName" end mouseUp and didn't get any luck with this either cheers bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From rev at armbase.com Tue Feb 15 16:12:41 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 15 Feb 2005 21:12:41 +0000 Subject: copy field to stack of unknown name (I might have it. Need advice) In-Reply-To: <6.1.2.0.0.20050215205541.0256a228@mail.armbase.com> References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> <6.1.2.0.0.20050215205541.0256a228@mail.armbase.com> Message-ID: <6.1.2.0.0.20050215210638.0256a370@mail.armbase.com> At 20:57 15/02/2005, you wrote: >PS I also tried this in the main stack OK I think I may have it. How do I add an axtension in the script onto the end of the gliobals IE tStackName and add .abd on the end. I tried on mouseUp copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack "tStackName & .abd" end mouseUp Is this right? cheers bob >global tStackName, tFileName > >and a button that had > >on mouseUp > copy field "TextField" of stack "Armbase Database Designer" to card 1 > of stack "tFileName" >end mouseUp > > and didn't get any luck with this either > >cheers >bob > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From revdan at danshafer.com Tue Feb 15 17:33:41 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 15 Feb 2005 14:33:41 -0800 Subject: Programmatically Hiding Windows Files? Message-ID: <37205d8058a560b83743225a6be620b6@danshafer.com> Is there a way I can't seem to find to set the Hidden attribute of a Windows file to true? On OS X, a file whose name begins with a period is hidden, so my idea works fine there. But on Windows, such files are treated like any other. Dan From revdan at danshafer.com Tue Feb 15 17:36:53 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 15 Feb 2005 14:36:53 -0800 Subject: copy field to stack of unknown name In-Reply-To: <6.1.2.0.0.20050215204803.0255fcd0@mail.armbase.com> References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> <6.1.2.0.0.20050215204803.0255fcd0@mail.armbase.com> Message-ID: On Feb 15, 2005, at 12:54 PM, Bob Hartley wrote: > --on the other stack I have a button that has the script > > on mouseUp > copy field "TextField" of stack "Armbase Database Designer" to card > 1 of stack "tFileName" > end mouseUp > Probably too obvious, so forgive me if I'm off base, but: 1. Is the global tFileName defined in the second stack where this handler lives? 2. You want tFileName not in quotations, otherwise you're looking for a stack CALLED tFileName, which is clearly not your intent. Dan From rev at armbase.com Tue Feb 15 17:54:23 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 15 Feb 2005 22:54:23 +0000 Subject: copy field to stack of unknown name In-Reply-To: References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> <6.1.2.0.0.20050215204803.0255fcd0@mail.armbase.com> Message-ID: <6.1.2.0.0.20050215225050.026685b0@mail.armbase.com> At 22:36 15/02/2005, you wrote: >On Feb 15, 2005, at 12:54 PM, Bob Hartley wrote: > >>--on the other stack I have a button that has the script >> >>on mouseUp >> copy field "TextField" of stack "Armbase Database Designer" to card 1 >> of stack "tFileName" >>end mouseUp >Probably too obvious, so forgive me if I'm off base, but: Hi Dan thanks for taking a look 22.51 here in scotland and I'm a bit tired so hope I make sense. >1. Is the global tFileName defined in the second stack where this handler >lives? This is defined in the first stack Armbase Database Designer where there is a button "new" that clones a stack that the user can name. In the first stack there is a button and a field. the button has the above script. (removing the quotes from the tfielname make no difference, still an error) The target stack does not have the script. >2. You want tFileName not in quotations, otherwise you're looking for a >stack CALLED tFileName, which is clearly not your intent. > >Dan cheers Bob >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > >-- >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From sarahr at genesearch.com.au Tue Feb 15 18:04:17 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 16 Feb 2005 09:04:17 +1000 Subject: copy field to stack of unknown name In-Reply-To: <6.1.2.0.0.20050215204803.0255fcd0@mail.armbase.com> References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> <6.1.2.0.0.20050215204803.0255fcd0@mail.armbase.com> Message-ID: Try this: on mouseUp global tStackName copy field "TextField" of stack "Armbase Database Designer" to card 1 of stack tStackName end mouseUp Cheers, Sarah On 16/02/2005, at 6:50 AM, Bob Hartley wrote: > --on the other stack I have a button that has the script > > on mouseUp > copy field "TextField" of stack "Armbase Database Designer" to card > 1 of stack "tFileName" > end mouseUp From mdswindell at charter.net Tue Feb 15 18:05:51 2005 From: mdswindell at charter.net (Mark Swindell) Date: Tue, 15 Feb 2005 15:05:51 -0800 Subject: Linked text question Message-ID: How can I control linked text so that if I pass my mouse over textgroupA in field myField1, corresponding text in myField2 and myField3 would also hilight? In other words, I want specific text linked to "brother text" in other fields on the same card. Example: Field myField1 contains the word "dark." Field myField2 contains the word "somber." Field myField3 contains the word "gloomy." If I pass the mouse over any of these three items, I want it and the other two to also hilite. (Hey, it's wet and rainy out.) Can one label linked text chunks and treat them as objects? Thanks Mark From mwieder at ahsoftware.net Tue Feb 15 18:42:45 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 15 Feb 2005 15:42:45 -0800 Subject: Programmatically Hiding Windows Files? In-Reply-To: <37205d8058a560b83743225a6be620b6@danshafer.com> References: <37205d8058a560b83743225a6be620b6@danshafer.com> Message-ID: <7423596199.20050215154245@ahsoftware.net> Dan- Tuesday, February 15, 2005, 2:33:41 PM, you wrote: DS> Is there a way I can't seem to find to set the Hidden attribute of a DS> Windows file to true? put shell("attrib +h" && yourFileName) into bitBucket -- -Mark Wieder mwieder at ahsoftware.net From revdan at danshafer.com Tue Feb 15 18:56:02 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 15 Feb 2005 15:56:02 -0800 Subject: Programmatically Hiding Windows Files? In-Reply-To: <7423596199.20050215154245@ahsoftware.net> References: <37205d8058a560b83743225a6be620b6@danshafer.com> <7423596199.20050215154245@ahsoftware.net> Message-ID: <03cb350065ea8124083a7f05ccc99967@danshafer.com> Cool! I'll try that. Thanks, Mark. I never think of the shell. Dan On Feb 15, 2005, at 3:42 PM, Mark Wieder wrote: > Dan- > > Tuesday, February 15, 2005, 2:33:41 PM, you wrote: > > DS> Is there a way I can't seem to find to set the Hidden attribute of > a > DS> Windows file to true? > > put shell("attrib +h" && yourFileName) into bitBucket > > -- > -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 vanesch at yahoo.com Tue Feb 15 19:15:20 2005 From: vanesch at yahoo.com (Stephen Van Esch) Date: Tue, 15 Feb 2005 16:15:20 -0800 (PST) Subject: Launch pdf on cd In-Reply-To: <420FF400.9030805@chipp.com> Message-ID: <20050216001520.54560.qmail@web30807.mail.mud.yahoo.com> Folks: Sorry to be returning to the well yet again but I've really hit a wall with this. I've followed Chipp's script as follows: --> on linkClicked pLink if pLink contains "pdf manual" then launch "manual.pdf" end if end linkClicked on viewPDF_MacOSX pPDFpath if "AppleScript" is not among the lines of the alternateLanguages then answer "AppleScript must be installed." exit to top end if put revMacFromUnixPath(pPDFpath) into pPDFpath --> THIS ASSUMES YOU'VE JUST DOWNLOADED A .PDF FILE --> AND THE CREATOR AND FILETYPE AREN'T PROPERLY SET put "tell application " "e& "Finder" & quote & cr into tScript put "set the creator type of file " "e& pPDFpath "e& \ " to " "e& "CARO" "e& cr after tScript put "set the file type of file " "e& pPDFpath "e& \ " to " "e& "PDF " "e& cr after tScript put "end tell" after tScript do tScript as Applescript put the result into sError put "tell application " "e& "Finder" & quote & cr into tScript put "open file " "e& pPDFpath "e & cr after tScript put "end tell" after tScript do tScript as Applescript put the result into sError end viewPDF_MacOSX --> With no success. Clicking the specified link does nothing. I've tried to dissect the script without success. No success with various (admittedly amateur) script acrobatics. I also think I may have been remiss by not making clear all the requirements for this project so here goes: The pdf must be served up from a CD. Absolute paths will not work. The pdf can be in the same directory as the standalone but I'd rather place it in a subfolder (called resources). The standalone must work on Windows, OS X, and Mac Classic. To recap the request: The user clicks a link. By clicking the link, Acrobat (on Windows or Mac Classic) or Preview (OS X) launches and displays a pdf file from the CD. Sorry again. I'm having a real hard time getting my head around how to execute this seemingly simple task. Thanks for your patience. Steve --- Chipp Walters wrote: > Thanks Jan for the altBrowser plug. But, as much as > I'd like to sell > another copy of altBrowser, there's a way to do this > on MacOSX. Launch > works well on PC, but for MacOS X you need to do a > little extra work: > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From scott at tactilemedia.com Tue Feb 15 19:33:36 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 15 Feb 2005 16:33:36 -0800 Subject: Launch pdf on cd In-Reply-To: <20050216001520.54560.qmail@web30807.mail.mud.yahoo.com> Message-ID: Recently, Stephen Van Esch wrote: > Sorry to be returning to the well yet again but I've > really hit a wall with this. I've followed Chipp's > script as follows: > ... > With no success. I didn't go through your code line by line but perhaps you're not replacing the "/" characters in the file path with colons. If you haven't already, try adding the following line to your script before you build the AppleScript statement: replace "/" with ":" in pPDFpath Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sarahr at genesearch.com.au Tue Feb 15 19:37:52 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 16 Feb 2005 10:37:52 +1000 Subject: Launch pdf on cd In-Reply-To: <20050216001520.54560.qmail@web30807.mail.mud.yahoo.com> References: <20050216001520.54560.qmail@web30807.mail.mud.yahoo.com> Message-ID: > --> THIS ASSUMES YOU'VE JUST DOWNLOADED A .PDF FILE > --> AND THE CREATOR AND FILETYPE AREN'T PROPERLY > SET > put "tell application " "e& "Finder" & quote & > cr into tScript > put "set the creator type of file " "e& > pPDFpath "e& \ > " to " "e& "CARO" "e& cr after tScript > put "set the file type of file " "e& pPDFpath > "e& \ > " to " "e& "PDF " "e& cr after tScript > put "end tell" after tScript > do tScript as Applescript > put the result into sError This will not work because you can't write to a CD. I think you will need to use the launch command, or an AppleScript that uses "open with". Sarah From jperryl at ecs.fullerton.edu Tue Feb 15 21:17:35 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 15 Feb 2005 18:17:35 -0800 (PST) Subject: sound file help In-Reply-To: <6.1.1.1.2.20050215112901.02813620@softseven.org> Message-ID: According to the dos: Supported audio files include WAV, AIFF, AU. As for stopping, check out the "stop" and "play stop" commands. Judy On Tue, 15 Feb 2005, Paul Salyers wrote: > 1) Will Rev use any sound file in place of a wav? > 2) Is there a way to stop the sound file when you want to for want ever reason? From chipp at chipp.com Tue Feb 15 22:03:19 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 15 Feb 2005 21:03:19 -0600 Subject: Launch pdf on cd Message-ID: <4212B7F7.9040001@chipp.com> Stephen, Couple of things. First, if the PDF is going to already be on a CD, then you don't need to set it's fileType or Creator Code. Sarah's right, you can't change a file on a CD. Next if you need to find the path to the PDF and it's in a folder next to the application, then you can always use the address function to get the path to the app. Then you just need to add the "/PdfFolder/myPdf.pdf" to the path. From memory (not tested) function getPathToApp put the address into tAddress set the itemDel to ":" delete first item of tAddress set itemDel to "/" delete last item of tAddress if the platform is "MacOS" then delete item -2 to -1 of tAddress return tAddress end function Now all you need to do is launch the pdf filepath. hope this helps. Chipp From 3mcgrath at adelphia.net Tue Feb 15 22:18:26 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 15 Feb 2005 22:18:26 -0500 Subject: Linked text question In-Reply-To: References: Message-ID: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> This is perfect for custom properties or a container for these 'linked' words. So if the selected word is in container whichone then find & hilite any of the other words in that container in field 2, etc. as a script.... You will have to have a predefined list of 'linked' words for each grouping and also a way to tell how many or which instance if more than one is found etc. HTH Tom On Feb 15, 2005, at 6:05 PM, Mark Swindell wrote: > How can I control linked text so that if I pass my mouse over > textgroupA in field myField1, corresponding text in myField2 and > myField3 would also hilight? In other words, I want specific text > linked to "brother text" in other fields on the same card. > > Example: Field myField1 contains the word "dark." Field myField2 > contains the word "somber." Field myField3 contains the word > "gloomy." If I pass the mouse over any of these three items, I want > it and the other two to also hilite. (Hey, it's wet and rainy out.) > > Can one label linked text chunks and treat them as objects? > > Thanks > Mark > > _______________________________________________ > 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 ambassador at fourthworld.com Tue Feb 15 22:30:24 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Feb 2005 19:30:24 -0800 Subject: race conditions with file/folder creation? Message-ID: <4212BE50.1000809@fourthworld.com> Over the years I've had a small handful of WebMerge customers who tell me that WebMerge will sometimes report that it can't write a certain file. In each case the error happens after a large number of files (>20,000) have been successfully written in the same run. It's worth noting that the number of files successfully completed before the error is reported differs each time it's attempted, it differs more broadly from system to system, and we have many more customers who generate a much larger number of files than that (>50,000) without ever having an issue. One customer suggested that we may have a sort of race condition here, in which WebMerge is attempting to write files and/or folders faster than the OS can keep up. That seem unlikely given that Rev isn't threaded; when writing a file everything else is pretty much suspended until the OS reports back to the engine whether the operation was successful or not. But since this problem is specific to the Windows family of operating systems, I can't confidently rule out that the OS may be reporting successful folder creation when in fact there was an error. Or perhaps an issue in the engine in which certain types of file or folder creation errors do not get reported back to the calling script. Any of you familiar with limits on the number of files that can be written to a given directory, or other related factors like FAT issues? Have any of you ever had a folder not created but don't get an error message in the result? And perhaps most useful: Is there a way to make a query to find out more about *why* the file wasn't written other than the result's "can't write file"? TIA - -- 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 userev at canelasoftware.com Wed Feb 16 01:01:27 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 15 Feb 2005 22:01:27 -0800 Subject: race conditions with file/folder creation? In-Reply-To: <4212BE50.1000809@fourthworld.com> References: <4212BE50.1000809@fourthworld.com> Message-ID: On Feb 15, 2005, at 7:30 PM, Richard Gaskin wrote: > Any of you familiar with limits on the number of files that can be > written to a given directory, or other related factors like FAT > issues? Here is some least useful information. I wrote a test app for a database I was developing. My stress test included writing out just over 100K files as fast as Rev could do it. Worked like a charm. I did notice on both Macs and Win systems that the OS lagged behind the process big time. No errors though. Mark Talluto -- CANELA Software http://www.canelasoftware.com From rev at armbase.com Wed Feb 16 03:40:05 2005 From: rev at armbase.com (Bob Hartley) Date: Wed, 16 Feb 2005 08:40:05 +0000 Subject: copy field to stack of unknown name In-Reply-To: References: <6.1.2.0.0.20050212151805.02516a48@mail.armbase.com> <6.1.2.0.0.20050212155230.026138d0@mail.armbase.com> <70dfeb61e0a887efbbdd5b9136c4a2f2@genesearch.com.au> <6.1.2.0.0.20050215204803.0255fcd0@mail.armbase.com> Message-ID: <6.1.2.0.0.20050216082541.025770d0@mail.armbase.com> At 23:04 15/02/2005, you wrote: >on mouseUp > global tStackName > copy field "TextField" of stack "Armbase Database Designer" to card 1 > of stack tStackName >end mouseUp Hi Sarah this worked. I did make one mistake tat may have exacerbated the problem , I'll have a play with it tonight and post the result. However, including the global in the button is better anyway. All the best Bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 From scott at tactilemedia.com Wed Feb 16 03:54:05 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Feb 2005 00:54:05 -0800 Subject: Test for Command Key? Message-ID: I need to determine when the command key has been pressed by itself (not with any other keys). Is the only way to do this by using the keysDown function within a looping script? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Wed Feb 16 04:21:10 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Feb 2005 01:21:10 -0800 Subject: Test for Command Key? In-Reply-To: Message-ID: Recently, I wrote: > Is the only way to do this by using the keysDown > function within a looping script? Actually, this doesn't seem to work either. The only way I've found to check if the command key is down is using the cmdKey function within a looping script. Is there another way that avoids a script loop? (mouseMove is unfortunately not an option since the cursor may be stationary when the key is pressed.) Thanks & Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From wow at together.net Wed Feb 16 06:05:38 2005 From: wow at together.net (Richard Miller) Date: Wed, 16 Feb 2005 06:05:38 -0500 Subject: Drawing on a player object In-Reply-To: References: Message-ID: Any thoughts on how to allow a user (during runtime) to create an irregular polygon object on top of a Quicktime player object? Thanks. Richard Miller Imprinter Technologies From ambassador at fourthworld.com Wed Feb 16 06:17:51 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Feb 2005 03:17:51 -0800 Subject: Drawing on a player object In-Reply-To: References: Message-ID: <42132BDF.2080802@fourthworld.com> Richard Miller wrote: > Any thoughts on how to allow a user (during runtime) to create an > irregular polygon object on top of a Quicktime player object? Turn on the player's alwaysBuffer property. This is off by default for performance reasons; when it's on it draws the movie into Rev's offscreen buffer so Rev can overlay objects on top. When off QT blits directly into the window as it does in most apps. Because of the overhead involved in buffering the controller will not be enabled while the alwaysBuffer is true. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From wow at together.net Wed Feb 16 06:30:14 2005 From: wow at together.net (Richard Miller) Date: Wed, 16 Feb 2005 06:30:14 -0500 Subject: Drawing on a player object In-Reply-To: <42132BDF.2080802@fourthworld.com> References: <42132BDF.2080802@fourthworld.com> Message-ID: <6248ae618ad2de672f48f97bd8d6bc36@together.net> Thanks Richard, but I'm aware of that piece. It's the actual drawing I'm having trouble implementing. How do I give that functionality to a user during runtime? Richard On Feb 16, 2005, at 6:17 AM, Richard Gaskin wrote: > Richard Miller wrote: >> Any thoughts on how to allow a user (during runtime) to create an >> irregular polygon object on top of a Quicktime player object? > > Turn on the player's alwaysBuffer property. > > This is off by default for performance reasons; when it's on it draws > the movie into Rev's offscreen buffer so Rev can overlay objects on > top. When off QT blits directly into the window as it does in most > apps. > > Because of the overhead involved in buffering the controller will not > be enabled while the alwaysBuffer is true. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Feb 16 06:46:55 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Feb 2005 03:46:55 -0800 Subject: Drawing on a player object In-Reply-To: <6248ae618ad2de672f48f97bd8d6bc36@together.net> References: <42132BDF.2080802@fourthworld.com> <6248ae618ad2de672f48f97bd8d6bc36@together.net> Message-ID: <421332AF.70207@fourthworld.com> Richard Miller wrote: > Thanks Richard, but I'm aware of that piece. It's the actual drawing I'm > having trouble implementing. How do I give that functionality to a user > during runtime? Ah. That's particularly difficult with players, as they generally lose their image while the pointer tool is active. You could cheat: grab a screenshot of the player and place it on top and then hide the player when switching tool modes. That should let your drawing tools work without mucking up the apparent image. When you resume browse mode just hide or discard the image and show the player again. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From wow at together.net Wed Feb 16 07:19:48 2005 From: wow at together.net (Richard Miller) Date: Wed, 16 Feb 2005 07:19:48 -0500 Subject: Drawing on a player object In-Reply-To: <421332AF.70207@fourthworld.com> References: <42132BDF.2080802@fourthworld.com> <6248ae618ad2de672f48f97bd8d6bc36@together.net> <421332AF.70207@fourthworld.com> Message-ID: Richard, Perhaps I haven't played around with this enough, but I'm having problems with the basic drawing issue. For example, if I do the following: on mouseup choose pointer tool choose polygon tool end mouseup and then start drawing on a buffered player object, I get an image object on top of the player object... not a graphic object. There doesn't seem to be much I can do with that image object to distinguish the polygon I drew on it. How can I create an actual polygon graphic object over the player object? What's the code I need to use? Richard On Feb 16, 2005, at 6:46 AM, Richard Gaskin wrote: > Richard Miller wrote: >> Thanks Richard, but I'm aware of that piece. It's the actual drawing >> I'm having trouble implementing. How do I give that functionality to >> a user during runtime? > > Ah. That's particularly difficult with players, as they generally > lose their image while the pointer tool is active. > > You could cheat: grab a screenshot of the player and place it on top > and then hide the player when switching tool modes. That should let > your drawing tools work without mucking up the apparent image. When > you resume browse mode just hide or discard the image and show the > player again. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Feb 16 07:31:01 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Feb 2005 04:31:01 -0800 Subject: Drawing on a player object In-Reply-To: References: <42132BDF.2080802@fourthworld.com> <6248ae618ad2de672f48f97bd8d6bc36@together.net> <421332AF.70207@fourthworld.com> Message-ID: <42133D05.6050406@fourthworld.com> Richard Miller wrote: > Richard, > > Perhaps I haven't played around with this enough, but I'm having > problems with the basic drawing issue. For example, if I do the following: > > on mouseup > choose pointer tool > choose polygon tool > end mouseup > > and then start drawing on a buffered player object, I get an image > object on top of the player object... not a graphic object. To get a graphic use: choose graphic tool The individual styles of graphics are created by first setting the style of the templateGraphic. For example, to make an oval you have this: set the style of the templateGraphic to oval choose graphic tool Now when you drag out across your card you'll be making an oval graphic. I rarely use the paint tools and use the graphic tools a lot, so I'd prefer if the shape tool names ("rectangle tool", "oval tool" etc.) referred to graphic tool modes. But alas the "choose" convention was established years earlier in paint-tools-only HyperCard, so we're stuck with it. Not so bad, though, once you get the hang of it, and it gets you into the habit of using the template objects, which can be very handy (a stroke of genius, those). -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From fde101 at fjrhome.net Wed Feb 16 08:51:59 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 16 Feb 2005 08:51:59 -0500 Subject: race conditions with file/folder creation? In-Reply-To: References: <4212BE50.1000809@fourthworld.com> Message-ID: <31ee75ec28a1146174de8f13dcbffe91@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If by "lagged" you are referring to disk activity, you are likely seeing the result of a write-behind cache on the file(s) or disk. On Feb 16, 2005, at 1:01 AM, Mark Talluto wrote: > Here is some least useful information. I wrote a test app for a > database I was developing. My stress test included writing out just > over 100K files as fast as Rev could do it. Worked like a charm. I > did notice on both Macs and Win systems that the OS lagged behind the > process big time. No errors though. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCE0//7aqtWrR9cZoRAik8AJ0fFo0rGhWB4HQ7g9fnE8vXcJCMDwCdFt/w 8pBuUZ8u4uEbGipkd7hfHVQ= =HYY4 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From mdswindell at charter.net Wed Feb 16 10:13:23 2005 From: mdswindell at charter.net (Mark Swindell) Date: Wed, 16 Feb 2005 07:13:23 -0800 Subject: Linked text question In-Reply-To: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> References: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> Message-ID: Tom, That sounds like a good solution. Thanks. I don't do custom properties very well yet ... let's say I had 20 sets of such grouped sets of words in three separate fields. What might be the most efficient container system to hold these groups? Instinctively I'd just put them in 20 hidden fields and reference those, but that's probably not the cleanest solution (though it might be the easiest to manage and edit). Thanks, Mark On Feb 15, 2005, at 7:18 PM, Thomas McGrath III wrote: > This is perfect for custom properties or a container for these > 'linked' words. So if the selected word is in container whichone then > find & hilite any of the other words in that container in field 2, > etc. as a script.... > You will have to have a predefined list of 'linked' words for each > grouping and also a way to tell how many or which instance if more > than one is found etc. > > HTH > > Tom > > On Feb 15, 2005, at 6:05 PM, Mark Swindell wrote: > >> How can I control linked text so that if I pass my mouse over >> textgroupA in field myField1, corresponding text in myField2 and >> myField3 would also hilight? In other words, I want specific text >> linked to "brother text" in other fields on the same card. >> >> Example: Field myField1 contains the word "dark." Field myField2 >> contains the word "somber." Field myField3 contains the word >> "gloomy." If I pass the mouse over any of these three items, I want >> it and the other two to also hilite. (Hey, it's wet and rainy out.) >> >> Can one label linked text chunks and treat them as objects? >> >> Thanks >> Mark From ps1 at softseven.org Wed Feb 16 10:25:12 2005 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 16 Feb 2005 09:25:12 -0600 Subject: if then do something ?? Message-ID: <6.1.1.1.2.20050216092308.02756f40@softseven.org> Dear Rev Users, How do I make a program do something like so: if (space bar) then do this if end Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From fde101 at fjrhome.net Wed Feb 16 10:36:38 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 16 Feb 2005 10:36:38 -0500 Subject: Linked text question In-Reply-To: References: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 One idea: Store the list of words as a set of items on a single line for each group: dark,somber,gloomy bright,cheerful,fun ... then you can store the data in a single field or custom property. Now to find the group, something like this might work: repeat for each line x in field "My Hidden Field" if myClickedWord is among the items of x then doStuff end if end repeat On Feb 16, 2005, at 10:13 AM, Mark Swindell wrote: > Tom, > > That sounds like a good solution. Thanks. I don't do custom > properties very well yet ... let's say I had 20 sets of such grouped > sets of words in three separate fields. What might be the most > efficient container system to hold these groups? Instinctively I'd > just put them in 20 hidden fields and reference those, but that's > probably not the cleanest solution (though it might be the easiest to > manage and edit). > > Thanks, > Mark > > On Feb 15, 2005, at 7:18 PM, Thomas McGrath III wrote: > >> This is perfect for custom properties or a container for these >> 'linked' words. So if the selected word is in container whichone then >> find & hilite any of the other words in that container in field 2, >> etc. as a script.... >> You will have to have a predefined list of 'linked' words for each >> grouping and also a way to tell how many or which instance if more >> than one is found etc. >> >> HTH >> >> Tom >> >> On Feb 15, 2005, at 6:05 PM, Mark Swindell wrote: >> >>> How can I control linked text so that if I pass my mouse over >>> textgroupA in field myField1, corresponding text in myField2 and >>> myField3 would also hilight? In other words, I want specific text >>> linked to "brother text" in other fields on the same card. >>> >>> Example: Field myField1 contains the word "dark." Field myField2 >>> contains the word "somber." Field myField3 contains the word >>> "gloomy." If I pass the mouse over any of these three items, I want >>> it and the other two to also hilite. (Hey, it's wet and rainy out.) >>> >>> Can one label linked text chunks and treat them as objects? >>> >>> Thanks >>> Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCE2iH7aqtWrR9cZoRAsV5AJ91QaFSaC4TbaVRVckTyucaIztR9gCfahw9 caebCrFHsrbC9ShO8G0wFn0= =atO2 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Feb 16 10:38:19 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 16 Feb 2005 10:38:19 -0500 Subject: if then do something ?? In-Reply-To: <6.1.1.1.2.20050216092308.02756f40@softseven.org> References: <6.1.1.1.2.20050216092308.02756f40@softseven.org> Message-ID: <76bdbe8ea6844b32d11af26586085220@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Do you mean something like: on keyDown theKey if theKey is space then do this else pass keyDown end if end keyDown On Feb 16, 2005, at 10:25 AM, Paul Salyers wrote: > Dear Rev Users, > > How do I make a program do something like so: > > if (space bar) then > do this > if end > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCE2js7aqtWrR9cZoRAg7kAJ93Zd9UXYc/9LlLXZ8xAO+Ubc4nfwCfebwY nblwnovy853EZSt77JpSOS8= =H3tm -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From rcozens at pon.net Wed Feb 16 10:44:02 2005 From: rcozens at pon.net (Rob Cozens) Date: Wed, 16 Feb 2005 07:44:02 -0800 Subject: if then do something ?? In-Reply-To: <6.1.1.1.2.20050216092308.02756f40@softseven.org> References: <6.1.1.1.2.20050216092308.02756f40@softseven.org> Message-ID: <6.2.1.2.1.20050216073808.01dffa08@pop3.pon.net> Hi Paul, >How do I make a program do something like so: > >if (space bar) then > do this >if end on keydown theKey if theKey is " " then do this end if pass keyDown end keyDown Rob Cozens CCW Serendipity Software Company "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 Karen at curlypaws.com Wed Feb 16 13:15:57 2005 From: Karen at curlypaws.com (Karen) Date: Wed, 16 Feb 2005 18:15:57 +0000 Subject: A Revolution beginner seeks advice... Message-ID: Hi, I've been taking a look at Revolution and, so far, I've been very impressed with what I've seen. I come from a REALbasic background (and Visual Basic on the PC) and while I like the flexibility that it offers, the complexity can be a real turn off. For example, to build a solution for the current "REALbasic Olympics" competition in Revolution, I need a script as simple as: get the htmlText of field "edtText" replace text of field "edtFind" with text of field "edtReplace" in it set the htmlText of field "edtText" to it Doing this in REALbasic is much less straightforward - and I'm increasingly keen to be able to produce a solution quickly, rather than take ages to work things out, even if there are a few more constraints by going down this route. So at the moment I'm tempted to buy a licence for Revolution (Dreamcard seems nice but limited since I'd like to be able to build standalone applications). I'm still playing around with the demo to try converting some REALbasic apps to Revolution to get a feel for what it can and can't do. However, I have some questions that I was hoping that you might be able to help with. My main concern is learning the Revolution scripting language, which seems quite a bit different to anything I'm used to. Is there a shortcut to doing this - would the book "Software at the Speed of Thought" be a help here? Is it worth getting the printed manuals? Am I best just to rely on the various web resources? I also wonder about the "Update pack" - it seems pretty expensive, is it worth buying? Or am I best to wait until an update appears that I really want and then take out a renewal? Given that I've sunk a lot of money into REALbasic, I'm keen to keep any new expenditure down! Thanks in advance for any help you can offer, Karen From katir at hindu.org Wed Feb 16 10:54:21 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 16 Feb 2005 05:54:21 -1000 Subject: Transcript Cookbook? Where is it? Message-ID: <67e797baf405a18d3d506626efca6d92@hindu.org> I must be blind. I see this: in the documentation about file associations on Window: For example code, see the topic "Recipe for registering a Windows extension" in the Transcript Cookbook section of the documentation. But, unable to find any "Transcript Cookbook' or "Recipes" anywhere.. we see this in the dictionary: get setRegistry("HKEY_CLASSES_ROOT\.rev\", "Revolution") Will this associate any "fooStack.rev" with any "WindowsRevolutionStandalone.exe"? 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 jacque at hyperactivesw.com Wed Feb 16 13:44:13 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Feb 2005 12:44:13 -0600 Subject: Test for Command Key? In-Reply-To: References: Message-ID: <4213947D.9010209@hyperactivesw.com> On 2/16/05 3:21 AM, Scott Rossi wrote: > Recently, I wrote: > > >>Is the only way to do this by using the keysDown >>function within a looping script? > > > Actually, this doesn't seem to work either. The only way I've found to > check if the command key is down is using the cmdKey function within a > looping script. > > Is there another way that avoids a script loop? > > (mouseMove is unfortunately not an option since the cursor may be stationary > when the key is pressed.) I think Windows may report the state in a rawkeydown message, but Mac OS does not report the state of the command key unless it is paired with an alpha-numeric key. Plain old "command" doesn't send any message. It's an OS limitation. From fde101 at fjrhome.net Wed Feb 16 13:57:30 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 16 Feb 2005 13:57:30 -0500 Subject: A Revolution beginner seeks advice... In-Reply-To: References: Message-ID: <72d96bb3e847017e78445359ed0cf1ba@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 16, 2005, at 1:15 PM, Karen wrote: > competition in Revolution, I need a script as simple as: > > get the htmlText of field "edtText" > replace text of field "edtFind" with text of field "edtReplace" in it > set the htmlText of field "edtText" to it Or simpler: set the htmlText of field "edtText" to the htmlText of field "edtReplace" > applications). I'm still playing around with the demo to try > converting > some REALbasic apps to Revolution to get a feel for what it can and > can't > do. There's not really too much that Rev can't do, although there may be some things for which other languages / tools would be more appropriate. > help with. My main concern is learning the Revolution scripting > language, > which seems quite a bit different to anything I'm used to. Is there a > shortcut to doing this - would the book "Software at the Speed of > Thought" > be a help here? Is it worth getting the printed manuals? Am I best > just to > rely on the various web resources? Transcript is an "XTalk" dialect, derived from the HyperTalk language which Apple created for HyperCard. It is quite different in some ways from other languages, and much more wordy, but you can do things with just a small number of statements which would be considerably more difficult in other languages. Consider statements like: if word 5 of line 12 of field "Field" contains "e" then answer "The fifth word of line 12 contains the letter 'e'" end if put URL "http://www.apple.com" into field "My Browser" etc. My understanding of the printed manuals is that they are basically printed versions of the online documentation already present in Rev. In the event that you need some portion of the docs for quick reference, you can just print the page(s) you need. I have not read the book in question, but it has been given very good reviews on this list. Transcript is not difficult to learn once you are familiar with the basics. If you are already familiar with other programming languages (such as REALbasic), you might consider starting with the "Scripts and their structure" topic in the "Topics" area of the Rev documentation. Questions can be answered by this list, and the list has searchable archives as well. > I also wonder about the "Update pack" - it seems pretty expensive, is > it > worth buying? Or am I best to wait until an update appears that I > really > want and then take out a renewal? Given that I've sunk a lot of money > into > REALbasic, I'm keen to keep any new expenditure down! The update pack gives you every upgrade released within a year of purchasing the upgrade pack, and is renewable. It's up to you to decide if it is worthwhile, but be aware that numerous bugs in Rev are squashed with each version released lately, and that the updates are quite nice to have if you are doing any serious programming. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCE5eb7aqtWrR9cZoRAhmEAKCDbsi/LmwF2a96kNVRuUGSlIsNVQCfb2Uw Xba62BmzomLv7xLAnFqQf9k= =Kd3N -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From scott at tactilemedia.com Wed Feb 16 13:59:17 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Feb 2005 10:59:17 -0800 Subject: Test for Command Key? In-Reply-To: <4213947D.9010209@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > Mac OS > does not report the state of the command key unless it is paired with an > alpha-numeric key. Plain old "command" doesn't send any message. It's an > OS limitation. Those goofy Mac designers... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Wed Feb 16 15:37:06 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 16 Feb 2005 14:37:06 -0600 Subject: A Revolution beginner seeks advice... In-Reply-To: References: Message-ID: <4213AEF2.3080005@chipp.com> Hi Karen, A similar post happened earlier this month. You might like to check out my answer to it then: http://lists.runrev.com/pipermail/use-revolution/2005-February/050955.html Good luck! In the last couple of months, I've taken over 2 different stalled RealBasic projects and rewritten them Rev. In both cases the customer is ecstatic. best, Chipp Karen wrote: > Hi, > > I've been taking a look at Revolution and, so far, I've been very impressed > with what I've seen. I come from a REALbasic background (and Visual Basic > on the PC) and while I like the flexibility that it offers, the complexity > can be a real turn off. From drothe at optusnet.com.au Wed Feb 16 16:52:29 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Thu, 17 Feb 2005 07:52:29 +1000 Subject: how to Progress Bar? Message-ID: <000a01c51471$d08c1af0$f9f6a4cb@p4c2> I guess this question has been asked a 1000 times before, but I will ask it again just in case you all missed it! How do you get a progress bar to work? I have looked for example stacks and docs but can't find anything! Any help would be great Thanks................. From sanke at hrz.uni-kassel.de Wed Feb 16 17:40:44 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 16 Feb 2005 23:40:44 +0100 Subject: how to Progress Bar? Message-ID: <4213CBEC.9050507@hrz.uni-kassel.de> On Thu Feb 17, 2005, Dwayne Rothe drothe at optusnet.com.au wrote: > I guess this question has been asked a 1000 times before, but I will > ask it again just in case you all missed it! > How do you get a progress bar to work? > I have looked for example stacks and docs but can't find anything! > > Any help would be great Thanks................. Here is an example stack: , or go to , page "Tools and Samples for Development" and choose "Farben, Rahmen, Scrollbars". There might be other useful stuff there. As the stack has the Metacard extension "mc" open it accordingly in the Rev-open dialog. Regards, Wilhelm Sanke From chipp at chipp.com Wed Feb 16 17:44:15 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 16 Feb 2005 16:44:15 -0600 Subject: how to Progress Bar? In-Reply-To: <000a01c51471$d08c1af0$f9f6a4cb@p4c2> References: <000a01c51471$d08c1af0$f9f6a4cb@p4c2> Message-ID: <4213CCBF.5010601@chipp.com> Dwayne, Create a new stack. Add a scrollbar and name it "myProgBar" add a new btn and set the script to: on mouseUp set the startValue of scrollbar "myProgBar" to 0 set the endValue of scrollbar "myProgBar" to 100 put 0 into tStart repeat with x = 1 to 100 set the thumbPos of scrollbar "myProgBar" to tStart add 1 to tStart end repeat end mouseUp hope that helps. Dwayne Rothe wrote: > I guess this question has been asked a 1000 times before, but I will ask it again just in case you all missed it! > How do you get a progress bar to work? > I have looked for example stacks and docs but can't find anything! From sarahr at genesearch.com.au Wed Feb 16 17:45:14 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 17 Feb 2005 08:45:14 +1000 Subject: how to Progress Bar? In-Reply-To: <000a01c51471$d08c1af0$f9f6a4cb@p4c2> References: <000a01c51471$d08c1af0$f9f6a4cb@p4c2> Message-ID: <40db90957511aa7739b721c0c58068df@genesearch.com.au> > I guess this question has been asked a 1000 times before, but I will > ask it again just in case you all missed it! > How do you get a progress bar to work? > I have looked for example stacks and docs but can't find anything! > > Any help would be great Thanks................. > Remember that a progress bar is just a type of scrollbar so check the docs for scrollbars and see what you get. The main properties you need are startvalue, endvalue & thumbPos. Here is an example script: on mouseUp set the startvalue of scrollbar "Progress" to 0 set the endvalue of scrollbar "Progress" to 100 repeat with c = 1 to 100 -- do loop stuff set the thumbPos of scrollbar "Progress" to c end repeat end mouseUp Drawing a progress bar takes a while, so if you have a lot of repeats, it's best not to draw every time you go through the loop e.g. repeat with c = 1 to 1000 -- do loop stuff -- update progress bar every 10th time through if c mod 10 = 0 then set the thumbPos of scrollbar "Progress" to c end repeat Cheers, Sarah From 3mcgrath at adelphia.net Wed Feb 16 17:45:41 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 16 Feb 2005 17:45:41 -0500 Subject: Linked text question In-Reply-To: References: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> Message-ID: Mark, Custom props are good since they stick with the object. If you have one main field then the custom prop would go in it and then later if you brought that field into another stack the custom prop would go with it. Franks idea is another way too. Store the list of words as a set of items on a single line for each group: dark,somber,gloomy bright,cheerful,fun delimited lines are like separate fields when used from within a script. If you are checking a clicked word I think it would be easier to check a series of lines in just one field or variable like Frank suggested. The field or the local/global variable can be just like the custom prop. You can have comma delimited lines in a custom prop the same as in a field or in a variable. If you are going to change the items a lot then maybe an editor would work where you have a field to type into and then copy/place that in a variable or custom prop for import into your main stack. Then you can close the editor and don't have to worry about any hidden fields at all. HTH Tom On Feb 16, 2005, at 10:13 AM, Mark Swindell wrote: > That sounds like a good solution. Thanks. I don't do custom > properties very well yet ... let's say I had 20 sets of such grouped > sets of words in three separate fields. What might be the most > efficient container system to hold these groups? Instinctively I'd > just put them in 20 hidden fields and reference those, but that's > probably not the cleanest solution (though it might be the easiest to > manage and edit). > > Thanks, > Mark Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From revolution at derbrill.de Wed Feb 16 18:14:17 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 17 Feb 2005 00:14:17 +0100 Subject: message box (multiline) strangeness In-Reply-To: <20050216153049.6B4D69300D3@mail.runrev.com> Message-ID: <7B1F865C-8070-11D9-918B-0030659A795C@derbrill.de> Hi list, I?ve experienced something weird... create a blank stack set the script to: function test return paramcount() end test in the messagebox (single line) put test(the loc of this stack,the loc of this stack) returns 2 in the messagebox (multiline) put test(the loc of this stack,the loc of this stack) returns 2, BUT: put test(the loc of this stack,the loc of this stack) into abc put abc returns 1 I?m a bit puzzled... calling the script from a button gives the correct result. Does anyone know what?s happening here? Os X.2.6 Rev 2.2 and 2.5 Best, malte From alex at tweedly.net Wed Feb 16 18:40:10 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 16 Feb 2005 23:40:10 +0000 Subject: message box (multiline) strangeness In-Reply-To: <7B1F865C-8070-11D9-918B-0030659A795C@derbrill.de> References: <7B1F865C-8070-11D9-918B-0030659A795C@derbrill.de> Message-ID: <4213D9DA.70006@tweedly.net> Malte Brill wrote: > Hi list, > > I?ve experienced something weird... > > I?m a bit puzzled... calling the script from a button gives the > correct result. Does anyone know what?s happening here? > > Os X.2.6 Rev 2.2 and 2.5 Same result in WinXP, Rev 2.5 Only - it's even stranger ..... I changed the mult-line script to put 5 into abc put "first" && abc & cr after msg put mytest(the loc of this stack, the loc of this stack) into abc put "second" && abc & cr after msg (I changed the function name to mytest just in case, and I changed the function to return a fixed value instead of calling paramcount() - neither made any difference). This ALSO results in the output 1 (what happened to the strings "first" and "second", and the fact there were two lines of output ??) Deleting the line that calls mytest results in the rather more expected output of first 5 second 5 Very strange .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 From revdan at danshafer.com Wed Feb 16 18:59:16 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 16 Feb 2005 15:59:16 -0800 Subject: Join a Revolution in June in Monterey! Message-ID: Want to learn more about Revolution in two days than you sometimes can in a week...or even a month...of laboring on your own? Want to spend some quality time in one of the world's great resort spots? A group of us are trying to determine if there's enough interest to expand our Monterey-based Revolution developer gathering June 24-25 to encompass a second track for people who are beginning or intermediate developers. As you may know, we held the first annual Revolution Masters Summit last July in Monterey and it was a smash hit. But it was an invitation-only affair. This year, we are *considering* adding a companion conference open to anyone who wants to attend and learn from those who are invited to attend the Revolution Masters Summit *and* speak to and mentor for those attending the main conference. There will be opportunities for several joint sessions where all attendees are together. But most of the time, those of you who are mostly interested in how to do the basic stuff you want to do in Rev won't have to sit around listening to the long-time users argue about C++ externals and other esoterica. We're talking about two jam-packed days, two or three joint sessions between the groups probably featuring speakers from RunRev (no promises but hopes), some freebies, and lots of opportunity to mingle, learn and code into the night. Right now, we're thinking in terms of a conference price of something like $195, with early-bird discounts down to perhaps $125-150. Please respond OFF LIST to revdan at danshafer.com no later than Feb. 23 with your interest and any comments, suggestions or feedback you have. We'll notify the list when we've gauged the response and made a decision. NOTE: Replying doesn't commit you to the conference or us to holding it and doesn't guarantee a place if we do hold it. This is just a quick straw poll. Dan From drothe at optusnet.com.au Wed Feb 16 23:55:40 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Thu, 17 Feb 2005 14:55:40 +1000 Subject: Progress Bar examples Message-ID: <000a01c514ac$eef59710$a2f6a4cb@p4c2> I have put together a stack showing a system progress bar, a graphical progress bar and a slider bar in action! If anyone would like a copy let me know and I will gladly email you. It only takes up about 8kb if someone wants to make it available on their website let me know! Cheers Dwayne...... drothe at optusnet.com.au From gcanyon at inspiredlogic.com Thu Feb 17 02:14:18 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed, 16 Feb 2005 23:14:18 -0800 Subject: New article on Functions in Revolution Message-ID: <5d533e7972f491fd1106b5983e282312@inspiredlogic.com> I've written an essay called Hooray for Functions -- The Value of Returning a Value. It's available at: http://www.inspiredlogic.com/articles/functions.html In it I argue that functions are superior to handlers for most purposes, and that functions should be your first choice you decide to break out some code. If anyone has questions or comments, feel free to contact me. regards, Geoff Canyon gcanyon at inspiredlogic.com From bvlahos at mac.com Thu Feb 17 02:22:44 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 16 Feb 2005 23:22:44 -0800 Subject: A Revolution beginner seeks advice... In-Reply-To: References: Message-ID: <2acd8ea6a31109208c6432e00db93f18@mac.com> On Feb 16, 2005, at 10:15 AM, Karen wrote: > So at the moment I'm tempted to buy a licence for Revolution (Dreamcard > seems nice but limited since I'd like to be able to build standalone > applications). I'm still playing around with the demo to try > converting > some REALbasic apps to Revolution to get a feel for what it can and > can't > do. Building standalones is very nice and probably worth it to you. Dreamcard is a good beginner/hobbyist license. > > However, I have some questions that I was hoping that you might be > able to > help with. My main concern is learning the Revolution scripting > language, > which seems quite a bit different to anything I'm used to. Is there a > shortcut to doing this - would the book "Software at the Speed of > Thought" > be a help here? Is it worth getting the printed manuals? Am I best > just to > rely on the various web resources? Dan's book is terrific and you would likely get a lot out of them. I would only get the printed manuals if you find the online help cumbersome or you just want to curl up with a printed book. I purchased the printed manuals to have as a reference but I rarely use them because the online system is so good combined with this email list which is outstanding. > > I also wonder about the "Update pack" - it seems pretty expensive, is > it > worth buying? Or am I best to wait until an update appears that I > really > want and then take out a renewal? Given that I've sunk a lot of money > into > REALbasic, I'm keen to keep any new expenditure down! Revolution has consistently improved with each version. Unless you know for sure that you want to stay on the Revolution road (I do and have never regretted it) I'd go ahead and see how much you like the current version first. It is a very complete development system as it is now. You can always decide to upgrade later. Welcome to the Revolution. Bill Vlahos From revdan at danshafer.com Thu Feb 17 02:50:52 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 16 Feb 2005 23:50:52 -0800 Subject: Progress Bar examples In-Reply-To: <000a01c514ac$eef59710$a2f6a4cb@p4c2> References: <000a01c514ac$eef59710$a2f6a4cb@p4c2> Message-ID: Why don't you add it to your user area in RevOnline? Dan On Feb 16, 2005, at 8:55 PM, Dwayne Rothe wrote: > I have put together a stack showing a system progress bar, a graphical > progress bar and a slider bar in action! > If anyone would like a copy let me know and I will gladly email you. > It only takes up about 8kb if someone wants to make it available on > their website let me know! > > Cheers Dwayne...... > drothe at optusnet.com.au > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From onemind at danshafer.com Wed Feb 16 18:50:34 2005 From: onemind at danshafer.com (Dan Shafer) Date: Wed, 16 Feb 2005 15:50:34 -0800 Subject: Join a Revolution in June in Monterey! Message-ID: Want to learn more about Revolution in two days than you sometimes can in a week...or even a month...of laboring on your own? Want to spend some quality time in one of the world's great resort spots? A group of us are trying to determine if there's enough interest to expand our Monterey-based Revolution developer gathering June 24-25 to encompass a second track for people who are beginning or intermediate developers. As you may know, we held the first annual Revolution Masters Summit last July in Monterey and it was a smash hit. But it was an invitation-only affair. This year, we are *considering* adding a companion conference open to anyone who wants to attend and learn from those who are invited to attend the Revolution Masters Summit *and* speak to and mentor for those attending the main conference. There will be opportunities for several joint sessions where all attendees are together. But most of the time, those of you who are mostly interested in how to do the basic stuff you want to do in Rev won't have to sit around listening to the long-time users argue about C++ externals and other esoterica. We're talking about two jam-packed days, two or three joint sessions between the groups probably featuring speakers from RunRev (no promises but hopes), some freebies, and lots of opportunity to mingle, learn and code into the night. Right now, we're thinking in terms of a conference price of something like $195, with early-bird discounts down to perhaps $125-150. Please respond OFF LIST to revdan at danshafer.com no later than Feb. 23 with your interest and any comments, suggestions or feedback you have. We'll notify the list when we've gauged the response and made a decision. NOTE: Replying doesn't commit you to the conference or us to holding it and doesn't guarantee a place if we do hold it. This is just a quick straw poll. Dan From revolution at derbrill.de Thu Feb 17 06:14:31 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 17 Feb 2005 12:14:31 +0100 Subject: New article on Functions in Revolution In-Reply-To: <20050216170009.AEDAF9300D9@mail.runrev.com> Message-ID: <1874F2F0-80D5-11D9-A4F1-0030659A795C@derbrill.de> http://www.inspiredlogic.com/articles/functions.html Great job Geoff! cheers, Malte From kevin at runrev.com Thu Feb 17 08:03:47 2005 From: kevin at runrev.com (Kevin Miller) Date: Thu, 17 Feb 2005 13:03:47 +0000 Subject: Slow down in Script Editor Message-ID: Hi, We're trying to track down a pair of reported issues in the Script Editor. These are: 1) Slow down when typing in large scripts 2) Slow down setting and unsetting breakpoints on long scripts We've seen these demonstrated and had multiple reposts, so we know they are important issues, but we don't have a stack that does this reliably here. If you have a stack that causes these problems reliably, please could you email it to me directly off list, together with a quick note on where we have to type/click to find this issue. Thanks in advance. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From kevin at runrev.com Thu Feb 17 08:18:45 2005 From: kevin at runrev.com (Kevin Miller) Date: Thu, 17 Feb 2005 13:18:45 +0000 Subject: Introducing our new Evangelist Message-ID: Hi everyone, It is my pleasure to introduce Ro Nagey as our new Evangelist for Dreamcard and Revolution. His AIM screen name is RunRevRo. Ro is available to discuss any ideas or concerns you may have, help promote your Revolution-built applications, and promote your products through our revSelect program. He will stay in regular contact with you all and feed your suggestions directly into the company at all levels. I'm sure Ro will become quite a thorn in our sides, that's his job :) (Please note that PR will continue to be handled with usual proficiency by Rod McCall and technical support questions should continue to be addressed to our support team .) Welcome, Ro. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From Karen at curlypaws.com Thu Feb 17 08:42:51 2005 From: Karen at curlypaws.com (Karen) Date: Thu, 17 Feb 2005 13:42:51 +0000 Subject: A Revolution beginner seeks advice... In-Reply-To: <20050217133306.7B4149300DF@mail.runrev.com> Message-ID: Thanks very much to all those who replied - I can see that the Revolution user list is a good place to find help. I've been doing some further conversion of REALbasic programs to Revolution and I'll do a little more to check that my initial enthusiasm isn't misplaced, but so far I'm very happy with what I see of Revolution. One thing that puzzles me is the pasting of text from other applications into a Revolution edit field. If there is a page break in a document (from Microsoft Word or from Pages) then the formatting is lost when I paste into my app's edit field. However, text without a page break is OK. Is there something I'm doing wrong? Thanks, Karen From klaus at major-k.de Thu Feb 17 08:45:46 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 17 Feb 2005 14:45:46 +0100 Subject: Introducing our new Evangelist In-Reply-To: References: Message-ID: <71ca21e6d3db0e947f8801d20c3789b6@major-k.de> Hi Kevin, > Hi everyone, > > It is my pleasure to introduce Ro Nagey as our new > Evangelist for Dreamcard and Revolution. His AIM screen name is > RunRevRo. > Ro is available to discuss any ideas or concerns you may have, help > promote > your Revolution-built applications, and promote your products through > our > revSelect program. He will stay in regular contact with you all and > feed > your suggestions directly into the company at all levels. I'm sure Ro > will > become quite a thorn in our sides, that's his job :) > > (Please note that PR will continue to be handled with usual > proficiency by > Rod McCall and technical support questions should > continue to be addressed to our support team .) Cooooool! > Welcome, Ro. Yo, Ro! :-) > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. Any chance to see an update soon? To be able to build a standalone with NON-rev externals WOULD be fine ;-) P.S. I found a wonderful FREE! REV-app "Simple CSS", a nice CSS editor, on the net! Don't know who created it, but check it out, it's cool! :-) http://www.hostm.com/css/ From mdswindell at charter.net Thu Feb 17 09:37:12 2005 From: mdswindell at charter.net (Mark Swindell) Date: Thu, 17 Feb 2005 06:37:12 -0800 Subject: Linked text question In-Reply-To: References: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> Message-ID: Thank you, Frank (and others), What is wrong with this expression? repeat for each line x in field "WordList" if the mouseText is among the items of line x of field "WordList" then answer "HEY" end if end repeat Rev doesn't like line 2, but I'm not able to understand why... if I replace "x" with "1" the answer command executes. What is the proper repeat syntax to get this to work? Thanks, Mark On Feb 16, 2005, at 7:36 AM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > One idea: > > Store the list of words as a set of items on a single line for each > group: > > dark,somber,gloomy > bright,cheerful,fun > ... > > then you can store the data in a single field or custom property. Now > to find the group, something like this might work: > > repeat for each line x in field "My Hidden Field" > if myClickedWord is among the items of x then > doStuff > end if > end repeat > > > On Feb 16, 2005, at 10:13 AM, Mark Swindell wrote: > >> Tom, >> >> That sounds like a good solution. Thanks. I don't do custom >> properties very well yet ... let's say I had 20 sets of such grouped >> sets of words in three separate fields. What might be the most >> efficient container system to hold these groups? Instinctively I'd >> just put them in 20 hidden fields and reference those, but that's >> probably not the cleanest solution (though it might be the easiest to >> manage and edit). >> >> Thanks, >> Mark >> >> On Feb 15, 2005, at 7:18 PM, Thomas McGrath III wrote: >> >>> This is perfect for custom properties or a container for these >>> 'linked' words. So if the selected word is in container whichone >>> then find & hilite any of the other words in that container in field >>> 2, etc. as a script.... >>> You will have to have a predefined list of 'linked' words for each >>> grouping and also a way to tell how many or which instance if more >>> than one is found etc. >>> >>> HTH >>> >>> Tom >>> >>> On Feb 15, 2005, at 6:05 PM, Mark Swindell wrote: >>> >>>> How can I control linked text so that if I pass my mouse over >>>> textgroupA in field myField1, corresponding text in myField2 and >>>> myField3 would also hilight? In other words, I want specific text >>>> linked to "brother text" in other fields on the same card. >>>> >>>> Example: Field myField1 contains the word "dark." Field myField2 >>>> contains the word "somber." Field myField3 contains the word >>>> "gloomy." If I pass the mouse over any of these three items, I >>>> want it and the other two to also hilite. (Hey, it's wet and rainy >>>> out.) >>>> >>>> Can one label linked text chunks and treat them as objects? >>>> >>>> Thanks >>>> Mark >> > From rjb at robelko.com Thu Feb 17 09:58:02 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 17 Feb 2005 15:58:02 +0100 Subject: Linked text question In-Reply-To: References: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> Message-ID: >Thank you, Frank (and others), > >What is wrong with this expression? > > repeat for each line x in field "WordList" > if the mouseText is among the items of line x of field "WordList" then > answer "HEY" > end if > end repeat > >Rev doesn't like line 2, but I'm not able to understand why... if I >replace "x" with "1" the answer command executes. What is the >proper repeat syntax to get this to work? > >Thanks, >Mark > It should be if the mouseText is among the items of x then Robert From klaus at major-k.de Thu Feb 17 10:06:25 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 17 Feb 2005 16:06:25 +0100 Subject: Linked text question In-Reply-To: References: <6e9fbc23e23cb66baa4c877ffd979ee6@adelphia.net> Message-ID: Hi Mark, > Thank you, Frank (and others), > > What is wrong with this expression? > > repeat for each line x in field "WordList" > if the mouseText is among the items of line x of field > "WordList" then > answer "HEY" > end if > end repeat > > Rev doesn't like line 2, but I'm not able to understand why... if I > replace "x" with "1" the answer command executes. What is the proper > repeat syntax to get this to work? actually x contains the CONTENT of the line and not the number! You could do this: ... put 1 into myLine repeat for each line x in field "WordList" if the mouseText is among the items of line myLine of field "WordList" then answer "HEY" end if add 1 to myLine end repeat ... Hope that helps. > Thanks, > Mark Regards Klaus Major klaus at major-k.de http://www.major-k.de From 3mcgrath at adelphia.net Thu Feb 17 10:25:41 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 17 Feb 2005 10:25:41 -0500 Subject: Introducing our new Evangelist In-Reply-To: References: Message-ID: Welcome Ro, This is good news..... Thanks Tom On Feb 17, 2005, at 8:18 AM, Kevin Miller wrote: > It is my pleasure to introduce Ro Nagey as our new > Evangelist for Dreamcard and Revolution. His AIM screen name is > RunRevRo. Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From capellan2000 at yahoo.com Thu Feb 17 11:17:08 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 17 Feb 2005 08:17:08 -0800 (PST) Subject: New article on Functions in Revolution In-Reply-To: <20050217133306.7B4149300DF@mail.runrev.com> Message-ID: <20050217161708.67064.qmail@web40523.mail.yahoo.com> on Wed, 16 Feb 2005 Geoff Canyon wrote: > I've written an essay called Hooray for Functions -- > The Value of > Returning a Value. It's available at: > > http://www.inspiredlogic.com/articles/functions.html > > In it I argue that functions are superior to > handlers for most > purposes, and that functions should be your first > choice you decide to > break out some code. > > If anyone has questions or comments, feel free to > contact me. Hi Geoff, You had convinced me! Thanks a lot for your mind opening article!!! al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From ambassador at fourthworld.com Thu Feb 17 11:23:33 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Feb 2005 08:23:33 -0800 Subject: Introducing our new Evangelist In-Reply-To: References: Message-ID: <4214C505.8050500@fourthworld.com> Kevin Miller wrote: > It is my pleasure to introduce Ro Nagey as our new > Evangelist for Dreamcard and Revolution. For those of you who may not know Ro, he's an industry veteran who's worked intimately with just about every major xTalk environmment on the planet and a few lower-level languages besides. Among other accomplishments he's owned the leading company selling third-party components for HyperCard, so he's no stranger to working for the mutual benefit of both third-party developers and the "mother ship". He's also been an educator, successfully integrating HyperCard and other interactive media into the classroom, and has lent that experience to helping other educators do the same. At the Rev seminar in SF last year he held a breakout session on using Rev in the classroom (and he played a central role in putting that seminar together -- thanks Ro, that was a good time). With Ro you'll find a rare intersection of skills, experience, and interests that give you someone who understands marketing, the needs of educators, and the finer points of scripting. When was the last time you met a technology marketer who actually used the technology? :) Ro does. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revlist at cableone.net Thu Feb 17 11:35:28 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 17 Feb 2005 09:35:28 -0700 Subject: MySQL and Mac OS 9 Message-ID: <1108658390_39760@S3.cableone.net> I'm wondering if anyone else is successfully using a MySQL database with a Mac OS 9 client. I can't seem to make it work. I'm just using the revdb_connect function, but my standalone does not seem to recognize that function. The same code works fine on Windows and OS X. In looking more closely, it appears that there is not a revdb library for OS 9, at least not that I can find. Should there be, or is OS 9 different from the other two? I just tested the stacks running in the IDE and everything works fine. It just fails in the built standalone. I've got the MySQL Library PPC library in the same folder as my standalone. But, like I said, I cannot find any revdb library like with the other two platforms. Anyone have any ideas? I hope this is something I can workaround. Maybe it's just another issue with the standalone builder not copying all the necessary files? I'm running Rev 2.5 with all the latest updates. Thanks, Chris Sheffield Software Development Read Naturally -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From jbv.silences at Club-Internet.fr Thu Feb 17 12:34:35 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 17 Feb 2005 18:34:35 +0100 Subject: MySQL and Mac OS 9 References: <1108658390_39760@S3.cableone.net> Message-ID: <4214D5A4.6811936@Club-Internet.fr> Chris, I faced the same problem a few months ago, and nobody on this list was able to give me a clear answer. I solved the problem by using CGI requests, with Rev cgi on the server accessing mySQL. JB > I'm wondering if anyone else is successfully using a MySQL database with a > Mac OS 9 client. I can't seem to make it work. I'm just using the > revdb_connect function, but my standalone does not seem to recognize that > function. The same code works fine on Windows and OS X. In looking more > closely, it appears that there is not a revdb library for OS 9, at least not > that I can find. Should there be, or is OS 9 different from the other two? > > I just tested the stacks running in the IDE and everything works fine. It > just fails in the built standalone. I've got the MySQL Library PPC library > in the same folder as my standalone. But, like I said, I cannot find any > revdb library like with the other two platforms. Anyone have any ideas? I > hope this is something I can workaround. Maybe it's just another issue with > the standalone builder not copying all the necessary files? I'm running Rev > 2.5 with all the latest updates. > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Thu Feb 17 12:51:34 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 17 Feb 2005 18:51:34 +0100 Subject: Rev cgi Linux and get URL (libURL) Message-ID: <4214D99E.3EE33068@Club-Internet.fr> Hi list, I'd like to use "get URL "http://www.thisdomain.com" inside a cgi script with Rev cgi 2.5, but it doesn't seem to work... I guess that's because libURL isn't installed in the cgi engine... So I guess I need to create a libURL.rev stack, install it at the same level of my cgi script and use the "start using stack libURL.rev" command... Could anyone be kind enough to confirm that I can build that stack on any client platform (Win or Mac), even if it(ll be used on a Linux server, or do I have to create that libURL.rev stack specifically on Linux ? Thanks, JB From capellan2000 at yahoo.com Thu Feb 17 12:53:30 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 17 Feb 2005 09:53:30 -0800 (PST) Subject: New article on Functions in Revolution In-Reply-To: <20050217133306.7B4149300DF@mail.runrev.com> Message-ID: <20050217175330.45940.qmail@web40522.mail.yahoo.com> on Wed, 16 Feb 2005 Geoff Canyon wrote: > If anyone has questions or comments, feel free to > contact me. Hi Geoff, Did you contact Dan Shafer, about colaborating with the books that he is publishing? Thanks again for taking the time to write this article about functions! :-) al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From stephenREVOLUTION at barncard.com Thu Feb 17 13:21:13 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 17 Feb 2005 10:21:13 -0800 Subject: Introducing our new Evangelist Message-ID: Ro Nagey -- Heizer Software---> Royal...his name is on many stacks, and obviously writes code...and has been on this list in earlier times. I bought a lot of Heizer tools, and probably talked to him on the phone sometime in the early 90's. Could someone add more info about him? I know there's more.. >Hi everyone, > >It is my pleasure to introduce Ro Nagey as our new >Evangelist for Dreamcard and Revolution. His AIM screen name is RunRevRo. From mpetrides at earthlink.net Thu Feb 17 13:24:13 2005 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 17 Feb 2005 13:24:13 -0500 Subject: Introducing our new Evangelist In-Reply-To: References: Message-ID: <4ac51ad01277d354b8e63abcb5f61433@earthlink.net> Unless I miss my guess, he is Heather (aka List Mom)'s spousal unit. On Feb 17, 2005, at 1:21 PM, Stephen Barncard wrote: > Ro Nagey -- Heizer Software---> Royal...his name is on many stacks, > and obviously writes code...and has been on this list in earlier > times. I bought a lot of Heizer tools, and probably talked to him on > the phone sometime in the early 90's. > > Could someone add more info about him? I know there's more.. > >> Hi everyone, >> >> It is my pleasure to introduce Ro Nagey as our new >> Evangelist for Dreamcard and Revolution. His AIM screen name is >> RunRevRo. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gizmotron at earthlink.net Thu Feb 17 13:17:34 2005 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 17 Feb 2005 10:17:34 -0800 Subject: Introducing our new Evangelist In-Reply-To: <20050217133306.043B89300DE@mail.runrev.com> Message-ID: <3205DF95-8110-11D9-84C1-000A95743F7A@earthlink.net> > Hi everyone, > > It is my pleasure to introduce Ro Nagey as our new > Evangelist for Dreamcard and Revolution. > Kevin I feel the power of the revolution!!! Great choice. Congratulations Ro. Mark From lists at mangomultimedia.com Thu Feb 17 13:48:19 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Feb 2005 10:48:19 -0800 Subject: MySQL and Mac OS 9 In-Reply-To: <1108658390_39760@S3.cableone.net> References: <1108658390_39760@S3.cableone.net> Message-ID: <69ff03de5f07adf5dec191e96d91f48d@mangomultimedia.com> On Feb 17, 2005, at 8:35 AM, Chris Sheffield wrote: > I'm wondering if anyone else is successfully using a MySQL database > with a > Mac OS 9 client. I can't seem to make it work. I'm just using the > revdb_connect function, but my standalone does not seem to recognize > that > function. The same code works fine on Windows and OS X. In looking > more > closely, it appears that there is not a revdb library for OS 9, at > least not > that I can find. Should there be, or is OS 9 different from the other > two? > > I just tested the stacks running in the IDE and everything works fine. > It > just fails in the built standalone. I've got the MySQL Library PPC > library > in the same folder as my standalone. But, like I said, I cannot find > any > revdb library like with the other two platforms. Anyone have any > ideas? I > hope this is something I can workaround. Maybe it's just another > issue with > the standalone builder not copying all the necessary files? I'm > running Rev > 2.5 with all the latest updates. Since this is working in the IDE it is possible that the standalone is missing a code resource. I know that Valentina requires this as does the EnhancedQT external though I'm not sure about MySQL. I looked around a little bit to find where Revolution stores the code resource that it needs to add for Valentina but I couldn't find it. Anyone know where what file it is a part of? Perhaps if MySQL requires this as well it is in the same file? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revlist at cableone.net Thu Feb 17 14:02:27 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 17 Feb 2005 12:02:27 -0700 Subject: MySQL and Mac OS 9 In-Reply-To: <69ff03de5f07adf5dec191e96d91f48d@mangomultimedia.com> Message-ID: <1108667314_206531@S2.cableone.net> That's exactly the problem. I found out that the CODE resource is located in the license.rev file in the Revolution 2.5 folder. The resource contains the library for "revdb" among other things. Unfortunately, even after copying the resource to my standalone it still doesn't work. I get a type 1010 error. I remember a similar problem back when I first started with Valnentina and it had something to do with the ID of the CODE resource not matching the ID of the resource in the Valentina XCMD library or some weird thing like that. So I'm investigating that now. I'll post again if I can figure it out. Chris Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Thursday, February 17, 2005 11:48 AM To: How to use Revolution Subject: Re: MySQL and Mac OS 9 On Feb 17, 2005, at 8:35 AM, Chris Sheffield wrote: > I'm wondering if anyone else is successfully using a MySQL database > with a > Mac OS 9 client. I can't seem to make it work. I'm just using the > revdb_connect function, but my standalone does not seem to recognize > that > function. The same code works fine on Windows and OS X. In looking > more > closely, it appears that there is not a revdb library for OS 9, at > least not > that I can find. Should there be, or is OS 9 different from the other > two? > > I just tested the stacks running in the IDE and everything works fine. > It > just fails in the built standalone. I've got the MySQL Library PPC > library > in the same folder as my standalone. But, like I said, I cannot find > any > revdb library like with the other two platforms. Anyone have any > ideas? I > hope this is something I can workaround. Maybe it's just another > issue with > the standalone builder not copying all the necessary files? I'm > running Rev > 2.5 with all the latest updates. Since this is working in the IDE it is possible that the standalone is missing a code resource. I know that Valentina requires this as does the EnhancedQT external though I'm not sure about MySQL. I looked around a little bit to find where Revolution stores the code resource that it needs to add for Valentina but I couldn't find it. Anyone know where what file it is a part of? Perhaps if MySQL requires this as well it is in the same file? -- 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From revdan at danshafer.com Thu Feb 17 14:06:06 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 17 Feb 2005 11:06:06 -0800 Subject: Introducing our new Evangelist In-Reply-To: References: Message-ID: <4ffd40e2b45c81f774d2a7663c9c254b@danshafer.com> This is one of the most encouraging moves I've seen RunRev make in the years I've been working with the product and the company. First, in recognizing the need for and value of an evangelist. Second, in hiring the perfect guy for the job. My book, "Software at the Speed of Thought," would not exist without Ro. Period. When I first had the idea, he contacted me and encouraged, cajoled, begged, pleaded, and attempted to bribe me. (Ro, you still owe me a box of homemade, chocolate-covered Macadamia nuts, you piker!) Like many others on this list, I knew Ro back in the HyperCard days when he was THE MAN in publishing and marketing third-party products for the Mac. He and Ray Heizer and David Gewirtz showed tremendous devotion to and support for the HyperCommunity in countless ways, many of them designed not to profit their own companies directly but rather to raising the level of the water for all the boats in the HyperHarbor. (Sorry. Getting a little hyper here.) I count Ro as a good friend on many levels and I could not be happier to have him take on this new mantle. It makes me feel even better about the best damn development platform on the planet, period. Welcome, Ro. Now get to work, dammit! Dan From revdan at danshafer.com Thu Feb 17 14:23:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 17 Feb 2005 11:23:39 -0800 Subject: Pasting Formatted Text (was Re: A Revolution beginner seeks advice...) In-Reply-To: References: Message-ID: Not sure what could be happening here, Karen. What platform are you on? And what specific types of formatting are you using and losing? When I copy a two-page Word document on OS X containing bold and italicized type and paste it into a scrolling field in Rev, all the formatting is retained. So I can't reproduce your problem. If you provide more specifics, perhaps we can nail this down for you! Dan On Feb 17, 2005, at 5:42 AM, Karen wrote: > One thing that puzzles me is the pasting of text from other > applications > into a Revolution edit field. If there is a page break in a document > (from > Microsoft Word or from Pages) then the formatting is lost when I paste > into > my app's edit field. However, text without a page break is OK. Is > there > something I'm doing wrong? From katir at hindu.org Thu Feb 17 14:23:48 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 17 Feb 2005 09:23:48 -1000 Subject: BBEdit Transcript Language Module In-Reply-To: References: Message-ID: OK, I've lost track of the original file... do you have it posted somewhere? thanks Sivakatirswami On Feb 14, 2005, at 4:25 PM, Trevor DeVore wrote: > On Feb 14, 2005, at 6:08 PM, Stephen Barncard wrote: > >> Yes, that's the place to put the file. Remember that BBEDIT allows >> only three additional colors for code- keywords, string constants and >> Comments, so it's not as 'colorful' as, say, Golive. But comment and >> Uncomment works. Nice. Thanks Trevor. > > You also get a list of all handlers in the script so you can quickly > navigate among them using the function drop-down menu. It is also > useful to create your own glossary entries. For example, I use this > whenever I create a command: > > /** > * DESCRIPTION > * > * @param VALUE DESCRIPTION > * > * @return VALUE > */ > #indent##inline#on #SELECT# > #INSERTION# > end #SELECT# > > I've assigned a keyboard shortcut to it so I can type the name of the > handler, select it and press the keyboard shortcut and BBEdit does the > rest. Very useful. > > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Thu Feb 17 14:29:47 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Feb 2005 11:29:47 -0800 Subject: MySQL and Mac OS 9 In-Reply-To: <1108667314_206531@S2.cableone.net> References: <1108667314_206531@S2.cableone.net> Message-ID: On Feb 17, 2005, at 11:02 AM, Chris Sheffield wrote: > That's exactly the problem. I found out that the CODE resource is > located > in the license.rev file in the Revolution 2.5 folder. The resource > contains > the library for "revdb" among other things. Unfortunately, even after > copying the resource to my standalone it still doesn't work. I get a > type > 1010 error. I remember a similar problem back when I first started > with > Valnentina and it had something to do with the ID of the CODE resource > not > matching the ID of the resource in the Valentina XCMD library or some > weird > thing like that. > > So I'm investigating that now. I'll post again if I can figure it out. What is the ID revDB has once you paste it into your code resource? If I remember correctly the ID mod 3 has to equal 0 (or something like that). Notice that all of the IDs in the license.rev file fit this criteria. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Thu Feb 17 14:31:21 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Feb 2005 11:31:21 -0800 Subject: BBEdit Transcript Language Module In-Reply-To: References: Message-ID: <13d07d84363f42c14ce518e45d70820f@mangomultimedia.com> On Feb 17, 2005, at 11:23 AM, Sivakatirswami wrote: > OK, I've lost track of the original file... do you have it posted > somewhere? http://mangomultimedia.com/developer/revolution/ -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From katir at hindu.org Thu Feb 17 14:38:24 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 17 Feb 2005 09:38:24 -1000 Subject: CGI access to PostGreSQL In-Reply-To: <1108029925.29186.13.camel@rachmaninov.runtime> References: <20050209200422.56602.qmail@web60509.mail.yahoo.com> <1108029925.29186.13.camel@rachmaninov.runtime> Message-ID: Aloha, Mark: Still no go on Linux as a CGI...-- fixed the case as you said to: dbPostgresql.so one of our team put the file in "/usr/local/lib/revolution/dbPostgresql.so " and tried to run this script from the shell as root but it didn't work And I also tried putting it in the cgi bin of the virtual site where it will eventually be used... still didn't work I also tried a full path from root to the cgi bin of the virtual site it still fails. Not sure how to trouble shoot this one.. #!/usr/local/bin/revolution on startup ?## revSetDatabaseDriverPath "/usr/local/lib/revolution/dbPostgresql.so" ?## revSetDatabaseDriverPath "/home/virtual/site1/fst/var/www/cgi-bin/dbPostgresql.so" ? revSetDatabaseDriverPath "dbPostgresql.so" ? put revOpenDatabase("Postgresql","69.94.64.57","cybertalks","user","password ") into pConnectionID ? if (pConnectionID) is a number then ??? put "Your Cybertalks data base opened successfully with connection ID " into tResult ??? put pConnectionID after tResult ??? put tResult into buffer ? else ??? put "Gosh darn, what's up?? The data base connection failed." into buffer end if put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup this works fine from inside the IDE on OSX: revSetDatabaseDriverPath "dbPostgresql.so" ? put revOpenDatabase("Postgresql","69.94.64.57","cybertalks","user","password ") into pConnectionID ? if (pConnectionID) is a number then ??? put "Your Cybertalks data base opened successfully with connection ID " into tResult ??? put pConnectionID after tResult ??? put tResult ? else ??? put "Gosh darn, what's up?? The data base connection failed." end if We must still be missing something. Sivakatirswami we On Feb 10, 2005, at 12:05 AM, Mark Waddingham wrote: > The Revolution 2.5 (and up) Linux engine has both revXML and revDB > embedded within it, so the externals are not necessary. However, the > database drivers themselves are not embedded and you need to tell the > engine where to find them by doing: > revdb_setdriverpath > (or revSetDatabaseDriverPath ) > Where is the directory containing the drivers. Also, > Linux paths are case-sensitive so make sure that the value you pass for > the database type looks the same as the driver file: > i.e. if you pass "mysql" the engine will look for dbmysql.so > if you pass "MySQL" the engine will look for dbMySQL.so > > Warmest Regards, > > Mark. From revlist at cableone.net Thu Feb 17 14:40:15 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 17 Feb 2005 12:40:15 -0700 Subject: MySQL and Mac OS 9 In-Reply-To: Message-ID: <1108669483_31912@S1.cableone.net> Yep, all is well with the ID as far as I can tell. The "revdb" resource keeps the ID of 1209 when I copy it. Still getting 1010 error, though. Anyone have any other ideas? I'm going to e-mail Rev support if I can't get this worked out, as this is a show stopper for me. And the standalone builder should be taking care of this kind of thing, so I'm thinking a new bugzilla entry is in order. :-) Thanks for you help thus far, Trevor. Chris Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Thursday, February 17, 2005 12:30 PM To: How to use Revolution Subject: Re: MySQL and Mac OS 9 On Feb 17, 2005, at 11:02 AM, Chris Sheffield wrote: > That's exactly the problem. I found out that the CODE resource is > located > in the license.rev file in the Revolution 2.5 folder. The resource > contains > the library for "revdb" among other things. Unfortunately, even after > copying the resource to my standalone it still doesn't work. I get a > type > 1010 error. I remember a similar problem back when I first started > with > Valnentina and it had something to do with the ID of the CODE resource > not > matching the ID of the resource in the Valentina XCMD library or some > weird > thing like that. > > So I'm investigating that now. I'll post again if I can figure it out. What is the ID revDB has once you paste it into your code resource? If I remember correctly the ID mod 3 has to equal 0 (or something like that). Notice that all of the IDs in the license.rev file fit this criteria. -- 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From revdan at danshafer.com Thu Feb 17 14:41:43 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 17 Feb 2005 11:41:43 -0800 Subject: [OT] Understanding Codecs In-Reply-To: <047d3ab09cafea4d6196517a7cbe5073@mangomultimedia.com> References: <21579b7bf93a5fd27099479d70519a43@mangomultimedia.com> <047d3ab09cafea4d6196517a7cbe5073@mangomultimedia.com> Message-ID: Trevor.... I've been diving deeply into QT technology since this exchange and wanted to let you know that I looked closely at the Ensharpen codec. Very nice. Easy to see why RR chose to use it for their movies. I'm going to buy the encoder and experiment with it. I need to find a cleaner way of distributing the decoder for my client's extremely unsavvy audience, but I suspect that won't be too hard to figure out. You don't happen to have written a Rev function that does this semi-automagically, do you? :-D Dan (who is always looking to steal...er *adapt*...other peoples' code) On Feb 8, 2005, at 7:27 AM, Trevor DeVore wrote: > The TechSmith Ensharpen codec is really good for screen capture in the > tests I have done. > The problem of course is that the Ensharpen codec doesn't come with > QuickTime by default and even though the folks at TechSmith have > applied for the component download program it seems that the QuickTime > folks aren't doing anything with the program for the time being. What > you can do though is check for the installation of the Ensharpen codec > as it will be placed in the QuickTime component directory on the users > computer and if it isn't there then display a nice dialog that directs > the user to the download site. Unfortunate but it would work. From revlist at cableone.net Thu Feb 17 14:57:14 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 17 Feb 2005 12:57:14 -0700 Subject: MySQL and Mac OS 9 In-Reply-To: Message-ID: <1108670417_219762@S4.cableone.net> Okay, here's an even weirder twist to the whole issue. I decided to just try rebuilding my standalone, thinking that maybe there was just some weird glitch. Turns out the revdb CODE resource does in fact get copied to the standalone by the standalone builder. I think it didn't happen before because I had chosen to include another resource file (that's another issue; the correct resources should still get copied even if you choose to copy your own resources from a separate file). Unfortunately, I still get the 1010 error when I try to open my app. So something is messed up with the standalone building process. I don't think this is even necessarily specific to MySQL. Anyone else out there use any of the revdb calls in a Mac OS 9 application? Thanks again, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Thursday, February 17, 2005 12:30 PM To: How to use Revolution Subject: Re: MySQL and Mac OS 9 On Feb 17, 2005, at 11:02 AM, Chris Sheffield wrote: > That's exactly the problem. I found out that the CODE resource is > located > in the license.rev file in the Revolution 2.5 folder. The resource > contains > the library for "revdb" among other things. Unfortunately, even after > copying the resource to my standalone it still doesn't work. I get a > type > 1010 error. I remember a similar problem back when I first started > with > Valnentina and it had something to do with the ID of the CODE resource > not > matching the ID of the resource in the Valentina XCMD library or some > weird > thing like that. > > So I'm investigating that now. I'll post again if I can figure it out. What is the ID revDB has once you paste it into your code resource? If I remember correctly the ID mod 3 has to equal 0 (or something like that). Notice that all of the IDs in the license.rev file fit this criteria. -- 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From kevin at runrev.com Thu Feb 17 15:03:05 2005 From: kevin at runrev.com (Kevin Miller) Date: Thu, 17 Feb 2005 20:03:05 +0000 Subject: [OT] Understanding Codecs In-Reply-To: Message-ID: On 17/2/05 7:41 pm, "Dan Shafer" wrote: > Trevor.... > > I've been diving deeply into QT technology since this exchange and > wanted to let you know that I looked closely at the Ensharpen codec. > Very nice. Easy to see why RR chose to use it for their movies. I'm > going to buy the encoder and experiment with it. I need to find a > cleaner way of distributing the decoder for my client's extremely > unsavvy audience, but I suspect that won't be too hard to figure out. > You don't happen to have written a Rev function that does this > semi-automagically, do you? :-D > > Dan (who is always looking to steal...er *adapt*...other peoples' code) The IDE does this, from the top of my head at least on the Mac OS X side, so you should be able to find some code in there. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From lists at mangomultimedia.com Thu Feb 17 15:08:29 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Feb 2005 12:08:29 -0800 Subject: MySQL and Mac OS 9 In-Reply-To: <1108670417_219762@S4.cableone.net> References: <1108670417_219762@S4.cableone.net> Message-ID: <2de9e4f2606c0dd73998417f77496cf4@mangomultimedia.com> On Feb 17, 2005, at 11:57 AM, Chris Sheffield wrote: > > I don't think this is even necessarily specific to MySQL. Anyone else > out > there use any of the revdb calls in a Mac OS 9 application? Sorry, I haven't used RevDB on OS 9, just Valentina directly. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Thu Feb 17 15:12:44 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Feb 2005 12:12:44 -0800 Subject: [OT] Understanding Codecs In-Reply-To: References: <21579b7bf93a5fd27099479d70519a43@mangomultimedia.com> <047d3ab09cafea4d6196517a7cbe5073@mangomultimedia.com> Message-ID: On Feb 17, 2005, at 11:41 AM, Dan Shafer wrote: > I've been diving deeply into QT technology since this exchange and > wanted to let you know that I looked closely at the Ensharpen codec. > Very nice. Easy to see why RR chose to use it for their movies. I'm > going to buy the encoder and experiment with it. I need to find a > cleaner way of distributing the decoder for my client's extremely > unsavvy audience, but I suspect that won't be too hard to figure out. > You don't happen to have written a Rev function that does this > semi-automagically, do you? :-D > > Dan (who is always looking to steal...er *adapt*...other peoples' code) Dan, I haven't done this from within Rev itself as I have checked for and installed the component from within my programs installer. I have the paths where the component should be installed to if need them. What I don't remember is if you have to restart your application to make the component available or not. I think as long as the install happens before any QT functions are called in your app you should be fine. Otherwise you may or may not have problems. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jbv.silences at Club-Internet.fr Thu Feb 17 15:37:26 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 17 Feb 2005 21:37:26 +0100 Subject: Rev cgi Linux and get URL (libURL) References: <4214D99E.3EE33068@Club-Internet.fr> Message-ID: <42150085.B94CFAA@Club-Internet.fr> Hi again, So I've built a myLibUrl.rev stack on my Mac (OS9) according to the explanations given here : http://lists.runrev.com/pipermail/use-revolution/2003-April/015259.html and uploaded it to the Linux server running Rev 2.5 cgi. my cgi script doesn't return any execution error with the line "start using stack myLibUrl.rev", BUT the command : get URL "http://www.google.fr" doesn't return anything... What did I miss ? Any engine specific settings to take care of ? Thanks, JB > Hi list, > > I'd like to use "get URL "http://www.thisdomain.com" > inside a cgi script with Rev cgi 2.5, but it doesn't seem > to work... I guess that's because libURL isn't installed > in the cgi engine... > > So I guess I need to create a libURL.rev stack, install it > at the same level of my cgi script and use the > "start using stack libURL.rev" command... > > Could anyone be kind enough to confirm that I can build > that stack on any client platform (Win or Mac), even if > it(ll be used on a Linux server, or do I have to create that > libURL.rev stack specifically on Linux ? > > Thanks, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alisterhp at mac.com Thu Feb 17 15:57:31 2005 From: alisterhp at mac.com (Alister Pillow) Date: Fri, 18 Feb 2005 07:27:31 +1030 Subject: MySQL and Mac OS 9 In-Reply-To: <20050217202705.778269300DF@mail.runrev.com> References: <20050217202705.778269300DF@mail.runrev.com> Message-ID: I have a successful Standalone running on OS9 connected to MySQL on an OSX Server. The standalone needs to be in a folder with both the "Valentina_Classic" library and the "MYSQL Library PPC". In the Standalone Application Settings, both MySQL and Valentina are selected in the "Database Support" list. You may need to manually add one of those libraries to your standalone's directory. They should be in the Revolution application folder. ---- Alister Pillow NewMedia Engineer Geordie Springfield Pty Ltd ABN 32 076 649 048 alisterhp at mac.com m - 0403 982 146 b - 08 8272 2350 From heather at runrev.com Thu Feb 17 15:59:07 2005 From: heather at runrev.com (Heather Nagey) Date: Thu, 17 Feb 2005 20:59:07 +0000 Subject: Introducing our new Evangelist In-Reply-To: <20050217202714.312A09300E8@mail.runrev.com> Message-ID: > Unless I miss my guess, he is Heather (aka List Mom)'s spousal unit. S'right. I wanted him so badly to work for the company, I married him... :) Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From revlist at cableone.net Thu Feb 17 16:21:24 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 17 Feb 2005 14:21:24 -0700 Subject: MySQL and Mac OS 9 In-Reply-To: Message-ID: <1108675652_209783@S2.cableone.net> Thank you! Thank you! Thank you! That worked. Still a bug in my opinion, since the standalone should not depend on the Valentina files. I'm going to write that up. Here's another interesting twist. Once I built the standalone with the options you recommended, I was able to remove the Valentina Classic library file from my standalone's folder and it still worked. But if I build the standalone with only MySQL selected under Database Support, it fails. Weird stuff here. :-) Thanks so much for your help. At least it's working now. Chris Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alister Pillow Sent: Thursday, February 17, 2005 1:58 PM To: use-revolution at lists.runrev.com Subject: Re: MySQL and Mac OS 9 I have a successful Standalone running on OS9 connected to MySQL on an OSX Server. The standalone needs to be in a folder with both the "Valentina_Classic" library and the "MYSQL Library PPC". In the Standalone Application Settings, both MySQL and Valentina are selected in the "Database Support" list. You may need to manually add one of those libraries to your standalone's directory. They should be in the Revolution application folder. ---- Alister Pillow NewMedia Engineer Geordie Springfield Pty Ltd ABN 32 076 649 048 alisterhp at mac.com m - 0403 982 146 b - 08 8272 2350 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From jbv.silences at Club-Internet.fr Thu Feb 17 16:26:38 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 17 Feb 2005 22:26:38 +0100 Subject: MySQL and Mac OS 9 References: <20050217202705.778269300DF@mail.runrev.com> Message-ID: <42150C0D.D308D1D2@Club-Internet.fr> Alister, That's really interesting : several months ago, when trying to have an OS9 standalone connected to mySQL, I remember installing the MYSQL library in the same folder as the standalone, but it didn't work... How did you come to the conclusion that the "Valentina_Classic" library should also be in the standalone directory ? BTW I found that the solution I used (cgi requests to Rev cgi 2.5 connected to mySQL) offers a few benefits : - more filtering possibilities on requests - when delivering successive versions of an app to a client, no need to take care of installing libraries... JB > I have a successful Standalone running on OS9 connected to MySQL on an > OSX Server. > The standalone needs to be in a folder with both the > "Valentina_Classic" library and the "MYSQL Library PPC". > > In the Standalone Application Settings, both MySQL and Valentina are > selected in the "Database Support" list. > > You may need to manually add one of those libraries to your > standalone's directory. They should be in the Revolution application > folder. > > ---- > Alister Pillow > NewMedia Engineer > > Geordie Springfield Pty Ltd > ABN 32 076 649 048 > > alisterhp at mac.com > m - 0403 982 146 > b - 08 8272 2350 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Thu Feb 17 16:24:09 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 17 Feb 2005 11:24:09 -1000 Subject: BBEdit Transcript Language Module In-Reply-To: <13d07d84363f42c14ce518e45d70820f@mangomultimedia.com> References: <13d07d84363f42c14ce518e45d70820f@mangomultimedia.com> Message-ID: <9138d1d1ba82a9bda0df78e87d2b3f95@hindu.org> Thanks! On Feb 17, 2005, at 9:31 AM, Trevor DeVore wrote: > On Feb 17, 2005, at 11:23 AM, Sivakatirswami wrote: > >> OK, I've lost track of the original file... do you have it posted >> somewhere? > > http://mangomultimedia.com/developer/revolution/ > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rev at armbase.com Thu Feb 17 16:38:24 2005 From: rev at armbase.com (Bob Hartley) Date: Thu, 17 Feb 2005 21:38:24 +0000 Subject: change label name Message-ID: <6.2.1.2.0.20050217213809.0292a690@mail.armbase.com> Hi All. I have a button that copies a label from one stack to another stack. the code changes the name OK but I want to change the visible text in the label. the code is on mouseUp global tFileName copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName set the name of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" --the above is OK and copies the label and changes its name to the contents of a field set the label of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" --this one above generates an error end mouseUp I tried using the words contents and name etc in thelast line but without any luck. Any ideas. I'm sure this is simple. cheers bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 From rev at armbase.com Thu Feb 17 16:39:02 2005 From: rev at armbase.com (Bob Hartley) Date: Thu, 17 Feb 2005 21:39:02 +0000 Subject: change label name Message-ID: <6.2.1.2.0.20050217213303.02812878@mail.armbase.com> Hi All. I have a button that copies a label from one stack to another stack. the code changes the name OK but I want to change the visible text in the label. the code is on mouseUp global tFileName copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName set the name of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" --the above is OK and copies the label and changes its name to the contents of a field set the label of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" --this one above generates an error end mouseUp I tried using the words contents and name etc in thelast line but without any luck. Any ideas. I'm sure this is simple. cheers bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 From ro at runrev.com Thu Feb 17 16:25:48 2005 From: ro at runrev.com (Ro Nagey) Date: Thu, 17 Feb 2005 21:25:48 +0000 Subject: Introducing our new Evangelist In-Reply-To: References: Message-ID: <52b37f43c67287745ed30c2c8cb630eb@runrev.com> Aloha, all! Thank you, Kevin, for the introduction. And thank you, Richard, Mark, Dan, for your very kind comments - the check is in the mail! ;) Seriously, I am incredibly excited to be your Evangelist. As Kevin pointed out, I'm here to help. I am here to help: ? Promote your Revolution-built applications, ? Publish your programs and utilities through our new revSelect program, and, ? Offer you what marketing and advertising advice I can I am also one link between you and the company. If you have comments or questions about Runtime Revolution, please feel free to contact me. I am RunRevRo on AIM/iChat. I live in the UK and am usually online throughout the day and, often, late at night. [The 8 hour time difference between here and California is a real killer.] I can also be contacted via email [pfflist] at: ro at runrev.com Obviously, there's a lot more. The important thing is that I am here to help you. Your success will only make the entire Revolution community and, of course, our company, stronger. Ro Nagey PS: Yes, Heather Nagey is my beautiful bride. :) On Feb 17, 2005, at 1:18 PM, Kevin Miller wrote: > Hi everyone, > > It is my pleasure to introduce Ro Nagey as our new > Evangelist for Dreamcard and Revolution. His AIM screen name is > RunRevRo. Ro Nagey ~ ro at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From jacque at hyperactivesw.com Thu Feb 17 16:46:34 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 17 Feb 2005 15:46:34 -0600 Subject: Rev cgi Linux and get URL (libURL) In-Reply-To: <42150085.B94CFAA@Club-Internet.fr> References: <4214D99E.3EE33068@Club-Internet.fr> <42150085.B94CFAA@Club-Internet.fr> Message-ID: <421510BA.8020407@hyperactivesw.com> On 2/17/05 2:37 PM, jbv wrote: > Hi again, > > So I've built a myLibUrl.rev stack on my Mac (OS9) > according to the explanations given here : > http://lists.runrev.com/pipermail/use-revolution/2003-April/015259.html > and uploaded it to the Linux server running Rev 2.5 cgi. > > my cgi script doesn't return any execution error with the > line "start using stack myLibUrl.rev", BUT the command : > get URL "http://www.google.fr" > doesn't return anything... > > What did I miss ? Any engine specific settings to take care of ? Check "the result" after issuing the "start using" command and see what you get. That may give you a clue. From revlist at cableone.net Thu Feb 17 16:50:35 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 17 Feb 2005 14:50:35 -0700 Subject: MySQL and Mac OS 9 In-Reply-To: Message-ID: <1108677403_210446@S2.cableone.net> For anyone interested, I just added bug #2613 for this issue. Hopefully I explained it well. If anyone wants to add clarification or further comments I'd appreciate it. Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alister Pillow Sent: Thursday, February 17, 2005 1:58 PM To: use-revolution at lists.runrev.com Subject: Re: MySQL and Mac OS 9 I have a successful Standalone running on OS9 connected to MySQL on an OSX Server. The standalone needs to be in a folder with both the "Valentina_Classic" library and the "MYSQL Library PPC". In the Standalone Application Settings, both MySQL and Valentina are selected in the "Database Support" list. You may need to manually add one of those libraries to your standalone's directory. They should be in the Revolution application folder. ---- Alister Pillow NewMedia Engineer Geordie Springfield Pty Ltd ABN 32 076 649 048 alisterhp at mac.com m - 0403 982 146 b - 08 8272 2350 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From dvk at dvkconsult.com.au Thu Feb 17 16:55:43 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri, 18 Feb 2005 08:55:43 +1100 Subject: Introducing our new Evangelist In-Reply-To: <20050217202705.A0FD79300E3@mail.runrev.com> References: <20050217202705.A0FD79300E3@mail.runrev.com> Message-ID: <029473e1221805567aa87a8e7bcb75fb@dvkconsult.com.au> On 18/02/2005, at 7:27, Marian Petrides wrote: > > Unless I miss my guess, he is Heather (aka List Mom)'s spousal unit. > Her spousal unit? :-D :-D :-D At last, I really know my place. cheers David From Karen at curlypaws.com Thu Feb 17 17:55:35 2005 From: Karen at curlypaws.com (Karen) Date: Thu, 17 Feb 2005 22:55:35 +0000 Subject: Pasting Formatted Text In-Reply-To: <20050217202714.312A09300E8@mail.runrev.com> Message-ID: Thanks very much Dan, you are correct - I went back and tried again with a document created in Word and it was all OK. It just seems to be Apple's Pages program that is the problem. Word retains the format when I paste from Pages into Word, but then pasting from Word into Revolution loses the font type, size and colour - plus anything such as bold formatting. Similarly, pasting directly from Pages loses the formatting. However, if I paste using text generated in a number of other programs it all works (this is running under Mac OS X 10.3.8). I guess that Apple is doing something funny with Pages... Thanks for taking the time to reply, I think that I should buy your book now if/when I buy Revolution :-). Karen On 17/2/05 8:27 pm, Dan Shafer wrote: > Message: 10 > Date: Thu, 17 Feb 2005 11:23:39 -0800 > From: Dan Shafer > Subject: Pasting Formatted Text (was Re: A Revolution beginner seeks > advice...) > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Not sure what could be happening here, Karen. What platform are you on? > And what specific types of formatting are you using and losing? > > When I copy a two-page Word document on OS X containing bold and > italicized type and paste it into a scrolling field in Rev, all the > formatting is retained. So I can't reproduce your problem. If you > provide more specifics, perhaps we can nail this down for you! > > Dan From 3mcgrath at adelphia.net Thu Feb 17 18:20:53 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 17 Feb 2005 18:20:53 -0500 Subject: Pasting Formatted Text In-Reply-To: References: Message-ID: <3d83d7348f462dbb8441766f3a7099ab@adelphia.net> Pages is using XML just like Keynote for all of the styles etc. The XML can be accessed and manipulated if needed. Tom On Feb 17, 2005, at 5:55 PM, Karen wrote: > Similarly, pasting directly from Pages loses the > formatting. > I guess that Apple is doing something funny with Pages... Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jbv.silences at Club-Internet.fr Thu Feb 17 18:29:09 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 18 Feb 2005 00:29:09 +0100 Subject: Rev cgi Linux and get URL (libURL) References: <4214D99E.3EE33068@Club-Internet.fr> <421510BA.8020407@hyperactivesw.com> Message-ID: <421528C4.20F4BA4F@Club-Internet.fr> > > > Check "the result" after issuing the "start using" command and see what > you get. That may give you a clue. > _______________________________________________ the result is empty... Thanks, JB From jbv.silences at Club-Internet.fr Thu Feb 17 18:34:41 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 18 Feb 2005 00:34:41 +0100 Subject: Rev cgi Linux and get URL (libURL) References: <4214D99E.3EE33068@Club-Internet.fr> <421510BA.8020407@hyperactivesw.com> Message-ID: <42152A10.997D852D@Club-Internet.fr> one more detail : the following line : get URL "http://www.google.fr" doesn't return anything... the script just run for about 10 secs and then returns an empty variable. BUT the following line : geturl "http://www.google.fr" returns 1108665196 ... don't know if it makes any sense... JB From alex at tweedly.net Thu Feb 17 18:37:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 17 Feb 2005 23:37:08 +0000 Subject: change label name In-Reply-To: <6.2.1.2.0.20050217213809.0292a690@mail.armbase.com> References: <6.2.1.2.0.20050217213809.0292a690@mail.armbase.com> Message-ID: <42152AA4.8050804@tweedly.net> Bob Hartley wrote: > Hi All. > I have a button that copies a label from one stack to another stack. > > the code changes the name OK but I want to change the visible text in > the label. > > the code is > on mouseUp > global tFileName > copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName > set the name of field LabelName of stack tFileName to field > LabelNewName of stack "Armbase" > --the above is OK and copies the label and changes its name to the > contents of a field > set the label of field LabelName of stack tFileName to field > LabelNewName of stack "Armbase" > --this one above generates an error > end mouseUp > > I tried using the words contents and name etc in thelast line but > without any luck. > > Any ideas. I'm sure this is simple. Two possibilities / suggestions: 1. did the line set the name of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" change the name, such that the field can no longer be identified as field LabelName (and, btw, I'd be strict about putting quotes around LabelName ---- and even suggest setting explicit variables) 2. fields don't (AFAIK) have a "label" property - it should be set the text of .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 From revdan at danshafer.com Thu Feb 17 18:45:49 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 17 Feb 2005 15:45:49 -0800 Subject: change label name In-Reply-To: <6.2.1.2.0.20050217213303.02812878@mail.armbase.com> References: <6.2.1.2.0.20050217213303.02812878@mail.armbase.com> Message-ID: <1dcd2661374a9e30897cdda3e75cec68@danshafer.com> Just a SWAG and not tested, but have you tried changing the offending line to: set the label of field labelName of stack "Armbase" to the name of field labelName of stack "Armbase"? Since you've successfully changed its name, you should be able to use this to change the label, eh? Dan On Feb 17, 2005, at 1:39 PM, Bob Hartley wrote: > Hi All. > I have a button that copies a label from one stack to another stack. > > the code changes the name OK but I want to change the visible text in > the label. > > the code is > on mouseUp > global tFileName > copy field "LabelName" of stack "Armbase" to card 1 of stack > tFileName > set the name of field LabelName of stack tFileName to field > LabelNewName of stack "Armbase" > --the above is OK and copies the label and changes its name to the > contents of a field > set the label of field LabelName of stack tFileName to field > LabelNewName of stack "Armbase" > --this one above generates an error > end mouseUp > > I tried using the words contents and name etc in thelast line but > without any luck. > > Any ideas. I'm sure this is simple. > > cheers > bob > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Thu Feb 17 18:54:57 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 17 Feb 2005 23:54:57 +0000 Subject: Rev cgi Linux and get URL (libURL) In-Reply-To: <42152A10.997D852D@Club-Internet.fr> References: <4214D99E.3EE33068@Club-Internet.fr> <421510BA.8020407@hyperactivesw.com> <42152A10.997D852D@Club-Internet.fr> Message-ID: <910ccb5e8a44f435b038d72185e837b7@lacscentre.co.uk> On 17 Feb 2005, at 23:34, jbv wrote: > one more detail : > > the following line : get URL "http://www.google.fr" > doesn't return anything... the script just run for about > 10 secs and then returns an empty variable. Did you check "the result" after the get URL line? It might give some useful information. > > BUT the following line : geturl "http://www.google.fr" > returns 1108665196 ... > > don't know if it makes any sense... > geturl is a handler in liburl that is called by the engine (it should never be called from a script). However, the value looks like the seconds value. When you say it "returns 1108665196", is that in the "it" variable or "the result". If the former, is it possible the "it" value was set earier in your script. Going back to your original question, as far as I know, the instructions for building a libUrl stack for CGI use are still valid. However, I haven't done this recently, and at the time, I didn't check it on Linux. If you're still having trouble, immediately after the "start using" line, you might want to check that the library has been loaded. You could perhaps do something suc as "return the stacksInUse" Cheers Dave From revdan at danshafer.com Thu Feb 17 18:59:21 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 17 Feb 2005 15:59:21 -0800 Subject: Pasting Formatted Text In-Reply-To: References: Message-ID: On Feb 17, 2005, at 2:55 PM, Karen wrote: > I guess that Apple is doing something funny with Pages... > Now that would be a first! NOT > Thanks for taking the time to reply, I think that I should buy your > book now > if/when I buy Revolution :-). > I hope you decide to use Rev whether or not you buy my book. I hate to see people using hard-to-use development tools with Rev around! Dan > Karen > > On 17/2/05 8:27 pm, Dan Shafer wrote: > >> Message: 10 >> Date: Thu, 17 Feb 2005 11:23:39 -0800 >> From: Dan Shafer >> Subject: Pasting Formatted Text (was Re: A Revolution beginner seeks >> advice...) >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> Not sure what could be happening here, Karen. What platform are you >> on? >> And what specific types of formatting are you using and losing? >> >> When I copy a two-page Word document on OS X containing bold and >> italicized type and paste it into a scrolling field in Rev, all the >> formatting is retained. So I can't reproduce your problem. If you >> provide more specifics, perhaps we can nail this down for you! >> >> Dan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Feb 17 21:58:41 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Feb 2005 18:58:41 -0800 Subject: Bug or feature? Message-ID: <421559E1.1060000@fourthworld.com> When you ask for the long name of a control and the control's name is empty, you get the long ID of the control. That doesn't seem so bad, until you consider that this is true even is the card has a name -- you still get the card ID along with it. Is that a bug or a feature? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From erikhans08 at yahoo.com Thu Feb 17 22:05:17 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 17 Feb 2005 19:05:17 -0800 (PST) Subject: Introducing our new Evangelist In-Reply-To: <4214C505.8050500@fourthworld.com> Message-ID: <20050218030517.13940.qmail@web61204.mail.yahoo.com> --- Richard Gaskin wrote: > He's also been an educator, successfully > integrating HyperCard and other > interactive media into the classroom, and has > lent that experience to > helping other educators do the same. At the > Rev seminar in SF last year > he held a breakout session on using Rev in the > classroom... that session was very beneficial. good to have an education pro on the team. nowadays computers in education are largely handled by big edu-corporations leaving little time for the "lone rangers" with their "bolt-on" projects. the standardization provides many benefits, but the all-or-nothing approach can leave some good ideas on the shelf. what about an array of programs to choose from, with education pros making sure that the individual programs and the overall suites would meet all of the general requirements? i.e. offering several different tutorials each in geometry, algebra, logic, etc. the Mister Potato Head approach. Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From briany at qldlearning.com Thu Feb 17 22:06:02 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 17 Feb 2005 19:06:02 -0800 Subject: MySQL and Mac OS 9 In-Reply-To: References: <1108667314_206531@S2.cableone.net> Message-ID: <64aaeeafdc432845dea567641836dbad@qldlearning.com> FWIW, this was documented in a MetaCard README around version 2.4.2 (I think). Hopefully it still exists somewhere, but the jist was that the ID number determined whether the code resource was to be loaded under 68K, PPC or Classic, or something along those lines. Hopefully this at least throws something in the archives with a reference to the README... - Brian > What is the ID revDB has once you paste it into your code resource? > If I remember correctly the ID mod 3 has to equal 0 (or something like > that). Notice that all of the IDs in the license.rev file fit this > criteria. From katir at hindu.org Thu Feb 17 22:49:07 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 17 Feb 2005 17:49:07 -1000 Subject: OT: Keynote Message-ID: <805d239990cb10839a99e4b72f2a0843@hindu.org> I just recently saw a presentation of Apple's Keynote and watched someone working inside it... kept thinking how wonderful it would be if Revolution were to move forward on the graphics integration side of things. Keynote's elegance and ease for development of a really classy graphical interface, appeared pretty stunning. Of course, ultimately you are left with a relatively light weight feature set, and I would start squirming right away, if someone asked me to develop inside that little sand box, but, still for point and click building of point and click presentations, it looked "really" cool as they say.. Now, if we just had Rev's scripting powers and range or control over other aspects of the machine... underneath all that breadth of graphic -transition building capabilities ... you would have a real Dream Machine. Sivakatirswami From soapdog at mac.com Thu Feb 17 23:28:20 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 18 Feb 2005 02:28:20 -0200 Subject: Join a Revolution in June in Monterey! In-Reply-To: References: Message-ID: <5dd08cfc9f3ae8333d9c0fb74e4a60b4@mac.com> On Feb 16, 2005, at 9:50 PM, Dan Shafer wrote: > > A group of us are trying to determine if there's enough interest to > expand our Monterey-based Revolution developer gathering June 24-25 to > encompass a second track for people who are beginning or intermediate > developers. As you may know, we held the first annual Revolution > Masters Summit last July in Monterey and it was a smash hit. But it > was an invitation-only affair. This year, we are *considering* adding > a companion conference open to anyone who wants to attend and learn > from those who are invited to attend the Revolution Masters Summit > *and* speak to and mentor for those attending the main conference. Dan, man... I loved monterey!!! I must save some money to make it there this year, my mileage program ended... :D but I'll make it, you'll have to hear more crazy stories round a dinner table! :D Folks, monterey rocks and the RMS was a wonderfull conference and place to see some people we know only by emails! Andre > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From revdan at danshafer.com Thu Feb 17 23:47:41 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 17 Feb 2005 20:47:41 -0800 Subject: OT: Keynote In-Reply-To: <805d239990cb10839a99e4b72f2a0843@hindu.org> References: <805d239990cb10839a99e4b72f2a0843@hindu.org> Message-ID: <4b1eb70dc25e1a7cf6d38b6d3ff0dfbf@danshafer.com> I wonder how AppleScriptable Keynote is. Dan On Feb 17, 2005, at 7:49 PM, Sivakatirswami wrote: > I just recently saw a presentation of Apple's Keynote and watched > someone working inside it... kept thinking how wonderful it would be > if Revolution were to move forward on the graphics integration side of > things. > > Keynote's elegance and ease for development of a really classy > graphical interface, appeared pretty stunning. Of course, ultimately > you are left with a relatively light weight feature set, and I would > start squirming right away, if someone asked me to develop inside that > little sand box, but, still for point and click building of point and > click presentations, it looked "really" cool as they say.. > > Now, if we just had Rev's scripting powers and range or control over > other aspects of the machine... underneath all that breadth of graphic > -transition building capabilities ... you would have a real Dream > Machine. > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Feb 18 00:57:07 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 17 Feb 2005 23:57:07 -0600 Subject: Join a Revolution in June in Monterey! In-Reply-To: <5dd08cfc9f3ae8333d9c0fb74e4a60b4@mac.com> References: <5dd08cfc9f3ae8333d9c0fb74e4a60b4@mac.com> Message-ID: <421583B3.8040603@chipp.com> Yes Andre, It was a great time and hopefully will even be better this year! This time we're hoping for a great lineup including Mr. Gaskin, the infamous Ken Ray, Ms Jacque Landman Gay, Mr Quicktime himself- Trevor DeVore and the fabulous Scott Rossi (you didn't forget his amazing demos last year?) and hopefully a team from Scotland. Of course there will be others as well (including Jerry Daniel's very very funny 'MC' vs 'RR' IDE shoot-out?). Also, Tuviah's already mentioned he's planning to make it! We're hoping to double the size and quadruple the fun. Sounds like we'll need a bigger room, especially for the Brazillian contingent. And we hope folks who couldn't make it last year will attend this year. (Dar that means you!) Dan wants to open up both tracks for registration, and I agree. The idea being if you want to attend the Masters Summit and the advanced topics talked about there, then great. Or, if you'd rather spend time fine-tuning your chops in the introductory/intermediate sessions, then go for it! We'll be asking soon for specific topic suggestions, so that RMS can truly be one great Revolution Developer Conference. I'm certainly looking forward to it! We'll be posting more information as it becomes available, but judging from the response Dan has already received, we'll be both chatting it up at dinner again (or, er, um, me listening, you chatting? :-) -Chipp Andre Garzia wrote: > > On Feb 16, 2005, at 9:50 PM, Dan Shafer wrote: > >> >> A group of us are trying to determine if there's enough interest to >> expand our Monterey-based Revolution developer gathering June 24-25 to >> encompass a second track for people who are beginning or intermediate >> developers. As you may know, we held the first annual Revolution >> Masters Summit last July in Monterey and it was a smash hit. But it >> was an invitation-only affair. This year, we are *considering* adding >> a companion conference open to anyone who wants to attend and learn >> from those who are invited to attend the Revolution Masters Summit >> *and* speak to and mentor for those attending the main conference. > > > Dan, > > man... I loved monterey!!! I must save some money to make it there this > year, my mileage program ended... :D but I'll make it, you'll have to > hear more crazy stories round a dinner table! :D > > Folks, monterey rocks and the RMS was a wonderfull conference and place > to see some people we know only by emails! > > Andre > > > >> From ambassador at fourthworld.com Fri Feb 18 01:06:47 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Feb 2005 22:06:47 -0800 Subject: Join a Revolution in June in Monterey! In-Reply-To: <421583B3.8040603@chipp.com> References: <5dd08cfc9f3ae8333d9c0fb74e4a60b4@mac.com> <421583B3.8040603@chipp.com> Message-ID: <421585F7.3000301@fourthworld.com> Chipp Walters wrote: > And we hope folks who couldn't make it last year will attend this year. > (Dar that means you!) Dar needs to do a session on sockets. I'm on strike until he commits. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From chipp at chipp.com Fri Feb 18 01:12:14 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 18 Feb 2005 00:12:14 -0600 Subject: Join a Revolution in June in Monterey! In-Reply-To: <421585F7.3000301@fourthworld.com> References: <5dd08cfc9f3ae8333d9c0fb74e4a60b4@mac.com> <421583B3.8040603@chipp.com> <421585F7.3000301@fourthworld.com> Message-ID: <4215873E.5000601@chipp.com> And from you sir, I would like to see the Message Path acted out as you did the ftp sockets one last year! Only if we can get it on tape :-) Richard Gaskin wrote: > Chipp Walters wrote: > >> And we hope folks who couldn't make it last year will attend this >> year. (Dar that means you!) > > > Dar needs to do a session on sockets. > > I'm on strike until he commits. :) From kray at sonsothunder.com Fri Feb 18 01:40:20 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 18 Feb 2005 00:40:20 -0600 Subject: Bug or feature? In-Reply-To: <421559E1.1060000@fourthworld.com> Message-ID: On 2/17/05 8:58 PM, "Richard Gaskin" wrote: > When you ask for the long name of a control and the control's name is > empty, you get the long ID of the control. > > That doesn't seem so bad, until you consider that this is true even is > the card has a name -- you still get the card ID along with it. > > Is that a bug or a feature? I'd say that the fact that you get the ID of the control is OK, but the bug is that you don't get the name of the card as you would with "long name". Just my 2 bits... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Fri Feb 18 01:44:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Feb 2005 22:44:36 -0800 Subject: Bug or feature? In-Reply-To: References: Message-ID: <42158ED4.7000100@fourthworld.com> Ken Ray wrote: > On 2/17/05 8:58 PM, "Richard Gaskin" wrote: > > >>When you ask for the long name of a control and the control's name is >>empty, you get the long ID of the control. >> >>That doesn't seem so bad, until you consider that this is true even is >>the card has a name -- you still get the card ID along with it. >> >>Is that a bug or a feature? > > > I'd say that the fact that you get the ID of the control is OK, but the bug > is that you don't get the name of the card as you would with "long name". > > Just my 2 bits... Agreed. Unless others can think of a reason why it would make sense to expect the card name would be omitted in favor of its ID I'll post it to Bugzilla... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Fri Feb 18 02:02:14 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 18 Feb 2005 01:02:14 -0600 Subject: Join a Revolution in June in Monterey! In-Reply-To: <421583B3.8040603@chipp.com> References: <5dd08cfc9f3ae8333d9c0fb74e4a60b4@mac.com> <421583B3.8040603@chipp.com> Message-ID: <421592F6.6030302@hyperactivesw.com> On 2/17/05 11:57 PM, Chipp Walters wrote: > This > time we're hoping for a great lineup including Mr. Gaskin, the infamous > Ken Ray, Ms Jacque Landman Gay, Mr Quicktime himself- Trevor DeVore and > the fabulous Scott Rossi (you didn't forget his amazing demos last > year?) and hopefully a team from Scotland. Of course there will be > others as well (including Jerry Daniel's very very funny 'MC' vs 'RR' > IDE shoot-out?). Also, Tuviah's already mentioned he's planning to make it! You know, with a little rearranging the above is sheer poetry: Mr. Gaskin, Ken Ray, Ms. J. Landman Gay, And Trevor "QuickTime" DeVore, The fab Scott Rossi, a team of the Scots, see, And Jerry does shoot-outs and scores. And Tuviah mentioned he had the intention... But then I ran out of names. We need more people. Sign up guys, or we'll be left with dangling participles. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From xbury.cs at clearstream.com Fri Feb 18 03:10:19 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 18 Feb 2005 09:10:19 +0100 Subject: Pasting Formatted Text (was Re: A Revolution beginner seeks advice...) Message-ID: Karen, I tested it too on windoze and no problem including them pagebreaks... Although the lineheight wasn't respected (as expected), the rest came in ok. cheers Xavier On 17.02.2005 20:23:39 use-revolution-bounces wrote: >Not sure what could be happening here, Karen. What platform are you on? >And what specific types of formatting are you using and losing? > >When I copy a two-page Word document on OS X containing bold and >italicized type and paste it into a scrolling field in Rev, all the >formatting is retained. So I can't reproduce your problem. If you >provide more specifics, perhaps we can nail this down for you! > >Dan > >On Feb 17, 2005, at 5:42 AM, Karen wrote: > >> One thing that puzzles me is the pasting of text from other >> applications >> into a Revolution edit field. If there is a page break in a document >> (from >> Microsoft Word or from Pages) then the formatting is lost when I paste >> into >> my app's edit field. However, text without a page break is OK. Is >> there >> something I'm doing wrong? > > >_______________________________________________ >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 armbase.com Fri Feb 18 03:22:10 2005 From: rev at armbase.com (Bob Hartley) Date: Fri, 18 Feb 2005 08:22:10 +0000 Subject: change label name In-Reply-To: <42152AA4.8050804@tweedly.net> References: <6.2.1.2.0.20050217213809.0292a690@mail.armbase.com> <42152AA4.8050804@tweedly.net> Message-ID: <6.2.1.2.0.20050218071637.027f6c60@mail.armbase.com> At 23:37 17/02/2005, you wrote: >Bob Hartley wrote: > >>Hi All. >>I have a button that copies a label from one stack to another stack. >> >>the code changes the name OK but I want to change the visible text in the >>label. >> >>the code is >>on mouseUp >> global tFileName >> copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName >> set the name of field LabelName of stack tFileName to field >> LabelNewName of stack "Armbase" >> --the above is OK and copies the label and changes its name to the >> contents of a field >> set the label of field LabelName of stack tFileName to field >> LabelNewName of stack "Armbase" >>--this one above generates an error >>end mouseUp >> >>I tried using the words contents and name etc in thelast line but without >>any luck. >> >>Any ideas. I'm sure this is simple. > >Two possibilities / suggestions: > >1. did the line > set the name of field LabelName of stack tFileName to field > LabelNewName of stack "Armbase" >change the name, such that the field can no longer be identified as >field LabelName Hi Alex. Yes the name did change. I thought that the label text would change with something similar. Off to work now so i'll get into it later. Cheers Bob: Glasgow >(and, btw, I'd be strict about putting quotes around LabelName ---- and >even suggest setting explicit variables) > >2. fields don't (AFAIK) have a "label" property - it should be > set the text of .... > > >-- >Alex Tweedly http://www.tweedly.net > > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > >-- >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 From tvogelaar at de-mare.nl Fri Feb 18 04:07:18 2005 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Fri, 18 Feb 2005 10:07:18 +0100 Subject: Where are the newest CGI engines? In-Reply-To: <42150085.B94CFAA@Club-Internet.fr> Message-ID: <7D842FC1-818C-11D9-BDB7-000A9569E638@de-mare.nl> Hi listers, Now I know that the newest engine has those great XML capabilities, I want to install the newest CGI engine on both my Mac and the Linux server my site is running on. But I was not able to find them. Any suggestions? Tip to the Runrev webmaster: these engines are great and free to use; they should have an easy to find spot on the downloads page of the site. Terry From jbv.silences at Club-Internet.fr Fri Feb 18 04:33:52 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 18 Feb 2005 10:33:52 +0100 Subject: Rev cgi Linux and get URL (libURL) References: <4214D99E.3EE33068@Club-Internet.fr> <42152A10.997D852D@Club-Internet.fr> <910ccb5e8a44f435b038d72185e837b7@lacscentre.co.uk> Message-ID: <4215B67F.D0D094B@Club-Internet.fr> > > > > the following line : get URL "http://www.google.fr" > > doesn't return anything... the script just run for about > > 10 secs and then returns an empty variable. > > Did you check "the result" after the get URL line? It might give some > useful information. > after the get URL line, the result contains : error socket timeout and the stacksInUse returns : myLibUrl which I guess means that the library has been fully loaded... Thanks, JB From jbv.silences at Club-Internet.fr Fri Feb 18 04:39:24 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 18 Feb 2005 10:39:24 +0100 Subject: Rev cgi Linux and get URL (libURL) References: <4214D99E.3EE33068@Club-Internet.fr> <42152A10.997D852D@Club-Internet.fr> <4215B67F.D0D094B@Club-Internet.fr> Message-ID: <4215B7CB.7C39C51B@Club-Internet.fr> just wondering : could it be some server configuration problem, like the cgi engine can't open a socket because of a firewall or anything similar ? Thanks, JB > > > > > > the following line : get URL "http://www.google.fr" > > > doesn't return anything... the script just run for about > > > 10 secs and then returns an empty variable. > > > > Did you check "the result" after the get URL line? It might give some > > useful information. > > > > after the get URL line, the result contains : > error socket timeout > > and the stacksInUse returns : > myLibUrl > which I guess means that the library has been fully loaded... > > Thanks, > JB > From dcragg at lacscentre.co.uk Fri Feb 18 10:39:13 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 18 Feb 2005 15:39:13 +0000 Subject: Rev cgi Linux and get URL (libURL) In-Reply-To: <4215B7CB.7C39C51B@Club-Internet.fr> References: <4214D99E.3EE33068@Club-Internet.fr> <42152A10.997D852D@Club-Internet.fr> <4215B67F.D0D094B@Club-Internet.fr> <4215B7CB.7C39C51B@Club-Internet.fr> Message-ID: On 18 Feb 2005, at 09:39, jbv wrote: > > just wondering : could it be some server configuration > problem, like the cgi engine can't open a socket because > of a firewall or anything similar ? > I'd check first if you need to set a proxy (httpProxy property). Cheers Dave From revdan at danshafer.com Fri Feb 18 11:09:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 18 Feb 2005 08:09:39 -0800 Subject: Buttons on Players? Message-ID: <87c4da58749696785f1015fb9d972adb@danshafer.com> Am I overlooking something or is it not possible to place a button on top of a player object? No matter what I do with layering, the player always appears on top of any other object on the card. True? Dan From lewisbruce at rogers.com Fri Feb 18 09:46:12 2005 From: lewisbruce at rogers.com (Bruce Lewis) Date: Fri, 18 Feb 2005 09:46:12 -0500 Subject: Seaching files Message-ID: I have a large number of files that are loaded into a Viewer stack as I need them. They are in HTMLText so that styled text can be loaded into the field on the Viewer stack. Right now there are 3,568 separate files, but this will soon more than double. Some files are tiny. Some are huge. I want to do a search through some or all of the files and develop a list of files in which the search string is found. Originally, I decided not to search the text of the files directly because the HTML tags might confuse the search. Suppose for instance that a character or word within the search string was in bold. A search through the raw HTMLText would not find it. Therefore, in a repeat loop I set the HTMLText of a hidden field to each file. I then determine if the search term is in the field. This takes too long. I have an alternative where I just get URL ("file:" & line i of gInfoCdsList) If the search string is in "it", then I include that file. The second method takes about 15 to 20% of the time that the first method takes. I did a couple of tests and the files found were exactly the same. I am now thinking that I will have a quick search and a more thorough search for the user to deal with this. Any other thoughts or recommendations. Thanks. Bruce -- From gcanyon at inspiredlogic.com Fri Feb 18 08:55:59 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 18 Feb 2005 05:55:59 -0800 Subject: OT: Keynote In-Reply-To: <4b1eb70dc25e1a7cf6d38b6d3ff0dfbf@danshafer.com> References: <805d239990cb10839a99e4b72f2a0843@hindu.org> <4b1eb70dc25e1a7cf6d38b6d3ff0dfbf@danshafer.com> Message-ID: Pretty thoroughly, looks like, but only down to the slide-level. You can create and reorder slides, change their themes, and maybe manipulate their text. It doesn't look like you can create or manipulate graphic objects -- does keynote support graphic objects in the first place? I could be wrong. I only glanced at the dictionary. gc On Feb 17, 2005, at 8:47 PM, Dan Shafer wrote: > I wonder how AppleScriptable Keynote is. > regards, Geoff Canyon gcanyon at inspiredlogic.com From eric.chatonet at wanadoo.fr Fri Feb 18 11:47:47 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Fri, 18 Feb 2005 17:47:47 +0100 Subject: New "How to" stack on RevOnLine Message-ID: <65c9c80ca8272a9de1e7dfc7002a3ba2@wanadoo.fr> Hi everyone, I put on RevOnLine a new stack in the "How to" collection that might interest some of you: #004 How to manage HTML lists on the fly This "so smart" draft stack shows how to build on the fly a graphic list of values with HTML, to display it into a list field and provides some additional tricks to hide and fetch the right information. User name: So Smart Software Category: Programming Hope you will enjoy! With best regards, Eric Chatonet. --------------------------------------------------------------- For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From BNZ2 at CDC.GOV Fri Feb 18 09:58:55 2005 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 18 Feb 2005 09:58:55 -0500 Subject: How do you guys make sure you get paid? Message-ID: <64878EF567131D4596246171F75FD4A9744552@m-epo-1.epo.cdc.gov> When I was a freelance videographer, I got burned once after giving a guy a music video I created for him before getting full payment. He never paid me. It was a small, simple project, and it was only $400 dollars that I got shafted out of, but I learned from that lesson. From then on, the client got the finished product when I got the final payment. I was nice (even apologetic) about it, but very strict about that rule. If you create an application for someone, and periodically e-mail an updated version of the incomplete app to them, to make sure you are creating exactly what they want, then how do you prevent them from just keeping the last incomplete version, using that, and not giving final payment? Yes, you could always sue them, but that is such a mess. Also, how do you ensure that they do not change their mind and decide they don't want it at the last minute, after you have put great work into it? Or - are these things not really problems because they happen too rarely to be a concern? Cheers, Jonathan From revdan at danshafer.com Fri Feb 18 12:27:01 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 18 Feb 2005 09:27:01 -0800 Subject: How do you guys make sure you get paid? In-Reply-To: <64878EF567131D4596246171F75FD4A9744552@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744552@m-epo-1.epo.cdc.gov> Message-ID: Jonathan..... About 25 years ago when I began my consulting career, my accountant gave me some great advice from which I have never deviated. Always be working on the other guy's dime. You're not his bank. If he can't afford to pay you up front, then unless you're willing to take a risk or a royalty stream or something, just pass on the project. In practice, this translates for me to: 1. Typically get 1/3 to 1/2 of the project fee (or estimate) on signing the deal. 2. Tie milestone payments to deliveries where possible. 3. Stop work if and when payments are late or stop. 4. Get it in writing. 5. Make sure the spec is clear and that any changes have to be in writing and approved by both parties. It's even better if changes also incur a charge and/or include the right to adjust the agreed-upon fee. 6. Leave a percentage -- 10-20 usually works -- to be paid N days after final delivery or on acceptance of the project, whichever occurs first. IN rare cases where you love the project and think it will make your client rich (or at least comfortable) and he's not in a position to pay up front, then get a royalty stream or equity participation and then expect that about 75% of the time you'll be wrong and won't get paid anything. You can take on some of these projects if you're flush and business is good. FWIW. Dan On Feb 18, 2005, at 6:58 AM, Lynch, Jonathan wrote: > If you create an application for someone, and periodically e-mail an > updated version of the incomplete app to them, to make sure you are > creating exactly what they want, then how do you prevent them from just > keeping the last incomplete version, using that, and not giving final > payment? > > Yes, you could always sue them, but that is such a mess. > > Also, how do you ensure that they do not change their mind and decide > they don't want it at the last minute, after you have put great work > into it? > > Or - are these things not really problems because they happen too > rarely > to be a concern? > > Cheers, > > Jonathan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Fri Feb 18 12:44:28 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 18 Feb 2005 15:44:28 -0200 Subject: How do you guys make sure you get paid? In-Reply-To: <64878EF567131D4596246171F75FD4A9744552@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744552@m-epo-1.epo.cdc.gov> Message-ID: On Feb 18, 2005, at 12:58 PM, Lynch, Jonathan wrote: > If you create an application for someone, and periodically e-mail an > updated version of the incomplete app to them, to make sure you are > creating exactly what they want, then how do you prevent them from just > keeping the last incomplete version, using that, and not giving final > payment? > > Yes, you could always sue them, but that is such a mess. > > Also, how do you ensure that they do not change their mind and decide > they don't want it at the last minute, after you have put great work > into it? > Jonathan, I know that in more civilized societies you'd have contracts and a legal system that would actually make contracts work but here in Brazil is not so simple. Although we have a legal system and contracts, no one really knows or care how the thing works, we know that at some level it does works for we're the only nation ever to impeach an ellected president on the basis that he was a moron as well as a thief, but for freelancers working on their own, our system is to slow and to expensive. Also brazilians prefer to work out of contracts, contracts here are synnonyms for traps, so people make "verbal agreements" and since every brazilian thinks that he is smarter than the brazilian next to him, every now and them, someone break this contract in the exact manner that you said. Once I was a "partner" (someone that owns a piece of a company, can't translate that to english) on a company here, we were 5 partners, and 11 employees. We did websites and websites tech for lot's of places here, we won a big big big contract to connect all protestant churches of the Brazilian bigest protestant church, called Universal Church of the Kingdom of God, they are so rich that they own 3 TV channels nationwide. Well, as tradition goes, we had a loose agreement with them. I said to the rest of the team, never give them anything, wait the money, for I never trusted those guys. One of our inocent partners took a DVD with all the system to demo so that they would be hushed to pay us... the rest is our bankrupcy history. Lesson learned. Now what I do is the following, first, all demos expire. Yes, they have very limited time windows to work. if someone break a contract, soon the software will stop, also, rewinding the computer will not reverse the proccess. Second, knowing where your employer lives and carrying a big baseball bat works... :-D Conclusion, make your software expirable, or make it contact mothership and request a permission to run (that you can revoke anytime), always sign contracts! written in paper in your contry legal speech, record everything if you need to sue someone. Andre > Or - are these things not really problems because they happen too > rarely > to be a concern? -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From katir at hindu.org Fri Feb 18 12:45:59 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 18 Feb 2005 07:45:59 -1000 Subject: CGI access to PostGreSQL In-Reply-To: <1108029925.29186.13.camel@rachmaninov.runtime> References: <20050209200422.56602.qmail@web60509.mail.yahoo.com> <1108029925.29186.13.camel@rachmaninov.runtime> Message-ID: Aloha, Mark: Still no go on Linux as a CGI...-- fixed the case as you said to: dbPostgresql.so one of our team put the file in "/usr/local/lib/revolution/dbPostgresql.so " and tried to run this script from the cmd line shell as root but it didn't work And I also tried putting it in the cgi bin of the virtual site where it will eventually be used... still didn't work I also tried a full path from root to the cgi bin of the virtual site it still fails. Not sure how to trouble shoot this one..I mean we *can* do it by issuing SQL in shell commands but it would be much better if we can use rev's dictionary then I can repurpose code that is in thin rev clients for re-use in cgi's. #!/usr/local/bin/revolution on startup ?## revSetDatabaseDriverPath "/usr/local/lib/revolution/dbPostgresql.so" ?## revSetDatabaseDriverPath "/home/virtual/site1/fst/var/www/cgi-bin/dbPostgresql.so" ? revSetDatabaseDriverPath "dbPostgresql.so" ? put revOpenDatabase("Postgresql","69.94.64.57","cybertalks","user","password ") into pConnectionID ? if (pConnectionID) is a number then ??? put "Your Cybertalks data base opened successfully with connection ID " into tResult ??? put pConnectionID after tResult ??? put tResult into buffer ? else ??? put "Gosh darn, what's up?? The data base connection failed." into buffer end if put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup this works fine from inside the IDE on OSX: revSetDatabaseDriverPath "dbPostgresql.so" ? put revOpenDatabase("Postgresql","69.94.64.57","cybertalks","user","password ") into pConnectionID ? if (pConnectionID) is a number then ??? put "Your Cybertalks data base opened successfully with connection ID " into tResult ??? put pConnectionID after tResult ??? put tResult ? else ??? put "Gosh darn, what's up?? The data base connection failed." end if We must still be missing something. Sivakatirswami On Feb 10, 2005, at 12:05 AM, Mark Waddingham wrote: > The Revolution 2.5 (and up) Linux engine has both revXML and revDB > embedded within it, so the externals are not necessary. However, the > database drivers themselves are not embedded and you need to tell the > engine where to find them by doing: > revdb_setdriverpath > (or revSetDatabaseDriverPath ) > Where is the directory containing the drivers. Also, > Linux paths are case-sensitive so make sure that the value you pass for > the database type looks the same as the driver file: > i.e. if you pass "mysql" the engine will look for dbmysql.so > if you pass "MySQL" the engine will look for dbMySQL.so > > Warmest Regards, > > Mark. _______________________________________________ > From ambassador at fourthworld.com Fri Feb 18 13:09:26 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 18 Feb 2005 10:09:26 -0800 Subject: Buttons on Players? In-Reply-To: <87c4da58749696785f1015fb9d972adb@danshafer.com> References: <87c4da58749696785f1015fb9d972adb@danshafer.com> Message-ID: <42162F56.3070304@fourthworld.com> Dan Shafer wrote: > Am I overlooking something or is it not possible to place a button on > top of a player object? No matter what I do with layering, the player > always appears on top of any other object on the card. > > True? Normally. If you can live without the controller just turn on the alwaysBuffer property of the player to allow QT's drawing to take place in Rev's offscreen buffer to allow Rev to draw on top of it. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Fri Feb 18 13:17:14 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 18 Feb 2005 10:17:14 -0800 Subject: Buttons on Players? In-Reply-To: <87c4da58749696785f1015fb9d972adb@danshafer.com> References: <87c4da58749696785f1015fb9d972adb@danshafer.com> Message-ID: <2b84ec389a5ee7ad231417d6d763760f@mangomultimedia.com> On Feb 18, 2005, at 8:09 AM, Dan Shafer wrote: > Am I overlooking something or is it not possible to place a button on > top of a player object? No matter what I do with layering, the player > always appears on top of any other object on the card. > > True? You have to set alwaysBuffer to true so QT doesn't draw direct to the screen but you will see a serious performance hit by doing this. If you are only displaying the button while the video is stopped then you will be fine but if you want a button that appears while video is playing then you may want to consider adding the button to the QT movie directly using a tool like LiveStage or GoLive. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From katir at hindu.org Fri Feb 18 13:18:35 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 18 Feb 2005 08:18:35 -1000 Subject: OT Nomenclature for "Presentations" Message-ID: <3362435d457a6d9d7d080541c842fe63@hindu.org> For web links for some "products" that are availablein different formate typically you see something link HTML | PDF | EBOOK | PRINT (where print is a book you can buy from an online store andhave shipped as opposed to being downloaded.) Now, for something also has a Revolution Stack "version" that is a stand alone executable... what do we call it? These are *much* more than ebooks... entire interactive apps that a teacher can use in a class room. HTML | PDF | DIGITAL | PRINT But *Digital* can be anything HTML | PDF | PRESENTATION | PRINT This could work but is a) too long b) could still be not totally indicative to the "product" behind the link... DIGI APP?? Any ideas... I'm think someone already has the perfect word... I just don't know what it is. 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 lists at mangomultimedia.com Fri Feb 18 13:26:31 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 18 Feb 2005 10:26:31 -0800 Subject: Buttons on Players? In-Reply-To: <2b84ec389a5ee7ad231417d6d763760f@mangomultimedia.com> References: <87c4da58749696785f1015fb9d972adb@danshafer.com> <2b84ec389a5ee7ad231417d6d763760f@mangomultimedia.com> Message-ID: On Feb 18, 2005, at 10:17 AM, Trevor DeVore wrote: > You have to set alwaysBuffer to true so QT doesn't draw direct to the > screen but you will see a serious performance hit by doing this. If > you are only displaying the button while the video is stopped then you > will be fine but if you want a button that appears while video is > playing then you may want to consider adding the button to the QT > movie directly using a tool like LiveStage or GoLive. Well, "serious performance hit" is probably a little extreme but it won't be as good. And as Richard mentions, you can see the controller but you can't use it. Custom controllers would get around that though. Also, QTVR won't work with alwaysBuffer since the movie doesn't respond to mouse clicks. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From soapdog at mac.com Fri Feb 18 13:28:11 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 18 Feb 2005 16:28:11 -0200 Subject: OT Nomenclature for "Presentations" In-Reply-To: <3362435d457a6d9d7d080541c842fe63@hindu.org> References: <3362435d457a6d9d7d080541c842fe63@hindu.org> Message-ID: <6d6a94cf131049f0c8a638a875429b4c@mac.com> What about: HTML | PDF | MULTIMEDIA | PRINT or HTML | PDF | INTERACTIVE | PRINT Andre On Feb 18, 2005, at 4:18 PM, Sivakatirswami wrote: > For web links for some "products" that are availablein different > formate typically you see something link > > HTML | PDF | EBOOK | PRINT > > (where print is a book you can buy from an online store andhave > shipped as opposed to being downloaded.) > > Now, for something also has a Revolution Stack "version" that is a > stand alone executable... what do we call it? These are *much* more > than ebooks... entire interactive apps that a teacher can use in a > class room. > > HTML | PDF | DIGITAL | PRINT > > But *Digital* can be anything > > HTML | PDF | PRESENTATION | PRINT > > This could work but is a) too long b) could still be not totally > indicative to the "product" behind the link... > > DIGI APP?? > > Any ideas... I'm think someone already has the perfect word... I just > don't know what it is. > 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 > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From fde101 at fjrhome.net Fri Feb 18 13:39:37 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 18 Feb 2005 13:39:37 -0500 Subject: CGI access to PostGreSQL In-Reply-To: References: <20050209200422.56602.qmail@web60509.mail.yahoo.com> <1108029925.29186.13.camel@rachmaninov.runtime> Message-ID: <9bf030d512575819ad24992cb21e6725@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are you running 2.5? You might want to look at (vote for?) bug 2247. On Feb 18, 2005, at 12:45 PM, Sivakatirswami wrote: > Aloha, Mark: > > Still no go on Linux as a CGI...-- > > fixed the case as you said to: > > dbPostgresql.so > > one of our team put the file in > "/usr/local/lib/revolution/dbPostgresql.so " > > and tried to run this script from the cmd line shell as root but it > didn't work > > And I also tried putting it in the cgi bin of the virtual site where > it will eventually be used... still didn't work > > I also tried a full path from root to the cgi bin of the virtual site > > it still fails. Not sure how to trouble shoot this one..I mean we > *can* do it by issuing SQL in shell commands but it would be much > better if we can use rev's dictionary then I can repurpose code that > is in thin rev clients for re-use in cgi's. > > #!/usr/local/bin/revolution > > on startup > ?## revSetDatabaseDriverPath > "/usr/local/lib/revolution/dbPostgresql.so" > ?## revSetDatabaseDriverPath > "/home/virtual/site1/fst/var/www/cgi-bin/dbPostgresql.so" > ? revSetDatabaseDriverPath "dbPostgresql.so" > ? put > revOpenDatabase("Postgresql","69.94.64.57","cybertalks","user","passwor > d") into pConnectionID > ? if (pConnectionID) is a number then > ??? put "Your Cybertalks data base opened successfully with connection > ID " into tResult > ??? put pConnectionID after tResult > ??? put tResult into buffer > ? else > ??? put "Gosh darn, what's up?? The data base connection failed." into > buffer > end if > > put "Content-Type: text/plain" & cr > put "Content-Length:" && the length of buffer & cr & cr > put buffer > > end startup > > this works fine from inside the IDE on OSX: > > revSetDatabaseDriverPath "dbPostgresql.so" > ? put > revOpenDatabase("Postgresql","69.94.64.57","cybertalks","user","passwor > d") into pConnectionID > ? if (pConnectionID) is a number then > ??? put "Your Cybertalks data base opened successfully with connection > ID " into tResult > ??? put pConnectionID after tResult > ??? put tResult > ? else > ??? put "Gosh darn, what's up?? The data base connection failed." > end if > > We must still be missing something. > > > Sivakatirswami > > > On Feb 10, 2005, at 12:05 AM, Mark Waddingham wrote: > >> The Revolution 2.5 (and up) Linux engine has both revXML and revDB >> embedded within it, so the externals are not necessary. However, the >> database drivers themselves are not embedded and you need to tell the >> engine where to find them by doing: >> revdb_setdriverpath >> (or revSetDatabaseDriverPath ) >> Where is the directory containing the drivers. Also, >> Linux paths are case-sensitive so make sure that the value you pass >> for >> the database type looks the same as the driver file: >> i.e. if you pass "mysql" the engine will look for dbmysql.so >> if you pass "MySQL" the engine will look for dbMySQL.so >> >> Warmest Regards, >> >> Mark. > _______________________________________________ >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCFjZp7aqtWrR9cZoRAipRAJ9VmarDpfwAke8DpdjTtob6t+ixWQCfcqNe PdtOZ0mV5P5xXadhJ0UPpaU= =DcAW -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Fri Feb 18 13:45:12 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 18 Feb 2005 10:45:12 -0800 Subject: How do you guys make sure you get paid? In-Reply-To: <64878EF567131D4596246171F75FD4A9744552@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744552@m-epo-1.epo.cdc.gov> Message-ID: <421637B8.5000301@fourthworld.com> Lynch, Jonathan wrote: > If you create an application for someone, and periodically e-mail an > updated version of the incomplete app to them, to make sure you are > creating exactly what they want, then how do you prevent them from just > keeping the last incomplete version, using that, and not giving final > payment? > > Yes, you could always sue them, but that is such a mess. And in the States as often as not the winner is not necessarily the one whose position is more correct, but merely the one who can afford the bigger law firm. Messy indeed.... > Also, how do you ensure that they do not change their mind and decide > they don't want it at the last minute, after you have put great work > into it? > > Or - are these things not really problems because they happen too rarely > to be a concern? They used to be for me when I was starting out. After a few bad apples I learned how to smell a jerk at 50 yards, and generally avoid them from the outset. Here's one clue: if a prospective client seems more interested in the fine points of the contract than the fine points of the software design, they may be the type who profits more from legalistic maneuvers than from quality of their work. I know some developers only deliver a password-protected app with an answer box hard-wired in the startup handler that notes something to the effect of "For evaluation purposes only". After receiving final payment they deliver a version with that line removed, along with the source stack. For myself, I prefer the simple high road: I work in good faith and deliver the finished goods in distributable form. At that point on most projects I already have at least two thirds of the payment. If they want to sell their soul to the devil for one third of the cost of a small project they're worse off than me. This is a small world. People who'll sell their soul for so little have a way of making a reputation for themselves. Their world gets ever smaller each time they shaft someone, and they have to spend the rest of their lives with one eye over their shoulder. On the very rare case when my intuition fails me and someone turns out to be operating without normal ethical standards, I'll ask 'em once, then twice, then move on. Prolonged engagement with people of such low standards often consumes more than it returns. Rather than throw good time after bad, while they live with one eye over their shoulder I keep my eye on the ball and attend to more productive activities -- the best revenge is living well. :) And that's maybe the best tip I can share: listen to your gut. Intuition is the most powerful meta-logic engine in our brains, if the least understood. If your gut tells you a potential client may be trouble, pay heed. Find a polite route to the door and then run -- don't walk -- to it. As one of my friends reminded me, if you take a project where the client has a high PIA factor (pain in the butt) you might possibly do okay, but the one thing that's certain is that the committment will prevent you from working with more interesting people for as long as you're engaged. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From xbury.cs at clearstream.com Fri Feb 18 09:46:17 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 18 Feb 2005 15:46:17 +0100 Subject: Cool Script animation Message-ID: Hi everyone, I made this cool conversion of the script Bit-101.com proposes for tutorials. check it out... http://www.bit-101.com/tutorials/gravity.html It's not so obvious converting flash scripts and their convoluted animation frames but I got it down to something simple and easy now. And there's more to come! The only thing that really got me troubled however is that if I put in a pass mousedown in the end of the mousedown script (see commented line in script below and its preceding line which is supposed to be called by the mouseup), the mouseup handler is not called at all! So I mousedown, pass mousedown and there's no mouseup! I made a test button and it did work. So, why didn't it work here as expected? The Idle? Wouldn't that be the logical event queue? See the script below... To make it work, create a stack create graphic set the style of it to oval set the script of it to the scriptbelow cheers Xavier