From jeff at siphonophore.com Thu Sep 1 03:03:13 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Thu, 01 Sep 2005 03:03:13 -0400 Subject: classic file paths In-Reply-To: <20050831170003.BCE17824F0C@mail.runrev.com> References: <20050831170003.BCE17824F0C@mail.runrev.com> Message-ID: Hi, I have not been able to figure out what a kosher file path should be for rev 251 macOS apps when they are running in classic. I have even tried to use the answer file dialog to grab the path for a jpg then use the resulting path to set the file path for an image object, but it just wont work on with a standalone macos 251 app running in classic. I tried knocking the volume/hard drive name off and the leading /, but nothing has created a kosher file path. am i missing something? I guess its a bit moot since i will be having an osx version, so wont have to have an macos running under classic, but I would like to know the file path structure is for my own edification. thanks jeff From xbury.cs at clearstream.com Thu Sep 1 03:18:57 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 1 Sep 2005 09:18:57 +0200 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: Hi everyone I've advanced quite a lot in the spell checker BUT the wait until [condition] with messages still gives me lots of troubles. It works usually the first time, maybe a second time, but it definitely locks up after 2-4 loops... By locking up, i mean that it doesn't seem to get either the "with messages" or that the condition is correct. I checked if the waitdepth is not > 1 but it is not. And if it was, how do you delete the pending waits? grrr... After a control-C to abort the "wait", the error message indicates that the lock up happens at the "wait" statement. What can cause this problem? Nothing else is running or being sent or listed in the pending messages... This is far from reliable "at all" from what i can tell. Even if i debug (usually forces things to work better - or worse ;), it doesn't help. I see no cause for the wait to "hang"... Thanks for any help on this... Other than that, i got a "real" word parser going, and i'll be also putting back the style to the corrected words where necessary... This is quite a challenging application - to be done the right way ;) 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 david at openpartnership.net Thu Sep 1 05:38:25 2005 From: david at openpartnership.net (david bovill) Date: Thu, 1 Sep 2005 11:38:25 +0200 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <1125505260.3667.13.camel@rachmaninov> References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> Message-ID: <373DB70F-FFF1-4144-A490-685A450EE468@openpartnership.net> Super (and thanks :) On 31 Aug 2005, at 18:21, Mark Waddingham wrote: > Therefore, when looking for what is available in the Darwin engine, > look > in the documentation for what is supported by UNIX/Linux, rather > than OS > X. Also AppleScript under OSX and Apache does not seem to work as described on the Apple Web Site - need to turn to: http://hacks.oreilly.com/pub/h/324 Strange. From david at openpartnership.net Thu Sep 1 06:17:23 2005 From: david at openpartnership.net (david bovill) Date: Thu, 1 Sep 2005 12:17:23 +0200 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <56a59122a184d6263ca37d6e3c1e662f@maseurope.net> References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> <56a59122a184d6263ca37d6e3c1e662f@maseurope.net> Message-ID: <13280C1F-B3C0-42C6-A8F4-24AB0351065F@openpartnership.net> Can't get this to work at all this end - Darwin engine works fine except for alternateLanguage support - dragging my shiny new licensed engine (same name & permissions - but only 1.9mb instead of 2.6 for Darwin) - gives me internal server errors and INIT_Processeses(), could not establish the default connection to the WindowServer. In the log. For me that is even with echo.mt #!Revolution -ui # This loops over all the environment variables # set by the server when it runs a CGI application printing out # its name and value. on startup # loop over all of the global variables, getting name and value repeat for each item i in the globals put i && "=" && value(i) & return after buffer end repeat # write minimal set of HTTP headers to stdout put it after buffer put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup On 31 Aug 2005, at 23:09, Mark Smith wrote: > Ineresting. I did as you suggest, and it ran the 'echo' sample > script just fine, but trying to run a stack cgi got an error.... >> >> I am betting here okay, but try pulling the executable out of >> MacOS X bundle and using it as the CGI engine, use it with the "- >> ui" parameter. It works fine. I just pulled mine, put it on / >> Library/WebSever/CGI-Executables and created this test.cgi script: >> >> >> #!Revolution -ui >> on startup >> put "Engine Version:" && version() & cr >> put "Languages:" && the alternateLanguages >> get format("tell application \"Finder\"\ndisplay dialog \"Hello >> World!\"\nend tell\n") >> do it as "applescript" >> put it && the result >> end startup From scott at proherp.com Thu Sep 1 06:34:34 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Thu, 1 Sep 2005 20:34:34 +1000 Subject: Application Folder Message-ID: <000101c5aee0$c41d0270$0100a8c0@proherps56yaxv> Hi folks, I know this has been asked thousands of times and I have searched the list archives, but I just get more and more confused. What I'm needing to know is how to get the directory (folder) that the stand-alone is in. In Delphi it is: Application.ExeName(ParamStr 0). That returns the full path to the application directory. Sorry for asking such base questions, but I'm still coming to grips with trans-script having been in the C++ and Pascal world for twenty odd years. Scott From nicolas_cueto at yahoo.com Thu Sep 1 06:56:25 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Thu, 1 Sep 2005 19:56:25 +0900 Subject: Application Folder Message-ID: <000301c5aee3$d4795da0$0b01a8c0@niconiko04zbtb> Hello, If you want to learn on your own, then have a look in the documentation under "directory" (a.k.a., "defaultFolder"). But if you're just/also after a cut-and-paste solution for finding the directory of a stack/stand-alone -- especially a solution that works whether or not your working in the development environment -- then here's the bit of script I always rely on: put the itemDel into tSavedDel set the itemDel to "/" put the effective fileName of this stack into tStackfolderPlusStackname delete the last item of tStackfolderPlusStackname put tStackfolderPlusStackname into tStackFolder set the itemDel to tSavedDel Cheers, Nicolas Cueto niconiko language school From scott at proherp.com Thu Sep 1 07:18:27 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Thu, 1 Sep 2005 21:18:27 +1000 Subject: Application Folder In-Reply-To: <000301c5aee3$d4795da0$0b01a8c0@niconiko04zbtb> Message-ID: <000001c5aee6$e5c39b40$0201010a@proherps56yaxv> Hi Nicolas, Thank you for your reply. I tried this but got a host of errors. Where do you place this in your stack when you use it? I tried it in a button (just for convenience) - but do you use it somewhere else in the stack? Thanks Scott > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Nicolas Cueto > Sent: Thursday, 1 September 2005 8:56 PM > To: use-revolution at lists.runrev.com > Subject: Re: Application Folder > > > Hello, > > If you want to learn on your own, then have a look in the > documentation under "directory" (a.k.a., "defaultFolder"). > > But if you're just/also after a cut-and-paste solution for > finding the directory of a stack/stand-alone -- especially a > solution that works whether or not your working in the > development environment -- then here's the bit of script I > always rely on: > > put the itemDel into tSavedDel > set the itemDel to "/" > put the effective fileName of this stack into > tStackfolderPlusStackname delete the last item of > tStackfolderPlusStackname put tStackfolderPlusStackname into > tStackFolder set the itemDel to tSavedDel > > Cheers, > Nicolas Cueto > niconiko language school > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From klaus at major-k.de Thu Sep 1 07:26:37 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 1 Sep 2005 13:26:37 +0200 Subject: Application Folder In-Reply-To: <000001c5aee6$e5c39b40$0201010a@proherps56yaxv> References: <000001c5aee6$e5c39b40$0201010a@proherps56yaxv> Message-ID: Hi Scott, > Hi Nicolas, > > Thank you for your reply. I tried this but got a host of errors. > Where do you place this in your stack when you use it? > I tried it in a button (just for convenience) - but do you use > it somewhere else in the stack? i recommend to put this into the preopenstack script of your mainstack/standalone and then you could store it in a global variable or custom-property for later use. on preopenstack put the itemDel into tSavedDel set the itemDel to "/" get the effective fileName of this stack delete the last item of it global whatsoever put it into whatsoever .... end preopenstack Maybe your stack sets "the directory" at some time to another folder and thus the errors... > Thanks > > Scott Regards Klaus Major klaus at major-k.de http://www.major-k.de From scott at proherp.com Thu Sep 1 07:47:48 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Thu, 1 Sep 2005 21:47:48 +1000 Subject: Application Folder In-Reply-To: Message-ID: <000101c5aeeb$00449790$0201010a@proherps56yaxv> G'day Klaus, > i recommend to put this into the preopenstack script of your > mainstack/standalone > and then you could store it in a global variable or custom-property > for later use. > > on preopenstack > put the itemDel into tSavedDel > set the itemDel to "/" > get the effective fileName of this stack > delete the last item of it > global whatsoever > put it into whatsoever > .... > end preopenstack Works beautifully! Thank you ever so much! :-) Scott From dburgun at dsl.pipex.com Thu Sep 1 08:11:09 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 1 Sep 2005 13:11:09 +0100 Subject: problem waiting - spellchecker In-Reply-To: References: Message-ID: Hi, Just at thought, but could you do something like this: In handler that you want to wait in: global gConditionFlag put false into gConditionFlag send CheckIfDone to this card in 10 ticks -- or a good value for the task global gConditionFlag on CheckIfDone if gConditionFlag = false then send CheckIfDone to me in 10 ticks -- or a good value for the task exit CheckIfD end if -- -- Do the update -- end CheckIfDone not sure how this would fit into your project though. All the Best Dave >Hi everyone > >I've advanced quite a lot in the spell checker BUT > >the wait until [condition] with messages > >still gives me lots of troubles. > >It works usually the first time, maybe a second time, >but it definitely locks up after 2-4 loops... > >By locking up, i mean that it doesn't seem to get either the >"with messages" or that the condition is correct. > >I checked if the waitdepth is not > 1 but it is not. And if it >was, how do you delete the pending waits? grrr... > >After a control-C to abort the "wait", the error message indicates >that the lock up happens at the "wait" statement. > >What can cause this problem? Nothing else is running or being sent >or listed in the pending messages... > >This is far from reliable "at all" from what i can tell. Even if i >debug (usually forces things to work better - or worse ;), it doesn't >help. I see no cause for the wait to "hang"... > >Thanks for any help on this... > >Other than that, i got a "real" word parser going, and i'll be also >putting back the style to the corrected words where necessary... This >is quite a challenging application - to be done the right way ;) > >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 >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From gregory.lypny at videotron.ca Thu Sep 1 08:36:32 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 01 Sep 2005 08:36:32 -0400 Subject: CGI Question In-Reply-To: <20050901035045.ADB53824EF1@mail.runrev.com> References: <20050901035045.ADB53824EF1@mail.runrev.com> Message-ID: Thank you for your responses, Jacqueline and Mark. Jacqueline, Setting the defaultStack did the trick. Of course, it will take a little while to get used to testing handlers in the use-stack-as- CGI style because (and this should have been obvious to me) information put into fields doesn't appear in the instance of the stack that you are working on; you have to close it and reopen it to see the changes made as a result of the submission of a web form. Regards, Greg "OK, dynamics with tension, fun and laughter for all." -John Lennon (Lost Weekend Sessions) On Aug 31, 2005, at 11:50 PM, use-revolution-request at lists.runrev.com wrote: > Message: 13 > Date: Wed, 31 Aug 2005 18:17:16 -0500 > From: "J. Landman Gay" > Subject: Re: CGI Question > To: How to use Revolution > Message-ID: <43163A7C.8070005 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Gregory Lypny wrote: > > >> I'm simply >> trying to gather data from a form, redisplay it on a web page, >> and save >> it in a field in the stack. The problem is that writing to a field >> gives me an error. If I comment-out the sixth line from the end, >> that is, >> >> put webOutput into fld "Another List" >> >> it works fine; but when I reinstate it, I get a server error. >> What am >> I doing wrong? >> > > It's been my experience that you need to either set the > defaultstack to > the one you want to write to, or else specify a full reference. > That is, > do something like: > > put webOutput into fld "another list" of cd 1 of stack "myCGIstack" > > Also, if the stack doesn't have the correct permissions set then you > won't be able to write to it. (Also don't forget to save the stack to > disk, because when the CGI terminates the stack will be closed.) > > Take a look at the web server's error log, you should see a more exact > description in there of what the problem is. If the server isn't on > our > own machine, you'll have to find where your ISP keeps the log. > Virtually > all of them allow you to see it via a control panel or something > similar. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > From christian.langers at education.lu Thu Sep 1 08:59:45 2005 From: christian.langers at education.lu (Langers Christian) Date: Thu, 1 Sep 2005 14:59:45 +0200 Subject: how to get the textfont of the clickchunk in an unlocked field ? In-Reply-To: References: Message-ID: Hello everybody (Eric, Jonathan, Ken), I used your suggestions and it just works fine.... Thanks, :-) Christian Le 31 ao?t 05 ? 20:53, Ken Ray a ?crit : > On 8/31/05 9:52 AM, "Langers Christian" > > wrote: > > >> Well I wanted to be able to get the font name to be displayed when >> the user clicks (with MouseButtonNumber 1 !!!) a word/textchunk in a >> textfield... >> >> I tried this handler in the textfield : >> >> on mouseUp >> put the effective textfont of the clickChunk >> end mouseUp >> >> but mouseUp/down meassages are not sent to the textfield.... >> > > Use "selectionChanged" instead... that should work. > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Thu Sep 1 09:29:35 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 1 Sep 2005 09:29:35 -0400 Subject: Application Folder Message-ID: <64878EF567131D4596246171F75FD4A996820B@m-epo-1.epo.cdc.gov> I have been doing this with just getting the filename, rather than the effective filename. Is there a potential problem with using the filename rather than the effective filename? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott Kane - Reptile Software Consultant Sent: Thursday, September 01, 2005 7:48 AM To: 'How to use Revolution' Subject: RE: Application Folder G'day Klaus, > i recommend to put this into the preopenstack script of your > mainstack/standalone > and then you could store it in a global variable or custom-property > for later use. > > on preopenstack > put the itemDel into tSavedDel > set the itemDel to "/" > get the effective fileName of this stack > delete the last item of it > global whatsoever > put it into whatsoever > .... > end preopenstack Works beautifully! Thank you ever so much! :-) Scott _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Sep 1 09:38:36 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 1 Sep 2005 15:38:36 +0200 Subject: Application Folder In-Reply-To: <64878EF567131D4596246171F75FD4A996820B@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A996820B@m-epo-1.epo.cdc.gov> Message-ID: Hi Lynch, As for a mainstack, it's does not make any difference. But for a substack, the fileName will return empty and the effective fileName the fileName of its mainStack :-) Best Regards from Paris, Eric Chatonet. Le 1 sept. 05 ? 15:29, Lynch, Jonathan a ?crit : > I have been doing this with just getting the filename, rather than the > effective filename. > > Is there a potential problem with using the filename rather than the > effective filename? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott > Kane > - Reptile Software Consultant > Sent: Thursday, September 01, 2005 7:48 AM > To: 'How to use Revolution' > Subject: RE: Application Folder > > G'day Klaus, > > >> i recommend to put this into the preopenstack script of your >> mainstack/standalone >> and then you could store it in a global variable or custom-property >> for later use. >> >> on preopenstack >> put the itemDel into tSavedDel >> set the itemDel to "/" >> get the effective fileName of this stack >> delete the last item of it >> global whatsoever >> put it into whatsoever >> .... >> end preopenstack >> > > Works beautifully! Thank you ever so much! :-) > > Scott ---------------------------------------------------------------- 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 Free plugins and tutorials on my website ---------------------------------------------------------------- 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 xbury.cs at clearstream.com Thu Sep 1 10:09:19 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 1 Sep 2005 16:09:19 +0200 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: Dave Interesting idea... Adding more pending messages ;) I'll give this a try later... Thanks... Xavier use-revolution-bounces at lists.runrev.com wrote on 01/09/2005 14:11:09: > Hi, > > Just at thought, but could you do something like this: > > In handler that you want to wait in: > > global gConditionFlag > > > put false into gConditionFlag > send CheckIfDone to this card in 10 ticks -- or a good value for the task > > global gConditionFlag > > on CheckIfDone > if gConditionFlag = false then > send CheckIfDone to me in 10 ticks -- or a good value for the task > exit CheckIfD > end if > > -- > -- Do the update > -- > > end CheckIfDone > > not sure how this would fit into your project though. > > All the Best > Dave > > >Hi everyone > > > >I've advanced quite a lot in the spell checker BUT > > > >the wait until [condition] with messages > > > >still gives me lots of troubles. > > > >It works usually the first time, maybe a second time, > >but it definitely locks up after 2-4 loops... > > > >By locking up, i mean that it doesn't seem to get either the > >"with messages" or that the condition is correct. > > > >I checked if the waitdepth is not > 1 but it is not. And if it > >was, how do you delete the pending waits? grrr... > > > >After a control-C to abort the "wait", the error message indicates > >that the lock up happens at the "wait" statement. > > > >What can cause this problem? Nothing else is running or being sent > >or listed in the pending messages... > > > >This is far from reliable "at all" from what i can tell. Even if i > >debug (usually forces things to work better - or worse ;), it doesn't > >help. I see no cause for the wait to "hang"... > > > >Thanks for any help on this... > > > >Other than that, i got a "real" word parser going, and i'll be also > >putting back the style to the corrected words where necessary... This > >is quite a challenging application - to be done the right way ;) > > > >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 > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Thu Sep 1 09:57:31 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 1 Sep 2005 09:57:31 -0400 Subject: Application Folder Message-ID: <64878EF567131D4596246171F75FD4A996820C@m-epo-1.epo.cdc.gov> Ah - thanks. For the way I have been using it, I am safe. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Thursday, September 01, 2005 9:39 AM To: How to use Revolution Subject: Re: Application Folder Hi Lynch, As for a mainstack, it's does not make any difference. But for a substack, the fileName will return empty and the effective fileName the fileName of its mainStack :-) Best Regards from Paris, Eric Chatonet. Le 1 sept. 05 ? 15:29, Lynch, Jonathan a ?crit : > I have been doing this with just getting the filename, rather than the > effective filename. > > Is there a potential problem with using the filename rather than the > effective filename? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott > Kane > - Reptile Software Consultant > Sent: Thursday, September 01, 2005 7:48 AM > To: 'How to use Revolution' > Subject: RE: Application Folder > > G'day Klaus, > > >> i recommend to put this into the preopenstack script of your >> mainstack/standalone >> and then you could store it in a global variable or custom-property >> for later use. >> >> on preopenstack >> put the itemDel into tSavedDel >> set the itemDel to "/" >> get the effective fileName of this stack >> delete the last item of it >> global whatsoever >> put it into whatsoever >> .... >> end preopenstack >> > > Works beautifully! Thank you ever so much! :-) > > Scott ---------------------------------------------------------------- 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 Free plugins and tutorials on my website ---------------------------------------------------------------- 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 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From paolo.mazza at neol.it Thu Sep 1 10:35:13 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Thu, 01 Sep 2005 16:35:13 +0200 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> References: <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: Hi Andre, you wrote " >try pulling the executable out of MacOS X >bundle and using it as the CGI engine " . What do you mean exactly? Where is the executable in the MACOSX bundle? I tryed to move the Revolution file but I got an "internal Server Error". You wrote : >use it with the "-ui" >parameter . What does it mean exactly this parameter? Thank you Paolo Mazza How to use Revolution on Mercoled?, 31 agosto 2005 at 19:08 +0100 wrote: > >On Aug 31, 2005, at 2:31 PM, Mark Smith wrote: > >> Ah...that explains a few things. Thanks for the info. >> >> Cheers, >> >> Mark >> > >Mark, > >I am betting here okay, but try pulling the executable out of MacOS X >bundle and using it as the CGI engine, use it with the "-ui" >parameter. It works fine. I just pulled mine, put it on /Library/ >WebSever/CGI-Executables and created this test.cgi script: > > >#!Revolution -ui >on startup >put "Engine Version:" && version() & cr >put "Languages:" && the alternateLanguages >get format("tell application \"Finder\"\ndisplay dialog \"Hello World! >\"\nend tell\n") >do it as "applescript" >put it && the result >end startup > > >The result is fine: > >Engine Version: 2.6.5 >Languages: applescript >tell application "Finder" >display dialog "Hello World!" >end tell >{button returned:"OK"} > >Decided not to include the shot of the dialog box but it appeared >nice!!! >Happy AppleScripting and Transcript coding. > >Cheers >andre > > > > > > >> On 31 Aug 2005, at 17:21, Mark Waddingham wrote: >> >> >>> The Darwin engines are just like they say on the tin - compiled for >>> Darwin :o) >>> >>> Darwin is the BSD-derived UNIX base for MacOS X and due to this >>> none of >>> the MacOS X specific APIs are available to compile against (in this >>> mode). Indeed, the engine itself is compiled using the internal POSIX >>> porting layer inline with the other UNIX engines. >>> >>> Therefore, when looking for what is available in the Darwin >>> engine, look >>> in the documentation for what is supported by UNIX/Linux, rather >>> than OS >>> X. >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> ------------------------------------------------------------------ >>> Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com >>> Runtime Revolution ~ User-Centric Development Tools >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> >> ___________________________________________________________ To help >> you stay safe and secure online, we've developed the all new Yahoo! >> Security Centre. http://uk.security.yahoo.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From pevensen at siboneylg.com Thu Sep 1 10:35:56 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 01 Sep 2005 09:35:56 -0500 Subject: modal stack "Prompt" In-Reply-To: <64878EF567131D4596246171F75FD4A9744637@m-epo-1.epo.cdc.gov > References: <64878EF567131D4596246171F75FD4A9744637@m-epo-1.epo.cdc.gov> Message-ID: <6.2.1.2.2.20050901093448.109f54e0@exchange.slg.com> I have no problem with the message path. It just seem weird that the modal dialog appears over what ever stack handles a message that was sent to the dialog box (that it forgot to handle). It appears it was an openCard that I needed to trap. At 06:23 PM 8/31/2005, you wrote: >It is consistent with the way the message path works, and I can envision >situations where you would need this sort of behavior - such as if you >had an app that created many stacks on the fly, and needed to do >something when one of those stacks was opened. > >However, it can still cause problems. Be especially careful of this >danger if you have a resizestack handler in your main stack. A >resizestack handler that produces an error will crash the program. > >Here is an easy way to avoid problems: > >On preopenstack > If the short name of the owner of the target <> the short name of this >stack then exit preopenstack > >-- do whatever else needs to be done >End preopenstack > > >A preopenstack message first goes to the card, then the stack. So, the >above script makes sure that preopenstack message was triggered by the >same stack in which it resides. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Peter T. >Evensen >Sent: Wednesday, August 31, 2005 6:28 PM >To: How to use Revolution >Subject: Re: modal stack "Prompt" > >That seems to be what it was. That is rather esoteric behavior. > >I think the main stack was catching a preOpenCard or OpenCard, but the >substack that did the modal command also had those. I added empty >preOpenStack, openCard and preOpenCard handlers and that seems to have >solved the problem. > >This just seems like odd behavior. I would consider it a bug. I don't >know when you would want a modal dialog to appear over and bring forward >a >stack other than the one containing the script which calls the modal >function. > >At 05:15 PM 8/31/2005, you wrote: > >Since no Rev-pro has stepped up to bat on this one, > >I'll hesitatingly venture a suggestion... > > > >Is there an "on openStack" or "on preOpenStack" > >handler in the "Prompt" substack? The reason I ask > >is that, when any stack first opens, I think an "openStack" > >message is generated. Thus, if the "Prompt" stack > >doesn't handle this message, then the next stack up > >will, i.e., the mainstack. > > > >Thus, my solution in the past to something like your problem > >here was to insert an empty "on openStack" handler > >in the stack. > > > >Hope that helps. > > > >-- > >Nicolas Cueto > >niconiko language school > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > >Peter T. Evensen >http://www.PetersRoadToHealth.com >24-hour recorded info hotline: 1-800-624-7671 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >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 mark at maseurope.net Thu Sep 1 11:12:02 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 1 Sep 2005 16:12:02 +0100 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: References: <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: <58ed1c7fe2c48918b90f164bffc3af1e@maseurope.net> Just a small word of warning to those copying the engine from the Revolution app bundle.... When I did this, the modification date of the Revolution bundle was changed to the time and date of the copy operation. Thereafter, double clicking on a .rev stack in the Finder would open it in the Revolution Dreamcard player app. Using the Finder's "get info/open with/change all" had no effect, and the Dreamcard player came up, everytime. The fix was to copy the engine out of the Dreamcard app the same way, thus setting it's modification date to a later one than the Revolution app's, if you see what I mean. An option was to trash the Dreamcard app, but I didn't really want to do that, even though I never use it. Cheers, Mark From jimlyons at earthlink.net Thu Sep 1 11:32:55 2005 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu, 1 Sep 2005 11:32:55 -0400 Subject: problem waiting - spellchecker In-Reply-To: <20050901141618.3429A824FA9@mail.runrev.com> References: <20050901141618.3429A824FA9@mail.runrev.com> Message-ID: <7a4c07b34caee478ec416890a1928d00@earthlink.net> On Sep 1, 2005, at 10:16 AM, MisterX wrote: > I've advanced quite a lot in the spell checker BUT > > the wait until [condition] with messages > > still gives me lots of troubles. Just wondering, since it's being unpredictable, does it make any difference if you do: repeat until [condition] wait 0 millisecs with messages end repeat FWIW, Jim Lyons From bnz2 at cdc.gov Thu Sep 1 11:45:02 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 1 Sep 2005 11:45:02 -0400 Subject: modal stack "Prompt" Message-ID: <64878EF567131D4596246171F75FD4A996820E@m-epo-1.epo.cdc.gov> Either way... You can trap the openstack handler in each substack, or you can put this line at the top of the openstack handler in your mainstack: If the short name of the owner of the target <> the short name of this stack then exit openstack -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Peter T. Evensen Sent: Thursday, September 01, 2005 10:36 AM To: How to use Revolution Subject: RE: modal stack "Prompt" I have no problem with the message path. It just seem weird that the modal dialog appears over what ever stack handles a message that was sent to the dialog box (that it forgot to handle). It appears it was an openCard that I needed to trap. At 06:23 PM 8/31/2005, you wrote: >It is consistent with the way the message path works, and I can envision >situations where you would need this sort of behavior - such as if you >had an app that created many stacks on the fly, and needed to do >something when one of those stacks was opened. > >However, it can still cause problems. Be especially careful of this >danger if you have a resizestack handler in your main stack. A >resizestack handler that produces an error will crash the program. > >Here is an easy way to avoid problems: > >On preopenstack > If the short name of the owner of the target <> the short name of this >stack then exit preopenstack > >-- do whatever else needs to be done >End preopenstack > > >A preopenstack message first goes to the card, then the stack. So, the >above script makes sure that preopenstack message was triggered by the >same stack in which it resides. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Peter T. >Evensen >Sent: Wednesday, August 31, 2005 6:28 PM >To: How to use Revolution >Subject: Re: modal stack "Prompt" > >That seems to be what it was. That is rather esoteric behavior. > >I think the main stack was catching a preOpenCard or OpenCard, but the >substack that did the modal command also had those. I added empty >preOpenStack, openCard and preOpenCard handlers and that seems to have >solved the problem. > >This just seems like odd behavior. I would consider it a bug. I don't >know when you would want a modal dialog to appear over and bring forward >a >stack other than the one containing the script which calls the modal >function. > >At 05:15 PM 8/31/2005, you wrote: > >Since no Rev-pro has stepped up to bat on this one, > >I'll hesitatingly venture a suggestion... > > > >Is there an "on openStack" or "on preOpenStack" > >handler in the "Prompt" substack? The reason I ask > >is that, when any stack first opens, I think an "openStack" > >message is generated. Thus, if the "Prompt" stack > >doesn't handle this message, then the next stack up > >will, i.e., the mainstack. > > > >Thus, my solution in the past to something like your problem > >here was to insert an empty "on openStack" handler > >in the stack. > > > >Hope that helps. > > > >-- > >Nicolas Cueto > >niconiko language school > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > >Peter T. Evensen >http://www.PetersRoadToHealth.com >24-hour recorded info hotline: 1-800-624-7671 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Thu Sep 1 12:17:00 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 1 Sep 2005 18:17:00 +0200 Subject: problem waiting - spellchecker In-Reply-To: <7a4c07b34caee478ec416890a1928d00@earthlink.net> Message-ID: <20050901155740.51D3F824ED8@mail.runrev.com> Jim hum good, no, bad idea... It sure will spike the cpu... Not the point... ;) see my next msg ;) cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Jim Lyons > Sent: Thursday, September 01, 2005 17:33 > To: use-revolution at lists.runrev.com > Subject: Re: problem waiting - spellchecker > > > On Sep 1, 2005, at 10:16 AM, MisterX wrote: > > > I've advanced quite a lot in the spell checker BUT > > > > the wait until [condition] with messages > > > > still gives me lots of troubles. > > Just wondering, since it's being unpredictable, does it make > any difference if you do: > > repeat until [condition] > wait 0 millisecs with messages > end repeat > > FWIW, > Jim Lyons > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Thu Sep 1 12:20:11 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 1 Sep 2005 18:20:11 +0200 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: <20050901160150.81AA3824ED8@mail.runrev.com> Dave, After some logical thoughts, this wouldn't work. Maybe it could... But is it "realistic" to make a simple process more complicated? repeat... ... put "wait" into xosdictionary["current"] --put the waitdepth -- always 1 --if the waitdepth < 2 then wait until xosdictionary["current"] = "continue" with messages -- else skip... poor idea... --end if ... end repeat then, any button in the spellchecker GUI will do something like ignore, fix, etc... and then ... put "continue" into xosdictionary["current"] end mouseup The reason the wait is in the first place is to wait for the user input (or abort). Since it's blocked, the only way this could work (it's in a loop that parses each word) would be if i added a double condition with a property reset and that gets messy... This requires major code change (not again, 2 already)... Why can't this wait statement work each time it is called? If it works 2 or 3 times why not 4 or more? What can affect this? Im removing now all outside influences for the next test run... The question remains, why does it lock up? i do have an alternate callback algorithm that might work but im not to fond of it's obscure ways... "wait" was so simple... At least, i got a "good" word parser now... Dictionary is learning and learning (so am i). And i got a way to update "styled" text being corrected too :) cheers and thanks for the help 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 > David Burgun > Sent: Thursday, September 01, 2005 14:11 > To: How to use Revolution > Subject: Re: problem waiting - spellchecker > > Hi, > > Just at thought, but could you do something like this: > > In handler that you want to wait in: > > global gConditionFlag > > > put false into gConditionFlag > send CheckIfDone to this card in 10 ticks -- or a good value > for the task > > global gConditionFlag > > on CheckIfDone > if gConditionFlag = false then > send CheckIfDone to me in 10 ticks -- or a good value for the > task exit CheckIfD end if > > -- > -- Do the update > -- > > end CheckIfDone > > not sure how this would fit into your project though. > > All the Best > Dave > > >Hi everyone > > > >I've advanced quite a lot in the spell checker BUT > > > >the wait until [condition] with messages > > > >still gives me lots of troubles. > > > >It works usually the first time, maybe a second time, but it > definitely > >locks up after 2-4 loops... > > > >By locking up, i mean that it doesn't seem to get either the "with > >messages" or that the condition is correct. > > > >I checked if the waitdepth is not > 1 but it is not. And if > it was, how > >do you delete the pending waits? grrr... > > > >After a control-C to abort the "wait", the error message > indicates that > >the lock up happens at the "wait" statement. > > > >What can cause this problem? Nothing else is running or > being sent or > >listed in the pending messages... > > > >This is far from reliable "at all" from what i can tell. Even if i > >debug (usually forces things to work better - or worse ;), > it doesn't > >help. I see no cause for the wait to "hang"... > > > >Thanks for any help on this... > > > >Other than that, i got a "real" word parser going, and i'll be also > >putting back the style to the corrected words where > necessary... This > >is quite a challenging application - to be done the right way ;) > > > >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 > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Thu Sep 1 12:34:32 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 1 Sep 2005 12:34:32 -0400 Subject: problem waiting - spellchecker Message-ID: <64878EF567131D4596246171F75FD4A996820F@m-epo-1.epo.cdc.gov> I know I am asking an ignorant question here, but... Is there no way to accomplish your goal by using a modal stack for user input? This would automatically block the user from doing anything else until the modal stack is closed. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Thursday, September 01, 2005 12:20 PM To: 'How to use Revolution' Subject: RE: problem waiting - spellchecker Dave, After some logical thoughts, this wouldn't work. Maybe it could... But is it "realistic" to make a simple process more complicated? repeat... ... put "wait" into xosdictionary["current"] --put the waitdepth -- always 1 --if the waitdepth < 2 then wait until xosdictionary["current"] = "continue" with messages -- else skip... poor idea... --end if ... end repeat then, any button in the spellchecker GUI will do something like ignore, fix, etc... and then ... put "continue" into xosdictionary["current"] end mouseup The reason the wait is in the first place is to wait for the user input (or abort). Since it's blocked, the only way this could work (it's in a loop that parses each word) would be if i added a double condition with a property reset and that gets messy... This requires major code change (not again, 2 already)... Why can't this wait statement work each time it is called? If it works 2 or 3 times why not 4 or more? What can affect this? Im removing now all outside influences for the next test run... The question remains, why does it lock up? i do have an alternate callback algorithm that might work but im not to fond of it's obscure ways... "wait" was so simple... At least, i got a "good" word parser now... Dictionary is learning and learning (so am i). And i got a way to update "styled" text being corrected too :) cheers and thanks for the help 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 > David Burgun > Sent: Thursday, September 01, 2005 14:11 > To: How to use Revolution > Subject: Re: problem waiting - spellchecker > > Hi, > > Just at thought, but could you do something like this: > > In handler that you want to wait in: > > global gConditionFlag > > > put false into gConditionFlag > send CheckIfDone to this card in 10 ticks -- or a good value > for the task > > global gConditionFlag > > on CheckIfDone > if gConditionFlag = false then > send CheckIfDone to me in 10 ticks -- or a good value for the > task exit CheckIfD end if > > -- > -- Do the update > -- > > end CheckIfDone > > not sure how this would fit into your project though. > > All the Best > Dave > > >Hi everyone > > > >I've advanced quite a lot in the spell checker BUT > > > >the wait until [condition] with messages > > > >still gives me lots of troubles. > > > >It works usually the first time, maybe a second time, but it > definitely > >locks up after 2-4 loops... > > > >By locking up, i mean that it doesn't seem to get either the "with > >messages" or that the condition is correct. > > > >I checked if the waitdepth is not > 1 but it is not. And if > it was, how > >do you delete the pending waits? grrr... > > > >After a control-C to abort the "wait", the error message > indicates that > >the lock up happens at the "wait" statement. > > > >What can cause this problem? Nothing else is running or > being sent or > >listed in the pending messages... > > > >This is far from reliable "at all" from what i can tell. Even if i > >debug (usually forces things to work better - or worse ;), > it doesn't > >help. I see no cause for the wait to "hang"... > > > >Thanks for any help on this... > > > >Other than that, i got a "real" word parser going, and i'll be also > >putting back the style to the corrected words where > necessary... This > >is quite a challenging application - to be done the right way ;) > > > >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 > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Thu Sep 1 12:53:06 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 1 Sep 2005 18:53:06 +0200 Subject: right button trick time Message-ID: <20050901163347.64056824D2F@mail.runrev.com> What do you know!!! You can pop a context menu on text i just found out!!! Just as i finished making mine work! big pet-peeve in the another-win32-gui-issue department i tried to tell Kevin about a year ago. And what do you know? It's well hidden! In browser mode, selecting text: Shift-control-right-click twice... In pointer mode, for selected controls (one or more shift right-click twice one to deselect the mouseobject and one to reslect it and drop the menu) Note: Dont tell me if is not reliable. If you do it wrong, you could drag the text into itself, and make it disappear without UNDO - this happens too often for my liking but it's unreproducible! You've been warned... (2nd bugzilla i can't write) Enjoy! Xavier http://monsieurx.com - not just nitrous acceleration for your rev development! From soapdog at mac.com Thu Sep 1 13:01:00 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 1 Sep 2005 14:01:00 -0300 Subject: Will AppleEvent Queue? Message-ID: Hi Folks, I'd like to know what happens if a application send tons of appleevents to a revolution stack, will the events queue, will they timeout and die, will they simply DDoS... For example if I use MacHTTP as a server and Rev as an ACGI and my server receives lots of connections and dispatch lot's of appleevents to the stack, what happens? I just want to know if there's a chance of loosing appleevents or if they are safe enough so that we could dispatch them and if service start being busy they will queue nicelly and be answered in due time... if anyone can help me, just drop a note. cheers andre From gregory.lypny at videotron.ca Thu Sep 1 13:18:15 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 01 Sep 2005 13:18:15 -0400 Subject: revCopyFile Command Message-ID: Hello Everyone, I've just been playing with the revCopyFile command, trying to create a simple backup routine for a project. It looks like the command does nothing under OS X if a copy of the file is already in the new location; it doesn't overwrite the copy or save the new copy under a different name. Can anyone confirm this? Greg From dcragg at lacscentre.co.uk Thu Sep 1 13:28:17 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Sep 2005 18:28:17 +0100 Subject: problem waiting - spellchecker In-Reply-To: <20050901160150.81AA3824ED8@mail.runrev.com> References: <20050901160150.81AA3824ED8@mail.runrev.com> Message-ID: <877692B9-4844-4057-98B0-41E55C29BD97@lacscentre.co.uk> On 1 Sep 2005, at 17:20, MisterX wrote: > > > repeat... > ... > put "wait" into xosdictionary["current"] > --put the waitdepth -- always 1 > --if the waitdepth < 2 then > wait until xosdictionary["current"] = "continue" with messages > -- else skip... poor idea... > --end if > ... > end repeat > then, any button in the spellchecker GUI will do something like > ignore, fix, > etc... and then > ... > put "continue" into xosdictionary["current"] > end mouseup > > The reason the wait is in the first place is to wait for the user > input (or > abort). Since it's blocked, the only way this could work (it's in a > loop > that parses each word) would be if i added a double condition with a > property reset and that gets messy... > > This requires major code change (not again, 2 already)... > > Why can't this wait statement work each time it is called? > If it works 2 or 3 times why not 4 or more? > > What can affect this? > > Im removing now all outside influences for the next test run... > > The question remains, why does it lock up? What do you mean by lock up? If you mean it's hanging at the "wait" statement, then the first thought would be that the condition isn't being met. One way to explore this would be to use a function as the condition, and spit out some loggable data from within the function. Perhaps something like this: repeat... ... put "wait" into xosdictionary["current"] --put the waitdepth -- always 1 --if the waitdepth < 2 then wait until myCondition() = "continue" with messages -- else skip... poor idea... --end if ... end repeat function myCondition put xosdictionary["current"] into tRetVal put the milliseconds && ":" && tRetVal into field "log" return tRetVal end myCondition In this way, you can see whether the condition is being continually checked or not, and monitor the value that should be changing. At least it should give you an idea of where things are going wrong. Cheers Dave From chipp at chipp.com Thu Sep 1 14:55:38 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 01 Sep 2005 13:55:38 -0500 Subject: problem waiting - spellchecker In-Reply-To: References: Message-ID: <43174EAA.2020009@chipp.com> X, Why don't you release Version 1 as a modal implementation, then release the non-modal version later? That's what I would do. -Chipp From Camm29 at tesco.net Thu Sep 1 15:07:00 2005 From: Camm29 at tesco.net (Camm29) Date: Thu, 1 Sep 2005 20:07:00 +0100 Subject: Missing Data Message-ID: <000e01c5af28$57093120$0a01a8c0@mobile1> Help ! I'm using Open file "COM1:" read from file "COM1:" until empty put it into Received Close file "COM1:" If the hardware i'm talking to on RS232 is set to echo sent commands it works fine and i get all the data. If i set the hardware not to echo sent commands then most of the data is missing ? example. if i send "ATZ" to the Hardware with echo on, i receive ATZ HELLO > if i send "ATZ" to the Hardware with echo off, i receive > The data HELLO > is ALWAYS sent by the Hardware after sending ATZ but goes missing in Revolution !!!. From jperryl at ecs.fullerton.edu Thu Sep 1 16:09:42 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 1 Sep 2005 13:09:42 -0700 (PDT) Subject: Transparent Images In-Reply-To: <01B4EB28-2AB3-49DA-AD39-581CDE23BBB1@byu.edu> Message-ID: And doesn't the shareware product GraphicConverter do this as well? www.lemkesoft.de Mac only, though... Judy On Fri, 26 Aug 2005, Devin Asay wrote: > If you're on Mac OS X or Classic there's also a little-known way of > using the Paint Tools paint bucket tool to fill an area with > "transparent color". Just press the Command key while using the paint > bucket. Don't know if there is an equivalent on Windows, since there > is no Command key. (Control-paint bucket does something different.) From christian.langers at education.lu Thu Sep 1 16:33:16 2005 From: christian.langers at education.lu (Langers Christian) Date: Thu, 1 Sep 2005 22:33:16 +0200 Subject: how to download a folder from a ftp server ? Message-ID: hello all, is it possible to download a folder with all of its content (files and subfolders) with Revolution ? If yes, how ? Thanks in advance, Christian from Luxembourg From gregory.lypny at videotron.ca Thu Sep 1 15:39:57 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 01 Sep 2005 15:39:57 -0400 Subject: Darwin Engine Message-ID: Hello everyone, Is there a Darwin engine more recent than Friday, April 18, 2003? If so, where can I get it? I've scoured the Runtime Revolution web site but can find no mention of CGI engines. Regards, Greg From bnz2 at cdc.gov Thu Sep 1 16:52:33 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 1 Sep 2005 16:52:33 -0400 Subject: how to download a folder from a ftp server ? Message-ID: <64878EF567131D4596246171F75FD4A974463A@m-epo-1.epo.cdc.gov> Has anyone here ever seen a situation where, if you copy an image from one stack to another in a script, then then image in the new stack acts kind of weird. When I do this, if I go to resize the new stack, the image in the new stack flickers and redraws. If I select the image in the new stack with the pointer tool, then unselect it, then it will stop doing that and just act like a normal image. Does anyone know what causes this, and how to prevent it? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Langers Christian Sent: Thursday, September 01, 2005 4:33 PM To: How to use Revolution Subject: how to download a folder from a ftp server ? hello all, is it possible to download a folder with all of its content (files and subfolders) with Revolution ? If yes, how ? Thanks in advance, Christian from Luxembourg _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Thu Sep 1 16:53:37 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 1 Sep 2005 16:53:37 -0400 Subject: Flickering image question Message-ID: <64878EF567131D4596246171F75FD4A9968212@m-epo-1.epo.cdc.gov> Has anyone here ever seen a situation where, if you copy an image from one stack to another in a script, then then image in the new stack acts kind of weird. When I do this, if I go to resize the new stack, the image in the new stack flickers and redraws. If I select the image in the new stack with the pointer tool, then unselect it, then it will stop doing that and just act like a normal image. Does anyone know what causes this, and how to prevent it? From kray at sonsothunder.com Thu Sep 1 16:59:40 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 01 Sep 2005 15:59:40 -0500 Subject: Arrays in Revolution In-Reply-To: <741fd03050831193263d7a333@mail.gmail.com> Message-ID: On 8/31/05 9:32 PM, "Ben Fisher" wrote: > I just wrote a cool library for working with arrays and matrices. Even > if you don't use arrays too often, I encourage you to check it out. > > It has useful functions like Push, and its split and join functions > don't mess with your strings the way the built-in functions do. I also > wrote functions for array equality, searching an array, and two > dimensional arrays. > > If you're interested, documentation explaining everything is online at > http://www.angeltowns2.net//jamonben/libarrayutil.pdf. > > The stack is on RevOnline: > User Space: benJam > Stack: libArrayUtil 1.0 > > -Ben > > Please give me feedback and tell me if you plan on using it. I can add > more features if there is interest. I just read the documentation, and it looks really cool, Ben! I'll let you know when I use it. One thing, though... it would be great if there was some option to make it 1-based instead of 0-based. I can't tell you how many times in other languages I've been caught offguard and referenced the wrong element or had to do some math to figure out what element is which. In fact, when VB went to VB.NET and lost the "Option Base 1" command directive, I internally grimaced... :-) Thanks for listening, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From laguer at ucs.orst.edu Thu Sep 1 18:35:52 2005 From: laguer at ucs.orst.edu (Rich Lague) Date: Thu, 1 Sep 2005 15:35:52 -0700 Subject: custom icons-- ? Message-ID: I?m trying to put a custom icon on an app I have made for Mac X and Windows. I made an icon in Iconographer X 2.5 and selected it in standalone settings dialog, but I still ended up with a generic icon on my app. I then carefully read the directions for Iconographer. It says that you still have to open them in ?Iconographer, Icon Composer, or another icon tool? if you want to be able to see your icon. (I had even less success with Windows. When I try to select the icon in the standalone settings dialog it refuses to select it because I don?t have the 9 required sizes.) I re-opened the icon in Iconographer-- no change in the result. I would like to try opening it in Icon Composer, but I can?t find the program. I found posts on the Apple site that says Icon Composer is included with system X, but I can?t find it. (I searched my startup drive and looked at the install cds, system 10.2.8) So, my main question: Is there an easy way to create and add a custom application icon to a program made in Revolution? If there is not an easy way, where can I get Icon Composer? Thanks, Rich Lague From sarahr at genesearch.com.au Thu Sep 1 19:00:19 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 2 Sep 2005 09:00:19 +1000 Subject: custom icons-- ? In-Reply-To: References: Message-ID: > I?m trying to put a custom icon on an app I have made for Mac X and > Windows. > > I made an icon in Iconographer X 2.5 and selected it in standalone > settings dialog, but I still ended up with a generic icon on my app. There is a problem with Rev 2.6 and OS X where the app when first built only shows the default icon, even if you have correctly made one. The solution is to zip the app and then unzip it. The unzipped version will show your icon. > (I had even less success with Windows. When I try to select the > icon in the standalone settings dialog it refuses to select it > because I don?t have the 9 required sizes.) In Iconographer, choose "Complete Icon" from the Icon menu and it will fill in all the missing parts. Then choose "Save as..." and select the correct format: .icns for Mac OS X and .ico for Windows. > > I re-opened the icon in Iconographer-- no change in the result. I > would like to try opening it in Icon Composer, but I can?t find the > program. Icon Composer is part of the Developer tools which you should have on one of the CDs that came with your Mac. However I don't think it can make Windows icons, so I recommend you stick with Iconographer. HTH, Sarah From slynch at richmond.sd38.bc.ca Thu Sep 1 19:10:51 2005 From: slynch at richmond.sd38.bc.ca (Stewart Lynch) Date: Thu, 01 Sep 2005 16:10:51 -0700 Subject: Sorting Lines by Item Message-ID: I have data that needs to be sorted a certain way after I bring it in to a text field called DataField Each line in the data has 6 items separated by a tab so I can set the itemdelimeter to Tab I need to sort the data by Item 2 then Item 3 then Item 4. So, for example 3838033 R. Chin 1 B XESL 11 12 3838033 R. Chin 2 C XESL 10 17 3838033 J. Clemente 1 B SCH 11 23 3838033 R. Chin 1 D XESL 11 15 3838033 R. Chin 2 B XESL 11 15 3838033 R. Chin 1 C XESL 10 11 3838033 J. Clemente 1 A SS 9 27 3838033 R. Chin 1 D XESL 10 16 3838033 J. Clemente 1 A SCH 11 27 3838033 J. Clemente 1 D SCH 9 26 3838033 J. Clemente 2 A SS 11 26 3838033 J. Clemente 1 B SCH 9 28 3838033 J. Clemente 1 C SCH 10 29 Gets sorted as 3838033 J. Clemente 1 A SS 9 27 3838033 J. Clemente 1 A SCH 11 27 3838033 J. Clemente 1 B SCH 11 23 3838033 J. Clemente 1 B SCH 9 28 3838033 J. Clemente 1 C SCH 10 29 3838033 J. Clemente 1 D SCH 9 26 3838033 J. Clemente 2 A SS 11 26 3838033 R. Chin 1 B XESL 11 12 3838033 R. Chin 1 C XESL 10 11 3838033 R. Chin 1 D XESL 11 15 3838033 R. Chin 1 D XESL 10 16 3838033 R. Chin 2 B XESL 11 15 3838033 R. Chin 2 C XESL 10 17 I see that there is the command Sort lines of field DataField by item 2 What would I do to have the lines sorted by item 2,3 and 4 in that order? ******************************************* ........ : o/ : Stewart Lynch : <| : Director of Instruction, Technology and Information Services : / > : Richmond School District :......: Richmond, BC Canada Internet: slynch at richmond.sd38.bc.ca https://public.sd38.bc.ca/~slynch tel. (604) 668-6128 fax: (604) 668-6006 ******************************************* From mark at maseurope.net Thu Sep 1 19:21:42 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 2 Sep 2005 00:21:42 +0100 Subject: how to download a folder from a ftp server ? In-Reply-To: References: Message-ID: <4077d85473d5a43054bb8c9c5bef1692@maseurope.net> put the path to the directory you want into a variable: put URL ("ftp:" & pathToYourRemoteDirectory) into fList --this puts a list of the files into variable fList -- each line in fList will look something like: --09-01-05 03:55PM 298694 myfile.doc -- where (in this case) word -1 of each line is the name of the file or folder You can probably figure the rest out... Cheers, Mark On 1 Sep 2005, at 21:33, Langers Christian wrote: > hello all, > > is it possible to download a folder with all of its content (files and > subfolders) with Revolution ? > > If yes, how ? > > > Thanks in advance, > > > Christian > from Luxembourg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Thu Sep 1 19:25:37 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 2 Sep 2005 00:25:37 +0100 Subject: Sorting Lines by Item In-Reply-To: References: Message-ID: <6742436aab0499ecbb37300c7684eb74@maseurope.net> From the docs: -- The sort command is a stable sort. This means that if the sortKey for two cards is the same, sorting does not change their order, so you can do two successive sorts to create subcategories within the major sort categories. For example, to sort the cards of a stack by ZIP code and sort within each ZIP code by last names, use these two statements: sort cards by field "Last Name" sort cards numeric by field "ZIP code" -- so sort lines of fld "dataField" by item 2 of each sort lines of fld "dataField" by item 3 of each sort lines of fld "dataField" by item 4 of each Is this what you need? Cheers, Mark On 2 Sep 2005, at 00:10, Stewart Lynch wrote: > I have data that needs to be sorted a certain way after I bring it in > to a > text field called DataField > > Each line in the data has 6 items separated by a tab so I can set the > itemdelimeter to Tab > I need to sort the data by Item 2 then Item 3 then Item 4. > So, for example > 3838033 R. Chin 1 B XESL 11 12 > 3838033 R. Chin 2 C XESL 10 17 > 3838033 J. Clemente 1 B SCH 11 23 > 3838033 R. Chin 1 D XESL 11 15 > 3838033 R. Chin 2 B XESL 11 15 > 3838033 R. Chin 1 C XESL 10 11 > 3838033 J. Clemente 1 A SS 9 27 > 3838033 R. Chin 1 D XESL 10 16 > 3838033 J. Clemente 1 A SCH 11 27 > 3838033 J. Clemente 1 D SCH 9 26 > 3838033 J. Clemente 2 A SS 11 26 > 3838033 J. Clemente 1 B SCH 9 28 > 3838033 J. Clemente 1 C SCH 10 29 > > Gets sorted as > > 3838033 J. Clemente 1 A SS 9 27 > 3838033 J. Clemente 1 A SCH 11 27 > 3838033 J. Clemente 1 B SCH 11 23 > 3838033 J. Clemente 1 B SCH 9 28 > 3838033 J. Clemente 1 C SCH 10 29 > 3838033 J. Clemente 1 D SCH 9 26 > 3838033 J. Clemente 2 A SS 11 26 > 3838033 R. Chin 1 B XESL 11 12 > 3838033 R. Chin 1 C XESL 10 11 > 3838033 R. Chin 1 D XESL 11 15 > 3838033 R. Chin 1 D XESL 10 16 > 3838033 R. Chin 2 B XESL 11 15 > 3838033 R. Chin 2 C XESL 10 17 > > I see that there is the command > > Sort lines of field DataField by item 2 > > What would I do to have the lines sorted by item 2,3 and 4 in that > order? > > ******************************************* > ........ > : o/ : Stewart Lynch > : <| : Director of Instruction, Technology and Information Services > : / > : Richmond School District > :......: Richmond, BC Canada > Internet: slynch at richmond.sd38.bc.ca > https://public.sd38.bc.ca/~slynch > tel. (604) 668-6128 fax: (604) 668-6006 > ******************************************* > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Thu Sep 1 19:29:56 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 2 Sep 2005 00:29:56 +0100 Subject: Sorting Lines by Item In-Reply-To: <6742436aab0499ecbb37300c7684eb74@maseurope.net> References: <6742436aab0499ecbb37300c7684eb74@maseurope.net> Message-ID: sorry, that should have been: sort lines of fld "dataField" by item 4 of each sort lines of fld "dataField" by item 3 of each sort lines of fld "dataField" by item 2 of each On 2 Sep 2005, at 00:25, Mark Smith wrote: > From the docs: > > -- > The sort command is a stable sort. This means that if the sortKey for > two cards is the same, sorting does not change their order, so you can > do two successive sorts to create subcategories within the major sort > categories. For example, to sort the cards of a stack by ZIP code and > sort within each ZIP code by last names, use these two statements: > > sort cards by field "Last Name" > sort cards numeric by field "ZIP code" > -- > > so > > sort lines of fld "dataField" by item 2 of each > sort lines of fld "dataField" by item 3 of each > sort lines of fld "dataField" by item 4 of each > > Is this what you need? > > Cheers, > > Mark > > On 2 Sep 2005, at 00:10, Stewart Lynch wrote: > >> I have data that needs to be sorted a certain way after I bring it in >> to a >> text field called DataField >> >> Each line in the data has 6 items separated by a tab so I can set the >> itemdelimeter to Tab >> I need to sort the data by Item 2 then Item 3 then Item 4. >> So, for example >> 3838033 R. Chin 1 B XESL 11 12 >> 3838033 R. Chin 2 C XESL 10 17 >> 3838033 J. Clemente 1 B SCH 11 23 >> 3838033 R. Chin 1 D XESL 11 15 >> 3838033 R. Chin 2 B XESL 11 15 >> 3838033 R. Chin 1 C XESL 10 11 >> 3838033 J. Clemente 1 A SS 9 27 >> 3838033 R. Chin 1 D XESL 10 16 >> 3838033 J. Clemente 1 A SCH 11 27 >> 3838033 J. Clemente 1 D SCH 9 26 >> 3838033 J. Clemente 2 A SS 11 26 >> 3838033 J. Clemente 1 B SCH 9 28 >> 3838033 J. Clemente 1 C SCH 10 29 >> >> Gets sorted as >> >> 3838033 J. Clemente 1 A SS 9 27 >> 3838033 J. Clemente 1 A SCH 11 27 >> 3838033 J. Clemente 1 B SCH 11 23 >> 3838033 J. Clemente 1 B SCH 9 28 >> 3838033 J. Clemente 1 C SCH 10 29 >> 3838033 J. Clemente 1 D SCH 9 26 >> 3838033 J. Clemente 2 A SS 11 26 >> 3838033 R. Chin 1 B XESL 11 12 >> 3838033 R. Chin 1 C XESL 10 11 >> 3838033 R. Chin 1 D XESL 11 15 >> 3838033 R. Chin 1 D XESL 10 16 >> 3838033 R. Chin 2 B XESL 11 15 >> 3838033 R. Chin 2 C XESL 10 17 >> >> I see that there is the command >> >> Sort lines of field DataField by item 2 >> >> What would I do to have the lines sorted by item 2,3 and 4 in that >> order? >> >> ******************************************* >> ........ >> : o/ : Stewart Lynch >> : <| : Director of Instruction, Technology and Information Services >> : / > : Richmond School District >> :......: Richmond, BC Canada >> Internet: slynch at richmond.sd38.bc.ca >> https://public.sd38.bc.ca/~slynch >> tel. (604) 668-6128 fax: (604) 668-6006 >> ******************************************* >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjb at robelko.com Thu Sep 1 19:23:39 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 2 Sep 2005 01:23:39 +0200 Subject: Sorting Lines by Item In-Reply-To: References: Message-ID: >I see that there is the command > >Sort lines of field DataField by item 2 > >What would I do to have the lines sorted by item 2,3 and 4 in that order? > Sort lines of field DataField by item 2 to 4 of each From katir at hindu.org Thu Sep 1 23:57:21 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 1 Sep 2005 17:57:21 -1000 Subject: Application Folder In-Reply-To: <64878EF567131D4596246171F75FD4A996820B@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A996820B@m-epo-1.epo.cdc.gov> Message-ID: Yes there are potential problems in using "filename" in fact I just hit on this yesterday. A substack has no "filename" property. Thus if you query that property in a preOpenStack handler in the main stack and poke it into a global, when you open a substack it will insert empty into the global! dynamically built paths to external files using "gMyLocation &"/"& somefile.shtml" just stopped working for me when the user opened a substack in my app... I finally realized that gMyLocation was empty! By using "the effectivefilename" which is the same for a mainstack and any of its substacks, you will always return the same value... and you don't have to build any workarounds for the fact that "filename" for substacks is empty. Aloha Sivakatirswami On Sep 01, 2005, at 3:29 AM, Lynch, Jonathan wrote: > I have been doing this with just getting the filename, rather than the > effective filename. > > Is there a potential problem with using the filename rather than the > effective filename? From b.xavier at internet.lu Fri Sep 2 00:08:14 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 2 Sep 2005 06:08:14 +0200 Subject: problem waiting - spellchecker In-Reply-To: <43174EAA.2020009@chipp.com> Message-ID: <20050902034847.29A1F824E9D@mail.runrev.com> Hi Chipp, Trouble is that this works even in non-palette mode... It's not the stack mode that's causing troubles... I should release something that "works" this weekend... Thanks to Dar ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Thursday, September 01, 2005 20:56 > To: How to use Revolution > Subject: Re: problem waiting - spellchecker > > X, > > Why don't you release Version 1 as a modal implementation, > then release the non-modal version later? > > That's what I would do. > > -Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Fri Sep 2 00:08:14 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 2 Sep 2005 06:08:14 +0200 Subject: problem waiting - spellchecker In-Reply-To: <877692B9-4844-4057-98B0-41E55C29BD97@lacscentre.co.uk> Message-ID: <20050902034848.3071F824E9D@mail.runrev.com> Woah cool the DarFunction! Some Interactivity seems to be showing handy thanks to the DarFunction in this waiting-room case though! More than i saw before... the seconds ticked but... But even though i tried it still worked once and then no more... It just hanged. The "message" wouldn't budge. Same keyword... The hilite also i noticed was only working once hilited and then no more (nu behavior since new word parser but same result - i said before that it took 3 or 4 clicks before it locked.) So it's, as i was afraid, a scripter's error! Arghh I started commenting out all the scripts in the button that's supposed to be hit that was unneeded. And i left the essentials. Suddenly i get an error! I was adding 1 to a wrong array item... A code line from mambo #2 - the xtalk word parser! RevError suddenly spewed in total geometric disarray (seen this before for the same reasons somewhere too?) Type add: destination has a bad format (numeric?) Object Learn Line add 1 to xosdictionary["currentword"] Hint button id 1030 of group id 1080 of card id 1002 of stack "F:/TAOO/Palettes/SpellNO2.rev" Why wasn't that error showing up before??? I sure am glad i didn't enter a bugzilla for the wait problem! It's the debugger not following the path deeper into the problem... Something Bugzillaed months ago ... Xcellent deduction thanks to DAR! My man! You saved me a rewrite ;) The next rev made dictionary is gonna rock with your name in the credits and the honorous free license emeritus circle in TAOO! SpellNO2 learned a whole paragraph in one pass thanks to you!!! Cool! Now, i got to start watching for badly spelled words and how it suggests "the real stuff"... And work out Xceptions... Thanks again Dar!!!! revcheers Xav http://monsieurx.com > -----Original Message----- > From: Dave Cragg [mailto:dcragg at lacscentre.co.uk] > Sent: Thursday, September 01, 2005 19:28 > To: x at monsieurx.com; How to use Revolution > Subject: Re: problem waiting - spellchecker > > On 1 Sep 2005, at 17:20, MisterX wrote: > > > > > > repeat... > > ... > > put "wait" into xosdictionary["current"] > > --put the waitdepth -- always 1 > > --if the waitdepth < 2 then > > wait until xosdictionary["current"] = "continue" with messages > > -- else skip... poor idea... > > --end if > > ... > > end repeat > > then, any button in the spellchecker GUI will do something like > > ignore, fix, etc... and then > > ... > > put "continue" into xosdictionary["current"] end mouseup > > > > The reason the wait is in the first place is to wait for the user > > input (or abort). Since it's blocked, the only way this could work > > (it's in a loop that parses each word) would be if i added a double > > condition with a property reset and that gets messy... > > > > This requires major code change (not again, 2 already)... > > > > Why can't this wait statement work each time it is called? > > If it works 2 or 3 times why not 4 or more? > > > > What can affect this? > > > > Im removing now all outside influences for the next test run... > > > > The question remains, why does it lock up? > > What do you mean by lock up? > > If you mean it's hanging at the "wait" statement, then the > first thought would be that the condition isn't being met. > One way to explore this would be to use a function as the > condition, and spit out some loggable data from within the > function. Perhaps something like this: > > repeat... > ... > put "wait" into xosdictionary["current"] > --put the waitdepth -- always 1 > --if the waitdepth < 2 then > wait until myCondition() = "continue" with messages > -- else skip... poor idea... > --end if > ... > end repeat > > function myCondition > put xosdictionary["current"] into tRetVal > put the milliseconds && ":" && tRetVal into field "log" > return tRetVal > end myCondition > > In this way, you can see whether the condition is being > continually checked or not, and monitor the value that should > be changing. At least it should give you an idea of where > things are going wrong. > > Cheers > Dave > From scott at tactilemedia.com Fri Sep 2 00:06:24 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Sep 2005 21:06:24 -0700 Subject: Choppy video? In-Reply-To: Message-ID: Recently, Alan Simon wrote: > I am in the process of writing an application that displays AVI video > loops, each a second or two in duration. When the video plays back, > it appears that some of the frames are being skipped, and I get a > choppy appearance. > > The playback machine is a 3 GHz Pentium with 1GB of memory, so I > don't think the PC is the problem. Could the problem be in the way > the loops are encoded? Do you have QuickTime enabled or are you using the system's built-in media playback? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From revolution at jaedworks.com Fri Sep 2 00:42:26 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 1 Sep 2005 21:42:26 -0700 Subject: classic file paths In-Reply-To: References: <20050831170003.BCE17824F0C@mail.runrev.com> Message-ID: At 3:03 AM -0400 9/1/2005, Jeffrey Reynolds wrote: >I guess its a bit moot since i will be having an osx version, so >wont have to have an macos running under classic, but I would like >to know the file path structure is for my own edification. There's some variation between OS X and Classic, but the easiest way to explore this is to put this in the message box: answer file "What file?";answer it This lets you pick a file, then shows you what the path to the file looks like. Helpful when debugging, or just to generally investigate what different file paths look like. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From dcragg at lacscentre.co.uk Fri Sep 2 02:21:06 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Sep 2005 07:21:06 +0100 Subject: how to download a folder from a ftp server ? In-Reply-To: <4077d85473d5a43054bb8c9c5bef1692@maseurope.net> References: <4077d85473d5a43054bb8c9c5bef1692@maseurope.net> Message-ID: On 2 Sep 2005, at 00:21, Mark Smith wrote: > put the path to the directory you want into a variable: > > put URL ("ftp:" & pathToYourRemoteDirectory) into fList > --this puts a list of the files into variable fList > -- each line in fList will look something like: > --09-01-05 03:55PM 298694 myfile.doc > -- where (in this case) word -1 of each line is the name of the > file or folder > Just a couple of small additions. Using "word 9" is probably safer than using "word -1" to get the name of the file. The reason is that additional data can appear after the file name, for example, if the file is a link to another file. Using word 9 assumes the ftp server is returning directory listings in standard Unix format (which is the case with most servers, even on Windows). drwxr-x--- 3 dave staff 102 Mar 29 2003 liburltestaxx -rwxr--r-- 1 dave staff 981 Apr 8 2002 urlconfig.mc (If you know in advance the server you are dealing with, you should probably confirm the directory listing format before you make your script.) To distinguish directories from files, check that char 1 in any line of the listing = "d". Cheers Dave From xbury.cs at clearstream.com Fri Sep 2 03:30:46 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 2 Sep 2005 09:30:46 +0200 Subject: problem waiting - spellchecker In-Reply-To: <20050902034848.3071F824E9D@mail.runrev.com> Message-ID: DUH! Appologies to Dave Cragg who suggested that... Sorry Dar, no cigar ;) i should learn to "read" sometimes ;) Thanks again Dave cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 02/09/2005 06:08:14: > Woah cool the DarFunction! > > Some Interactivity seems to be showing handy thanks to the DarFunction in > this waiting-room case though! > > More than i saw before... the seconds ticked but... > > But even though i tried it still worked once and then > no more... It just hanged. The "message" wouldn't budge. > Same keyword... The hilite also i noticed was only working > once hilited and then no more (nu behavior since new word parser > but same result - i said before that it took 3 or 4 clicks > before it locked.) > > So it's, as i was afraid, a scripter's error! Arghh > > I started commenting out all the scripts in the button that's supposed to be > hit that was unneeded. And i left the essentials. > > Suddenly i get an error! > I was adding 1 to a wrong array item... > A code line from mambo #2 - the xtalk word parser! > > RevError suddenly spewed in total geometric disarray (seen this before for > the same reasons somewhere too?) > > Type add: destination has a bad format (numeric?) > Object Learn > Line add 1 to xosdictionary["currentword"] > Hint button id 1030 of group id 1080 of card id 1002 of stack > "F:/TAOO/Palettes/SpellNO2.rev" > > Why wasn't that error showing up before??? I sure am glad i didn't enter a > bugzilla for the wait problem! It's the debugger not following the path > deeper into the problem... Something Bugzillaed months ago ... > > Xcellent deduction thanks to DAR! My man! You saved me a rewrite ;) The next > rev made dictionary is gonna rock with your name in the credits and the > honorous free license emeritus circle in TAOO! > > SpellNO2 learned a whole paragraph in one pass thanks to you!!! Cool! Now, i > got to start watching for badly spelled words and how it suggests "the real > stuff"... And work out Xceptions... > > Thanks again Dar!!!! > > revcheers > Xav > http://monsieurx.com > > > > -----Original Message----- > > From: Dave Cragg [mailto:dcragg at lacscentre.co.uk] > > Sent: Thursday, September 01, 2005 19:28 > > To: x at monsieurx.com; How to use Revolution > > Subject: Re: problem waiting - spellchecker > > > > On 1 Sep 2005, at 17:20, MisterX wrote: > > > > > > > > > repeat... > > > ... > > > put "wait" into xosdictionary["current"] > > > --put the waitdepth -- always 1 > > > --if the waitdepth < 2 then > > > wait until xosdictionary["current"] = "continue" with messages > > > -- else skip... poor idea... > > > --end if > > > ... > > > end repeat > > > then, any button in the spellchecker GUI will do something like > > > ignore, fix, etc... and then > > > ... > > > put "continue" into xosdictionary["current"] end mouseup > > > > > > The reason the wait is in the first place is to wait for the user > > > input (or abort). Since it's blocked, the only way this could work > > > (it's in a loop that parses each word) would be if i added a double > > > condition with a property reset and that gets messy... > > > > > > This requires major code change (not again, 2 already)... > > > > > > Why can't this wait statement work each time it is called? > > > If it works 2 or 3 times why not 4 or more? > > > > > > What can affect this? > > > > > > Im removing now all outside influences for the next test run... > > > > > > The question remains, why does it lock up? > > > > What do you mean by lock up? > > > > If you mean it's hanging at the "wait" statement, then the > > first thought would be that the condition isn't being met. > > One way to explore this would be to use a function as the > > condition, and spit out some loggable data from within the > > function. Perhaps something like this: > > > > repeat... > > ... > > put "wait" into xosdictionary["current"] > > --put the waitdepth -- always 1 > > --if the waitdepth < 2 then > > wait until myCondition() = "continue" with messages > > -- else skip... poor idea... > > --end if > > ... > > end repeat > > > > function myCondition > > put xosdictionary["current"] into tRetVal > > put the milliseconds && ":" && tRetVal into field "log" > > return tRetVal > > end myCondition > > > > In this way, you can see whether the condition is being > > continually checked or not, and monitor the value that should > > be changing. At least it should give you an idea of where > > things are going wrong. > > > > Cheers > > Dave > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From FlexibleLearning at aol.com Fri Sep 2 04:41:33 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 2 Sep 2005 04:41:33 EDT Subject: [ANN] ssBkChat update Message-ID: <42.6ffc3eda.30496a3d@aol.com> An update of ssBkChat is now available. This is part of The Scripter's Scrapbook and is free to all members of the Revolution community to drop in and ask or answer questions in real time... www.flexibleLearning.com/ssbk/modules/ssbkChat.zip /H FLCo Home of The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From paolo.mazza at neol.it Fri Sep 2 05:55:49 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 02 Sep 2005 11:55:49 +0200 Subject: CGI and MSQL in MAC OSX In-Reply-To: <42.6ffc3eda.30496a3d@aol.com> References: <42.6ffc3eda.30496a3d@aol.com> Message-ID: Where can I get a Mysql driver for the Revolution engine (version 2.5)? How can I connect the driver to the engine ? I wuold like to have the CGI/revolution get the data from a MySQL server using MAC OSX 10.4 . Than you all Paolo Mazza From paolo.mazza at neol.it Fri Sep 2 06:01:17 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 02 Sep 2005 12:01:17 +0200 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <58ed1c7fe2c48918b90f164bffc3af1e@maseurope.net> References: <58ed1c7fe2c48918b90f164bffc3af1e@maseurope.net> Message-ID: Hi Mark, how can I copy the engine from the Rev app bundle 2.6? How can I have the CGI/REV connect to a Mysql database? Do I need to copy any driver? Thank you Paolo Mazza YOU WROTE: >Just a small word of warning to those copying the engine from the >Revolution app bundle.... > > From klaus at major-k.de Fri Sep 2 06:10:03 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 2 Sep 2005 12:10:03 +0200 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: References: <58ed1c7fe2c48918b90f164bffc3af1e@maseurope.net> Message-ID: <10964A69-AA18-4677-B358-A619CCE6FC3A@major-k.de> Buongiorno Paolo, > Hi Mark, > how can I copy the engine from the Rev app bundle 2.6? Control-click "Revolution.app" and slect "Show contents" in the popup menu... You will find the "raw" engine in the folder: Revolution.app/Contents/MacOS/ And it is called "Revolution", go figure :-) Copy this one to wherever you like. > How can I have the CGI/REV connect to a Mysql database? Do I need > to copy > any driver? Sorry, no idea. > Thank you > Paolo Mazza Regards Klaus Major klaus at major-k.de http://www.major-k.de From dcragg at lacscentre.co.uk Fri Sep 2 06:38:54 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Sep 2005 11:38:54 +0100 Subject: CGI and MSQL in MAC OSX In-Reply-To: References: <42.6ffc3eda.30496a3d@aol.com> Message-ID: On 2 Sep 2005, at 10:55, paolo mazza wrote: > Where can I get a Mysql driver for the Revolution engine (version > 2.5)? > > How can I connect the driver to the engine ? > > I wuold like to have the CGI/revolution get the data from a MySQL > server > using MAC OSX 10.4 . > Paolo Can you confirm, is this MSSQL or MySQL? MySQL drivers are included with Rev. As for MSSQL, I think you need to use OBDC for this, but I'm not certain. Cheers Dave From paolo.mazza at neol.it Fri Sep 2 08:16:53 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 02 Sep 2005 14:16:53 +0200 Subject: CGI and MSQL in MAC OSX In-Reply-To: References: Message-ID: Thanks Dave, Actually it is MySQL . You wrote: > > >MySQL drivers are included with Rev. > The drivers are included in the engine? I am supposed to connect to MySQL from the CGI/revolution .. and I am getting "Internal Server Error" when I try to connect to the DB. So.. I do not know why. Ciao Paolo > > From paolo.mazza at neol.it Fri Sep 2 08:27:57 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 02 Sep 2005 14:27:57 +0200 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <10964A69-AA18-4677-B358-A619CCE6FC3A@major-k.de> References: <10964A69-AA18-4677-B358-A619CCE6FC3A@major-k.de> Message-ID: Thank You Klaus I did as you said .. I set permissions.... but still my cgi does not work. With the engine of Rev 2.6 I get "Internal Service Errore" With the engine 2.5 the cgi works. Do not know why. Ciao Paolo From dcragg at lacscentre.co.uk Fri Sep 2 08:49:33 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Sep 2005 13:49:33 +0100 Subject: CGI and MSQL in MAC OSX In-Reply-To: References: Message-ID: <139DD7B7-AD20-4ACD-AB6B-FC3B024AC4D7@lacscentre.co.uk> On 2 Sep 2005, at 13:16, paolo mazza wrote: > Thanks Dave, Actually it is MySQL . You wrote: > >> >> >> MySQL drivers are included with Rev. >> >> > The drivers are included in the engine? > I am supposed to connect to MySQL from the CGI/revolution .. and I am > getting "Internal Server Error" when I try to connect to the DB. > So.. I do not know why. I meant that the drivers are distributed with the normal Rev distribution, not embedded within the CGI engine. For what it's worth, I use mySQL with the Rev Darwin CGI engine here. Unfortunately, it was a long time ago that I set it up. Here's my setup. I use the Darwin engine that comes to 3,161,924 bytes. The engine version as returned by "the version" function is 2.5G1. This version I think has the revDB external embedded within the engine. In the same folder as my scripts, I have the driver dbmysql.so. I'm a little puzzled as to why I have this here. As far as I can see, only the Linux drivers distributed with the standard Rev distribution have the ".so" suffix. However, the scripts won't work without it. Perhaps someone can remind me of the source of the "dbmysql.so" file. Sorry if I have confused you more. Cheers Dave From dcragg at lacscentre.co.uk Fri Sep 2 08:57:57 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Sep 2005 13:57:57 +0100 Subject: CGI and MSQL in MAC OSX In-Reply-To: <139DD7B7-AD20-4ACD-AB6B-FC3B024AC4D7@lacscentre.co.uk> References: <139DD7B7-AD20-4ACD-AB6B-FC3B024AC4D7@lacscentre.co.uk> Message-ID: <53C08287-E1C8-49DE-B84C-B1CCA5AADF40@lacscentre.co.uk> On 2 Sep 2005, at 13:49, Dave Cragg wrote: > > On 2 Sep 2005, at 13:16, paolo mazza wrote: > > >> Thanks Dave, Actually it is MySQL . You wrote: >> >> >>> >>> >>> MySQL drivers are included with Rev. >>> >>> >>> >> The drivers are included in the engine? >> I am supposed to connect to MySQL from the CGI/revolution .. and I am >> getting "Internal Server Error" when I try to connect to the DB. >> So.. I do not know why. >> > > > I meant that the drivers are distributed with the normal Rev > distribution, not embedded within the CGI engine. > > For what it's worth, I use mySQL with the Rev Darwin CGI engine > here. Unfortunately, it was a long time ago that I set it up. > Here's my setup. > > I use the Darwin engine that comes to 3,161,924 bytes. The engine > version as returned by "the version" function is 2.5G1. This > version I think has the revDB external embedded within the engine. > > In the same folder as my scripts, I have the driver dbmysql.so. I'm > a little puzzled as to why I have this here. As far as I can see, > only the Linux drivers distributed with the standard Rev > distribution have the ".so" suffix. However, the scripts won't work > without it. > > Perhaps someone can remind me of the source of the "dbmysql.so" file. OK. I found the source. It was included with the Darwin engine package that I originally downloaded. Cheers Dave From paolo.mazza at neol.it Fri Sep 2 10:24:26 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 02 Sep 2005 16:24:26 +0200 Subject: CGI and MSQL in MAC OSX In-Reply-To: <53C08287-E1C8-49DE-B84C-B1CCA5AADF40@lacscentre.co.uk> References: <53C08287-E1C8-49DE-B84C-B1CCA5AADF40@lacscentre.co.uk> Message-ID: Dave, may I ask you where did you find the package? Thank you anyway. Ciao Paolo >OK. I found the source. It was included with the Darwin engine >package that I originally downloaded. > >Cheers >Dave From nnoydb at excite.com Fri Sep 2 10:40:00 2005 From: nnoydb at excite.com (N) Date: Fri, 2 Sep 2005 10:40:00 -0400 (EDT) Subject: I have asked this before. Message-ID: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> I have two functions/handlers like the following code function ThingOne repeat forever --Single step of long process --Write to edit control wait for 0 seconds with messages end repeat end function function ThingTwo --SIngle step another long process --Write Edit wait for 0 seconds with messages end function At this point I click a button invoking ThinOne then the button invoking ThingTwo. Only 1 of the functions seem to be running why? Does wait with messages not allow currently executing handlers to continue until the currently handler exits? Shouldn't this alternate? If not how do you make them alternate? I am aware of "send in time" but that is not the manner in which the specific problem should be solved. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Fri Sep 2 10:54:49 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 2 Sep 2005 16:54:49 +0200 Subject: I have asked this before. In-Reply-To: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> References: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> Message-ID: Hi Kevin, > I have two functions/handlers like the following code > > function ThingOne > repeat forever > --Single step of long process > --Write to edit control > wait for 0 seconds with messages > end repeat > end function > > function ThingTwo > --SIngle step another long process > --Write Edit > wait for 0 seconds with messages > end function > > At this point I click a button invoking ThinOne then the button > invoking ThingTwo. Only 1 of the functions seem to be running > why? Does wait with messages not allow currently executing > handlers to continue until the currently handler exits? > > Shouldn't this alternate? If not how do you make them alternate? I > am aware of "send in time" but that is not the manner in which the > specific problem should be solved. i have no idea, but i think that using a function for this might be the wrong way...? Did you try this as handler? on ThingOne ... ... end ThingOne A finction is supposed to return some value(s), so maybe the handler that is calling this function might have to wait until doomsday ;-) > Kevin Regards Klaus Major klaus at major-k.de http://www.major-k.de From dcragg at lacscentre.co.uk Fri Sep 2 11:07:11 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Sep 2005 16:07:11 +0100 Subject: CGI and MSQL in MAC OSX In-Reply-To: References: <53C08287-E1C8-49DE-B84C-B1CCA5AADF40@lacscentre.co.uk> Message-ID: On 2 Sep 2005, at 15:24, paolo mazza wrote: > Dave, > may I ask you where did you find the package? > Thank you anyway. > Ciao > Paolo Sorry. The URL I used no longer works. I think someone may have posted a url recently. Cheers Dave From david at openpartnership.net Fri Sep 2 13:14:08 2005 From: david at openpartnership.net (david bovill) Date: Fri, 2 Sep 2005 19:14:08 +0200 Subject: Web integration - round trip and point 5? In-Reply-To: <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: Done my best to give this an exciting title :) Can anyone help polish this list... it's full of half knowledge.... So how to make the most of Rev web integration? 1) Use the altBrowser external to embed a browser in Rev 2) Store stacks on Http or https server and update them there 3) Cache them locally for offline storage 4) Check md5Hash of stacks and update cache if different 5) Allow users to open stacks from browser by selecting HTMl link in browser page.... 6) If minimal engine not installed - direct to player download page 7) Ideally provide 1.5 MB unstuffed player How to make 5) easy? is there still a stack / scripts floating around that set browser mime type for Rev stacks? What does the HTML stack link look like for calling up a local stack? Remote stack? From nnoydb at excite.com Fri Sep 2 13:31:32 2005 From: nnoydb at excite.com (N) Date: Fri, 2 Sep 2005 13:31:32 -0400 (EDT) Subject: I have asked this before. Message-ID: <20050902173132.0D739BF96E@xprdmailfe27.nwk.excite.com> Okay changed the code to handlers and still getting the same response. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Fri 09/02, Klaus Major < klaus at major-k.de > wrote: From: Klaus Major [mailto: klaus at major-k.de] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Fri, 2 Sep 2005 16:54:49 +0200 Subject: Re: I have asked this before. Hi Kevin,

> I have two functions/handlers like the following code
>
> function ThingOne
> repeat forever
> --Single step of long process
> --Write to edit control
> wait for 0 seconds with messages
> end repeat
> end function
>
> function ThingTwo
> --SIngle step another long process
> --Write Edit
> wait for 0 seconds with messages
> end function
>
> At this point I click a button invoking ThinOne then the button
> invoking ThingTwo. Only 1 of the functions seem to be running
> why? Does wait with messages not allow currently executing
> handlers to continue until the currently handler exits?
>
> Shouldn't this alternate? If not how do you make them alternate? I
> am aware of "send in time" but that is not the manner in which the
> specific problem should be solved.

i have no idea, but i think that using a function for this might be
the wrong way...?

Did you try this as handler?

on ThingOne
...
...
end ThingOne

A finction is supposed to return some value(s), so maybe the handler
that is calling
this function might have to wait until doomsday ;-)

> Kevin

Regards

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

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rjearp at hotmail.com Fri Sep 2 13:36:45 2005 From: rjearp at hotmail.com (Bob Earp) Date: Fri, 02 Sep 2005 10:36:45 -0700 Subject: OT - Reporting a socket packet pocket error... Message-ID: I sent the following to the ed list but obviously very few people are reading that which is a shame because there's some good people lurking there ;-) Anyway.... The following was kindly sent to me by a friend: unfortunately I don't know who the original author was other was or I'd quote them. I did take a litle "poetic license" however (sorry in advance Dan). Try to read this as you would read The Cat in the Hat, or similar. If a packet hits a pocket on a socket on a port, and the bus is interrupted at a very last resort, and the access of the memory makes your floppy disk abort, then the socket packet pocket has an error to report. If your cursor finds a menu item followed by a dash, and the double-clicking icon puts your window in the trash, and your data is corrupted cause the index doesn't hash, then your situation?s hopeless and your system?s gonna crash! If the label on the cable on the table at your house, says the network is connected to the button on your mouse, but your packets want to tunnel to another protocol, that?s repeatedly rejected by the printer down the hall? And your screen is all distorted by the side effects of gauss, so your icons in the window are as wavy as a souse; then you may as well reboot and go out with such a bang, ?cuz sure as I'm a poet the sucker?s gonna hang. When the copy on your floppy?s getting sloppy in the disk, and Dan Shafer's code instructions are causing you a risk, then you'll have to flash the memory and you'll want to RAM your ROM, and then quickly turn off the computer and be sure to tell your Mom ! Well, that clears up an awful lot for me when I use Rev on a Pee Cee?.. Happy Labour Day (note the spelling !!) best, Bob? Bob Earp - White Rock, BC _________________________________________________________________ Take charge with a pop-up guard built on patented Microsoft? SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From davis.phil at comcast.net Fri Sep 2 13:42:12 2005 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 02 Sep 2005 10:42:12 -0700 Subject: Web integration - round trip and point 5? In-Reply-To: References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: <43188EF4.7000406@comcast.net> David - I see that you're not suggesting that stacks be directly downloaded within the Rev environment (as opposed to altBrowser + web page). Is there a reason you don't want to do that? Seems like it could make life easier for users by requiring fewer steps to get what they want. Certainly if a user doesn't have a player, they'll need to download that. But if you provided a standalone instead that simply knows where to look on a server for new stacks, it seems to me that could be better. It keeps to a minimum the user knowledge required for success. (It could work sort of like the GoRevNet plugin, only it would be a standalone.) Two cents please... Thanks - Phil Davis david bovill wrote: > Done my best to give this an exciting title :) Can anyone help polish > this list... it's full of half knowledge.... > > So how to make the most of Rev web integration? > > 1) Use the altBrowser external to embed a browser in Rev > 2) Store stacks on Http or https server and update them there > 3) Cache them locally for offline storage > 4) Check md5Hash of stacks and update cache if different > > 5) Allow users to open stacks from browser by selecting HTMl link > in browser page.... > 6) If minimal engine not installed - direct to player download page > 7) Ideally provide 1.5 MB unstuffed player > > How to make 5) easy? is there still a stack / scripts floating around > that set browser mime type for Rev stacks? What does the HTML stack > link look like for calling up a local stack? Remote stack? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nnoydb at excite.com Fri Sep 2 13:44:51 2005 From: nnoydb at excite.com (N) Date: Fri, 2 Sep 2005 13:44:51 -0400 (EDT) Subject: I have asked this before. Message-ID: <20050902174451.CEA6ABF697@xprdmailfe27.nwk.excite.com> To be more specific wich ever event/handler is started last remains executing and the other is non-functional. If I halt the running handler the one started earlier will continue! I thought the whole point of wait with messages was to allow other events/handlers to run. Is there another way to do this? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Fri 09/02, Klaus Major < klaus at major-k.de > wrote: From: Klaus Major [mailto: klaus at major-k.de] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Fri, 2 Sep 2005 16:54:49 +0200 Subject: Re: I have asked this before. Hi Kevin,

> I have two functions/handlers like the following code
>
> function ThingOne
> repeat forever
> --Single step of long process
> --Write to edit control
> wait for 0 seconds with messages
> end repeat
> end function
>
> function ThingTwo
> --SIngle step another long process
> --Write Edit
> wait for 0 seconds with messages
> end function
>
> At this point I click a button invoking ThinOne then the button
> invoking ThingTwo. Only 1 of the functions seem to be running
> why? Does wait with messages not allow currently executing
> handlers to continue until the currently handler exits?
>
> Shouldn't this alternate? If not how do you make them alternate? I
> am aware of "send in time" but that is not the manner in which the
> specific problem should be solved.

i have no idea, but i think that using a function for this might be
the wrong way...?

Did you try this as handler?

on ThingOne
...
...
end ThingOne

A finction is supposed to return some value(s), so maybe the handler
that is calling
this function might have to wait until doomsday ;-)

> Kevin

Regards

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

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From davis.phil at comcast.net Fri Sep 2 14:00:21 2005 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 02 Sep 2005 11:00:21 -0700 Subject: I have asked this before. In-Reply-To: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> References: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> Message-ID: <43189335.4070708@comcast.net> Hi Kevin, I don't know the answer to your question, but try this: on thingOne -- single step in iterative process -- write to edit control if moreThingOneNeeded then send "thingOne" to me in zero seconds end if end thingOne on thingTwo -- single step in iterative process -- write to edit control if moreThingTwoNeeded then send "thingTwo" to me in zero seconds end if end thingTwo I didn't test it, but I think this will give you the alternating execution you're looking for. Phil Davis N wrote: > > > > > I have two functions/handlers like the following code > > function ThingOne > repeat forever > --Single step of long process > --Write to edit control > wait for 0 seconds with messages > end repeat > end function > > function ThingTwo > --SIngle step another long process > --Write Edit > wait for 0 seconds with messages > end function > > At this point I click a button invoking ThinOne then the button invoking ThingTwo. Only 1 of the functions seem to be running why? Does wait with messages not allow currently executing handlers to continue until the currently handler exits? > > Shouldn't this alternate? If not how do you make them alternate? I am aware of "send in time" but that is not the manner in which the specific problem should be solved. > > > Kevin From davis.phil at comcast.net Fri Sep 2 14:13:15 2005 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 02 Sep 2005 11:13:15 -0700 Subject: I have asked this before. In-Reply-To: <43189335.4070708@comcast.net> References: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> <43189335.4070708@comcast.net> Message-ID: <4318963B.4070308@comcast.net> OK, so I didn't read the last line of your post. Until now. :o\ Phil Phil Davis wrote: > Hi Kevin, > > I don't know the answer to your question, but try this: > > > on thingOne > -- single step in iterative process > -- write to edit control > if moreThingOneNeeded then > send "thingOne" to me in zero seconds > end if > end thingOne > > > on thingTwo > -- single step in iterative process > -- write to edit control > if moreThingTwoNeeded then > send "thingTwo" to me in zero seconds > end if > end thingTwo > > > I didn't test it, but I think this will give you the alternating > execution you're looking for. > > Phil Davis > > > > N wrote: > >> >> >> >> >> I have two functions/handlers like the following code >> >> function ThingOne >> repeat forever >> --Single step of long process >> --Write to edit control >> wait for 0 seconds with messages >> end repeat >> end function >> function ThingTwo >> --SIngle step another long process >> --Write Edit wait for 0 seconds with messages >> end function >> At this point I click a button invoking ThinOne then the button >> invoking ThingTwo. Only 1 of the functions seem to be running why? >> Does wait with messages not allow currently executing handlers to >> continue until the currently handler exits? >> >> Shouldn't this alternate? If not how do you make them alternate? I am >> aware of "send in time" but that is not the manner in which the >> specific problem should be solved. >> >> Kevin > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nnoydb at excite.com Fri Sep 2 14:27:23 2005 From: nnoydb at excite.com (N) Date: Fri, 2 Sep 2005 14:27:23 -0400 (EDT) Subject: I have asked this before. Message-ID: <20050902182723.52B36BF6A2@xprdmailfe27.nwk.excite.com> Tried that yesterday and it throlled the processor and I had to kill the IDE. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Fri 09/02, Phil Davis < davis.phil at comcast.net > wrote: From: Phil Davis [mailto: davis.phil at comcast.net] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Fri, 02 Sep 2005 11:00:21 -0700 Subject: Re: I have asked this before. Hi Kevin,

I don't know the answer to your question, but try this:


on thingOne
-- single step in iterative process
-- write to edit control
if moreThingOneNeeded then
send "thingOne" to me in zero seconds
end if
end thingOne


on thingTwo
-- single step in iterative process
-- write to edit control
if moreThingTwoNeeded then
send "thingTwo" to me in zero seconds
end if
end thingTwo


I didn't test it, but I think this will give you the alternating
execution you're looking for.

Phil Davis



N wrote:
>
>
>
>
> I have two functions/handlers like the following code
>
> function ThingOne
> repeat forever
> --Single step of long process
> --Write to edit control
> wait for 0 seconds with messages
> end repeat
> end function
>
> function ThingTwo
> --SIngle step another long process
> --Write Edit
> wait for 0 seconds with messages
> end function
>
> At this point I click a button invoking ThinOne then the button invoking ThingTwo. Only 1 of the functions seem to be running why? Does wait with messages not allow currently executing handlers to continue until the currently handler exits?
>
> Shouldn't this alternate? If not how do you make them alternate? I am aware of "send in time" but that is not the manner in which the specific problem should be solved.
>
>
> Kevin
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From jeff at siphonophore.com Fri Sep 2 14:31:46 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Fri, 02 Sep 2005 14:31:46 -0400 Subject: classic file paths In-Reply-To: <20050902170003.E1BFB824F42@mail.runrev.com> References: <20050902170003.E1BFB824F42@mail.runrev.com> Message-ID: <1307fca58cae6a866d1f6c3a2febc798@siphonophore.com> Thanks, I have been doing this and the structure under classic is what i thought it was /volume/users/userid/folderpath/file the problem is if i get the file path (using answer file) with an macos app running on osx under classic, this file path will not work (ie setting the filename of a image object). works great in osx, just classic not working with rev 251 engines. The only thing i could think of was that there was something different in setting a filename path in classic than what you get when you request it with answer file or long stack name, etc. cheers, jeff On Sep 2, 2005, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > At 3:03 AM -0400 9/1/2005, Jeffrey Reynolds wrote: >> I guess its a bit moot since i will be having an osx version, so >> wont have to have an macos running under classic, but I would like >> to know the file path structure is for my own edification. > > There's some variation between OS X and Classic, but the easiest way > to explore this is to put this in the message box: > > answer file "What file?";answer it > > This lets you pick a file, then shows you what the path to the file > looks like. Helpful when debugging, or just to generally investigate > what different file paths look like. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com From mwieder at ahsoftware.net Sat Sep 3 00:37:50 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 2 Sep 2005 21:37:50 -0700 Subject: Silly transcript syntax Message-ID: <17647652120.20050902213750@ahsoftware.net> Whew- I'm really glad I could type this and didn't have to say it out loud... replace quote with quote && "& quote &" && quote -- -Mark Wieder mwieder at ahsoftware.net (feeling a bit like singing a Monty Python spam song at the moment) From dick.kriesel at mail.com Sat Sep 3 04:39:30 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 03 Sep 2005 01:39:30 -0700 Subject: Silly transcript syntax In-Reply-To: <17647652120.20050902213750@ahsoftware.net> Message-ID: On 9/2/05 9:37 PM, "Mark Wieder" wrote: > Whew- > > I'm really glad I could type this and didn't have to say it out > loud... > > replace quote with quote && "& quote &" && quote A token of interest in this quote... after n times the number of tokens is 2^(n+1)-3 Will you offer a quote on why you offered that quote? -- Dick From klaus at major-k.de Sat Sep 3 05:03:31 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 3 Sep 2005 11:03:31 +0200 Subject: Web integration - round trip and point 5? In-Reply-To: References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: Hi David, > Done my best to give this an exciting title :) Can anyone help > polish this list... it's full of half knowledge.... > > So how to make the most of Rev web integration? > > 1) Use the altBrowser external to embed a browser in Rev > 2) Store stacks on Http or https server and update them there > 3) Cache them locally for offline storage > 4) Check md5Hash of stacks and update cache if different > > 5) Allow users to open stacks from browser by selecting HTMl > link in browser page.... > 6) If minimal engine not installed - direct to player download > page > 7) Ideally provide 1.5 MB unstuffed player > > How to make 5) easy? is there still a stack / scripts floating > around that set browser mime type for Rev stacks? > What does the HTML stack link look like for calling up a local > stack? Remote stack? you are still talking about using altBrowser inside Rev? In that case you can link to local stack or stack on the server just like any html-link and simply check the link the user clicks inside the altBrowser with: (No need for mimetypes etc...) on XBrowser_beforeNavigate URL_clicked ... ##do somthing with URL_clicked ... end XBrowser_beforeNavigate But maybe i did not quite understand what you are after... :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From sims at ezpzapps.com Sat Sep 3 05:53:37 2005 From: sims at ezpzapps.com (sims) Date: Sat, 3 Sep 2005 11:53:37 +0200 Subject: import snapshot PC vs OSX Message-ID: I am playing a video using mciSendstring. When I try to use "import snapshot" on the PC, the area in the imported image, where the video is displayed, appears black (no video image showing). If I use "import snapshot" on OSX with QT the video image will show up in the imported image. How can I (or can I) use "import snapshot" on a PC displaying video and have the video image show up (not appear all black)?? ciao, sims From 36degrees at runrev.com Sat Sep 3 08:45:01 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sat, 03 Sep 2005 13:45:01 +0100 Subject: import snapshot PC vs OSX In-Reply-To: References: Message-ID: <1125751501.3667.61.camel@rachmaninov> Hi Sims, The digital video device of MCI bypasses the standard screen buffer on most systems (video card dependant) and as such Revolution will not be able to snapshot the part of the screen the video is displayed on. There might be some options when configuring the MCI device to disable this behaviour - in which case you should get the desired result. Alternatively, I believe MCI has a 'capture' command to grab a still from an MCI device. Hope this helps, Mark. On Sat, 2005-09-03 at 11:53 +0200, sims wrote: > I am playing a video using mciSendstring. > > When I try to use "import snapshot" on the PC, the area in the > imported image, where the > video is displayed, appears black (no video image showing). > > If I use "import snapshot" on OSX with QT the video image will show > up in the imported image. > > > How can I (or can I) use "import snapshot" on a PC displaying video > and have the video image show up (not appear all black)?? > > ciao, > sims ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From sims at ezpzapps.com Sat Sep 3 09:05:54 2005 From: sims at ezpzapps.com (sims) Date: Sat, 3 Sep 2005 15:05:54 +0200 Subject: import snapshot PC vs OSX In-Reply-To: <1125751501.3667.61.camel@rachmaninov> References: <1125751501.3667.61.camel@rachmaninov> Message-ID: At 1:45 PM +0100 9/3/05, Mark Waddingham wrote: >On Sat, 2005-09-03 at 11:53 +0200, sims wrote: > I am playing a video using mciSendstring. > > How can I (or can I) use "import snapshot" on a PC displaying video > and have the video image show up (not appear all black)?? At 1:45 PM +0100 9/3/05, Mark Waddingham wrote: >Alternatively, I believe MCI has a 'capture' command to grab a still >from an MCI device. Thanks Mark, I happened to have google open with "mciSendstring capture" in the fld as I read your reply...maybe I'm on the right track. ciao, sims From nicolas_cueto at yahoo.com Sat Sep 3 09:50:24 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Sat, 3 Sep 2005 22:50:24 +0900 Subject: libURLFormData and PHP (and MySQL) Message-ID: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> Hello List, I'm trying to pass form variables from a stack to a MySQL database via a set of PHP pages -- one page contains an HTML form with a PHP script, the other contains the PHP script that receives the form variables via an URL request string (?) and adds them to the database. (And please don't suggest using Rev's sql commands. My webhost only allows access to databases via a PHP interface.) The problem is, I don't see how to use Rev to send form variables to a PHP script which usually relies on the info being typed into the input fields of the HTML form. (The problem, too, is that I've only a hazy understanding of PHP and HTML forms.) Hope that was clear... If it helps any, I've also appended below the outlines of the two PHP pages. Confused yet grateful, Nicolas Cueto niconiko language school ## PHP PAGE FOR ENTERING TYPED DATA ## lastName; $firstName = $contact -> firstName; $email = $contact -> email;}} // print out the form ?>
First Name


### PHP PAGE FOR RECEIVING AND PASSING THE FORM ## DATA TO THE DATABASE (a.k.a. "saveitem.php") From scott at tactilemedia.com Sat Sep 3 10:47:51 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 03 Sep 2005 07:47:51 -0700 Subject: import snapshot PC vs OSX In-Reply-To: <1125751501.3667.61.camel@rachmaninov> Message-ID: >> How can I (or can I) use "import snapshot" on a PC displaying video >> and have the video image show up (not appear all black)?? > The digital video device of MCI bypasses the standard screen buffer on > most systems (video card dependant) and as such Revolution will not be > able to snapshot the part of the screen the video is displayed on. > > There might be some options when configuring the MCI device to disable > this behaviour - in which case you should get the desired result. > Alternatively, I believe MCI has a 'capture' command to grab a still > from an MCI device. In the *very old* MCI reference I have, the document seems to imply that a "capture" can be made but it only references audio as an example and the way "record" is used here seems refer to the device itself, not the system. But it might be worth trying with video. open new type waveaudio alias capture record capture stop capture save capture orca.wav close capture Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From lists at mangomultimedia.com Sat Sep 3 10:56:27 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 3 Sep 2005 07:56:27 -0700 Subject: import snapshot PC vs OSX In-Reply-To: References: <1125751501.3667.61.camel@rachmaninov> Message-ID: <6C8B8FE4-93CD-4171-AFA5-CE634BB87240@mangomultimedia.com> On Sep 3, 2005, at 6:05 AM, sims wrote: > > Thanks Mark, > > I happened to have google open with "mciSendstring capture" in the fld > as I read your reply...maybe I'm on the right track. Here are the latest docs on capture: -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From klaus at major-k.de Sat Sep 3 11:25:26 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 3 Sep 2005 17:25:26 +0200 Subject: import snapshot PC vs OSX In-Reply-To: References: Message-ID: Hi sims, > I am playing a video using mciSendstring. > > When I try to use "import snapshot" on the PC, the area in the > imported image, where the > video is displayed, appears black (no video image showing). > > If I use "import snapshot" on OSX with QT the video image will show > up in the imported image. > > How can I (or can I) use "import snapshot" on a PC displaying video > and have the video image show up (not appear all black)?? I think you already found some docs via Google :-) I found this one very useful: http://www.geocities.com/smigman.geo/mci/ Please keep in mind that you will have to pass the "shortfilepath()" of filenames in your shell calls. MCISendstring ONLY accepts short filepaths! See: ->shortfilepath and ->longfilepath in the docs. Drop a line if you need some assistance, although I have no big idea of MCI, I am very willing to learn. At least until Rev supports WindowsMedia natively ;-) > ciao, > sims Have a nice weekend. Best from sunny germany Klaus Major klaus at major-k.de http://www.major-k.de From psahores at easynet.fr Sat Sep 3 11:36:59 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 3 Sep 2005 17:36:59 +0200 Subject: libURLFormData and PHP (and MySQL) In-Reply-To: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> References: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> Message-ID: <0ECD1CA9-323B-4B38-BA25-D29F4A9D4A5B@easynet.fr> Hello Nicolas, See if you can get what you need i cloning this transcript stack's form code : > set httpheaders to "Content-type: application/x-www-form- > urlencoded" & return > post "is001=5&is002=" & word 1 of fld "account" of stack > "addnewuser" & \ > "&is003=" & word 1 of fld "password" of stack "addnewuser" & \ > "&is004=" & word 1 of fld "biblio" of stack "addnewuser" & > "&" to url (testurl() & "istream.php") > if it is "" then > answer "La connexion avec le serveur distant est rompue." & > return & \ > "V?rifiez votre configuration d'acc?s ? l'internet" > else if it contains "connection refused" then > answer "Le serveur contact? est, provisoirement, > indisponible." & return & "Merci de votre compr?hension..." > else if it contains "bien vouloir en choisir un autre" then > answer it > else > doUsersListView > answer "L'utilisateur" && quote & word 1 of fld "account" of > stack "addnewuser" & quote && \ > "a ?t? ajout? ? la base des utilisateurs iMire." > end if witch post datas to the below php-rpc brooker : > > // if ($REQUEST_METHOD == POST) { // PHP < 4.10 > if (!empty($_POST)) { // PHP >= 4.10 > > // $headers = $HTTP_POST_VARS; // PHP < 4.10 > $headers = $_POST; // PHP >= 4.10 > > while (list($header, $value) = each($headers)) $exAE .= > "$header=$value&"; > $exAE = urlencode($exAE); > $activapp = substr($exAE,0,5); > > if ($activapp == "is001") { > > $connection = fsockopen("localhost", "9482", & > $error_number, &$error_description, "30"); > if ($connection) { > set_socket_blocking($connection, true); > fputs($connection,""); > fputs($connection,"$exAE"."\r\n"); > fpassthru($connection); > } > else { > $connection = fsockopen("localhost", "948", & > $error_number, &$error_description, "30"); > if ($connection) { > set_socket_blocking($connection, true); > fputs($connection,""); > fputs($connection,"$exAE"."\r\n"); > fpassthru($connection); > } > else print("erreur num?ro $error_number > ($error_description)
\n"); > } > } > } > > else print("ERROR: File Not Found". > "

File Not Found H1>

". > "

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

". > "
\n"); > > ?> Beside the concept, this method is the one i use since 1997 to bind Rev or Web client-side forms to Rev application's servers whose are "reading from the php-rpc socket input what they have to do. Hope this can help. For a more general introduction to this design and method, have an eye at the turorial / downloadable example app i wrote at : Best Regards, P. Sahores Le 3 sept. 05 ? 15:50, Nicolas Cueto a ?crit : > Hello List, > > I'm trying to pass form variables from a stack to > a MySQL database via a set of PHP pages -- > one page contains an HTML form with a PHP script, > the other contains the PHP script that receives > the form variables via an URL request string (?) and > adds them to the database. (And please don't suggest > using Rev's sql commands. My webhost only allows > access to databases via a PHP interface.) > > The problem is, I don't see how to use Rev to send > form variables to a PHP script which usually relies > on the info being typed into the input fields of the > HTML form. (The problem, too, is that I've only a > hazy understanding of PHP and HTML forms.) > > Hope that was clear... If it helps any, I've also appended > below the outlines of the two PHP pages. > > Confused yet grateful, > > Nicolas Cueto > niconiko language school > > > ## PHP PAGE FOR ENTERING TYPED DATA ## > > // get the id from the URL request > $id = $_REQUEST['id']; > if( $id ) { // connect to the server > mysql_connect( 'localhost', 'low_test', 'test' ) > or die( "Error! Could not connect to database: " . > mysql_error() ); > // select the database > mysql_select_db( 'low_test' ) > or die( "Error! Could not select the database: " . > mysql_error() ); > // retrieve the row from the database > $query = "SELECT * FROM `contacts` WHERE `id`='$id'"; > $result = mysql_query( $query ); > if( $result && $contact = mysql_fetch_object( $result ) ) > { // set our variables > $lastName = $contact -> lastName; > $firstName = $contact -> firstName; > $email = $contact -> email;}} > // print out the form ?> >
> > > > > > > > >
First Name > /> >
>

>
> > > > ### PHP PAGE FOR RECEIVING AND PASSING THE FORM > ## DATA TO THE DATABASE (a.k.a. "saveitem.php") > > > // connect to the server > mysql_connect( 'localhost', 'username', 'password' ) > or die( "Error! Could not connect to database: " . > mysql_error() ); > // select the database > mysql_select_db( 'database_name' ) > or die( "Error! Could not select the database: " . > mysql_error() ); > // get the variables from the URL request string > $id = $_REQUEST['id']; > $firstName = $_REQUEST['firstName']; > $lastName = $_REQUEST['lastName']; > $email = $_REQUEST['email']; > // if $id is not defined, we have a new entry, otherwise update the > old entry > if( $id ) > { $query = "UPDATE `contacts` SET `firstName`='$firstName', > `lastName`='$lastName', > `email`='$email' WHERE `id`='$id'"; } > else > { $query = "INSERT INTO `contacts` ( > `firstName`,`lastName`,`email` ) > VALUES ( '$firstName','$lastName','$email' )"; } > // save the info to the database > $results = mysql_query( $query ); > // print out the results > if( $results ) > { echo( "Successfully saved the entry." ); } > else > { die( "Trouble saving information to the database: " . > mysql_error() ); } ?> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From jcwall at jaguar1.usouthal.edu Sat Sep 3 12:04:25 2005 From: jcwall at jaguar1.usouthal.edu (jcwall at jaguar1.usouthal.edu) Date: Sat, 03 Sep 2005 11:04:25 -0500 Subject: BeepPitch Message-ID: <430a8a42f1d0.42f1d0430a8a@jaguar1.usouthal.edu> Does anyone know of a workaround for changing the pitch of the beep since the beepPitch command is not supported on all but linnux platforms. I need auditory confirmation of which one of a pair of buttons has been clicked and would very much like to be able to have each of the buttons identifiable from the sound that results from the click. Jim Wall From sims at ezpzapps.com Sat Sep 3 13:31:35 2005 From: sims at ezpzapps.com (sims) Date: Sat, 3 Sep 2005 19:31:35 +0200 Subject: import snapshot PC vs OSX In-Reply-To: References: Message-ID: >Hi sims, > >>I am playing a video using mciSendstring. Thanks Scott, Trevor, & Klaus! I'm now literally an island away from my PC and will take this up again on Monday! See (talk/email) to you then Klaus! Thanks all. ciao, sims From tmc7056 at yahoo.com Sat Sep 3 14:14:06 2005 From: tmc7056 at yahoo.com (Tom McDonald) Date: Sat, 3 Sep 2005 11:14:06 -0700 (PDT) Subject: Messages Message-ID: <20050903181406.88324.qmail@web53014.mail.yahoo.com> Hi, I've been wallowing in the Shafer book and Rev tutorials for a week but still am unclear on the concept of MESSAGES. Could someone explain it in plain English? Tom McDonald --------------------------------- Start your day with Yahoo! - make it your home page From ambassador at fourthworld.com Sat Sep 3 14:29:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Sep 2005 11:29:40 -0700 Subject: Messages In-Reply-To: <20050903181406.88324.qmail@web53014.mail.yahoo.com> References: <20050903181406.88324.qmail@web53014.mail.yahoo.com> Message-ID: <4319EB94.1020604@fourthworld.com> Tom McDonald wrote: > I've been wallowing in the Shafer book and Rev tutorials > for a week but still am unclear on the concept of MESSAGES. > Could someone explain it in plain English? I gave it my best shot here: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From FlexibleLearning at aol.com Sat Sep 3 14:32:48 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 3 Sep 2005 14:32:48 EDT Subject: BeepPitch Message-ID: <75.4cbbcbbd.304b4650@aol.com> Try storing your own 'beeps' as audio files and playing them instead. /H Does anyone know of a workaround for changing the pitch of the beep since the beepPitch command is not supported on all but linnux platforms. I need auditory confirmation of which one of a pair of buttons has been clicked and would very much like to be able to have each of the buttons identifiable from the sound that results from the click. From JimAultWins at yahoo.com Sat Sep 3 14:39:17 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 03 Sep 2005 11:39:17 -0700 Subject: Messages In-Reply-To: <20050903181406.88324.qmail@web53014.mail.yahoo.com> Message-ID: There are four men standing at a bar waiting for a beer to drink. The bartender at one end pours a beer and sends it sliding down the bar where the first man grabs the mug and begins drinking. A second beer slides down the bar and again, the first man grabs the beer. This will continue all day and only the first man is drinking. Now, if the first man is told to grab every beer, inspect it, and then PASS it down, the second man will get a chance to grab a beer. In the case where the first man has ordered a scotch on the rocks, he does not grab the beer, and never tries to grab a beer. he is not waiting for a beer. The first moral is that if you are thirsty, don't stand at the far end of the bar. Second, order something no one else wants. Third, choose a bar where everyone is willing to share and pass the drinks down the line. Important note: if the bartender slides a Shirley Temple that no one wants, it slides to the end of the bar and disappears. Most messages sent are not actually trapped and used, but are sent because they are triggered by events. And since you wanted this explained in English, imagine the bar is a pub in London. The analogy breaks down in this case, however, since as soon as the first man grabbed the second beer, there would be shouting, fisticuffs, and a small skirmish. Jim Ault Las Vegas On 9/3/05 11:14 AM, "Tom McDonald" wrote: > Hi, > I've been wallowing in the Shafer book and Rev tutorials for a week but still > am unclear on the concept of MESSAGES. Could someone explain it in plain > English? > Tom McDonald > > > --------------------------------- > Start your day with Yahoo! - make it your home page > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Sat Sep 3 14:39:15 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 3 Sep 2005 20:39:15 +0200 Subject: BeepPitch In-Reply-To: <20050903170003.97DDD824E18@mail.runrev.com> Message-ID: <07AEB29F-1CAA-11DA-B312-0030659A795C@derbrill.de> Hi Jim, Have you considdered using two different audioclips? You could embed two (very small) audioclips, e.G. uncompressed wav files into your stack and play the correct audioclip for each button. Choose File->Import as control->Audioclip and use a script like this: on mouseUp play audioclip "myClip1.wav" end mouseUp Hope that helps, Malte > Does anyone know of a workaround for changing the pitch of the > beep since the beepPitch command is not supported on all but > linnux platforms. I need auditory confirmation of which one of a > pair of buttons has been clicked and would very much like to be > able to have each of the buttons identifiable from the sound that > results from the click. > Jim Wall --- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From gcanyon at inspiredlogic.com Sat Sep 3 14:42:00 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 3 Sep 2005 11:42:00 -0700 Subject: I have asked this before. In-Reply-To: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> References: <20050902144000.12863BF929@xprdmailfe27.nwk.excite.com> Message-ID: <1ABF44CC-D767-4704-9628-33C3CF9B2E29@inspiredlogic.com> On Sep 2, 2005, at 7:40 AM, N wrote: > At this point I click a button invoking ThinOne then the button > invoking ThingTwo. Only 1 of the functions seem to be running > why? Does wait with messages not allow currently executing > handlers to continue until the currently handler exits? > > Shouldn't this alternate? If not how do you make them alternate? I > am aware of "send in time" but that is not the manner in which the > specific problem should be solved. wait 0 seconds with messages This only allows for messages to be processed. So when you click a button to start ThingTwo, ThingTwo will start the next time ThingOne does the wait command. But then ThingTwo has control. It will run until it exits, at which point ThingOne regains control and continues processing. There may be a clever trick I don't know about, but I think your options are to figure out a way to get the job done in one routine, or switch to send...in. Or build your own thread implementation. Bear in mind, Threads Are A Bad Idea (for most purposes): http://home.pacbell.net/ouster/threads.pdf HTML-only version: http://www.softpanorama.org/People/Ousterhout/ Threads/index.shtml From revdan at danshafer.com Sat Sep 3 15:19:32 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 3 Sep 2005 12:19:32 -0700 Subject: Messages In-Reply-To: References: Message-ID: I love this analogy, Jim. I'd suggest a slight tweak. The row of drinkers consists of three guys. The first one only drinks Guinness. The second only drinks Bud Light. The third will drink anything with alcohol. So when the bartender slides a Guinness, the first guy gets it. If he slides a Bud Light, the first guy turns up his nose and the second guy stops it and drinks it. In both of those cases, the third guy is still thirsty. Now the bartender slides a glass of Chardonnay. The first guy turns up his nose, the second guy hardly recognizes it and the third guy finally gets a drink. Next, the bartender slides a Shirley Temple. It goes past all three guys and crashes to the floor. Great analogy. On Sep 3, 2005, at 11:39 AM, Jim Ault wrote: > There are four men standing at a bar waiting for a beer to drink. The > bartender at one end pours a beer and sends it sliding down the bar > where > the first man grabs the mug and begins drinking. > A second beer slides down the bar and again, the first man grabs > the beer. > This will continue all day and only the first man is drinking. > > Now, if the first man is told to grab every beer, inspect it, and > then PASS > it down, the second man will get a chance to grab a beer. > > In the case where the first man has ordered a scotch on the rocks, > he does > not grab the beer, and never tries to grab a beer. he is not > waiting for a > beer. > > The first moral is that if you are thirsty, don't stand at the far > end of > the bar. > Second, order something no one else wants. > Third, choose a bar where everyone is willing to share and pass the > drinks > down the line. > > Important note: if the bartender slides a Shirley Temple that no > one wants, > it slides to the end of the bar and disappears. Most messages sent > are not > actually trapped and used, but are sent because they are triggered by > events. > > And since you wanted this explained in English, imagine the bar is > a pub in > London. The analogy breaks down in this case, however, since as > soon as the > first man grabbed the second beer, there would be shouting, > fisticuffs, and > a small skirmish. > > Jim Ault > Las Vegas > > > > > On 9/3/05 11:14 AM, "Tom McDonald" wrote: > > >> Hi, >> I've been wallowing in the Shafer book and Rev tutorials for a >> week but still >> am unclear on the concept of MESSAGES. Could someone explain it in >> plain >> English? >> Tom McDonald >> >> >> --------------------------------- >> Start your day with Yahoo! - make it your home page >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From jcwall at jaguar1.usouthal.edu Sat Sep 3 18:10:28 2005 From: jcwall at jaguar1.usouthal.edu (jcwall at jaguar1.usouthal.edu) Date: Sat, 03 Sep 2005 17:10:28 -0500 Subject: BeepPitch Message-ID: <433533434fbc.434fbc433533@jaguar1.usouthal.edu> Malte: This was something I had considered, but the beepPitch seemed like such a neat solution. However, what you have suggested does have the advantage that I can provide the exact audio feedback that I want. Many thanks for your help. Jim ------------------------------------- James C. Wall, PhD Professor Department of Physical Therapy University of South Alabama 1504 Springhill Avenue, Room 1214 Mobile AL 36604 (251) 434 3575 ----- Original Message ----- From: Malte Brill Date: Saturday, September 3, 2005 1:39 pm Subject: Re: BeepPitch > Hi Jim, > > Have you considdered using two different audioclips? You could > embed > two (very small) audioclips, e.G. uncompressed wav files into your > stack and play the correct audioclip for each button. > > Choose > > File->Import as control->Audioclip > > and use a script like this: > > on mouseUp > play audioclip "myClip1.wav" > end mouseUp > > Hope that helps, > > Malte > > > Does anyone know of a workaround for changing the pitch of the > > beep since the beepPitch command is not supported on all but > > linnux platforms. I need auditory confirmation of which one of a > > pair of buttons has been clicked and would very much like to be > > able to have each of the buttons identifiable from the sound that > > results from the click. > > > Jim Wall > > > --- > ArcadeEngine - prepare to WOW your audience within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nicolas_cueto at yahoo.com Sun Sep 4 06:42:12 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Sun, 4 Sep 2005 19:42:12 +0900 Subject: libURLFormData and PHP (and MySQL) References: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> <0ECD1CA9-323B-4B38-BA25-D29F4A9D4A5B@easynet.fr> Message-ID: <001e01c5b13d$4fc79b10$0b01a8c0@niconiko04zbtb> Thank you to Pierre for the sample scripts. Now, if only someone would dumb down the examples into terms simple enough so that even moi can understand how form variables could be passed from Rev to a PHP script ... Still very confused, Nicolas Cueto niconiko language school From sameeh.sohbi at gmail.com Sun Sep 4 06:54:23 2005 From: sameeh.sohbi at gmail.com (sameeh sohbi) Date: Sun, 4 Sep 2005 13:54:23 +0300 Subject: CGI Problem Message-ID: First of all, I would like to thank you very much for your help and support. I have a little problem, I have a revolution program that contains a number of functions that accept parameters and return output. The program is working perfectly, but when trying to call its functions by using CGI to display the results on an HTML page, I either get irregular results or no result at all. I tried the following to solve the problem: 1. Made sure that the functions names are correct 2. checked the text encoding but still I am stuck, anybody can help? -- Sameeh H. Sohbi From mark at maseurope.net Sun Sep 4 07:50:13 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 4 Sep 2005 12:50:13 +0100 Subject: CGI Problem In-Reply-To: References: Message-ID: <124a5de641c78b82e5f6ca465ead4688@maseurope.net> Is the stack containing the functions in the same folder as the CGI (probably /cgi-bin)? If you are using it as a library stack, then in your cgi script you need to 'start using' it. Does this help? Mark On 4 Sep 2005, at 11:54, sameeh sohbi wrote: > First of all, I would like to thank you very much for your help and > support. > I have a little problem, I have a revolution program that contains a > number > of functions that accept parameters and return output. The program is > working perfectly, but when trying to call its functions by using CGI > to > display the results on an HTML page, I either get irregular results or > no > result at all. > > I tried the following to solve the problem: > > > 1. Made sure that the functions names are correct > 2. checked the text encoding > > but still I am stuck, anybody can help? > > > -- > Sameeh H. Sohbi > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sameeh.sohbi at gmail.com Sun Sep 4 07:58:02 2005 From: sameeh.sohbi at gmail.com (sameeh sohbi) Date: Sun, 4 Sep 2005 14:58:02 +0300 Subject: CGI Problem In-Reply-To: <124a5de641c78b82e5f6ca465ead4688@maseurope.net> References: <124a5de641c78b82e5f6ca465ead4688@maseurope.net> Message-ID: Thanx mark,, Yep the stack is in the same folder. I am using it in my CGI script as you mentioned. I still have the same problem. Kind regards On 9/4/05, Mark Smith wrote: > > Is the stack containing the functions in the same folder as the CGI > (probably /cgi-bin)? > If you are using it as a library stack, then in your cgi script you > need to 'start using' it. > > Does this help? > > Mark > > On 4 Sep 2005, at 11:54, sameeh sohbi wrote: > > > First of all, I would like to thank you very much for your help and > > support. > > I have a little problem, I have a revolution program that contains a > > number > > of functions that accept parameters and return output. The program is > > working perfectly, but when trying to call its functions by using CGI > > to > > display the results on an HTML page, I either get irregular results or > > no > > result at all. > > > > I tried the following to solve the problem: > > > > > > 1. Made sure that the functions names are correct > > 2. checked the text encoding > > > > but still I am stuck, anybody can help? > > > > > > -- > > Sameeh H. Sohbi > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Sameeh H. Sohbi From wlists at fireworksmm.com Sun Sep 4 08:23:50 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Sun, 4 Sep 2005 08:23:50 -0400 Subject: Password generator In-Reply-To: <6FFD08A9-4BC8-498F-BD21-9505943F3B07@fireworksmm.com> References: <2B816059-EB68-463F-B2C3-5BDEB6D16001@fireworksmm.com> <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> <6FFD08A9-4BC8-498F-BD21-9505943F3B07@fireworksmm.com> Message-ID: <7C7673C7-1C50-4F5F-AA39-12DD88DEB88F@fireworksmm.com> I wanted to bump this subject as I still can't call a shell program from RR and the deadline is looming. Any suggestions? On Aug 28, 2005, at 5:15 PM, Wally Rodriguez wrote: > So htpasswd works great, but I can't seem to be able to call it > from RR. I tried to use shell with no luck. > > Can anybody help me figure out how to get this to work? I already > set the shellCommand path to the correct one (/bin/tcsh in this case). > > Any suggestions? > > W. > > On Aug 23, 2005, at 5:31 PM, Gordon Tillman wrote: > > > > >> Hi Wally, >> >> On Aug 23, 2005, at 16:25, Wally Rodriguez wrote: >> >> >> >> >> >>> Does anyone here know where I can find an .htaccess-compatible >>> password generator? >>> >>> I am setting up a website generator program that will require >>> this functionality, but the only thing I can find is php-based >>> systems. >>> >>> >>> >>> >> >> Do you have access to the htpasswd command on your system? That >> is what I use to generate passwords manually and I'll bet that you >> can call it from RR if you need to. >> >> -gordon >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dcragg at lacscentre.co.uk Sun Sep 4 10:42:57 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 4 Sep 2005 15:42:57 +0100 Subject: libURLFormData and PHP (and MySQL) In-Reply-To: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> References: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> Message-ID: On 3 Sep 2005, at 14:50, Nicolas Cueto wrote: > The problem is, I don't see how to use Rev to send > form variables to a PHP script which usually relies > on the info being typed into the input fields of the > HTML form. (The problem, too, is that I've only a > hazy understanding of PHP and HTML forms.) > > ### PHP PAGE FOR RECEIVING AND PASSING THE FORM > ## DATA TO THE DATABASE (a.k.a. "saveitem.php") > > > // connect to the server > mysql_connect( 'localhost', 'username', 'password' ) > or die( "Error! Could not connect to database: " . > mysql_error() ); > // select the database > mysql_select_db( 'database_name' ) > or die( "Error! Could not select the database: " . > mysql_error() ); > // get the variables from the URL request string > $id = $_REQUEST['id']; > $firstName = $_REQUEST['firstName']; > $lastName = $_REQUEST['lastName']; > $email = $_REQUEST['email']; > // if $id is not defined, we have a new entry, otherwise update the > old entry > if( $id ) > { $query = "UPDATE `contacts` SET `firstName`='$firstName', > `lastName`='$lastName', > `email`='$email' WHERE `id`='$id'"; } > else > { $query = "INSERT INTO `contacts` ( > `firstName`,`lastName`,`email` ) > VALUES ( '$firstName','$lastName','$email' )"; } > // save the info to the database > $results = mysql_query( $query ); > // print out the results > if( $results ) > { echo( "Successfully saved the entry." ); } > else > { die( "Trouble saving information to the database: " . > mysql_error() ); } ?> > > Hi Nicolas I don't know PHP, but it looks like the PHP script expects 4 form items named id, firstName, lastName and email. In your script, try something like the following: put "abc123" into tID put "Cueto" into tLastName put "Nicolas" into tFirstName put "whatever at wherever.com" into tEmail put libUrlFormData("id", tID, "firstName", tFirstName, "lastName", tLastName, "email", tEmail) into tForm put "http://whatever.com/saveitem.php" into tUrl ## if using GET put "?" & tForm after tUrl get url tUrl ## if using POST post tForm to url tUrl Cheers Dave From dcragg at lacscentre.co.uk Sun Sep 4 10:42:57 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 4 Sep 2005 15:42:57 +0100 Subject: libURLFormData and PHP (and MySQL) In-Reply-To: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> References: <001801c5b08e$6fcfa150$0b01a8c0@niconiko04zbtb> Message-ID: On 3 Sep 2005, at 14:50, Nicolas Cueto wrote: > The problem is, I don't see how to use Rev to send > form variables to a PHP script which usually relies > on the info being typed into the input fields of the > HTML form. (The problem, too, is that I've only a > hazy understanding of PHP and HTML forms.) > > ### PHP PAGE FOR RECEIVING AND PASSING THE FORM > ## DATA TO THE DATABASE (a.k.a. "saveitem.php") > > > // connect to the server > mysql_connect( 'localhost', 'username', 'password' ) > or die( "Error! Could not connect to database: " . > mysql_error() ); > // select the database > mysql_select_db( 'database_name' ) > or die( "Error! Could not select the database: " . > mysql_error() ); > // get the variables from the URL request string > $id = $_REQUEST['id']; > $firstName = $_REQUEST['firstName']; > $lastName = $_REQUEST['lastName']; > $email = $_REQUEST['email']; > // if $id is not defined, we have a new entry, otherwise update the > old entry > if( $id ) > { $query = "UPDATE `contacts` SET `firstName`='$firstName', > `lastName`='$lastName', > `email`='$email' WHERE `id`='$id'"; } > else > { $query = "INSERT INTO `contacts` ( > `firstName`,`lastName`,`email` ) > VALUES ( '$firstName','$lastName','$email' )"; } > // save the info to the database > $results = mysql_query( $query ); > // print out the results > if( $results ) > { echo( "Successfully saved the entry." ); } > else > { die( "Trouble saving information to the database: " . > mysql_error() ); } ?> > > Hi Nicolas I don't know PHP, but it looks like the PHP script expects 4 form items named id, firstName, lastName and email. In your script, try something like the following: put "abc123" into tID put "Cueto" into tLastName put "Nicolas" into tFirstName put "whatever at wherever.com" into tEmail put libUrlFormData("id", tID, "firstName", tFirstName, "lastName", tLastName, "email", tEmail) into tForm put "http://whatever.com/saveitem.php" into tUrl ## if using GET put "?" & tForm after tUrl get url tUrl ## if using POST post tForm to url tUrl Cheers Dave From kray at sonsothunder.com Sun Sep 4 11:31:32 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 04 Sep 2005 10:31:32 -0500 Subject: Password generator In-Reply-To: <7C7673C7-1C50-4F5F-AA39-12DD88DEB88F@fireworksmm.com> Message-ID: On 9/4/05 7:23 AM, "Wally Rodriguez" wrote: > I wanted to bump this subject as I still can't call a shell program > from RR and the deadline is looming. Any suggestions? This is through a Rev CGI, right? If so, you can't execute shell, applescript or launch applications (AFAIK). Is there any reason why you need htpasswd instead of writing your own password generator? Just na?ve about this and curious... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From DanielWenger at worldnet.att.net Sun Sep 4 11:38:45 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Sun, 4 Sep 2005 08:38:45 -0700 Subject: stack inspector blank Message-ID: <78864A2B-EA56-4A7A-B968-D4CB38308097@worldnet.att.net> I seem to have broken my stack somehow. The stack inspector is blank. When in the Edit mode controls are still active and I cannot edit an object. I can go to Application Browser and select a card and an object and edit it that way but I have lost normal control of the editing features. Any ideas? Daniel Wenger From howard.bornstein at gmail.com Sun Sep 4 12:32:53 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sun, 4 Sep 2005 12:32:53 -0400 Subject: Text Menu--what happened to size? Message-ID: <3f07cc26050904093254a0211b@mail.gmail.com> It could be that my brain has finally given up the ghost, but I was sure that the Text menu in Rev used to have both Size and Align menu items. Currently, when I check the text menu it shows: ------------ plain bold italic underline strikeout box 3d box -- link -- subscript superscript -- Font ------------ Did I just make these other items up? I'm sure I've used them before in formatting text within fields. Does anyone else remember these items in the Text menu? -- Regards, Howard Bornstein ----------------------- www.designeq.com From revolution at derbrill.de Sun Sep 4 13:25:48 2005 From: revolution at derbrill.de (Malte Brill) Date: Sun, 4 Sep 2005 19:25:48 +0200 Subject: stack inspector blank In-Reply-To: <20050904170004.1CE1F824DBC@mail.runrev.com> Message-ID: Hi Daniel, have you changed the mode of the stack? Is it a palette now? If so type toplevel stack "yourStackNameHere" into the messagebox. It might also be that you set the systemWindow of the stack to true. Try in the messagebox: set the systemWindow of stack "yourStackNameHere" to false Hope that helps, Malte --- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From mwieder at ahsoftware.net Sun Sep 4 14:13:59 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 4 Sep 2005 11:13:59 -0700 Subject: Messages In-Reply-To: References: Message-ID: <42503539.20050904111359@ahsoftware.net> Tom- And just to make things a bit clearer: There are three objects drinking at a bar: A button, a card, and a stack. The button only drinks Guinness The card only drinks Bud Light The stack will drink anything with alcohol They each have a Drink handler: in the button handler: on Drink pSomething if pSomething is "Guinness" then answer "the button drank it" else pass Drink pSomething end if end Drink in the card handler: on Drink pSomething if pSomething is "Bud Light" then answer "the card drank it" else pass Drink pSomething end if end Drink in the stack handler: on Drink pSomething if HasAlcohol(pSomething) then answer "the stack drank it" else pass Drink pSomething end if end Drink The button also has a mouseUp handler: on mouseUp Drink field "fromBartender" end mouseUp (and there's also obviously a field called "fromBartender") Now put something into the "fromBartender" field and click the button. The button's mouseUp handler sends the "Drink" message out to see who catches it. And do check out Richard's writeup on this. Here's a bonus: once you get the concept of messages, everything else falls into place pretty easily. Saturday, September 3, 2005, 12:19:32 PM, Dan wrote: > Great analogy. Indeed. -- -Mark Wieder mwieder at ahsoftware.net From DanielWenger at worldnet.att.net Sun Sep 4 14:16:08 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Sun, 4 Sep 2005 11:16:08 -0700 Subject: stack inspector blank In-Reply-To: References: Message-ID: <4A12E6A4-32C2-4B93-A56E-724D1CE4C4AC@worldnet.att.net> Thanks for the reply Malte but this suggestion did not fix the problem. I have gone back to an earlier version of the stack and proceeded from there. Still would like to know how to fix such a problem. Daniel On Sep 4, 2005, at 10:25 AM, Malte Brill wrote: > Hi Daniel, > > have you changed the mode of the stack? Is it a palette now? > > > If so type toplevel stack "yourStackNameHere" into the messagebox. > It might also be that you set the systemWindow of the stack to true. > Try in the messagebox: set the systemWindow of stack > "yourStackNameHere" to false > > Hope that helps, > > Malte > > > --- > ArcadeEngine - prepare to WOW your audience within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From aj445 at traverse.lib.mi.us Sun Sep 4 14:42:35 2005 From: aj445 at traverse.lib.mi.us (SB) Date: Sun, 4 Sep 2005 14:42:35 -0400 Subject: Messages (Jim Ault) In-Reply-To: <20050904170003.AFAD0824D69@mail.runrev.com> References: <20050904170003.AFAD0824D69@mail.runrev.com> Message-ID: Jim Ault's analogy for messages is great! For years I have been hearing about messages passed up and down, and even when carefully explained, the concept remained vague, even when I used it. This one sure isn't vague! Not that every tutorial should now start with "There were four men/martians/flamingos in a bar..." Sandy From JimAultWins at yahoo.com Sun Sep 4 20:12:13 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 04 Sep 2005 17:12:13 -0700 Subject: Messages In-Reply-To: <42503539.20050904111359@ahsoftware.net> Message-ID: Well, Mark, a bit more socially acceptable would be to use the form send "me" to "washroom" in 30 minutes to pSomething rather than every time a drink is offered. Reading your code aloud did make me laugh. > if pSomething is "Guinness" then we would know the button did it. Jim Ault On 9/4/05 11:13 AM, "Mark Wieder" wrote: > Tom- > > And just to make things a bit clearer: > > There are three objects drinking at a bar: > A button, a card, and a stack. > The button only drinks Guinness > The card only drinks Bud Light > The stack will drink anything with alcohol > > They each have a Drink handler: > > in the button handler: > on Drink pSomething > if pSomething is "Guinness" then > answer "the button drank it" > else > pass Drink pSomething > end if > end Drink > > in the card handler: > on Drink pSomething > if pSomething is "Bud Light" then > answer "the card drank it" > else > pass Drink pSomething > end if > end Drink > > in the stack handler: > on Drink pSomething > if HasAlcohol(pSomething) then > answer "the stack drank it" > else > pass Drink pSomething > end if > end Drink > > The button also has a mouseUp handler: > on mouseUp > Drink field "fromBartender" > end mouseUp > > (and there's also obviously a field called "fromBartender") > > Now put something into the "fromBartender" field and click the button. > The button's mouseUp handler sends the "Drink" message out to see who > catches it. And do check out Richard's writeup on this. Here's a > bonus: once you get the concept of messages, everything else falls > into place pretty easily. > > Saturday, September 3, 2005, 12:19:32 PM, Dan wrote: > >> Great analogy. > > Indeed. From JimAultWins at yahoo.com Sun Sep 4 20:18:02 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 04 Sep 2005 17:18:02 -0700 Subject: Messages In-Reply-To: <42503539.20050904111359@ahsoftware.net> Message-ID: I APPOLOGIZE!! I should NOT have sent the last email to the list regarding Mark's very good contribution that clarifies messages with an example. It has been a long day, I typed the response quickly and as soon as I sent it I regretted it. Again, very sorry for my mistake. My message definitely does not belong on this list! Bad taste. Won't happen again. (maybe the list mom will kill it and no one will know) Jim Ault Las Vegas On 9/4/05 11:13 AM, "Mark Wieder" wrote: > Tom- > > And just to make things a bit clearer: > > There are three objects drinking at a bar: > A button, a card, and a stack. > The button only drinks Guinness > The card only drinks Bud Light > The stack will drink anything with alcohol > > They each have a Drink handler: > > in the button handler: > on Drink pSomething > if pSomething is "Guinness" then > answer "the button drank it" > else > pass Drink pSomething > end if > end Drink > > in the card handler: > on Drink pSomething > if pSomething is "Bud Light" then > answer "the card drank it" > else > pass Drink pSomething > end if > end Drink > > in the stack handler: > on Drink pSomething > if HasAlcohol(pSomething) then > answer "the stack drank it" > else > pass Drink pSomething > end if > end Drink > > The button also has a mouseUp handler: > on mouseUp > Drink field "fromBartender" > end mouseUp > > (and there's also obviously a field called "fromBartender") > > Now put something into the "fromBartender" field and click the button. > The button's mouseUp handler sends the "Drink" message out to see who > catches it. And do check out Richard's writeup on this. Here's a > bonus: once you get the concept of messages, everything else falls > into place pretty easily. > > Saturday, September 3, 2005, 12:19:32 PM, Dan wrote: > >> Great analogy. > > Indeed. From stephenREVOLUTION at barncard.com Sun Sep 4 20:26:57 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 4 Sep 2005 17:26:57 -0700 Subject: Messages In-Reply-To: References: Message-ID: Funniest thing I've seen all day.. (I don't get out much...) >I APPOLOGIZE!! > From sarah.reichelt at gmail.com Sun Sep 4 21:08:30 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 5 Sep 2005 11:08:30 +1000 Subject: Text Menu--what happened to size? In-Reply-To: <3f07cc26050904093254a0211b@mail.gmail.com> References: <3f07cc26050904093254a0211b@mail.gmail.com> Message-ID: On 9/5/05, Howard Bornstein wrote: > It could be that my brain has finally given up the ghost, but I was > sure that the Text menu in Rev used to have both Size and Align menu > items. > Below the items you specify, I get Size, Color, a divider and then Align, all of which have submenus. I wonder do you have a corrupt font or something that could be causing problems when creating the menu? Does the Font submenu show all your fonts? Sarah From kray at sonsothunder.com Sun Sep 4 21:19:14 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 04 Sep 2005 20:19:14 -0500 Subject: CGI Problem In-Reply-To: Message-ID: On 9/4/05 6:58 AM, "sameeh sohbi" wrote: > Thanx mark,, > Yep the stack is in the same folder. I am using it in my CGI script as you > mentioned. I still have the same problem. What are the functions you're trying to call and when you say "irregular results", can you clarify? Ken From revolution at jaedworks.com Sun Sep 4 22:52:36 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 4 Sep 2005 19:52:36 -0700 Subject: Text Menu--what happened to size? In-Reply-To: <3f07cc26050904093254a0211b@mail.gmail.com> References: <3f07cc26050904093254a0211b@mail.gmail.com> Message-ID: At 12:32 PM -0400 9/4/2005, Howard Bornstein wrote: >It could be that my brain has finally given up the ghost, but I was >sure that the Text menu in Rev used to have both Size and Align menu >items. > >Currently, when I check the text menu it shows: >------------ >plain >bold >italic >underline >strikeout >box >3d box >-- >link >-- >subscript >superscript >-- >Font >------------ > >Did I just make these other items up? I'm sure I've used them before >in formatting text within fields. Does anyone else remember these >items in the Text menu? Not only that, but they're there now in my copy. It sounds like your Text menu has gotten truncated somehow - after the Font submenu, it should have Size, Color, a divider, and Align. I have no idea how they could have gone missing, however. Are they still gone if you quit and start up Rev again? Are they there if you run answer the text of menu "Text" in the message box? -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From jacque at hyperactivesw.com Mon Sep 5 01:06:22 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Sep 2005 00:06:22 -0500 Subject: Messages In-Reply-To: References: Message-ID: <431BD24E.9050101@hyperactivesw.com> Jim Ault wrote: > I APPOLOGIZE!! > > I should NOT have sent the last email to the list regarding Mark's very good > contribution that clarifies messages with an example. > > It has been a long day, I typed the response quickly and as soon as I sent > it I regretted it. > > Again, very sorry for my mistake. > My message definitely does not belong on this list! > Bad taste. Won't happen again. Bah, it wasn't even close to bad. Actually, I have been reading that fake-Hungarian code so much that I didn't even notice the p-parameters until you p-pointed it out. Once I saw the connection, I thought your reply was even funnier than Mark's original. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 5 01:11:19 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Sep 2005 00:11:19 -0500 Subject: Scripting conference stack - Files and Folders, uploaded with log Message-ID: <431BD377.1060501@hyperactivesw.com> I've just uploaded Ken Ray's excellent Files and Folders conference stack with the related conference log embedded. You can download it at the usual place: Ken, as always, was articulate and knowledgeable. If you missed it, you can catch up by downloading it now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sameeh.sohbi at gmail.com Mon Sep 5 06:09:55 2005 From: sameeh.sohbi at gmail.com (sameeh sohbi) Date: Mon, 5 Sep 2005 13:09:55 +0300 Subject: CGI Problem In-Reply-To: References: Message-ID: Thanx Ken, I am sorry for not making my question clear. What my CGI code does is invoking a command in a revolution stack which in turn must call some functions (Internally) do some processing and return some result. I can confirm that the function has been invoked by the CGI script successfully, but the second step is not happening i.e. the internal functions calls and processing is not happening. I hope that this is clear enough Thank you again. On 9/5/05, Ken Ray wrote: > > On 9/4/05 6:58 AM, "sameeh sohbi" wrote: > > > Thanx mark,, > > Yep the stack is in the same folder. I am using it in my CGI script as > you > > mentioned. I still have the same problem. > > What are the functions you're trying to call and when you say "irregular > results", can you clarify? > > Ken > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Sameeh H. Sohbi From david at openpartnership.net Mon Sep 5 08:17:40 2005 From: david at openpartnership.net (david bovill) Date: Mon, 5 Sep 2005 14:17:40 +0200 Subject: Web integration - round trip and point 5? In-Reply-To: References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: The basic use-case I am looking at is someone browsing the project- managment / subversion wiki - selecting a link in the browser and a Rev stack opening up.... ------------------------------------------------------------------------ --------------------------------------------------------------- Thanks for the replies... On 2 Sep 2005, at 19:42, Phil Davis wrote: > I see that you're not suggesting that stacks be directly downloaded > within the Rev environment (as opposed to altBrowser + web page). I agree that this is the "goal" - that is the solution for the best user experience - but I'm looking very hard at how to make it as easy as possible for the user to get there. That is given that most users will use there web browser daily - How to make it easy for them to move over to the Rev environment and back to the browser? So it is an integrated part of their workflow / daily use. If the web site that relates to the Rev application contains html links with an included mime-type - then clicking on that link will open the Rev stack in Revolution - ready to download other stacks from the net - or whatever you want. Similarly you can move back to the browser - either by using altBrowser embedded or by opening the web page in the default browser. On 3 Sep 2005, at 11:03, Klaus Major wrote: > > you are still talking about using altBrowser inside Rev? I see this as then end point - but this means giving people reason enough to use the embedded browser over their default browser - which is no easy task. Applications like Devon Think (on OSX) point the way - and could relatively easily be coded in Revolution. I remember there are some kinks here - getting this working properly cross-platform. I remember that you used to have to: 1) set the mime-type in the browser 2) that someone wrote a stack that would set the mime-types automatically 3) what are the cross-browser-cross platform issues? 4) what are the cross browser issues? 5) what is done by the default rev / dreamcard installation regarding mime-types in this regard? 6) what does the html look like - I've forgot :) From AbilityForms at aol.com Mon Sep 5 11:07:09 2005 From: AbilityForms at aol.com (AbilityForms at aol.com) Date: Mon, 5 Sep 2005 11:07:09 EDT Subject: Newbie question Message-ID: <11.4cc01759.304db91d@aol.com> Hi everyone, In HyperCard I had no trouble with the following line. What is the way to write it in Revolution? Thanks sort by name of cd Thanks, Joe in Orlando Florida. From eric.chatonet at sosmartsoftware.com Mon Sep 5 11:21:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 5 Sep 2005 17:21:13 +0200 Subject: Newbie question In-Reply-To: <11.4cc01759.304db91d@aol.com> References: <11.4cc01759.304db91d@aol.com> Message-ID: Hi Joe, Even if such a line could be written with HC (the engine was very tolerant), it's not a perfect form :-) Rev docs say: sort [marked] cards [of stack] [direction] [sortType] by sortKey So in your case: sort cards by the short name of this cd Hope this helps. Le 5 sept. 05 ? 17:07, AbilityForms at aol.com a ?crit : > Hi everyone, > > In HyperCard I had no trouble with the following line. What is the > way to > write it in Revolution? Thanks > > sort by name of cd > > Thanks, > Joe in Orlando Florida. Best Regards from Paris, 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 Free plugins and tutorials on my website ---------------------------------------------------------------- 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 howard.bornstein at gmail.com Mon Sep 5 12:10:46 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 5 Sep 2005 12:10:46 -0400 Subject: Text Menu--what happened to size? In-Reply-To: <200509050257.j852vcME029220@ms-smtp-03.rdc-nyc.rr.com> References: <200509050257.j852vcME029220@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc2605090509104b6fb68c@mail.gmail.com> Thank you Jeanne and Sarah! It seems like these have been missing for a while. I don't remember when or what may have happened to cause this to occur. However, I think I found the cause. I had many hundred fonts installed on my system. When I turned off a lot of them, suddenly the other Text menu items returned. Apparently Rev has a limit to how many fonts it will allow and when it exceeds that number it truncates the rest of the Text menu items. This seems like an inherent bug in Rev because I found this condition would occur even back in Rev 2.2.1. I didn't find anything in Bugzilla about it so I've entered bug 3109 to report it. -- Regards, Howard Bornstein ----------------------- www.designeq.com From jperryl at ecs.fullerton.edu Mon Sep 5 12:42:39 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 5 Sep 2005 09:42:39 -0700 (PDT) Subject: Messages In-Reply-To: <431BD24E.9050101@hyperactivesw.com> Message-ID: You're better than me then... I had to go back & re-read it to see what I had obviously missed! @;-) Thanks for pointing it out! Judy On Mon, 5 Sep 2005, J. Landman Gay wrote: > Bah, it wasn't even close to bad. Actually, I have been reading that > fake-Hungarian code so much that I didn't even notice the p-parameters > until you p-pointed it out. Once I saw the connection, I thought your > reply was even funnier than Mark's original. > From mwieder at ahsoftware.net Mon Sep 5 13:31:57 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 5 Sep 2005 10:31:57 -0700 Subject: Messages In-Reply-To: References: Message-ID: <827387202.20050905103157@ahsoftware.net> Judy- Monday, September 5, 2005, 9:42:39 AM, you wrote: > You're better than me then... I had to go back & re-read it to see what I > had obviously missed! > @;-) > Thanks for pointing it out! Same here. ROTFL. Reading code aloud can be dangerous. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Sep 5 13:43:02 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 5 Sep 2005 10:43:02 -0700 Subject: Newbie question In-Reply-To: References: <11.4cc01759.304db91d@aol.com> Message-ID: <1118052328.20050905104302@ahsoftware.net> Eric- Monday, September 5, 2005, 8:21:13 AM, you wrote: > Even if such a line could be written with HC (the engine was very > tolerant), it's not a perfect form :-) > Rev docs say: > sort [marked] cards [of stack] [direction] [sortType] by sortKey > So in your case: > sort cards by the short name of this cd Nonetheless, I believe Joe's original line *is* correct HC syntax: sort [ascending | descending][text | numeric | international | dateTime] by so the distinction is that Rev's more powerful sort command just doesn't backwardly support the simplified HC syntax. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Sep 5 14:06:27 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Sep 2005 13:06:27 -0500 Subject: Text Menu--what happened to size? In-Reply-To: <3f07cc2605090509104b6fb68c@mail.gmail.com> References: <200509050257.j852vcME029220@ms-smtp-03.rdc-nyc.rr.com> <3f07cc2605090509104b6fb68c@mail.gmail.com> Message-ID: <431C8923.60608@hyperactivesw.com> Howard Bornstein wrote: > Apparently Rev has a limit to how many fonts it will allow and when it > exceeds that number it truncates the rest of the Text menu items. I suspect the limit isn't in Rev, but rather in the number of items any given menu can display. In other words, an OS limitation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From FlexibleLearning at aol.com Mon Sep 5 16:32:49 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 5 Sep 2005 16:32:49 EDT Subject: [ANN] Scripter's Scrapbook 5.1 Message-ID: <103.68fdd330.304e0571@aol.com> www.FlexibleLearning.com/ssbk.htm We are pleased to announce the no-fee upgrade of The Scripter's Scrapbook to version 5.1, the personal reference library for all scripters, from newbie and novice to seasoned veterans and professionals. And entirely written in Transcript! This version follows a full review of the interface and implements DPS (dynamic platform support) so it looks and feels much better on OSX and XP. Whether as a Revolution plugin, or using any of the 3 standalone builds for those who wish to use the software independently under Mac OS9, Mac OSX or Windows, we think you will like. We have uploaded a page of screen shots for you to preview. - Good News... If your previous trial version expired more than one month ago, the new version provides a 30-day trial extension for you to investigate and evaluate the upgrade. If you are currently trialling the software, you can upgrade at any time within your trial period. - What's new in 5.1? OSX and XP interface conformity, choice of color scheme, improved file compression... Summary at www.FlexibleLearning.com/ssbk/ReadMe.html - Registered and Trial users should upgrade through the Help menu or in the User Support. - New users and those interested in reviewing the changes since their earlier trial may obtain a starter kit at www.FlexibleLearning.com/ssbk.htm. - Full size screen shots comparing the new look under OSX and XP are available at www.FlexibleLearning.com/ssbkPreview.htm. Also... Release of ssBkChat 1.05 ssBkChat is included in the standard downloads, but is also available as a free Revolution plugin. Those who downloaded version 1.04 on OSX will have seen anomolous graphics displayed and/or a color mis-match. These issues have been resolved in v1.05. - ssBkChat 1.05 is freely available at www.FlexibleLearning.com/ssbk/modules/ssbkChat.zip /H FLCo Home of the Scripter's Scrapbook From kray at sonsothunder.com Mon Sep 5 16:57:35 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 05 Sep 2005 15:57:35 -0500 Subject: CGI Problem In-Reply-To: Message-ID: On 9/5/05 5:09 AM, "sameeh sohbi" wrote: > Thanx Ken, > > I am sorry for not making my question clear. What my CGI code does is > invoking a command in a revolution stack which in turn must call some > functions (Internally) do some processing and return some result. I can > confirm that the function has been invoked by the CGI script successfully, > but the second step is not happening i.e. the internal functions calls and > processing is not happening. I hope that this is clear enough Thank you > again. Thanks Sameeh... a few questions: 1) Are any of the "internal functions" that it calls do anything with user interface elements (like get data from fields, relocate buttons, display a dialog on an error, etc)? 2) Can you put the functions in the CGI script instead so you don't need to call on them from a separate stack? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mdswindell at charter.net Mon Sep 5 17:22:33 2005 From: mdswindell at charter.net (Mark Swindell) Date: Mon, 5 Sep 2005 14:22:33 -0700 Subject: How to debug a standalone? Message-ID: So everything works right in a stack, but in the standalone there are major problems. How do you debug a standalone to find out what is going awry? Thanks Mark From mark at maseurope.net Mon Sep 5 17:48:15 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 5 Sep 2005 22:48:15 +0100 Subject: How to debug a standalone? In-Reply-To: References: Message-ID: <96b9751dda08444291819be4175a2f56@maseurope.net> One way is to make a version of the standalone that writes information out to a log file at various critical points, so you can examine the log and see what has gone on. Cheers, Mark On 5 Sep 2005, at 22:22, Mark Swindell wrote: > So everything works right in a stack, but in the standalone there are > major problems. How do you debug a standalone to find out what is > going awry? > > Thanks > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From howard.bornstein at gmail.com Mon Sep 5 18:06:02 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 5 Sep 2005 18:06:02 -0400 Subject: Text Menu--what happened to size? In-Reply-To: <200509051907.j85J7SGe006863@ms-smtp-02.rdc-nyc.rr.com> References: <200509051907.j85J7SGe006863@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc260509051506caba40e@mail.gmail.com> On 9/5/05, J. Landman Gay wrote: > Howard Bornstein wrote: > > > Apparently Rev has a limit to how many fonts it will allow and when it > > exceeds that number it truncates the rest of the Text menu items. > > I suspect the limit isn't in Rev, but rather in the number of items any > given menu can display. In other words, an OS limitation. > I dont think so. I've got several other programs that display the fonts in font menu and work fine. They display all (x)hundred fonts without difficulty. I've only ever seen this problem occur in Rev. -- Regards, Howard Bornstein ----------------------- www.designeq.com From tg.lists at geistinteractive.com Mon Sep 5 19:11:42 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Mon, 05 Sep 2005 16:11:42 -0700 Subject: THANKS from FileMaker DevCon Message-ID: Hello Everyone, I want to thank the list and a few people in particular for helping me show Revolution to a group of FileMaker developers last week. Thanks to ChartMaker from Flexible learning I was able to produce an interactive Pie Chart that integrated quite well with the data stored in a FileMaker file. The chart featured roll over effects and drill down back to FileMaker detail reports. Scott Rossi, donated one of his amazing custom window shapes to the cause as well. That stuff is WAY cool. The presentation went well and the attendees were impressed with Revolution. Thanks Everyone! Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From ambassador at fourthworld.com Mon Sep 5 19:20:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Sep 2005 16:20:13 -0700 Subject: THANKS from FileMaker DevCon In-Reply-To: References: Message-ID: <431CD2AD.1040509@fourthworld.com> Todd Geist wrote: > Hello Everyone, > > I want to thank the list and a few people in particular for helping me show > Revolution to a group of FileMaker developers last week. > > Thanks to ChartMaker from Flexible learning I was able to produce an > interactive Pie Chart that integrated quite well with the data stored in a > FileMaker file. The chart featured roll over effects and drill down back to > FileMaker detail reports. > > Scott Rossi, donated one of his amazing custom window shapes to the cause as > well. That stuff is WAY cool. > > The presentation went well and the attendees were impressed with Revolution. > > Thanks Everyone! Thank you, Todd. All those bits and pieces would never had reached the sizeable crowd at the FMP Conference if it weren't for all your hard work. Good show! -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Mon Sep 5 19:31:31 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 05 Sep 2005 18:31:31 -0500 Subject: How to debug a standalone? In-Reply-To: References: Message-ID: <431CD553.2060407@chipp.com> Mark, I typically create a standalone 'launcher' which I use to test problems in standalones. This way I can easily add a: answer "Variable: tVAR=" && tVAR or other such debugging code to my scripts, save the stack and launch the launcher, which then opens the stack and runs it. This way I don't have to go through the process of creating a standalone for debugging purposes. Here's the code for the launcher (from a previous post of mine earlier this year) I have a standalone 'shell' which I use. It consists of a small stack with a single button named "Launch It" with the script: on mouseUp if there is a file "config.txt" then put URL ("file:config.txt") into tStackPathToOpen else answer file "Choose a Stack to Open" if it is empty then exit to top put it into tStackPathToOpen put tStackPathToOpen into URL ("file:config.txt") end if go stack tStackPathToOpen end mouseUp Then there's this in the stack's *CARD* script: on closeStack if the environment is not "development" then quit else close this stack end if end closeStack I make this into a standalone, and I can use it to 'test' outside the IDE. best, Chipp Mark Swindell wrote: > So everything works right in a stack, but in the standalone there are > major problems. How do you debug a standalone to find out what is going > awry? From laguer at ucs.orst.edu Mon Sep 5 19:37:13 2005 From: laguer at ucs.orst.edu (Rich Lague) Date: Mon, 5 Sep 2005 16:37:13 -0700 Subject: Standalone - substack save problem Message-ID: I?m trying to make an application that saves to a substack. I have made at least one application that does this correctly, but I can?t seem to do it again. I can make a application that saves data in a sub stack if I do it in a particular folder. If I try to copy that revolution file to another folder, or ?save as? it to another folder, it no longer makes a standalone that saves to it?s sub stack. If I put the revolution file in a sub folder of the folder it works in, it stops working. Currently, I can only make standalones that save to a sub stack in this one folder. If I make a new revolution file in a new folder from scratch it will not save to a sub stack. I think I have the settings right: I checked ?Move substacks into individual stackfiles?. I think I must be missing something very basic, but I'm stumped. Rich Lague From JimAultWins at yahoo.com Mon Sep 5 19:58:13 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 05 Sep 2005 16:58:13 -0700 Subject: THANKS from FileMaker DevCon In-Reply-To: Message-ID: So when do we get to see it? :-) Can it be done on a web site that we can tell our clients about? I could try to distribute a little demo [stkApp,fmkr.db] I am not interested in doing FileMaker programming anymore, but sure would consider doing a bit of promotion, if possible. Thanks, Jim Ault Las Vegas On 9/5/05 4:11 PM, "Todd Geist" wrote: > Hello Everyone, > > I want to thank the list and a few people in particular for helping me show > Revolution to a group of FileMaker developers last week. > > Thanks to ChartMaker from Flexible learning I was able to produce an > interactive Pie Chart that integrated quite well with the data stored in a > FileMaker file. The chart featured roll over effects and drill down back to > FileMaker detail reports. > > Scott Rossi, donated one of his amazing custom window shapes to the cause as > well. That stuff is WAY cool. > > The presentation went well and the attendees were impressed with Revolution. > > Thanks Everyone! > > > Todd From sarah.reichelt at gmail.com Mon Sep 5 19:59:33 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 6 Sep 2005 09:59:33 +1000 Subject: Standalone - substack save problem In-Reply-To: References: Message-ID: > I'm trying to make an application that saves to a substack. I have made > at least one application that does this correctly, but I can't seem to > do it again. > > I can make a application that saves data in a sub stack if I do it in a > particular folder. If I try to copy that revolution file to another > folder, or 'save as' it to another folder, it no longer makes a > standalone that saves to it's sub stack. If I put the revolution file > in a sub folder of the folder it works in, it stops working. > > Currently, I can only make standalones that save to a sub stack in this > one folder. If I make a new revolution file in a new folder from > scratch it will not save to a sub stack. I think I have the settings > right: I checked "Move substacks into individual stackfiles". > Hi Rich, I wrote an article for revJournal on how to save data from standalones, which might help: . However if the saving works in a particular folder only, maybe you have hard-coded the path to that folder somewhere in your stack. Perhaps you need to find the filename of the mainstack in order to work out what folder the application is in. HTH, Sarah From jacque at hyperactivesw.com Mon Sep 5 20:31:30 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Sep 2005 19:31:30 -0500 Subject: How to debug a standalone? In-Reply-To: References: Message-ID: <431CE362.4050001@hyperactivesw.com> Mark Swindell wrote: > So everything works right in a stack, but in the standalone there are > major problems. How do you debug a standalone to find out what is going > awry? Sarah Reichelt suggested something that I really like. From her list post a while back: she said: > When building the standalone, turn on the bug reporting and set it > to send an email on error. When an error occurs, it will throw up a > dialog asking if you want to send an error report. Click yes and then > read the error in the email that is created - you don't actually have > to send it. This is very cool, I've used it. If the problem in your standalone doesn't generate an error though, you'll have to use one of the other methods, like logging to a text file or putting up a bunch of answer dialogs that report the status of various things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 5 20:32:37 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Sep 2005 19:32:37 -0500 Subject: Text Menu--what happened to size? In-Reply-To: <3f07cc260509051506caba40e@mail.gmail.com> References: <200509051907.j85J7SGe006863@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260509051506caba40e@mail.gmail.com> Message-ID: <431CE3A5.8020901@hyperactivesw.com> Howard Bornstein wrote: > On 9/5/05, J. Landman Gay wrote: > >>Howard Bornstein wrote: >> >> >>>Apparently Rev has a limit to how many fonts it will allow and when it >>>exceeds that number it truncates the rest of the Text menu items. >> >>I suspect the limit isn't in Rev, but rather in the number of items any >>given menu can display. In other words, an OS limitation. >> > > > I dont think so. I've got several other programs that display the > fonts in font menu and work fine. They display all (x)hundred fonts > without difficulty. I've only ever seen this problem occur in Rev. Yeah, maybe you're right. Come to think of it, there is a menu bug in 2.6 that affects very long menus, so maybe it is related to that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tg.lists at geistinteractive.com Mon Sep 5 21:38:34 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Mon, 05 Sep 2005 18:38:34 -0700 Subject: THANKS from FileMaker DevCon In-Reply-To: Message-ID: Hi Jim, I am in the process of re-launching the my web site. As soon as I get it up I will let the list know. Thanks Todd On 9/5/05 4:58 PM, "Jim Ault" wrote: > So when do we get to see it? :-) > Can it be done on a web site that we can tell our clients about? > > I could try to distribute a little demo [stkApp,fmkr.db] > I am not interested in doing FileMaker programming anymore, but sure would > consider doing a bit of promotion, if possible. > > Thanks, > > Jim Ault > Las Vegas -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e From katir at hindu.org Mon Sep 5 23:12:06 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 5 Sep 2005 17:12:06 -1000 Subject: pass text via shell to Sendmail Message-ID: <638905C2-0DF9-4C72-8312-9829DC060025@hindu.org> I want to pipe a multi-part email to sendmail via a shell script right now I have this in the script # fix endlines to unix and then save to file replace numTochar(13) with numTochar (10) in tMsg # where "tMsg" is a complete properly formatted mult-part HTML email # the only way I could do this was to write it to a file # then use "cat" like this: put ($HOME &"/Desktop/temp.txt") into tPath put tMsg into url ("binfile:" & tPath) # Do shell stuff and send mail set the shellcommand to "/bin/sh" put "cat " & quote & tPath & quote & " | sendmail -f hpi.list at hindu.org " & (fld "to" of cd "staticText") into tCmd Unfortunately there is some new security implementation that is only allowing 1024 char input via the terminal, that we *think* is causing the above script to insert a CRLF very 1024 characters... it appears i the final email, plain text part, as a line break and an extra space... in the HTML section the line break is ignored, but the extra space appears. My sys admin says: "Issue the same exact shell command but beginning with "sendmail", removing the whole first part that begins with "cat". Then pass the same message content you are writing to the file out stdout to sendmail's stdin." CAn anyone help me write the shell cmd? I need to pipe the data in variable tMsg directly into send mail without reading from a file... at least he thinks that may solve the problem.. TIA Sivakatirswami From adsmd1 at optonline.net Tue Sep 6 00:07:06 2005 From: adsmd1 at optonline.net (Alan Simon) Date: Tue, 06 Sep 2005 00:07:06 -0400 Subject: Choppy video? In-Reply-To: References: Message-ID: <6B2A5A89-568C-4F16-83BF-31BB0B641315@optonline.net> I have Quicktime installed. I am using Rev's built-in video clip player. Even the standalone Quicktime player plays them choppy, so I would assume the problem is in the video file, not the standalone. WMP seems to run them fine, though... Alan Simon On Sep 2, 2005, at 12:06 AM, Scott Rossi wrote: > Recently, Alan Simon wrote: > > >> I am in the process of writing an application that displays AVI video >> loops, each a second or two in duration. When the video plays back, >> it appears that some of the frames are being skipped, and I get a >> choppy appearance. >> >> The playback machine is a 3 GHz Pentium with 1GB of memory, so I >> don't think the PC is the problem. Could the problem be in the way >> the loops are encoded? >> > > Do you have QuickTime enabled or are you using the system's built- > in media > playback? > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Tue Sep 6 00:21:53 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 05 Sep 2005 21:21:53 -0700 Subject: Choppy video? In-Reply-To: <6B2A5A89-568C-4F16-83BF-31BB0B641315@optonline.net> Message-ID: Recently, Alan Simon wrote: >>> I am in the process of writing an application that displays AVI video >>> loops, each a second or two in duration. When the video plays back, >>> it appears that some of the frames are being skipped, and I get a >>> choppy appearance. >>> >>> The playback machine is a 3 GHz Pentium with 1GB of memory, so I >>> don't think the PC is the problem. Could the problem be in the way >>> the loops are encoded? >> Do you have QuickTime enabled or are you using the system's built- >> in media playback? > I have Quicktime installed. I am using Rev's built-in video clip > player. Even the standalone Quicktime player > plays them choppy, so I would assume the problem is in the video > file, not the standalone. WMP seems to run them fine, though... Then you should try disabling QuickTime by setting the dontUseQT to true when starting up your stack and see if that makes a difference. It is not guaranteed that this will solve the problem, but then you cannot guarantee that everyone you distribute to will have QT for Windows installed either. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sims at ezpzapps.com Tue Sep 6 02:14:04 2005 From: sims at ezpzapps.com (sims) Date: Tue, 6 Sep 2005 08:14:04 +0200 Subject: counts per inch (CPI) Message-ID: Counts per Inch or CPI is a term used to describe the optical resolution of a mouse (at least on Mac, maybe also on PCs). Usual mouse CPI are either 400 or 800 but special computer game mice can be much more. Does anyone know how to grab this information on either a PC or Mac? Grab the CPI (mouse resolution) of the mouse in use? ciao, sims From sameeh.sohbi at gmail.com Tue Sep 6 03:10:42 2005 From: sameeh.sohbi at gmail.com (sameeh sohbi) Date: Tue, 6 Sep 2005 10:10:42 +0300 Subject: CGI Problem In-Reply-To: References: Message-ID: Thank you again,,, All the internal functions do is take some text from a text file process it and output the result on another text file. Excuse my ignorance, but is it safe to put all the code in the CGI file? Kind Regards On 9/5/05, Ken Ray wrote: > > On 9/5/05 5:09 AM, "sameeh sohbi" wrote: > > > Thanx Ken, > > > > I am sorry for not making my question clear. What my CGI code does is > > invoking a command in a revolution stack which in turn must call some > > functions (Internally) do some processing and return some result. I can > > confirm that the function has been invoked by the CGI script > successfully, > > but the second step is not happening i.e. the internal functions calls > and > > processing is not happening. I hope that this is clear enough Thank you > > again. > > Thanks Sameeh... a few questions: > > 1) Are any of the "internal functions" that it calls do anything with user > interface elements (like get data from fields, relocate buttons, display a > dialog on an error, etc)? > > 2) Can you put the functions in the CGI script instead so you don't need > to > call on them from a separate stack? > > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Sameeh H. Sohbi From kray at sonsothunder.com Tue Sep 6 03:31:28 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 06 Sep 2005 02:31:28 -0500 Subject: CGI Problem In-Reply-To: Message-ID: On 9/6/05 2:10 AM, "sameeh sohbi" wrote: > Thank you again,,, > > All the internal functions do is take some text from a text file process it > and output the result on another text file. > > Excuse my ignorance, but is it safe to put all the code in the CGI file? Absolutely! In fact all of the CGIs I've used so far have had all the code in the CGI file. I would suggest trying that and seeing if it works; if so, at least you have a backup plan (unless you want to switch to doing it that way). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From FlexibleLearning at aol.com Tue Sep 6 04:08:53 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 6 Sep 2005 04:08:53 EDT Subject: Text Menu--what happened to size? Message-ID: <1fb.1044af3a.304ea895@aol.com> Sounds like a uint2 menulimit (65,535 chars). /H >>>>Apparently Rev has a limit to how many fonts it will allow and when it >>>>exceeds that number it truncates the rest of the Text menu items. >>>I suspect the limit isn't in Rev, but rather in the number of items any >>>given menu can display. In other words, an OS limitation. >> I dont think so. I've got several other programs that display the >> fonts in font menu and work fine. They display all (x)hundred fonts >> without difficulty. I've only ever seen this problem occur in Rev. >Yeah, maybe you're right. Come to think of it, there is a menu bug in >2.6 that affects very long menus, so maybe it is related to that. From b.xavier at internet.lu Tue Sep 6 06:28:08 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 6 Sep 2005 12:28:08 +0200 Subject: SpellNO2 - Preview and call for testers Message-ID: <20050906100758.906D3824E40@mail.runrev.com> Hi everyone, The RunRev or MetaCard Spell Checker is now almost finished... I need to optimize the suggestions suggesting function, add some wait-room displays with interesting magazines when loading or suggesting, make sure every button does what it's supposed to... But it's otherwise ready! This handy stack is called SpellNO2 Here's a screenshot! http://monsieurx.com/hyper/xos/screenshots/SpellNO2.png SpellNO2 works as both a palette or stack (no problem with overlapping windows), no need for plugin stuff, just open it, select what you want to check, click on check and get text fixed in no time! Unlike most other spellcheckers i've seen, the window is resizeable and can be dragged around from anywhere! There's more than 600 000 words in English, internet definition lookups, thesaurus, net-resource searches, and much more coming! It checks each word correctly (not the for-each-word stuff), it suggests corrections, learns and corrects them and im pretty happy about it! It finally started working today - despite a horrible cold, 3 different dictionary scheme rewrites, crashes due to a stupid algorithm using regex, more wait-locks without any explanation - what a way to start a 2 week vacation! 2 days later than expected and possibly another day before i release a demo... Ah yes, it also checks the clipboard, fields, selections, files and more types of check to come I need a couple good testers with Mac, XP, Linux machines to get some visual feedback and possibly some features ironed out that i might have missed. This is not the final stack - im just making a safe testbed platform to create many more options based on this... Testers will be seeded in the coming days with a constant flow of updates. Now, the serious question: either this will be a freeware or a licenced-ware (something around 25 Euros/30 USD)... BUT, if there are enough donations coming on Monsieurx.com, i will release it for free with no restrictions. The money will solely be used to pay for the website and rev updates - im in a serious deficit in rev profits/released titles - so hopefully new goodies for the community will foster some interest in the power of free and opensource software sponsored by the community? To include this checker in your commercial software releases, im sure some kind of arrangement can be made... The testers will get a free license. Available only to the top three bug reporters (from version x to release 1.x) ;) Dont let the others wait! Write back, contribute to my paypal or propose something cool! This stack was inspired by your propositions and it's a serious addition to the features in your daily Rev toolset at a very reasonable price! Time to give the GUI a second polish and net updates and some new secret features ;) RevCheers Xavier http://monsieurx.com From yvescoppe at skynet.be Tue Sep 6 07:38:15 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 6 Sep 2005 13:38:15 +0200 Subject: SpellNO2 - Preview and call for testers In-Reply-To: <20050906100758.906D3824E40@mail.runrev.com> References: <20050906100758.906D3824E40@mail.runrev.com> Message-ID: <98D32A9F-9C26-4761-B094-5EB5E3729441@skynet.be> Le 6 sept. 05 ? 12:28, MisterX a ?crit : > Hi everyone, > > The RunRev or MetaCard Spell Checker is now almost finished... > I'm very interested in your spell checker. Will it be possible to load other dictionnary (in other language than English) for the spell checker in French f. example ? Greetings. Yves COPPE yvescoppe at skynet.be From b.xavier at internet.lu Tue Sep 6 07:59:39 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 6 Sep 2005 13:59:39 +0200 Subject: SpellNO2 - Preview and call for testers In-Reply-To: <98D32A9F-9C26-4761-B094-5EB5E3729441@skynet.be> Message-ID: <20050906113913.31247824E7F@mail.runrev.com> Hi Yves Yes... That's in preparation. Grammar rules, punctuation, and possibly more... cheers Xavier _____ From: Yves COPPE [mailto:yvescoppe at skynet.be] Sent: Tuesday, September 06, 2005 13:38 To: x at monsieurx.com; How to use Revolution Subject: Re: SpellNO2 - Preview and call for testers Le 6 sept. 05 ? 12:28, MisterX a ?crit : Hi everyone, The RunRev or MetaCard Spell Checker is now almost finished... I'm very interested in your spell checker. Will it be possible to load other dictionnary (in other language than English) for the spell checker in French f. example ? Greetings. Yves COPPE yvescoppe at skynet.be From jacque at hyperactivesw.com Tue Sep 6 11:20:30 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2005 10:20:30 -0500 Subject: CGI Problem In-Reply-To: References: Message-ID: <431DB3BE.2040200@hyperactivesw.com> sameeh sohbi wrote: > Thank you again,,, > > All the internal functions do is take some text from a text file process it > and output the result on another text file. Are the file permissions set correctly for the text files? That's usually the problem when CGIs can't work with text files. Also, if the files aren't inside the CGI folder itself, then make sure you provide a full path to them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Tue Sep 6 13:57:23 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 6 Sep 2005 19:57:23 +0200 Subject: weird phenomenas Message-ID: <20050906173653.92E708248DE@mail.runrev.com> Hi Rev list Got a couple really weird one... im hoping someone can help with... I got a blinking cursor in any frontstacks that appears. It looks like the real thing other than it's always at some fixed offset... Now, i know the problem comes from TAOO but i have second thoughts on that since it didn't do that before SpellNO2... The weird thing is that there is no field where this cursor is blinking, and im not using a 1950's tube for monitor... There's no controls, there's no reason it should be blinking where it is... How can Rev do something like that? TAOO is not creating invisible fields and at worst, is reselecting something while my selection remains "working as original"... I just dont get it... No, it's not reproducible. When it happens... It's innevitable - you have to quit to get rid of it... This happens on windows only probably... And once in while - no way to see where from... Other weird stuff... works even after you quit and restart! I have a group of images. No matter how i set the selectgrouped global , rev refuses to select the group when i click on it (on one of it's components...) - this is since i opened the AppBrowser but i can't certify that's where the problem came from. The stack is toplevel, other groups work as expected when selected. The select grp x works correctly and selects the group but only from the msg box... thanks for any info... Xavier (rev xplorer) From scott at tactilemedia.com Tue Sep 6 13:59:38 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 06 Sep 2005 10:59:38 -0700 Subject: Little Diversion - Happy Trails Message-ID: I posted a little image experiment I found on my drive from a while ago. Enter the following in your message box: go url "http://www.tactilemedia.com/download/happy_trails.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Tue Sep 6 14:13:13 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 06 Sep 2005 13:13:13 -0500 Subject: [ANN] StackRunner 1.0 Message-ID: Just a quick note to let you all know that I have uploaded a standalone application called "StackRunner" which is similar to the DreamCard Player in that it will "play" your MetaCard or Revolution stacks, but it is much simpler and doesn't present any user-interface elements so it runs "cleaner". When it is launched, it will check to see if there is a stack called "main.rev" in the same directory; if there is, it will open it automatically. Otherwise it will check for a file called "config.srn" in the same directory as the standalone and check inside there for information on what stack to run. Finally, if neither of these can be found, a simple 'answer file' dialog box will be displayed with a generic prompt. StackRunner includes all Rev icons, cursors and libraries, so it should be able to run just about anything. OS 9, OS X and Windows versions are available. You can check it out (along with a full description) at: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm Enjoy! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From howard.bornstein at gmail.com Tue Sep 6 14:41:52 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 6 Sep 2005 14:41:52 -0400 Subject: Little Diversion - Happy Trails In-Reply-To: <200509061759.j86HxhMF014840@ms-smtp-03.rdc-nyc.rr.com> References: <200509061759.j86HxhMF014840@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc260509061141e800cd7@mail.gmail.com> On 9/6/05, Scott Rossi wrote: > I posted a little image experiment I found on my drive from a while ago. > Enter the following in your message box: > > go url "http://www.tactilemedia.com/download/happy_trails.rev" > Very cool demo, Scott. And very simple script. Nice! -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Tue Sep 6 14:52:08 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 6 Sep 2005 14:52:08 -0400 Subject: [ANN] StackRunner 1.0 In-Reply-To: <200509061814.j86IEhME029336@ms-smtp-03.rdc-nyc.rr.com> References: <200509061814.j86IEhME029336@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc2605090611526f87c94c@mail.gmail.com> On 9/6/05, Ken Ray wrote: > Just a quick note to let you all know that I have uploaded a standalone > application called "StackRunner" which is similar to the DreamCard Player in > that it will "play" your MetaCard or Revolution stacks, but it is much > simpler and doesn't present any user-interface elements so it runs > "cleaner". > Very nice. One thing you might consider is if a user plays a stack fron the "answer file" dialog (i.e. not using main.rev or a config file), after the stack closes, put up the answer file dialog again, so the user can choose a different stack to run. Right now, if you open a stack this way and then close it, StackRunner stays open but you can't do anything in it. if you want to open another stack, you have to quit SR and then restart it. Otherwise, very clean and elegant! :-) -- Regards, Howard Bornstein ----------------------- www.designeq.com From charles.hartman at conncoll.edu Tue Sep 6 16:24:56 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 6 Sep 2005 16:24:56 -0400 Subject: [ANN] StackRunner 1.0 In-Reply-To: <3f07cc2605090611526f87c94c@mail.gmail.com> References: <200509061814.j86IEhME029336@ms-smtp-03.rdc-nyc.rr.com> <3f07cc2605090611526f87c94c@mail.gmail.com> Message-ID: On Sep 6, 2005, at 2:52 PM, Howard Bornstein wrote: > Very nice. One thing you might consider is if a user plays a stack -- but if & *only* if! > fron the "answer file" dialog (i.e. not using main.rev or a config > file), after the stack closes, put up the answer file dialog again, so > the user can choose a different stack to run. Right now, if you open a > stack this way and then close it, StackRunner stays open but you can't > do anything in it. if you want to open another stack, you have to quit > SR and then restart it. > > Otherwise, very clean and elegant! :-) I agree-- it's a great boon for those of us using Dreamcard & publicizing stacks (not standalones). Charles Hartman From oh.l at mac.com Tue Sep 6 16:38:40 2005 From: oh.l at mac.com (oh.l at mac.com) Date: Tue, 6 Sep 2005 16:38:40 -0400 Subject: detecting for how long a key is being pressed Message-ID: <455DA98C-F423-49E5-B959-6E0348A50698@mac.com> hello: i am trying to measure how long a certain key is being pressed by the user. how can i do this in runrev? thanks! olli. From jacque at hyperactivesw.com Tue Sep 6 17:17:48 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2005 16:17:48 -0500 Subject: Little Diversion - Happy Trails In-Reply-To: References: Message-ID: <431E077C.70904@hyperactivesw.com> Scott Rossi wrote: > I posted a little image experiment I found on my drive from a while ago. > Enter the following in your message box: > > go url "http://www.tactilemedia.com/download/happy_trails.rev" Wow. How do you think of these things? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Tue Sep 6 17:14:15 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 6 Sep 2005 14:14:15 -0700 Subject: [ANN] StackRunner 1.0 In-Reply-To: References: Message-ID: Ken, I love this thing - especially in OSX, as one should be able to put the config file and the stack inside the MacOS folder in the package, where the executable for stackrunner and the included externals live. However, I can't seem to find the magic incantation to have Stackrunner locate a file inside the package.. I've used 'ask file' to get the path but it doesn't like it..I always get the answer dialog. what's missing, quotes? my stack is inside same folder (MacOS) where the Stackrunner executable lives. this doesn't work: open=CDRToLabel.rev dialogtext=Please locate 'CDRToLabel.rev': this doesn't work either: open=/Volumes/SQB_128-1/ STACKRUNNER/StackRunner.app/Contents/MacOS/CDRToLabel.rev dialogtext=Please locate 'CDRToLabel.rev': nor this: open=/STACKRUNNER/StackRunner.app/Contents/MacOS/CDRToLabel.rev dialogtext=Please locate 'CDRToLabel.rev': >Just a quick note to let you all know that I have uploaded a standalone >application called "StackRunner" which is similar to the DreamCard Player in >that it will "play" your MetaCard or Revolution stacks, but it is much >simpler and doesn't present any user-interface elements so it runs >"cleaner". > From revolution at derbrill.de Tue Sep 6 17:22:21 2005 From: revolution at derbrill.de (Malte Brill) Date: Tue, 6 Sep 2005 23:22:21 +0200 Subject: detecting for how long a key is being pressed In-Reply-To: <20050906170004.02D7982490F@mail.runrev.com> Message-ID: <4F49DDA2-1F1C-11DA-9578-0030659A795C@derbrill.de> Hi olli, here is a starter. it is not absolutely reliable, as the user might hit 2 keys, one after another. If you need a more reliable script just let me know. In the card script: global gOldKey,gStartMillisecs on rawKeyDown theKey if theKey<>gOldKey then put theKey into gOldKey put the milliseconds into gStartMillisecs end if end rawKeyDown on rawKeyUp put the milliseconds-gStartMillisecs put empty into gOldKey end rawKeyUp Hope that helps, Malte --- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From wlists at fireworksmm.com Tue Sep 6 17:24:39 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Tue, 6 Sep 2005 17:24:39 -0400 Subject: Password generator In-Reply-To: References: Message-ID: No, not using a CGI. I have an app (runs on OSX) that is basically a website generator. Looks at some folders and puts some html wrappers around files there after a user enters some info. Two of the items entered are a username and password. What I need is to run htpasswd to generate the encrypted password for .htaccess The problem is that REV won't let me run or even launch a shell. It's supposed to work, but it just doesn't. If anybody knows how to run a shell prog and return it's result I would REALLY appreciate any help. Thanks!! On Sep 4, 2005, at 11:31 AM, Ken Ray wrote: > On 9/4/05 7:23 AM, "Wally Rodriguez" wrote: > > >> I wanted to bump this subject as I still can't call a shell program >> from RR and the deadline is looming. Any suggestions? >> > > This is through a Rev CGI, right? If so, you can't execute shell, > applescript or launch applications (AFAIK). Is there any reason why > you need > htpasswd instead of writing your own password generator? Just na?ve > about > this and curious... > > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From wlists at fireworksmm.com Tue Sep 6 17:26:36 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Tue, 6 Sep 2005 17:26:36 -0400 Subject: How to run a program in a shell In-Reply-To: References: Message-ID: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> I have created a new topic for this issue as I need help bad!! I have an app (runs on OSX) that is basically a website generator. Looks at some folders and puts some html wrappers around files there after a user enters some info. Two of the items entered are a username and password. The prog then generates all the html and should generate an .htaccess and .htpasswd files. What I need is to run htpasswd to generate the encrypted password for .htaccess The problem is that REV won't let me run or even launch a shell. It's supposed to work, but it just doesn't. If anybody knows how to run a shell prog and return it's result I would REALLY appreciate any help. Thanks!! From revolution at derbrill.de Tue Sep 6 17:25:29 2005 From: revolution at derbrill.de (Malte Brill) Date: Tue, 6 Sep 2005 23:25:29 +0200 Subject: Little Diversion - Happy Trails In-Reply-To: <20050906170004.02D7982490F@mail.runrev.com> Message-ID: Jaque wrote: >Wow. How do you think of these things? That?s what I?ve been asking myself for quite a long time now. Excellent work Scott. Very impressive. Cheers, Malte --- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From jacque at hyperactivesw.com Tue Sep 6 17:39:09 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2005 16:39:09 -0500 Subject: detecting for how long a key is being pressed In-Reply-To: <455DA98C-F423-49E5-B959-6E0348A50698@mac.com> References: <455DA98C-F423-49E5-B959-6E0348A50698@mac.com> Message-ID: <431E0C7D.3090204@hyperactivesw.com> oh.l at mac.com wrote: > hello: i am trying to measure how long a certain key is being pressed > by the user. how can i do this in runrev? thanks! olli. See the "keydown" and "keyup" messages in the dictionary, as well as the "rawkeydown" and "rawkeykup" messages. You can get the milliseconds when a key goes down and store it in a script local variable. Then get it again when the key goes up, and subtract the difference between the two to give you the duration of the keypress. Note that on Mac OS a "keyup" message is sent by the OS immediately after "keydown" regardless of whether the user has released the key or not, which means you can't time keypresses on that operating system. It works okay on Mac OS X though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Sep 6 17:58:27 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 06 Sep 2005 14:58:27 -0700 Subject: Little Diversion - Happy Trails In-Reply-To: <431E077C.70904@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: >> go url "http://www.tactilemedia.com/download/happy_trails.rev" > > How do you think of these things? It's not really "wow" (thanks) but I often see things on the net done in other environments (Java, Flash, etc) and think "OK, how could one do this in Rev?" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From nicolas_cueto at yahoo.com Tue Sep 6 18:16:50 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Wed, 7 Sep 2005 07:16:50 +0900 Subject: detecting for how long a key is being pressed Message-ID: <003a01c5b330$aec279b0$0b01a8c0@niconiko04zbtb> Like Jacqueline, I too was going to suggest "keyDown" and "keyUp". However I tried it out first myself and found that so long as the targeted key is held conti- nuously down: 1. the "keyDown" message is also generated continu- ously. Thus, if the variable for storing the start time is being set by the keyDown handler, then that variable will be continuously reset. (To resolve this, I tried "if tTimeVar is not empty then" to escape the handler, but no luck) 2. the "keyUp" message is also being generated. I know this because in the keyUp handler I have a "put x in field y" line, which results in the field continuously blinking. (I would've thought the keyUp message would be generated only after the target key was released?) Jacqueline also suggests that these key-handlers might be system specific. In which case, I'm on Win2K. Finally, I've appended my scripts below, in case someone has a solution. Cheers, Nicolas Cueto niconiko language school ### THE CARD SCRIPT global gStartTime on keyDown s put the long seconds into gStartTime pass keyDown -- TRIED BOTH WITH & W/OUT THIS LINE end keyDown ### THE STACK SCRIPT global gStartTime on keyUp s put the long seconds into tEndTime put (tEndTime - gStartTime) into field "fResult" -- RESULTS IN A BLINKING FIELD end keyUp From sarah.reichelt at gmail.com Tue Sep 6 18:32:12 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 7 Sep 2005 08:32:12 +1000 Subject: How to run a program in a shell In-Reply-To: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> References: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> Message-ID: > I have an app (runs on OSX) that is basically a website generator. > Looks at some folders and puts some html wrappers around files there > after a user enters some info. Two of the items entered are a > username and password. The prog then generates all the html and > should generate an .htaccess and .htpasswd files. > > What I need is to run htpasswd to generate the encrypted password > for .htaccess > > The problem is that REV won't let me run or even launch a shell. It's > supposed to work, but it just doesn't. > > If anybody knows how to run a shell prog and return it's result I > would REALLY appreciate any help. > Hi Wally, I have done this many times without problem, although I have never tried it with the htpasswd command. For a simple command, I use somethig like this: put "cd /Users/sarah/Desktop/" & cr & "pwd" into tCmd -- put the shell command into a variable put shell(tCmd) into tResult -- do the shell command and get the result put tResult into fld 1 -- display the result As you can see, I was able to use a 2 line series of commands, by just joining them together with a line break. If the shell command requires sudo, then it gets a bit more complicated, but here is how I do it (this example sets the system clock): put "#!/bin/sh" & cr into tScript put "pw=" & quote & tPass & quote & cr after tScript put "echo $pw | sudo -S date " & tDate & tTime & cr after tScript -- build the command lines put shell(tScript) into tCheck -- do the command & get the result You have to quote your admin password, but you can ask for that when running the script. Finally, you sometimes need to run a shell command in the background. In this case, I use the following syntax, which puts the result into a text file. I then set up a regular check to see if the text file is there and read the result when it's ready (this example pings an IP address, waiting up to 15 seconds for the result, but not blocking anything else from happening during that time): function checkPing pIP put specialFolderPath("Desktop") & "/ping.txt" into tFileName if there is a file tFileName then delete file tFileName put "ping -c1 -n " & pIP into tShellCmd put " > " & tFileName & " 2>&1 &" after tShellCmd get shell(tShellCmd) repeat 15 times wait 1 second with messages if there is a file tFileName then put URL ("file:" & tFileName) into tRes if tRes is empty then next repeat -- file created but no result yet put wordOffset("loss", tRes) into tWord if tWord = 0 then next repeat -- file created but result not complete put word tWord-2 of tRes into tPercent if tPercent = "0%" then return true else return false end if end repeat return false end checkPing I hope these examples help, but if you want any further advice or testing, let me know. Cheers, Sarah From stephenREVOLUTION at barncard.com Tue Sep 6 18:41:29 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 6 Sep 2005 15:41:29 -0700 Subject: Formatting Column of Times In-Reply-To: <003a01c5b330$aec279b0$0b01a8c0@niconiko04zbtb> References: <003a01c5b330$aec279b0$0b01a8c0@niconiko04zbtb> Message-ID: Hi everyone, is there a way to use the format function to make timings line up right-justified? -- i.e. pad with leading zeros and/or spaces? Or do I have to roll my own? I've been faking this for years but if there's a function... column of times: 34:45 12:00 2:12 1:22 3:44 want to be: 34:45 12:00 2:12 1:22 3:44 or 34:45 12:00 02:12 01:22 03:44 From kray at sonsothunder.com Tue Sep 6 18:47:24 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 06 Sep 2005 17:47:24 -0500 Subject: [ANN] StackRunner 1.0 - 1.0.1 Available In-Reply-To: Message-ID: On 9/6/05 4:14 PM, "Stephen Barncard" wrote: > Ken, > I love this thing - especially in OSX, as one should be able to put > the config file and the stack inside the MacOS folder in the package, > where the executable for stackrunner and the included externals live. > However, I can't seem to find the magic incantation to have > Stackrunner locate a file inside the package.. Stephen, you found a bug, which I just fixed and reposted (apps should now read 1.0.1 in the Get Info/Properties windows). BTW: I just do a check for verfication on the stack and then open it, so you can also use relative paths from the executable folder as well. So you can also say: open=StackRunner.app/Contents/MacOS/CDRToLabel.rev and it will work properly. Enjoy! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alex at tweedly.net Tue Sep 6 18:54:04 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 06 Sep 2005 23:54:04 +0100 Subject: Formatting Column of Times In-Reply-To: References: <003a01c5b330$aec279b0$0b01a8c0@niconiko04zbtb> Message-ID: <431E1E0C.3090508@tweedly.net> Stephen Barncard wrote: > Hi everyone, > is there a way to use the format function to make timings line up > right-justified? -- i.e. pad with leading zeros and/or spaces? Or do I > have to roll my own? I've been faking this for years but if there's a > function... > What are you starting with ? If it's tHours and tMins, then you'd do format("%2d:%02d", tHours, tMins) -- " 3:55" or format("%02d:%02d", tHours, tMins) -- "03:05" -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From kray at sonsothunder.com Tue Sep 6 18:54:59 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 06 Sep 2005 17:54:59 -0500 Subject: Formatting Column of Times In-Reply-To: Message-ID: On 9/6/05 5:41 PM, "Stephen Barncard" wrote: > Hi everyone, > is there a way to use the format function to make timings line up > right-justified? -- i.e. pad with leading zeros and/or spaces? Or do > I have to roll my own? I've been faking this for years but if there's > a function... You'd need a field with a monospaced font, but then you could do this: put format("%5s",tTimeVal) Which will pad spaces before any value that is less than 5 chars. So if you had your column of times, you could do this: function formatTimes pTimes put "" into tNewTimes repeat for each line tTime in pTimes put format("%5s",tTime) & cr after tNewTimes end repeat delete char -1 of tNewTimes return tNewTimes end formatTimes HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Sep 6 18:59:50 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 06 Sep 2005 17:59:50 -0500 Subject: Formatting Column of Times In-Reply-To: <431E1E0C.3090508@tweedly.net> Message-ID: On 9/6/05 5:54 PM, "Alex Tweedly" wrote: > format("%2d:%02d", tHours, tMins) -- " 3:55" > or > format("%02d:%02d", tHours, tMins) -- "03:05" > I didn't realize you could do this, Alex... that's neat! (Now to go back to some scripts I've done the "long" way...) :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From davis.phil at comcast.net Tue Sep 6 19:26:26 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 06 Sep 2005 16:26:26 -0700 Subject: detecting for how long a key is being pressed In-Reply-To: <4F49DDA2-1F1C-11DA-9578-0030659A795C@derbrill.de> References: <4F49DDA2-1F1C-11DA-9578-0030659A795C@derbrill.de> Message-ID: <431E25A2.9030402@comcast.net> Or, here's a modification of Malte's that won't get confused by multiple keys down before any key goes up: global gKeydownTime on rawKeyDown pKeyCode put the milliseconds into gKeydownTime[pKeyCode] pass rawKeyDown end rawKeyDown on rawKeyUp pKeyCode put the milliseconds - gKeydownTime[pKeyCode] pass rawKeyUp end rawKeyUp Phil Davis Malte Brill wrote: > Hi olli, > > here is a starter. it is not absolutely reliable, as the user might hit > 2 keys, one after another. If you need a more reliable script just let > me know. > > In the card script: > > global gOldKey,gStartMillisecs > > on rawKeyDown theKey > if theKey<>gOldKey then > put theKey into gOldKey > put the milliseconds into gStartMillisecs > end if > end rawKeyDown > > on rawKeyUp > put the milliseconds-gStartMillisecs > put empty into gOldKey > end rawKeyUp > > Hope that helps, > > Malte > > --- > ArcadeEngine - prepare to WOW your audience within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue Sep 6 19:52:07 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2005 18:52:07 -0500 Subject: Best way to send lots of email Message-ID: <431E2BA7.7090106@hyperactivesw.com> I told a friend I would try to help him set up a little database that sends email to a list of opt-in customers. To begin with there will only be a few names, but he is hoping that business will grow and there will be a few thousand eventually. I thought I'd just set up a simple stack that uses the excellent libSMTP to send the emails. To protect each customer's privacy, we'd prefer that emails are sent out individually, or else in some way that doesn't display the other email addresses. That means we can't use CC lists. We could use BCC instead but then the recipient's name wouldn't be in the "To" field and some spam filters might block it. If we send each email individually it could conceivably take a long time when the list gets larger, and spewing a lot of email at once could trigger an ISP's spammer alert. Does anyone know how many emails it takes before you look like a spammer? What's the best way to handle a private mailing like this? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Tue Sep 6 20:05:08 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 7 Sep 2005 10:05:08 +1000 Subject: Best way to send lots of email In-Reply-To: <431E2BA7.7090106@hyperactivesw.com> References: <431E2BA7.7090106@hyperactivesw.com> Message-ID: On 9/7/05, J. Landman Gay wrote: > I told a friend I would try to help him set up a little database that > sends email to a list of opt-in customers. To begin with there will only > be a few names, but he is hoping that business will grow and there will > be a few thousand eventually. I thought I'd just set up a simple stack > that uses the excellent libSMTP to send the emails. > > To protect each customer's privacy, we'd prefer that emails are sent out > individually, or else in some way that doesn't display the other email > addresses. That means we can't use CC lists. We could use BCC instead > but then the recipient's name wouldn't be in the "To" field and some > spam filters might block it. > > If we send each email individually it could conceivably take a long time > when the list gets larger, and spewing a lot of email at once could > trigger an ISP's spammer alert. Does anyone know how many emails it > takes before you look like a spammer? > > What's the best way to handle a private mailing like this? I agree that the best way to avoid spam filters is to use individual emails which can include a personalised greeting as well as showing the recipient in the "To" field. Make sure the "From" includes a real name as well as the email address e.g. From: John Smith rather than From: john.smith at isp.com When testing, have the program send an email to you and to some testers and get them to check the raw source and see what spam status has been allocated to the email and why. That way you can re-structure the email to minimize the likelihood of it being thought spam. As regards trying to avoid looking like a spammer, I don't know how this is triggered, but from what I have read, these spammers can send out 30,000 emails an hour or something ridiculous. I reckon that if you split it up so that you sent a bunch, waited a few minutes and sent another bunch, it would be more reliable and less likely to be misinterpreted. Also, if the email content doesn't trigger any spam filters, that has got to look better. HTH, Sarah From chipp at chipp.com Tue Sep 6 20:12:00 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 06 Sep 2005 19:12:00 -0500 Subject: [ANN] StackRunner 1.0 In-Reply-To: References: Message-ID: <431E3050.6090905@chipp.com> Hey Ken, great stuff. I use a similar 'launcer app' to debug. One thing I noticed with StackRunner is that it stays open in memory even though all the windows (stacks) are closed (XP). This is a potential problem, as it opens up successive instances of itself each time it's launched. Thus the user can 'think' they've quit the stack (and StackRunner), but it's still in memory. I'm not exactly sure how to fix this best. I suppose having a 'send message' to check the openStacks() every minute or so would do it. In my case, I keep the orig stack wd open (very small) and it kills the app when it's closed. I understand this isn't a good way for StackRunner to work, as you want to get completely out of the way. Anyway, just my 2 cents worth. Ken Ray wrote: > Just a quick note to let you all know that I have uploaded a standalone > application called "StackRunner" which is similar to the DreamCard Player in > that it will "play" your MetaCard or Revolution stacks, but it is much > simpler and doesn't present any user-interface elements so it runs > "cleaner". From chipp at chipp.com Tue Sep 6 20:16:54 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 06 Sep 2005 19:16:54 -0500 Subject: [ANN] StackRunner 1.0 In-Reply-To: <431E3050.6090905@chipp.com> References: <431E3050.6090905@chipp.com> Message-ID: <431E3176.6060905@chipp.com> Hmmm. Maybe a better solution is to use a frontscript. Check for the closeStack message and count the number of openstacks. If it's only 1 then quit, else pass closeStack. -Chipp Chipp Walters wrote: > I'm not exactly sure how to fix this best. I suppose having a 'send > message' to check the openStacks() every minute or so would do it. In my > case, I keep the orig stack wd open (very small) and it kills the app > when it's closed. I understand this isn't a good way for StackRunner to > work, as you want to get completely out of the way. From jacque at hyperactivesw.com Tue Sep 6 20:31:08 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2005 19:31:08 -0500 Subject: detecting for how long a key is being pressed In-Reply-To: <003a01c5b330$aec279b0$0b01a8c0@niconiko04zbtb> References: <003a01c5b330$aec279b0$0b01a8c0@niconiko04zbtb> Message-ID: <431E34CC.4060600@hyperactivesw.com> Nicolas Cueto wrote: > Like Jacqueline, I too was going to suggest "keyDown" > and "keyUp". However I tried it out first myself and > found that so long as the targeted key is held conti- > nuously down: > > 1. the "keyDown" message is also generated continu- > ously. Thus, if the variable for storing the start time > is being set by the keyDown handler, then that variable > will be continuously reset. (To resolve this, I tried "if > tTimeVar is not empty then" to escape the handler, but > no luck) > > 2. the "keyUp" message is also being generated. I know > this because in the keyUp handler I have a "put x in field y" > line, which results in the field continuously blinking. (I would've > thought the keyUp message would be generated only after > the target key was released?) > > Jacqueline also suggests that these key-handlers might be > system specific. In which case, I'm on Win2K. It is OS-specific. On Mac OS X, keyup is only sent once when the key is released. On Mac OS 9 a "keyup" is sent immediately after keydown, sort of like you report. Here is one way to possibly work around the problem (I liked Phil's array suggestion): local tKeyTimes on rawkeydown k if tKeyTimes[k] = "" then put the milliseconds into tKeyTimes[k] end rawkeydown on rawkeyup k wait 50 milliseconds -- adjust this as needed if keysdown() contains k then pass rawkeyup -- they are still holding it get tKeyTimes[k] if it <> "" then put the milliseconds - it - 50 into tTimeVar -- holds the timing data put "" into tKeyTimes[k] end if end rawkeyup I didn't try it on a Windows machine though, so it may need tweaking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davis.phil at comcast.net Tue Sep 6 20:26:59 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 06 Sep 2005 17:26:59 -0700 Subject: Best way to send lots of email In-Reply-To: References: <431E2BA7.7090106@hyperactivesw.com> Message-ID: <431E33D3.8040001@comcast.net> I know very little about this topic, but I wonder if it would also help to send batches of emails from different computers (each of which is pulling its names from the same stack)? Phil Davis Sarah Reichelt wrote: > On 9/7/05, J. Landman Gay wrote: > >>I told a friend I would try to help him set up a little database that >>sends email to a list of opt-in customers. To begin with there will only >>be a few names, but he is hoping that business will grow and there will >>be a few thousand eventually. I thought I'd just set up a simple stack >>that uses the excellent libSMTP to send the emails. >> >>To protect each customer's privacy, we'd prefer that emails are sent out >>individually, or else in some way that doesn't display the other email >>addresses. That means we can't use CC lists. We could use BCC instead >>but then the recipient's name wouldn't be in the "To" field and some >>spam filters might block it. >> >>If we send each email individually it could conceivably take a long time >>when the list gets larger, and spewing a lot of email at once could >>trigger an ISP's spammer alert. Does anyone know how many emails it >>takes before you look like a spammer? >> >>What's the best way to handle a private mailing like this? > > > I agree that the best way to avoid spam filters is to use individual > emails which can include a personalised greeting as well as showing > the recipient in the "To" field. Make sure the "From" includes a real > name as well as the email address e.g. > From: John Smith > rather than > From: john.smith at isp.com > > When testing, have the program send an email to you and to some > testers and get them to check the raw source and see what spam status > has been allocated to the email and why. That way you can re-structure > the email to minimize the likelihood of it being thought spam. > > As regards trying to avoid looking like a spammer, I don't know how > this is triggered, but from what I have read, these spammers can send > out 30,000 emails an hour or something ridiculous. I reckon that if > you split it up so that you sent a bunch, waited a few minutes and > sent another bunch, it would be more reliable and less likely to be > misinterpreted. Also, if the email content doesn't trigger any spam > filters, that has got to look better. > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From adsmd1 at optonline.net Tue Sep 6 20:33:09 2005 From: adsmd1 at optonline.net (Alan Simon) Date: Tue, 06 Sep 2005 20:33:09 -0400 Subject: Choppy video? In-Reply-To: References: Message-ID: Doesn't Rev -require- quicktime to be installed to show video clips? That was my impression from the documentation. Alan Simon On Sep 6, 2005, at 12:21 AM, Scott Rossi wrote: > Recently, Alan Simon wrote: > > >>>> I am in the process of writing an application that displays AVI >>>> video >>>> loops, each a second or two in duration. When the video plays >>>> back, >>>> it appears that some of the frames are being skipped, and I get a >>>> choppy appearance. >>>> >>>> The playback machine is a 3 GHz Pentium with 1GB of memory, so I >>>> don't think the PC is the problem. Could the problem be in the way >>>> the loops are encoded? >>>> > > >>> Do you have QuickTime enabled or are you using the system's built- >>> in media playback? >>> > > >> I have Quicktime installed. I am using Rev's built-in video clip >> player. Even the standalone Quicktime player >> plays them choppy, so I would assume the problem is in the video >> file, not the standalone. WMP seems to run them fine, though... >> > > Then you should try disabling QuickTime by setting the dontUseQT to > true > when starting up your stack and see if that makes a difference. It > is not > guaranteed that this will solve the problem, but then you cannot > guarantee > that everyone you distribute to will have QT for Windows installed > either. > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue Sep 6 20:34:37 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 06 Sep 2005 19:34:37 -0500 Subject: [ANN] StackRunner 1.0 In-Reply-To: <431E3176.6060905@chipp.com> Message-ID: On 9/6/05 7:16 PM, "Chipp Walters" wrote: > Hmmm. > > Maybe a better solution is to use a frontscript. Check for the > closeStack message and count the number of openstacks. If it's only 1 > then quit, else pass closeStack. Good idea, Chipp... I'll put it into the next version! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at tactilemedia.com Tue Sep 6 21:15:11 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 06 Sep 2005 18:15:11 -0700 Subject: Choppy video? In-Reply-To: Message-ID: Recently, Alan Simon wrote: > Doesn't Rev -require- quicktime to be installed to show video clips? > That was my impression from the documentation. On Macs, yes, because that's pretty much the default technology available, and it is true that the player object is optimized for QuickTime. But on Windows it is possible to use whatever default media technology is installed (usually Windows Media Player) by setting the dontUseQT to true. The drawback is you don't get as much control over playback as you do using QuickTime. Note that you can also import video into a stack as a videoClip. If you have specific questions about QT, you might ask Trevor DeVore, one of the QT gurus on the list. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From stephenREVOLUTION at barncard.com Tue Sep 6 21:41:34 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 6 Sep 2005 18:41:34 -0700 Subject: Formatting Column of Times In-Reply-To: References: Message-ID: Thanks Ken and Alex. I'm having a hard time with the notation -it's not 'speaking' to me yet. These examples really help, as the docs are skimpy with examples. Filter/Format/ may need a scripting conference session someday of it's own >On 9/6/05 5:54 PM, "Alex Tweedly" wrote: > >> format("%2d:%02d", tHours, tMins) -- " 3:55" >> or >> format("%02d:%02d", tHours, tMins) -- "03:05" >> > >I didn't realize you could do this, Alex... that's neat! (Now to go back to >some scripts I've done the "long" way...) > >:-) > >Ken Ray From lists at mangomultimedia.com Tue Sep 6 22:14:17 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Sep 2005 19:14:17 -0700 Subject: Choppy video? In-Reply-To: References: Message-ID: On Sep 6, 2005, at 6:15 PM, Scott Rossi wrote: > Recently, Alan Simon wrote: > >> Doesn't Rev -require- quicktime to be installed to show video clips? >> That was my impression from the documentation. > > On Macs, yes, because that's pretty much the default technology > available, > and it is true that the player object is optimized for QuickTime. > But on > Windows it is possible to use whatever default media technology is > installed > (usually Windows Media Player) by setting the dontUseQT to true. The > drawback is you don't get as much control over playback as you do > using > QuickTime. Note that you can also import video into a stack as a > videoClip. One clarification here. If QT is not installed or if dontUseQT is set to true then the player object reverts to using the "Media Controller Interface" (MCI) on Windows. Windows Media Player does not use MCI to play media so WiMP will play many files that Rev will not. If you want to know if a file format is supported by MCI then try opening it with Microsoft Media Player (Start->Run->mplay32.exe on Windows 2000 > and Start->Run->mplayer.exe on Win98, etc.) Microsoft Media Player uses MCI to play media so if the file opens correctly in this program it should open in Rev as well. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Sep 6 22:26:50 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Sep 2005 19:26:50 -0700 Subject: Choppy video? In-Reply-To: References: Message-ID: On Sep 6, 2005, at 6:15 PM, Scott Rossi wrote: > ...Note that you can also import video into a stack as a videoClip. Another note. VideoClip objects seem to be a weird hybrid. The VideoClip object uses a player to display it's video. So if QuickTime is installed then it will play videos and audio files that QuickTime supports (at least in my tests). It seems to have problems with SWF files and some other formats that a player object would open however. You also get very limited playback control with a VideoClip. You can show the controller but if the video reaches the end of the movie then the VideoClip object disappears (which is intended behavior). If you really want to embed your video inside of your stack then a VideoClip object is the way to go. Besides that, I haven't thought of any reasons why you would want to use a VideoClip object rather than a player object. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Tue Sep 6 23:35:16 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2005 22:35:16 -0500 Subject: Formatting Column of Times In-Reply-To: References: Message-ID: <431E5FF4.7020803@hyperactivesw.com> Stephen Barncard wrote: > Filter/Format/ may need a scripting conference session someday of it's own Just added it to my suggestion list. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From FlexibleLearning at aol.com Wed Sep 7 03:43:39 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 7 Sep 2005 03:43:39 EDT Subject: Formatting Column of Times Message-ID: Alex Tweedly wrote: > format("%2d:%02d", tHours, tMins) -- " 3:55" > or > format("%02d:%02d", tHours, tMins) -- "03:05" Ken wrote: >I didn't realize you could do this, Alex... that's neat! (Now to go back to >some scripts I've done the "long" way...) Excellent, Alex! Could you write a little tutorial for us all? The 'format' incantation has always baffled me, along with the 'matchText' incantations. (Maybe I just led a sheltered life) /H From rev at armbase.com Wed Sep 7 04:47:19 2005 From: rev at armbase.com (rev at armbase.com) Date: Wed, 07 Sep 2005 09:47:19 +0100 Subject: [ANN] Palm Database Project Message-ID: <20050907094719.0g1v4vfoggko4g8g@webmail.armbase.com> Hi All. I have a little palm database reader. It is in its very early stages. I would like assistance in tidying up the code for release as a freeware tool to the list. I would like any experienced runrevers who are interested to reply here or pop me a mail privately. All you would have to do is have a look and suggest where the stack can be improved. You can make sugesstions then I can draw up an agenda of what I can do, so the project doesn't get too side-tracked. Interested? Best regards Bob From dam-pro.girard at laposte.net Wed Sep 7 06:20:56 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Wed, 07 Sep 2005 12:20:56 +0200 Subject: Sort numbers, problem. Message-ID: <431EBF08.6020908@laposte.net> Hi all, I have got a problem with the sort command in Revolution. I have got a list, who contains number, and I need to sort them, but there are a problem with the sort command. Exemple script: global totox put "1,215,3,48,5,16,24" into totox sort items of totox put totox Normally, I will have got this result : "1,3,5,16,24,48,215" but NO, I have got this : "1,16,215,24,3,48,5" There are 2 ways for this problem, I have forgot to write somthing in my script or there is a beautiful bug. Thanks. Damien Girard Email: dam-pro.girard at laposte.net From klaus at major-k.de Wed Sep 7 06:26:48 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Sep 2005 12:26:48 +0200 Subject: Sort numbers, problem. In-Reply-To: <431EBF08.6020908@laposte.net> References: <431EBF08.6020908@laposte.net> Message-ID: <4AD9847D-C8EF-4DA4-9654-FA687D7D61BC@major-k.de> Bonjour Damien, > Hi all, > > I have got a problem with the sort command in Revolution. > I have got a list, who contains number, and I need to sort them, > but there are a problem with the sort command. > > Exemple script: > > global totox > put "1,215,3,48,5,16,24" into totox > sort items of totox > put totox > > Normally, I will have got this result : > "1,3,5,16,24,48,215" > > but NO, I have got this : > "1,16,215,24,3,48,5" > > There are 2 ways for this problem, I have forgot to write somthing > in my script or there is a beautiful bug. Sorry to disappoint you, but this is no bug ;-) ... sort items of totox NUMERIC ... Will do the trick :-) > Thanks. > > Damien Girard > Email: dam-pro.girard at laposte.net Best Klaus Major klaus at major-k.de http://www.major-k.de From dam-pro.girard at laposte.net Wed Sep 7 06:29:28 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Wed, 07 Sep 2005 12:29:28 +0200 Subject: Sort numbers, problem. In-Reply-To: <4AD9847D-C8EF-4DA4-9654-FA687D7D61BC@major-k.de> References: <431EBF08.6020908@laposte.net> <4AD9847D-C8EF-4DA4-9654-FA687D7D61BC@major-k.de> Message-ID: <431EC108.6080908@laposte.net> Bonjour Klaus, Thanks ! This work very fine now. Regards, Damien. Klaus Major wrote: > Bonjour Damien, > >> Hi all, >> >> I have got a problem with the sort command in Revolution. >> I have got a list, who contains number, and I need to sort them, but >> there are a problem with the sort command. >> >> Exemple script: >> >> global totox >> put "1,215,3,48,5,16,24" into totox >> sort items of totox >> put totox >> >> Normally, I will have got this result : >> "1,3,5,16,24,48,215" >> >> but NO, I have got this : >> "1,16,215,24,3,48,5" >> >> There are 2 ways for this problem, I have forgot to write somthing >> in my script or there is a beautiful bug. > > > Sorry to disappoint you, but this is no bug ;-) > > ... > sort items of totox NUMERIC > ... > > Will do the trick :-) > >> Thanks. >> >> Damien Girard >> Email: dam-pro.girard at laposte.net > > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de From AbilityForms at aol.com Wed Sep 7 06:56:18 2005 From: AbilityForms at aol.com (AbilityForms at aol.com) Date: Wed, 7 Sep 2005 06:56:18 EDT Subject: Grouped Scrolling Fields Message-ID: Hi Everyone, Here's another newbie question. What's the best way to get several fields to scroll together? Joe Orlando, Florida From alex at tweedly.net Wed Sep 7 07:19:41 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Sep 2005 12:19:41 +0100 Subject: Formatting Column of Times In-Reply-To: References: Message-ID: <431ECCCD.1030305@tweedly.net> FlexibleLearning at aol.com wrote: > Excellent, Alex! > > >Could you write a little tutorial for us all? The 'format' incantation has >always baffled me, along with the 'matchText' incantations. (Maybe I just led a > sheltered life) > > I'll have a go. But I'm far from an expert - so consider this the first step on a community effort to write a tutorial .... I'll write something up (probably) this weekend. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From klaus at major-k.de Wed Sep 7 07:22:56 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Sep 2005 13:22:56 +0200 Subject: Grouped Scrolling Fields In-Reply-To: References: Message-ID: <6A789ED8-5DD9-4FA5-AFC0-61497ABFE9DC@major-k.de> Hi Joe, > Hi Everyone, > > Here's another newbie question. What's the best way to get several > fields to > scroll together? dunno if this is the BEST way, but you can script the one and only field WITH a scrollbar like this: on scrollbardrag tValue ## tValue contains the amount of "scrolling" of this field ## and we just apply that value to the other fields... set the scroll of fld 2 to tValue set the scroll of fld 3 to tValue set the scroll of fld 4 to tValue end scrollbardrag I have 4 fields side by side and only the right one has a scrollbar with this script. See this example "live" on Rev-online -> klausimausi -> Fun with fields Hint: This will not scroll if you use a "scrollwheel" on your mouse! You will have to trap some "rawKeyDown"s for this. I don't have a scrollwheel, so I cannot help you with that one, in case you need it... > Joe > Orlando, Florida Regards Klaus Major klaus at major-k.de http://www.major-k.de From mcdomi at free.fr Wed Sep 7 08:17:32 2005 From: mcdomi at free.fr (Dom) Date: Wed, 7 Sep 2005 14:17:32 +0200 Subject: Formatting Column of Times In-Reply-To: Message-ID: <1h2ivjo.1krr5ni11hir20M%mcdomi@free.fr> Stephen Barncard wrote: > Thanks Ken and Alex. I'm having a hard time with the notation -it's > not 'speaking' to me yet. These examples really help, as the docs are > skimpy with examples. another example: to make the sum of a field, and to yield a formatted result: on closefield put the short name of the target into tfield replace comma with "." in fld tfield -- european currency delimiter ;-) put fld tfield into montants replace return with comma in montants put "S" & tfield into ttotal put format("%3.2f",sum(montants)) into fld ttotal end closefield -- Revolutionario From omega at isphlg.rimed.cu Wed Sep 7 08:16:23 2005 From: omega at isphlg.rimed.cu (Omega) Date: Wed, 07 Sep 2005 12:16:23 -0000 Subject: I need that somebody subscribes a colleague to the list... References: Message-ID: <000401c494a4$84acc8c0$16017b98@eduhol.rimed.cu> I need that somebody subscribes a colleague to the list... Listeros, at this time we don't have connection to internet and I need that gilbert at isphlg.rimed.cu and omega at isphlg.rimed.cu are included in the discussion lists it has more than enough TranScript that you know. Thank you!!! From FlexibleLearning at aol.com Wed Sep 7 08:42:32 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 7 Sep 2005 08:42:32 EDT Subject: Formatting Column of Times Message-ID: <207.8c2b860.30503a38@aol.com> FlexibleLearning at aol.com wrote: >> Excellent, Alex! >> Could you write a little tutorial for us all? The 'format' incantation has >> always baffled me, along with the 'matchText' incantations. >> (Maybe I just led a > sheltered life) Alex replied: > I'll have a go. But I'm far from an expert - so consider this the first > step on a community effort to write a tutorial .... > > I'll write something up (probably) this weekend. That would be much appreciated, Alex. I am sure we can chip in as needed and it might inform the content and level of a scripting conference session at a later date. /H FLCo Home of The Scripter's Scrapbook From FlexibleLearning at aol.com Wed Sep 7 08:57:50 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 7 Sep 2005 08:57:50 EDT Subject: AlertLoc Message-ID: <85.2f672902.30503dce@aol.com> Window placement has caused some discussion recently, so I thought I'd add my own ponderings to the pot... on preOpenStack set the loc of this stack to alertLoc() checkWD end preOpenStack function alertLoc if "Win32" is in the platform then if the mode of this stack is in "1,2" then put 30 into n # Toplevel titleBar height else put 22 into n # Palette, modeless and modal titlebar height else if the mode of this stack is in "1,2" then put 23 into n # Toplevel titleBar height else put 16 into n # Palette, modeless and modal titlebar height end if if the decorations of this stack ="" then put n-n into n get the windowBoundingRect put round( (the width of this stack /2) + ((item 3 of it - item 1 of it) - the width of this stack) / 2) + item 1 of it into x put round( (the height of this stack /2) + ((item 4 of it - item 2 of it) - the height of this stack +n) / 3) + item 2 of it into y return x,y end alertLoc on checkWD --| Ensure window is onScreen set the top of this stack to max(item 2 of the WindowBoundingRect,the top of this stack) set the right of this stack to min(item 3 of the WindowBoundingRect,the right of this stack) set the left of this stack to max(item 1 of the WindowBoundingRect,the left of this stack) set the bottom of this stack to min(item 4 of the WindowBoundingRect,the bottom of this stack) end checkWD /H From b.xavier at internet.lu Wed Sep 7 09:09:30 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 7 Sep 2005 15:09:30 +0200 Subject: Grouped Scrolling Fields In-Reply-To: Message-ID: <20050907124854.77EFD824D0D@mail.runrev.com> Hi Joe, > Here's another newbie question. What's the best way to get > several fields to scroll together? Here's an atomic function that does that note that some comments were left in case they becase useful agan. here's a slight variation Put this script into your card or stack... on SynchScroll cScroll, fldlist, scrolldirection -- 20030111 -- added hscroll option lock screen local H put char 1 of scrolldirection is "H" into H if H then repeat for each item c in fldlist if there is a fld c then if the hscroll of fld c is not cScroll then set the hscroll of fld c to cScroll end if end repeat else repeat for each item c in fldlist if the scroll of fld c is not cScroll then set the scroll of fld c to cScroll end repeat end if unlock screen end SynchScroll Now, i dont know if Klaus spoke for Macs but for windows, it does work for mouse-scrolling wheels on windows... To use it just put this script below in all your fields (remember that we can scroll any of them via a mousedown+drag or scrollwheels, not just the rightmost scrollbar... on scrollbardrag x put "field1,field2,field3" into fldlist SynchScroll x, fldlist, "V" end scrollbardrag Anyway, that's not the most advanced version i have but it's enough to get you started ;) bests Xavier http://monsieurx.com From warren at howsoft.com Wed Sep 7 09:25:41 2005 From: warren at howsoft.com (Bob Warren) Date: Wed, 7 Sep 2005 10:25:41 -0300 Subject: Q: When is a hand not a hand? Message-ID: <000b01c5b3af$f541b520$0201a8c0@john> A: When it is a Hoary Hedgehog standalone. For the uninitiated, "Hoary Hedgehog" is the codename given to the current release of Ubuntu Linux. Using Ubuntu Linux, if I set the default cursor to "hand", it works fine, but if I make a standalone, I don't get a hand, I get an icon which I cannot identify. If someone using another flavour of Linux would be kind enough to confirm this, I'll Bugzilla it. Thanks. From bnz2 at cdc.gov Wed Sep 7 09:37:34 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 7 Sep 2005 09:37:34 -0400 Subject: detecting for how long a key is being pressed Message-ID: <64878EF567131D4596246171F75FD4A974463C@m-epo-1.epo.cdc.gov> I tested the following script, and it seems to work pretty well. It is currently set up to test for a lowercase 'k' and put the milliseconds into a field titled "feedback" and to stop putting updating the milliseconds when the 'k' is released. I put this script in the stack script: on rawkeydown checkkeysdown pass rawkeydown end rawkeydown on checkkeysdown if the keysdown contains 107 then put the milliseconds into field "feedback" send checkkeysdown to me in 50 milliseconds end if end checkkeysdown -----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: Tuesday, September 06, 2005 8:31 PM To: How to use Revolution Subject: Re: detecting for how long a key is being pressed Nicolas Cueto wrote: > Like Jacqueline, I too was going to suggest "keyDown" > and "keyUp". However I tried it out first myself and > found that so long as the targeted key is held conti- > nuously down: > > 1. the "keyDown" message is also generated continu- > ously. Thus, if the variable for storing the start time > is being set by the keyDown handler, then that variable > will be continuously reset. (To resolve this, I tried "if > tTimeVar is not empty then" to escape the handler, but > no luck) > > 2. the "keyUp" message is also being generated. I know > this because in the keyUp handler I have a "put x in field y" > line, which results in the field continuously blinking. (I would've > thought the keyUp message would be generated only after > the target key was released?) > > Jacqueline also suggests that these key-handlers might be > system specific. In which case, I'm on Win2K. It is OS-specific. On Mac OS X, keyup is only sent once when the key is released. On Mac OS 9 a "keyup" is sent immediately after keydown, sort of like you report. Here is one way to possibly work around the problem (I liked Phil's array suggestion): local tKeyTimes on rawkeydown k if tKeyTimes[k] = "" then put the milliseconds into tKeyTimes[k] end rawkeydown on rawkeyup k wait 50 milliseconds -- adjust this as needed if keysdown() contains k then pass rawkeyup -- they are still holding it get tKeyTimes[k] if it <> "" then put the milliseconds - it - 50 into tTimeVar -- holds the timing data put "" into tKeyTimes[k] end if end rawkeyup I didn't try it on a Windows machine though, so it may need tweaking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Wed Sep 7 09:49:58 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 7 Sep 2005 09:49:58 -0400 Subject: detecting for how long a key is being pressed Message-ID: <64878EF567131D4596246171F75FD4A996821E@m-epo-1.epo.cdc.gov> Sorry, I misunderstood the original question. This script accomplishes what is needed: on rawkeydown pKey global gStartTime if pKey = 107 and gStartTime = empty then checkkeysdown end if pass rawkeydown end rawkeydown on checkkeysdown global gStartTime if the keysdown contains 107 then put the milliseconds into tMil if gStartTime = empty then put tMil into gStartTime put "start time: " & tMil into field "feedback" end if send checkkeysdown to me in 50 milliseconds else put ((the milliseconds)-gStartTime)/1000 into tDuration put Linefeed & "Duration: " & tDuration & " seconds" after field "feedback" put empty into gStartTime end if end checkkeysdown -----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, September 07, 2005 9:38 AM To: jacque at hyperactivesw.com; How to use Revolution Subject: RE: detecting for how long a key is being pressed I tested the following script, and it seems to work pretty well. It is currently set up to test for a lowercase 'k' and put the milliseconds into a field titled "feedback" and to stop putting updating the milliseconds when the 'k' is released. I put this script in the stack script: on rawkeydown checkkeysdown pass rawkeydown end rawkeydown on checkkeysdown if the keysdown contains 107 then put the milliseconds into field "feedback" send checkkeysdown to me in 50 milliseconds end if end checkkeysdown -----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: Tuesday, September 06, 2005 8:31 PM To: How to use Revolution Subject: Re: detecting for how long a key is being pressed Nicolas Cueto wrote: > Like Jacqueline, I too was going to suggest "keyDown" > and "keyUp". However I tried it out first myself and > found that so long as the targeted key is held conti- > nuously down: > > 1. the "keyDown" message is also generated continu- > ously. Thus, if the variable for storing the start time > is being set by the keyDown handler, then that variable > will be continuously reset. (To resolve this, I tried "if > tTimeVar is not empty then" to escape the handler, but > no luck) > > 2. the "keyUp" message is also being generated. I know > this because in the keyUp handler I have a "put x in field y" > line, which results in the field continuously blinking. (I would've > thought the keyUp message would be generated only after > the target key was released?) > > Jacqueline also suggests that these key-handlers might be > system specific. In which case, I'm on Win2K. It is OS-specific. On Mac OS X, keyup is only sent once when the key is released. On Mac OS 9 a "keyup" is sent immediately after keydown, sort of like you report. Here is one way to possibly work around the problem (I liked Phil's array suggestion): local tKeyTimes on rawkeydown k if tKeyTimes[k] = "" then put the milliseconds into tKeyTimes[k] end rawkeydown on rawkeyup k wait 50 milliseconds -- adjust this as needed if keysdown() contains k then pass rawkeyup -- they are still holding it get tKeyTimes[k] if it <> "" then put the milliseconds - it - 50 into tTimeVar -- holds the timing data put "" into tKeyTimes[k] end if end rawkeyup I didn't try it on a Windows machine though, so it may need tweaking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From AbilityForms at aol.com Wed Sep 7 10:09:45 2005 From: AbilityForms at aol.com (AbilityForms at aol.com) Date: Wed, 7 Sep 2005 10:09:45 EDT Subject: Scrolling Fields Follow-Up question Message-ID: <66.5ea69ed6.30504ea9@aol.com> Hi Again Thanks for the information about scripting fields to scroll together. As a follow up I noticed I can use a "Table Field" I think that will be better than using several fields and scrolling them together. I can't find any documentation about these table fields. Do all the columns have to be equal width? How do I insert text into each column? If it matters I'm on MAC OSX and don't have any intention of making this work on other platforms. Also what's the difference between a scrolling field and a scrolling list field? Thanks for your continuing help. I really appreciate it. Joe Orlando, Florida From kray at sonsothunder.com Wed Sep 7 10:14:33 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Sep 2005 09:14:33 -0500 Subject: [ANN] Palm Database Project In-Reply-To: <20050907094719.0g1v4vfoggko4g8g@webmail.armbase.com> Message-ID: On 9/7/05 3:47 AM, "rev at armbase.com" wrote: > Hi All. > > I have a little palm database reader. It is in its very early stages. > I would like assistance in tidying up the code for release as a freeware tool > to > the list. > I would like any experienced runrevers who are interested to reply here or pop > me a mail privately. All you would have to do is have a look and suggest where > the stack can be improved. You can make sugesstions then I can draw up an > agenda of what I can do, so the project doesn't get too side-tracked. > > Interested? I'm definitely interested... I just got a Palm Treo 650, so any Rev/Palm stuff sounds great! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From klaus at major-k.de Wed Sep 7 10:23:47 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Sep 2005 16:23:47 +0200 Subject: Scrolling Fields Follow-Up question In-Reply-To: <66.5ea69ed6.30504ea9@aol.com> References: <66.5ea69ed6.30504ea9@aol.com> Message-ID: <2CC05082-1329-4766-9DD8-D8055584398C@major-k.de> Hi Joe, > Hi Again > > Thanks for the information about scripting fields to scroll > together. As a > follow up I noticed I can use a "Table Field" I think that will be > better than > using several fields and scrolling them together. "table fields" are just "normal" fields with some TABS sets, that act like a (cheap, sorry Rev ;-) replacement for real tables (like in Excel). > I can't find any documentation about these table fields. > Do all the columns have to be equal width? > How do I insert text into each column? If you just want to display text, a table field is not the right choice. > If it matters I'm on MAC OSX and don't have any intention of making > this work > on other platforms. > Also what's the difference between a scrolling field and a > scrolling list > field? A list field can act as a ehm... well, list :-) Read: Click a line and it gets selected. > Thanks for your continuing help. I really appreciate it. > > Joe > Orlando, Florida Regards Klaus Major klaus at major-k.de http://www.major-k.de From FlexibleLearning at aol.com Wed Sep 7 10:27:45 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 7 Sep 2005 10:27:45 EDT Subject: smartAnswer dialogs Message-ID: <1a7.3e5bc57b.305052e1@aol.com> SmartAnswer for Revolution has been updated to automatically adapt to cross-platform considerations including font display, icons, button placement, dimensions and positioning. It returns the button clicked from an answer dialog of an Icon, Title, Body and up to three User Responses. Available at www.FlexibleLearning.com/xtalk Enjoy! /H FLCo Home of the Scripter's Scrapbook From warren at howsoft.com Wed Sep 7 10:22:39 2005 From: warren at howsoft.com (Bob Warren) Date: Wed, 7 Sep 2005 11:22:39 -0300 Subject: No volumes in Linux? Message-ID: <001b01c5b3b8$6bec2680$0201a8c0@john> According to the Help, and also in practice, "the volumes" for discovering what physical drives or logical partitions a computer has "..... always returns empty on Unix systems". Perhaps I am a bit dim, but could someone tell me why? From jhurley at infostations.com Wed Sep 7 10:33:37 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 7 Sep 2005 07:33:37 -0700 Subject: Little Diversion - Happy Trails In-Reply-To: <20050906224059.E3A70824D97@mail.runrev.com> References: <20050906224059.E3A70824D97@mail.runrev.com> Message-ID: > >Message: 2 >Date: Tue, 06 Sep 2005 10:59:38 -0700 >From: Scott Rossi >Subject: Little Diversion - Happy Trails >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >I posted a little image experiment I found on my drive from a while ago. >Enter the following in your message box: > > go url "http://www.tactilemedia.com/download/happy_trails.rev" > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design >----- >E: scott at tactilemedia.com >W: http://www.tactilemedia.com > Scott, Mesmerizing, with duration time about 300. Jim From jhurley at infostations.com Wed Sep 7 10:34:34 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 7 Sep 2005 07:34:34 -0700 Subject: ANN: Line shaper Message-ID: I have always wondered about the feasibility of a "shaper" graphic tool. By "shaper" tool I mean a circular graphic which may be used to nudge a graphic line to conform locally to the shaper. That is, as the circle moves against the line, the line conforms to the circular shape of the shaper. Imagine a string lying of a flat surface. Slide a circular disk into the string. The string will be deformed to the shape of the disk. (Well, not quite. The length of the sting is fixed; the length of the Rev graphic line is not fixed. Instead the number of graphic points is fixed. It might be interesting to try to keep the length of the graphic line fixed.) This works by "pushing" the graphic points ahead of the shaper. (You can see this by making the Marker Points visible.) This tool works poorly when the graphic points become widely separated. For most purposes, the bezier tools still work best for constructing lines with a complex shape. But some may find the shaper useful in some situations. In the message box run the following: go stack url ""http://home.infostations.net/jhurley/ShapeLine.rev" Jim From scott at tactilemedia.com Wed Sep 7 11:24:46 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 07 Sep 2005 08:24:46 -0700 Subject: ANN: Line shaper In-Reply-To: Message-ID: Recently, Jim Hurley wrote: > I have always wondered about the feasibility of a "shaper" graphic tool. > ... > In the message box run the following: > > go stack url ""http://home.infostations.net/jhurley/ShapeLine.rev" Jim this is sweet. Kind of like Photoshop's Liquify filter but for vectors. Now I need to think of some way to use this.... Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From b.xavier at internet.lu Wed Sep 7 11:37:52 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 7 Sep 2005 17:37:52 +0200 Subject: Scrolling Fields Follow-Up question (tips included ;) In-Reply-To: <66.5ea69ed6.30504ea9@aol.com> Message-ID: <20050907151713.4093E824D0D@mail.runrev.com> i dont know if this will answer your questions but it should... Table fields (not revtable objects) are more complicated yet simpler... The one field variable multicolumn is best shown when you set it's tabstops properties to the width of each column as "10, 30,60" set the tabstops of fld x to "10, 30,60" Then if you set the h and vgrid of the field (not the showlines) you will see the grid! It's definitely very neat! set the hgrid of fld 1 to true the fixedlineheight unfortunately must be on - so you can't vary row width like you can with columns (great shortcoming)... Only problem is that any column is a number, oriented rightwards, it can't be done (not in a serious way at least unless you like Courier-like monospace fonts so you can add spaces before the number to simulate orientation (but then why do you need table fields if you like doing that? yuk idea of old console file programming...). Table fields only ork in left-oriented manner, not centered or right tabstopalignments - so no decimal tab alignment either which is helpful to make nice presentations with numbers of different precision decimals - or for financial tables in percentage gains - we can format the number but we just can't control it's placement with table fields is the point... ..in other words, useless for the usual printable invoicing or ordering application (unless you want to look lefty or newbie in the face of your clients - maybe you have that quality of "who-cares" which i envy a few in some cases - but in business... So multiple fields are innevitable but NOT mandatory... Normal tables can be helpful in plenty of places elsewhere - but at the serious level, it's better to use multi-field tables if numbers are involved. - Tip: dont keep your data in your fields, keep a separate array in memory, this will help a lot in the long run... Remember 10000 of anything in rev can slow you down... or your client... But Rev has so many tricks... There's a few features most "common applications" have where rev could really do some improvements. But i guess meanwhile we do have to do it ourselves. Presentation matters to me - something where rev requires sometimes lots of sweat to find a simple solution - if there is one - usually there is! So i like to use multiple fields if there's numbers but not if there's more than 20 fields - depends how critical it is - also fields cannot display 20000 columns if they have a minimum of 2 letters in each column! It's simple, fast but definitely far from perfect (as in excel). It can get slow and the movie you're watching, the file you're copying while multitasking on your cpu will go in pause or rattle mode anytime you scroll the fields... BUT, table fields are quite simple... All you need to do is set the columns one up and your done! No synchronizing the scrolls, the hilites... Correction, you do if you use a table field header and have text scrolling past the right side of the field ;)!!! Then there's RevTableFields... A super table object i hear. But messing with it was not "as expected" - so i opted to my own again. So wrap your own system (or see those others will propose - develop your style or use something like TAOO which has most of these already - i could throw another 10-20 Ks of table and synch scripts if you want... ;), learn by doing is the best way, improve on your scrolling table techniques and see which is better... Avoid setting backcolors on the fields - not usually what you expected. Pending i think To get a "multi-field" horizontal-scrolling effects, group them fields, set the locklocation of the group to true and set the width of the group to the width of your card (or al gusto) and last set the HScrollbar of the group to true to see your fields scroll left and right. Some little things to adjust you will have to but it's definitely a cool trick - Tricking a rightmost vertical scrollbar shouldn't be hard to do - but you can't use the group's scrollbar... you can create one or use a geometry trick to show the significant scroll field. - If you do use the group's vertical scroller, you will need non-scrolling fields all at the right size but i predict it will need to keep the huge fields graphic in memory to scroll them later thus affecting cpu load and refresh tricks you might need later Programming it the object oriented way If you use one table field, it's easy... all interaction scripts can be in the field or in the card. But if you group many fields, it gets tedious to update fields script later doesn't it? So put the scripts into the group that contains the row of fields. The target function will tell you who got clicked or what needs focus... The parent tells the children what to do based on the subject's answer or state as i call this in TAOO - that's how i see programming in rev ;) http://monsieurx.com/taoo - more than just a dozen table handlers, a dozen for each control and for each function times each other ;) From revolution at derbrill.de Wed Sep 7 11:45:28 2005 From: revolution at derbrill.de (Malte Brill) Date: Wed, 7 Sep 2005 17:45:28 +0200 Subject: ANN: Line shaper In-Reply-To: <20050907110426.4860C824DC4@mail.runrev.com> Message-ID: <69D410AA-1FB6-11DA-A68F-0030659A795C@derbrill.de> Very cool Jim! Fun to play with it. :-) All the best, Malte --- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From kray at sonsothunder.com Wed Sep 7 12:06:01 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Sep 2005 11:06:01 -0500 Subject: Q: When is a hand not a hand? In-Reply-To: <000b01c5b3af$f541b520$0201a8c0@john> Message-ID: On 9/7/05 8:25 AM, "Bob Warren" wrote: > For the uninitiated, "Hoary Hedgehog" is the codename given to the current > release of Ubuntu Linux. > > Using Ubuntu Linux, if I set the default cursor to "hand", it works fine, > but if I make a standalone, I don't get a hand, I get an icon which I cannot > identify. If someone using another flavour of Linux would be kind enough to > confirm this, I'll Bugzilla it. Thanks. This is the same problem when using MetaCard (under all platforms I believe). The RunRev crew changed the default value for what "hand" means from 8 to 28 (which is the vertical splitter icon in previous versions). Why? Because the RevIDE uses 8 for its "browse" cursor (which is an arrow) and has shifted the hand to 28. This has caused some amount of grief for a number of us. The workaround is to use: if the environment is "development" then set the cursor to hand else set the cursor to 8 end if It's already in Bugzilla (in many forms), see bugs #2103, #2032, #1846, #1807. All of these are marked "Resolved" (either as a duplicate or a fix), but IMHO, it's still a "bug". :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alex at tweedly.net Wed Sep 7 12:43:48 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Sep 2005 17:43:48 +0100 Subject: No volumes in Linux? In-Reply-To: <001b01c5b3b8$6bec2680$0201a8c0@john> References: <001b01c5b3b8$6bec2680$0201a8c0@john> Message-ID: <431F18C4.3040006@tweedly.net> Bob Warren wrote: >According to the Help, and also in practice, "the volumes" for discovering >what physical drives or logical partitions a computer has "..... always >returns empty on Unix systems". Perhaps I am a bit dim, but could someone >tell me why? > > On Windows, full file names have a distinct part which can be recognized as the volume - e.g. A:\myfile.txt C:\Our Documents\Alex\RunRev\play.rev The "A:" and the "C:" are the "volume" part. For example, on my system, put the volumes gives me > A: > C: > D: > E: > F: > Z: On Mac there is (presumably) something similar. On Unix the form of a file name is simply /top/next/another/path/name/part.txt i.e. there is no part which can be uniquely recognized as a "volume". -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From kray at sonsothunder.com Wed Sep 7 12:51:12 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Sep 2005 11:51:12 -0500 Subject: No volumes in Linux? In-Reply-To: <431F18C4.3040006@tweedly.net> Message-ID: On 9/7/05 11:43 AM, "Alex Tweedly" wrote: > Bob Warren wrote: > >> According to the Help, and also in practice, "the volumes" for discovering >> what physical drives or logical partitions a computer has "..... always >> returns empty on Unix systems". Perhaps I am a bit dim, but could someone >> tell me why? >> >> > On Windows, full file names have a distinct part which can be recognized > as the volume - e.g. > A:\myfile.txt > C:\Our Documents\Alex\RunRev\play.rev > The "A:" and the "C:" are the "volume" part. For example, on my system, > put the volumes > gives me > >> A: >> C: >> D: >> E: >> F: >> Z: > > > On Mac there is (presumably) something similar. Yes, Actually you get a volume for each mounted partition or drive on your system. If there's only one, it's path is like "/documents/mydoc.txt", but if there's more than one, you need to add "/Volumes/" before the path, as in: /Volumes/Shuttle/documents/mydoc.txt But "the volumes" returns just the names of the mounted partitions/drives. (in my case "Stormwinds" and "Shuttle"). > On Unix the form of a file name is simply > /top/next/another/path/name/part.txt > i.e. there is no part which can be uniquely recognized as a "volume". I guess Unix does something unique with the different partitions/drives that are accessible. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Wed Sep 7 13:13:59 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Sep 2005 10:13:59 -0700 Subject: Best way to send lots of email In-Reply-To: <431E2BA7.7090106@hyperactivesw.com> References: <431E2BA7.7090106@hyperactivesw.com> Message-ID: <1173509766.20050907101359@ahsoftware.net> Jacque- Tuesday, September 6, 2005, 4:52:07 PM, you wrote: > What's the best way to handle a private mailing like this? I've recently run into this one myself working with a local nonprofit here. There are a few solutions, all with problems: 1. Just send out all the emails at once. Problem: there's a limit to the length of an address line (more properly several limits - the ISP will have one, the sending mail client will have one, etc.) It usually comes out to somewhere around 25 addresses per line, but I've seen some that could handle nearly 100. 2. Break up the list into manageable chunks and send them out that way. Problem: this means several different sends - the ISP probably has limits on the number of identical messages that can be sent in a given amount of time (in order to eliminate spamming). You'll need to figure out a way to space them out, and that can cause its own kind of problems. The usual way this works is that once you hit the limit you can't send any more emails for a period of time (an hour or so). 3. Have the list hosted by the ISP or domain host. That way you send out just one email and the ISP sends it out to everyone on the list for you. The disadvantage is that if you want to select a subset of the list you have to have sublists prepared ahead of time. This is where we are now, trying to work out using MySQL to select the sublist, then throwing that into a list that the domain server can use as a source for emails. 4. Work out an arrangement with the ISP where they can put your IP address into a list of folks who won't be trapped by the limit filter. This depends on your relationship with the ISP, although after my folks got banned by AOL twice they did get AOL to agree. I'm hoping to get them onto a real ISP this month. 5. Run your own SMTP server. Shaosean posted a lib for this a while back. This obviously gets around all the ISP issues, but you may have problems if the recipient's SMTP server tries to do a reverse dns lookup and can't verify you from the mx-records. -- -Mark Wieder mwieder at ahsoftware.net From irog at mac.com Wed Sep 7 13:13:08 2005 From: irog at mac.com (Roger Guay) Date: Wed, 7 Sep 2005 10:13:08 -0700 Subject: ANN: Line shaper In-Reply-To: <20050907162515.5666D824E47@mail.runrev.com> References: <20050907162515.5666D824E47@mail.runrev.com> Message-ID: <4CF99255-D6F3-49B1-8DD4-88F3D2DFD18F@mac.com> Thanks Jim. This is great . . . as usual!! On Sep 7, 2005, at 9:25 AM, use-revolution-request at lists.runrev.com wrote: > Message: 15 > Date: Wed, 7 Sep 2005 07:34:34 -0700 > From: Jim Hurley > Subject: ANN: Line shaper > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > From rjb at robelko.com Wed Sep 7 12:57:21 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 7 Sep 2005 18:57:21 +0200 Subject: Best way to send lots of email In-Reply-To: <431E33D3.8040001@comcast.net> References: <431E2BA7.7090106@hyperactivesw.com> <431E33D3.8040001@comcast.net> Message-ID: On 9/7/05, J. Landman Gay wrote: >I told a friend I would try to help him set up a little database that >sends email to a list of opt-in customers. To begin with there will only >be a few names, but he is hoping that business will grow and there will >be a few thousand eventually. I thought I'd just set up a simple stack >that uses the excellent libSMTP to send the emails. > >To protect each customer's privacy, we'd prefer that emails are sent out >individually, or else in some way that doesn't display the other email >addresses. That means we can't use CC lists. We could use BCC instead >but then the recipient's name wouldn't be in the "To" field and some >spam filters might block it. > >If we send each email individually it could conceivably take a long time >when the list gets larger, and spewing a lot of email at once could >trigger an ISP's spammer alert. Does anyone know how many emails it >takes before you look like a spammer? > >What's the best way to handle a private mailing like this? I made such a setup for a client to distribute information for a conference a couple years ago. There were a few hundred people on the list. It worked fine but the sending process was kinda slow (sending mail individually). If doing it now, I would just use a mailing list program to do it. They are ready to use and some even free (macjordomo works just for for me :) and they know how to handle such things, including bounces, automatic removal, etc etc. It is conceivable to use rev-based cgi as a web-based front end, but it's probably not needed. Robert From rjearp at hotmail.com Wed Sep 7 13:24:32 2005 From: rjearp at hotmail.com (Bob Earp) Date: Wed, 07 Sep 2005 10:24:32 -0700 Subject: lockMessages problem Message-ID: I'm finding that lockMessages or lock messages does not work when opening or going to a sub stack as modal. This was also conformed by a friend using MetaCard. BZ does not seem to have a reference to this so before I post a bug can anybody else confirm that they too are expereinceing the same problem ? I'm using Rev 2.6.1 on XP. Tnx, Bob... Bob Earp - White Rock, BC _________________________________________________________________ Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From warren at howsoft.com Wed Sep 7 13:41:37 2005 From: warren at howsoft.com (Bob Warren) Date: Wed, 7 Sep 2005 14:41:37 -0300 Subject: Q: When is a hand not a hand? Message-ID: <005a01c5b3d6$6e2ddd80$0201a8c0@john> Many thanks Ken! IMNSHO (In my not so humble opinion) we should call a spade a spade, or rather a bug a BUG! Best, Bob >On 9/7/05 8:25 AM, "Bob Warren" wrote: >> For the uninitiated, "Hoary Hedgehog" is the codename given to the current >> release of Ubuntu Linux. >> >> Using Ubuntu Linux, if I set the default cursor to "hand", it works fine, >> but if I make a standalone, I don't get a hand, I get an icon which I cannot >> identify. If someone using another flavour of Linux would be kind enough to >> confirm this, I'll Bugzilla it. Thanks. >This is the same problem when using MetaCard (under all platforms I >believe). The RunRev crew changed the default value for what "hand" means >from 8 to 28 (which is the vertical splitter icon in previous versions). >Why? Because the RevIDE uses 8 for its "browse" cursor (which is an arrow) >and has shifted the hand to 28. This has caused some amount of grief for a >number of us. >The workaround is to use: >if the environment is "development" then > set the cursor to hand >else > set the cursor to 8 >end if >It's already in Bugzilla (in many forms), see bugs #2103, #2032, #1846, >#1807. All of these are marked "Resolved" (either as a duplicate or a fix), >but IMHO, it's still a "bug". :-) >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com From warren at howsoft.com Wed Sep 7 14:00:58 2005 From: warren at howsoft.com (Bob Warren) Date: Wed, 7 Sep 2005 15:00:58 -0300 Subject: No volumes in Linux? References: <001b01c5b3b8$6bec2680$0201a8c0@john> <431F18C4.3040006@tweedly.net> Message-ID: <005b01c5b3d6$6f2cfe00$0201a8c0@john> Thanks Alex and Ken! I have just tried the same thing in RB and Rebol. RB also returns empty. Interestingly, Rebol gives a list of the partitions created by Linux - which at least is a bit more useful. e.g. /usr /bin /boot /dev /home etc. Does this really mean that although a computer may have 2 or 3 physical drives, there is no way that RR can discover this in Linux? If so, I find that rather disappointing, don't you? Best, Bob ----- Original Message ----- From: "Alex Tweedly" To: "Bob Warren" ; "How to use Revolution" Sent: Wednesday, September 07, 2005 1:43 PM Subject: Re: No volumes in Linux? > Bob Warren wrote: > > >According to the Help, and also in practice, "the volumes" for discovering > >what physical drives or logical partitions a computer has "..... always > >returns empty on Unix systems". Perhaps I am a bit dim, but could someone > >tell me why? > > > > > On Windows, full file names have a distinct part which can be recognized > as the volume - e.g. > A:\myfile.txt > C:\Our Documents\Alex\RunRev\play.rev > The "A:" and the "C:" are the "volume" part. For example, on my system, > put the volumes > gives me > > > A: > > C: > > D: > > E: > > F: > > Z: > > > On Mac there is (presumably) something similar. > > On Unix the form of a file name is simply > /top/next/another/path/name/part.txt > i.e. there is no part which can be uniquely recognized as a "volume". > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 > From mwieder at ahsoftware.net Wed Sep 7 14:22:18 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Sep 2005 11:22:18 -0700 Subject: Best way to send lots of email In-Reply-To: References: <431E2BA7.7090106@hyperactivesw.com> <431E33D3.8040001@comcast.net> Message-ID: <1167609381.20050907112218@ahsoftware.net> Robert- Wednesday, September 7, 2005, 9:57:21 AM, you wrote: > (macjordomo works just for for me :) and they know how to handle such > things, including bounces, automatic removal, etc etc. It is I looked into majordomo as an option and couldn't figure out how to configure it as a send-only list, i.e., not have people reply (or worse, auto-reply) and have everyone receive the answer as well. Did I miss something? -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Wed Sep 7 14:44:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Sep 2005 19:44:55 +0100 Subject: Formatting Column of Times In-Reply-To: <1h2ivjo.1krr5ni11hir20M%mcdomi@free.fr> References: <1h2ivjo.1krr5ni11hir20M%mcdomi@free.fr> Message-ID: <431F3527.20704@tweedly.net> Dom wrote: > >another example: to make the sum of a field, and to yield a formatted >result: > >on closefield > put the short name of the target into tfield > replace comma with "." in fld tfield >-- european currency delimiter ;-) > put fld tfield into montants > replace return with comma in montants > put "S" & tfield into ttotal > put format("%3.2f",sum(montants)) into fld ttotal >end closefield > > > "european currency delimiter" reminds me .... you need to be cautious about using format for currency values. Many countries (e.g. UK) have rules about how rounding should be performed on currency values in some circumstances; this is typically NOT the same method as used by Rev. Rev will round as needed to the specified number of places after decimal point (i.e. 2 in the code above). The rounding used is such that midway values (i.e. exactly '5' in the following position) will round upwards (e.g. 0.125 --> 0.13, 0.135 -> 0.14, etc.) The UK rules on currency conversion required that for such "midway" values you should always round to the even valued adjacent value (e.g. 0.125 -> 0.12, 0.135 -> 0.14) - which had the advantage of balancing out the rounding amounts over a large enough set of values. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From rjb at robelko.com Wed Sep 7 15:00:13 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 7 Sep 2005 21:00:13 +0200 Subject: Best way to send lots of email In-Reply-To: <1167609381.20050907112218@ahsoftware.net> References: <431E2BA7.7090106@hyperactivesw.com> <431E33D3.8040001@comcast.net> <1167609381.20050907112218@ahsoftware.net> Message-ID: >Robert- > >Wednesday, September 7, 2005, 9:57:21 AM, you wrote: > >> (macjordomo works just for for me :) and they know how to handle such >> things, including bounces, automatic removal, etc etc. It is > >I looked into majordomo as an option and couldn't figure out how to >configure it as a send-only list, i.e., not have people reply (or >worse, auto-reply) and have everyone receive the answer as well. Did I >miss something? > >-- >-Mark Wieder > mwieder at ahsoftware.net If a list type is announcement only, then only the list owner can post as a rule. Emails from anyone else will bounce (unless they have authorization to post). Robert From mcdomi at free.fr Wed Sep 7 15:20:09 2005 From: mcdomi at free.fr (Dom) Date: Wed, 7 Sep 2005 21:20:09 +0200 Subject: Formatting Column of Times In-Reply-To: <431F3527.20704@tweedly.net> Message-ID: <1h2jeum.wy1iriel0k1sM%mcdomi@free.fr> Alex Tweedly wrote: > The UK rules on currency conversion required that for such "midway" > values you should always round to the even valued adjacent value (e.g. > 0.125 -> 0.12, 0.135 -> 0.14) - which had the advantage of balancing out > the rounding amounts over a large enough set of values. I was learned this as "scientific rounding", opposed to "commercial rounding" ;-) this is equally important in accounting, and in scientific studies... -- Revolutionario From mcdomi at free.fr Wed Sep 7 15:20:09 2005 From: mcdomi at free.fr (Dom) Date: Wed, 7 Sep 2005 21:20:09 +0200 Subject: [ANN] StackRunner 1.0 In-Reply-To: Message-ID: <1h2jf31.hqkpk8n2r5wkM%mcdomi@free.fr> Ken Ray wrote: > Just a quick note to let you all know that I have uploaded a standalone > application called "StackRunner" which is similar to the DreamCard Player in > that it will "play" your MetaCard or Revolution stacks, but it is much > simpler and doesn't present any user-interface elements so it runs > "cleaner". Note that the "StackRunner" name is already used by another program (not a recent one, though) I googled to find *your* program, and found this one: What is StackRunner!? StackRunner from Symmetry Software claims to let you install an engine into a HyperCard stack, making it into a Run-time stack. This deserves a closer look to determine its true usefulness. http://www.mactech.com/articles/mactech/Vol.07/07.10/StackRunner/ -- Revolutionario From alex at tweedly.net Wed Sep 7 15:23:11 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Sep 2005 20:23:11 +0100 Subject: No volumes in Linux? In-Reply-To: <005b01c5b3d6$6f2cfe00$0201a8c0@john> References: <001b01c5b3b8$6bec2680$0201a8c0@john> <431F18C4.3040006@tweedly.net> <005b01c5b3d6$6f2cfe00$0201a8c0@john> Message-ID: <431F3E1F.2080403@tweedly.net> Bob Warren wrote: >Thanks Alex and Ken! > >I have just tried the same thing in RB and Rebol. RB also returns empty. >Interestingly, Rebol gives a list of the partitions created by Linux - which >at least is a bit more useful. > >e.g. >/usr >/bin >/boot >/dev >/home >etc. > > > Are each of those really separate partitions ? Not simply different top-level directories ? >Does this really mean that although a computer may have 2 or 3 physical >drives, there is no way that RR can discover this in Linux? If so, I find >that rather disappointing, don't you? > > > No, I don't really. Physical disks ? Even on Win, "the volumes" gives you logical partitions, not physical disks. (e.g. my C: and D: are on the same disk, and Z: is on another machine entirely.Sometimes there is also Y: volume - and it's on the same disk (on the other machine) as Z: ). On Unix, the mappings between top-level directories, partitions (or logical volumes as some Unix file systems call them) and physical disks are even more tenuous (even before we get to automount partitions ....). What is it that you really want to know ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From kray at sonsothunder.com Wed Sep 7 15:26:26 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Sep 2005 14:26:26 -0500 Subject: No volumes in Linux? In-Reply-To: <005b01c5b3d6$6f2cfe00$0201a8c0@john> Message-ID: On 9/7/05 1:00 PM, "Bob Warren" wrote: > Does this really mean that although a computer may have 2 or 3 physical > drives, there is no way that RR can discover this in Linux? If so, I find > that rather disappointing, don't you? Bob, I don't have Linux handy, but my web search showed you can use: sfdisk -s through the shell to get the list of partitions and their sizes (I think you need to be logged in as root). It will come up with something like this: /dev/hda: 12345678 /dev/hdb: 45678901 total: 92929292 Drives aren't "named" per se, but they can be identified in this way, AFAICT. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Wed Sep 7 15:29:09 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Sep 2005 14:29:09 -0500 Subject: [ANN] StackRunner 1.0 In-Reply-To: <1h2jf31.hqkpk8n2r5wkM%mcdomi@free.fr> Message-ID: On 9/7/05 2:20 PM, "Dom" wrote: > Ken Ray wrote: > >> Just a quick note to let you all know that I have uploaded a standalone >> application called "StackRunner" which is similar to the DreamCard Player in >> that it will "play" your MetaCard or Revolution stacks, but it is much >> simpler and doesn't present any user-interface elements so it runs >> "cleaner". > > Note that the "StackRunner" name is already used by another program (not > a recent one, though) > > I googled to find *your* program, and found this one: > > What is StackRunner!? StackRunner from Symmetry Software claims to let > you install an engine into a HyperCard stack, making it into a Run-time > stack. This deserves a closer look to determine its true usefulness. > > http://www.mactech.com/articles/mactech/Vol.07/07.10/StackRunner/ Wow... honestly I didn't do a search because it's an "internal" tool to me, but it's good to know anyway... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From warren at howsoft.com Wed Sep 7 15:23:49 2005 From: warren at howsoft.com (Bob Warren) Date: Wed, 7 Sep 2005 16:23:49 -0300 Subject: Q: When is a hand not a hand? Message-ID: <008f01c5b3e3$f5af1f50$0201a8c0@john> Dear All, Ken's workaround for changing the standalone cursor to "hand" works a treat, except that in Linux it is cursor #10 and not 8. Best, Bob >On 9/7/05 8:25 AM, "Bob Warren" wrote: >> For the uninitiated, "Hoary Hedgehog" is the codename given to the current >> release of Ubuntu Linux. >> >> Using Ubuntu Linux, if I set the default cursor to "hand", it works fine, >> but if I make a standalone, I don't get a hand, I get an icon which I cannot >> identify. If someone using another flavour of Linux would be kind enough to >> confirm this, I'll Bugzilla it. Thanks. >This is the same problem when using MetaCard (under all platforms I >believe). The RunRev crew changed the default value for what "hand" means >from 8 to 28 (which is the vertical splitter icon in previous versions). >Why? Because the RevIDE uses 8 for its "browse" cursor (which is an arrow) >and has shifted the hand to 28. This has caused some amount of grief for a >number of us. >The workaround is to use: >if the environment is "development" then > set the cursor to hand >else > set the cursor to 8 >end if >It's already in Bugzilla (in many forms), see bugs #2103, #2032, #1846, >#1807. All of these are marked "Resolved" (either as a duplicate or a fix), >but IMHO, it's still a "bug". :-) >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com From john.ridge at mac.com Wed Sep 7 15:51:07 2005 From: john.ridge at mac.com (John Ridge) Date: Wed, 7 Sep 2005 20:51:07 +0100 Subject: Reading an Access file? Message-ID: <7A1F39D8-7F8F-46B4-AD25-6D608C4EFF54@mac.com> My wife has been sent the address list of a small society in the form of a .mdb file. "How do I read this?", she asked, reasonably enough. I managed to find out that it's a Microsoft Access database file, but that gets me nowhere. Is there an easy way, using Revolution, to scan the contents, perhaps output to a text file? I've used Eric's Resource Picker to search the archives and everywhere else, but found nothing helpful. A bad sign! I suppose if it was easy then Microsoft wouldn't sell Access - so it won't be easy... But just in case, thanks in advance! John Ridge Smalleys Farm Clitheroe UK From FlexibleLearning at aol.com Wed Sep 7 15:56:24 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 7 Sep 2005 15:56:24 EDT Subject: [ANN] Image Dropper Message-ID: New the xtalk section... www.FlexibleLearning.com/xtalk -------------------- IMAGE DROPPER Description: How to drag and drop multiple image files, with image dragging and auto-delete. Type: Rev stack Size: 4k -------------------- Hope you find it of use. /H FLCo Home of the Scripter's Scrapbook From capellan2000 at yahoo.com Wed Sep 7 16:21:50 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 7 Sep 2005 13:21:50 -0700 (PDT) Subject: ANN: Line shaper Message-ID: <20050907202150.53832.qmail@web40527.mail.yahoo.com> Jim, This stack is great! :D Now i'm crossing my fingers, so your curiosity get picked by bezier curve fitting algorithms. ;-) Keep up your good work! Thanks a lot for sharing this code. :-) al Visit my site: http://www.geocities.com/capellan2000/ ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ From cford at sc.edu Wed Sep 7 16:29:42 2005 From: cford at sc.edu (Curtis Ford) Date: Wed, 7 Sep 2005 16:29:42 -0400 Subject: Google search with unicode or HTMLText? Message-ID: <3F9271DD-2007-474B-A8F3-077CBA471A4A@sc.edu> I'm working on a project with a button to send a word to Google to show additional examples in a browser. The following code works fine with languages using the Latin alphabet; accents, umlauts, etc. don't seem to cause problems: on mouseUp put "http://www.google.com/search?q=" into tWordToSearch put fld "word field" of cd "Review Words" after tWordToSearch revGoURL tWordToSearch end mouseUp I'd like it to work with Russian but can't figure out what I need to change. The code above gives me this in the browser's search bar: http://www.google.com/search?q=%043%04%3E%04@%045 I've tried using urlEncode(tWordToSearch), setting useUnicode to true, using unicodeText of the field that contains the search term, etc., but can't get the right combination .. anyone have any ideas? Thanks!! -Curt Dr. Curtis Ford Instructor of Russian and Linguistics Dept. of Languages, Literatures, and Cultures University of South Carolina cford at sc.edu From mark at maseurope.net Wed Sep 7 16:35:09 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 7 Sep 2005 21:35:09 +0100 Subject: Formatting Column of Times In-Reply-To: <431F3527.20704@tweedly.net> References: <1h2ivjo.1krr5ni11hir20M%mcdomi@free.fr> <431F3527.20704@tweedly.net> Message-ID: See the entry for 'statRound' in the docs... Mark On 7 Sep 2005, at 19:44, Alex Tweedly wrote: > Dom wrote: > >> >> another example: to make the sum of a field, and to yield a formatted >> result: >> >> on closefield >> put the short name of the target into tfield replace comma with >> "." in fld tfield -- european currency delimiter ;-) >> put fld tfield into montants >> replace return with comma in montants >> put "S" & tfield into ttotal >> put format("%3.2f",sum(montants)) into fld ttotal >> end closefield >> >> > "european currency delimiter" reminds me .... you need to be cautious > about using format for currency values. > > Many countries (e.g. UK) have rules about how rounding should be > performed on currency values in some circumstances; this is typically > NOT the same method as used by Rev. > > Rev will round as needed to the specified number of places after > decimal point (i.e. 2 in the code above). The rounding used is such > that midway values (i.e. exactly '5' in the following position) will > round upwards (e.g. 0.125 --> 0.13, 0.135 -> 0.14, etc.) > The UK rules on currency conversion required that for such "midway" > values you should always round to the even valued adjacent value (e.g. > 0.125 -> 0.12, 0.135 -> 0.14) - which had the advantage of balancing > out the rounding amounts over a large enough set of values. > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: > 05/09/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From warren at howsoft.com Wed Sep 7 16:34:11 2005 From: warren at howsoft.com (Bob Warren) Date: Wed, 7 Sep 2005 17:34:11 -0300 Subject: No volumes in Linux? References: <001b01c5b3b8$6bec2680$0201a8c0@john> <431F18C4.3040006@tweedly.net> <005b01c5b3d6$6f2cfe00$0201a8c0@john> <431F3E1F.2080403@tweedly.net> Message-ID: <009d01c5b3eb$e40cfcb0$0201a8c0@john> No, you're right Alex, they're probably better termed "top-level directories" as you suggest. Being a newbie in Linux (after only Windows experience) is still a bit confusing at the moment! As far as I know, the main logical partitions of the HD on my Linux machine are "primary" and "swap". Nevertheless, I would be happier getting something out of the "volumes" request rather than nothing at all. Rebol seem to have taken the same view, but I acknowledge that the list of "top-level directories" does not exactly correspond to the description "volumes", and might be misleading. Since you obviously have much more experience than I regarding this subject, you might be able to give me a tip or two. For example, let's suppose I have 2 HDs on my computer, and for the sake of argument I have separate distros of Linux installed on each of them with a dual boot on my PC. And say I am running RR under the Linux on my first HD. How should I (or indeed can I) access data on the 2nd HD? If you could clear the fog a little, I'd be grateful. Thanks. Bob ----- Original Message ----- From: "Alex Tweedly" To: "Bob Warren" Cc: Sent: Wednesday, September 07, 2005 4:23 PM Subject: Re: No volumes in Linux? > Bob Warren wrote: > > >Thanks Alex and Ken! > > > >I have just tried the same thing in RB and Rebol. RB also returns empty. > >Interestingly, Rebol gives a list of the partitions created by Linux - which > >at least is a bit more useful. > > > >e.g. > >/usr > >/bin > >/boot > >/dev > >/home > >etc. > > > > > > > Are each of those really separate partitions ? Not simply different > top-level directories ? > > >Does this really mean that although a computer may have 2 or 3 physical > >drives, there is no way that RR can discover this in Linux? If so, I find > >that rather disappointing, don't you? > > > > > > > No, I don't really. > > Physical disks ? > Even on Win, "the volumes" gives you logical partitions, not physical > disks. (e.g. my C: and D: are on the same disk, and Z: is on another > machine entirely.Sometimes there is also Y: volume - and it's on the > same disk (on the other machine) as Z: ). > > On Unix, the mappings between top-level directories, partitions (or > logical volumes as some Unix file systems call them) and physical disks > are even more tenuous (even before we get to automount partitions ....). > > What is it that you really want to know ? > > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 > From alex at tweedly.net Wed Sep 7 17:17:06 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Sep 2005 22:17:06 +0100 Subject: Formatting Column of Times In-Reply-To: References: <1h2ivjo.1krr5ni11hir20M%mcdomi@free.fr> <431F3527.20704@tweedly.net> Message-ID: <431F58D2.80709@tweedly.net> Mark Smith wrote: > See the entry for 'statRound' in the docs... > > Yeah - but I wish there was a way to get this form of rounding in the format command. Hmmmm -an enhancement !! I'll request it .... BZ 3111 added -- Alex. > > On 7 Sep 2005, at 19:44, Alex Tweedly wrote: > >> Dom wrote: >> >>> >>> another example: to make the sum of a field, and to yield a formatted >>> result: >>> >>> on closefield >>> put the short name of the target into tfield replace comma with >>> "." in fld tfield -- european currency delimiter ;-) >>> put fld tfield into montants >>> replace return with comma in montants >>> put "S" & tfield into ttotal >>> put format("%3.2f",sum(montants)) into fld ttotal >>> end closefield >>> >>> >> "european currency delimiter" reminds me .... you need to be cautious >> about using format for currency values. >> >> Many countries (e.g. UK) have rules about how rounding should be >> performed on currency values in some circumstances; this is typically >> NOT the same method as used by Rev. >> >> Rev will round as needed to the specified number of places after >> decimal point (i.e. 2 in the code above). The rounding used is such >> that midway values (i.e. exactly '5' in the following position) will >> round upwards (e.g. 0.125 --> 0.13, 0.135 -> 0.14, etc.) >> The UK rules on currency conversion required that for such "midway" >> values you should always round to the even valued adjacent value >> (e.g. 0.125 -> 0.12, 0.135 -> 0.14) - which had the advantage of >> balancing out the rounding amounts over a large enough set of values. >> >> -- >> Alex Tweedly http://www.tweedly.net >> >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: >> 05/09/2005 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From alex at tweedly.net Wed Sep 7 17:31:49 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Sep 2005 22:31:49 +0100 Subject: No volumes in Linux? In-Reply-To: <009d01c5b3eb$e40cfcb0$0201a8c0@john> References: <001b01c5b3b8$6bec2680$0201a8c0@john> <431F18C4.3040006@tweedly.net> <005b01c5b3d6$6f2cfe00$0201a8c0@john> <431F3E1F.2080403@tweedly.net> <009d01c5b3eb$e40cfcb0$0201a8c0@john> Message-ID: <431F5C45.4040206@tweedly.net> Bob Warren wrote: >Since you obviously have much more experience than I regarding this subject, >you might be able to give me a tip or two. For example, let's suppose I have >2 HDs on my computer, and for the sake of argument I have separate distros >of Linux installed on each of them with a dual boot on my PC. And say I am >running RR under the Linux on my first HD. How should I (or indeed can I) >access data on the 2nd HD? > > >If you could clear the fog a little, I'd be grateful. Thanks. > My experience is with Unix, not Linux. And it's mostly 15 or more years old :-), and hence somewhat unreliable. I'd think you should be able to get access to it, though probably not in the default config. I do remember reading that most recent Linuxes would support access to the MS-Win partition on a dual-boot (Win+Linux) machine - either an installation option, or possible to mount the Win partition later (so they should certainly be able to access other Linux partitions). You may need to manually add them to fstab I did a quick search&browse on dual-booting Linux, and found this useful snippet (note - he's specifically talking about dual-boot or multi-boot Linuxes) > Any Linux system, can mount any Linux partitions in the system not > already included in /etc/fstab, so there is no need for a shared /tmp > to share data. A shared and automatically mounted /tmp might be easier > to remember than which system is on which device. A large shared /tmp > may be very useful for doing full system backups of single partition > systems as they go over much over 50% full. which suggests that you ought to be able to mount the "other" linux's partitions. This is from http://geodsoft.com/howto/dualboot/ You should also experiment with "df" command to see if that allows you to deduce knowledge of the partitions ... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From kray at sonsothunder.com Wed Sep 7 18:22:35 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 07 Sep 2005 17:22:35 -0500 Subject: Q: When is a hand not a hand? In-Reply-To: <008f01c5b3e3$f5af1f50$0201a8c0@john> Message-ID: On 9/7/05 2:23 PM, "Bob Warren" wrote: > Dear All, > > Ken's workaround for changing the standalone cursor to "hand" works a treat, > except that in Linux it is cursor #10 and not 8. So it's something like: if the environment is "development" then set the cursor to hand else switch (the platform) case "Win32" set the cursor to hand -- id 28 break case "MacOS" set the cursor to 8 break case "Linux set the cursor to 10 break end switch end if Right? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From index at kenjikojima.com Wed Sep 7 18:24:47 2005 From: index at kenjikojima.com (Kenji Kojima) Date: Wed, 7 Sep 2005 18:24:47 -0400 Subject: Google search with unicode or HTMLText? In-Reply-To: <3F9271DD-2007-474B-A8F3-077CBA471A4A@sc.edu> References: <3F9271DD-2007-474B-A8F3-077CBA471A4A@sc.edu> Message-ID: Curt, I don't know Russian, but it works in Japanese. on mouseUp put "http://www.google.com/search?q=" into tWordToSearch put urlEncode(unidecode(fld "word field", utf8)) of cd "Review Words" after tWordToSearch revGoURL tWordToSearch end mouseUp -- Kenji Kojima http://www.kenjikojima.com/ On Sep 7, 2005, at 4:29 PM, Curtis Ford wrote: > I'm working on a project with a button to send a word to Google to > show additional examples in a browser. The following code works > fine with languages using the Latin alphabet; accents, umlauts, > etc. don't seem to cause problems: > > on mouseUp > > put "http://www.google.com/search?q=" into tWordToSearch > put fld "word field" of cd "Review Words" after tWordToSearch > revGoURL tWordToSearch > > end mouseUp > > I'd like it to work with Russian but can't figure out what I need > to change. The code above gives me this in the browser's search bar: > > http://www.google.com/search?q=%043%04%3E%04@%045 > > I've tried using urlEncode(tWordToSearch), setting useUnicode to > true, using unicodeText of the field that contains the search term, > etc., but can't get the right combination .. anyone have any ideas? > > Thanks!! > > -Curt > > > > > > Dr. Curtis Ford > Instructor of Russian and Linguistics > Dept. of Languages, Literatures, and Cultures > University of South Carolina > cford at sc.edu > From warren at howsoft.com Wed Sep 7 18:26:14 2005 From: warren at howsoft.com (Bob Warren) Date: Wed, 7 Sep 2005 19:26:14 -0300 Subject: No volumes in Linux? Message-ID: <00c701c5b3fb$58344170$0201a8c0@john> Many thanks once again to Ken and Alex for giving me some ideas to get my teeth into. Bob From mwieder at ahsoftware.net Wed Sep 7 19:38:05 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Sep 2005 16:38:05 -0700 Subject: Best way to send lots of email In-Reply-To: References: <431E2BA7.7090106@hyperactivesw.com> <431E33D3.8040001@comcast.net> <1167609381.20050907112218@ahsoftware.net> Message-ID: <14726556546.20050907163805@ahsoftware.net> Robert- Wednesday, September 7, 2005, 12:00:13 PM, you wrote: > If a list type is announcement only, then only the list owner can > post as a rule. Emails from anyone else will bounce (unless they have > authorization to post). Thanks. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Sep 7 19:50:29 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Sep 2005 16:50:29 -0700 Subject: Google search with unicode or HTMLText? In-Reply-To: <3F9271DD-2007-474B-A8F3-077CBA471A4A@sc.edu> References: <3F9271DD-2007-474B-A8F3-077CBA471A4A@sc.edu> Message-ID: <14027300415.20050907165029@ahsoftware.net> Curtis- Wednesday, September 7, 2005, 1:29:42 PM, you wrote: > I'd like it to work with Russian but can't figure out what I need to > change. The code above gives me this in the browser's search bar: > http://www.google.com/search?q=%043%04%3E%04@%045 > I've tried using urlEncode(tWordToSearch), setting useUnicode to > true, using unicodeText of the field that contains the search term, > etc., but can't get the right combination .. anyone have any ideas? Pass the "hl=ru" argument to google (and quote the string): put "http://www.google.com/search?hl=ru&q=" into tWordToSearch put quote & fld "word field" of cd "Review Words" & quote \ after tWordToSearch revGoURL tWordToSearch http://www.google.com/search?hl=ru&q=%22%D0%9A%D0%B0%D1%80%D1%82%D0%B8%D0%BD%D0%BA%D0%B8%22 -- -Mark Wieder mwieder at ahsoftware.net From sarah.reichelt at gmail.com Wed Sep 7 19:48:09 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 8 Sep 2005 09:48:09 +1000 Subject: AlertLoc In-Reply-To: <85.2f672902.30503dce@aol.com> References: <85.2f672902.30503dce@aol.com> Message-ID: On 9/7/05, FlexibleLearning at aol.com wrote: > Window placement has caused some discussion recently, so I thought I'd add > my own ponderings to the pot... > > on preOpenStack > set the loc of this stack to alertLoc() > checkWD > end preOpenStack > > > function alertLoc > if "Win32" is in the platform then > if the mode of this stack is in "1,2" then put 30 into n # Toplevel titleBar > height > else put 22 into n # Palette, modeless and modal titlebar height > else > if the mode of this stack is in "1,2" then put 23 into n # Toplevel titleBar > height > else put 16 into n # Palette, modeless and modal titlebar height > end if > if the decorations of this stack ="" then put n-n into n > get the windowBoundingRect > put round( (the width of this stack /2) + ((item 3 of it - item 1 of it) - > the width of this stack) / 2) + item 1 of it into x > put round( (the height of this stack /2) + ((item 4 of it - item 2 of it) - > the height of this stack +n) / 3) + item 2 of it into y > return x,y > end alertLoc > > on checkWD > --| Ensure window is onScreen > set the top of this stack to max(item 2 of the WindowBoundingRect,the top of > this stack) > set the right of this stack to min(item 3 of the WindowBoundingRect,the > right of this stack) > set the left of this stack to max(item 1 of the WindowBoundingRect,the left > of this stack) > set the bottom of this stack to min(item 4 of the WindowBoundingRect,the > bottom of this stack) > end checkWD > Neat routine Hugh, but I would make one addition. When you are checking to see if the window is on-screen, you use the windowBoundingRect. In a standalone Mac app, the first 2 items of the WBR are 0,0 but this does not allow for the Mac menu bar. So I always check and set item 2 of the WBR to at least 44. Cheers, Sarah From gregory.lypny at videotron.ca Wed Sep 7 21:45:24 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 07 Sep 2005 21:45:24 -0400 Subject: Most Recent Darwin Engine Message-ID: <08639FE2-6402-488B-BE8C-B91182C7A421@videotron.ca> Hello everyone, I'm taking another kick at the cat because I haven't found an answer to what is probably a trivial question: where can I get the Darwin Engine for running CGIs? Can't find it or any mention of it on Runtime Revolution's web site. The engine I'm currently playing with was created Friday, April 18, 2003, but I'm not sure of the version number or how to locate it. I'd like to be able to confirm that I'm running the most recent one. Regards, Gregory From mark at maseurope.net Wed Sep 7 22:06:59 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 8 Sep 2005 03:06:59 +0100 Subject: Formatting Column of Times In-Reply-To: <431F58D2.80709@tweedly.net> References: <1h2ivjo.1krr5ni11hir20M%mcdomi@free.fr> <431F3527.20704@tweedly.net> <431F58D2.80709@tweedly.net> Message-ID: <894f88735ea92f6cdb64ddb489d27528@maseurope.net> I'll vote for that - though "%8.2f",statRound(aNum) should work, shouldn't it? On 7 Sep 2005, at 22:17, Alex Tweedly wrote: > Mark Smith wrote: > >> See the entry for 'statRound' in the docs... >> >> > Yeah - but I wish there was a way to get this form of rounding in the > format command. > Hmmmm -an enhancement !! I'll request it .... BZ 3111 added > > -- Alex. > >> >> On 7 Sep 2005, at 19:44, Alex Tweedly wrote: >> >>> Dom wrote: >>> >>>> >>>> another example: to make the sum of a field, and to yield a >>>> formatted >>>> result: >>>> >>>> on closefield >>>> put the short name of the target into tfield replace comma with >>>> "." in fld tfield -- european currency delimiter ;-) >>>> put fld tfield into montants >>>> replace return with comma in montants >>>> put "S" & tfield into ttotal >>>> put format("%3.2f",sum(montants)) into fld ttotal >>>> end closefield >>>> >>>> >>> "european currency delimiter" reminds me .... you need to be >>> cautious about using format for currency values. >>> >>> Many countries (e.g. UK) have rules about how rounding should be >>> performed on currency values in some circumstances; this is >>> typically NOT the same method as used by Rev. >>> >>> Rev will round as needed to the specified number of places after >>> decimal point (i.e. 2 in the code above). The rounding used is such >>> that midway values (i.e. exactly '5' in the following position) will >>> round upwards (e.g. 0.125 --> 0.13, 0.135 -> 0.14, etc.) >>> The UK rules on currency conversion required that for such "midway" >>> values you should always round to the even valued adjacent value >>> (e.g. 0.125 -> 0.12, 0.135 -> 0.14) - which had the advantage of >>> balancing out the rounding amounts over a large enough set of >>> values. >>> >>> -- >>> Alex Tweedly http://www.tweedly.net >>> >>> >>> >>> -- >>> No virus found in this outgoing message. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: >>> 05/09/2005 >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: > 05/09/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From supote.songthammawat at gmail.com Tue Sep 6 03:16:22 2005 From: supote.songthammawat at gmail.com (supote songthammawat) Date: Tue, 6 Sep 2005 14:16:22 +0700 Subject: I want to know script that use go to the next button day of objCalendar v1.1.2 (http://shaosean.tk) Message-ID: <680dfa96050906001615fa665d@mail.gmail.com> Dear sir, I want to know a script that use to slide or move to next or previous btn day of objCalendar v1.1.2 which you can see the script of calendar at http://shaosean.tk. Please answer my question urgently. Best Regard, Supote From supote.songthammawat at netgalileo.com Tue Sep 6 03:40:03 2005 From: supote.songthammawat at netgalileo.com (Supote Songthammawat) Date: Tue, 06 Sep 2005 14:40:03 +0700 Subject: I want to know a script that use to slide or move to next or previous btn day of objCalendar v1.1.2 which you can see the script of calendar at http://shaosean.tk. Message-ID: <431D47D3.2020105@netgalileo.com> Dear sir, I want to know a script that use to slide or move to next or previous btn day of objCalendar v1.1.2 which you can see the script of calendar at http://shaosean.tk. Please answer my question urgently. Best Regard, Supote From cuetojp at yahoo.co.jp Tue Sep 6 18:01:53 2005 From: cuetojp at yahoo.co.jp (Nicolas Cueto) Date: Wed, 7 Sep 2005 07:01:53 +0900 Subject: detecting for how long a key is being pressed Message-ID: <003001c5b32e$97687500$0b01a8c0@niconiko04zbtb> Like Jacqueline, I too was going to suggest "keyDown" and "keyUp". Howerver, trying it out first for myself, I discovered that the keyDown message is generated not only the first time a key pressed but continues to be generated so long as the key is held down. This of course results in the repeated resetting of the variable storing the start-time. As well, oddly enough, the keyUp message is also being generated despite the targeted key's being continuously held down. I know this because in the keyUp handler I put it a "put tTotalTime in field "fTimer"", and, while the targeted key is held down, the text in that field continually blinks. For solutions, I tried exiting the keyDown handler by either escaping if the time-variable wasn't empty or using "exit" and "pass". Is this perhaps a system-specific result? I'm on Win2k. Anyway, I'll append my script below, in case someone's got a solution. Cheers, Nicolas Cueto niconiko language school ##### THE CARD SCRIPT From oliver.hardt at mac.com Tue Sep 6 18:07:12 2005 From: oliver.hardt at mac.com (Oliver Hardt) Date: Tue, 6 Sep 2005 18:07:12 -0400 Subject: detecting for how long a key is being pressed In-Reply-To: <4F49DDA2-1F1C-11DA-9578-0030659A795C@derbrill.de> References: <4F49DDA2-1F1C-11DA-9578-0030659A795C@derbrill.de> Message-ID: <42350212-8019-4C42-B6A5-83165698C52B@mac.com> hi Malte: thanks for the script -- the trick with keeping track of the last key pressed worked fine. it solved my problem. best, olli. On 6-Sep-05, at 5:22 PM, Malte Brill wrote: > Hi olli, > > here is a starter. it is not absolutely reliable, as the user might > hit 2 keys, one after another. If you need a more reliable script > just let me know. > > In the card script: > > global gOldKey,gStartMillisecs > > on rawKeyDown theKey > if theKey<>gOldKey then > put theKey into gOldKey > put the milliseconds into gStartMillisecs > end if > end rawKeyDown > > on rawKeyUp > put the milliseconds-gStartMillisecs > put empty into gOldKey > end rawKeyUp > > Hope that helps, > > Malte > > --- > ArcadeEngine - prepare to WOW your audience within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Thu Sep 8 03:53:37 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 8 Sep 2005 09:53:37 +0200 Subject: Reading an Access file? In-Reply-To: <7A1F39D8-7F8F-46B4-AD25-6D608C4EFF54@mac.com> Message-ID: <20050908073259.5A718824D03@mail.runrev.com> John You might have more luck with Excel (there might be also plugins for excel) but doubtful. Exporting the file out of Access in CSV or TAB text format is the best solution... Or you could use mysql one way or another but that has requirement too. Dont ask me about Moft Access - i never liked it - but it is the engine behind outlook and that's not bad considering we had 3 servers with databases 500GBs in size ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > John Ridge > Sent: Wednesday, September 07, 2005 21:51 > To: How to use Revolution > Subject: Reading an Access file? > > My wife has been sent the address list of a small society in > the form of a .mdb file. "How do I read this?", she asked, > reasonably enough. > I managed to find out that it's a Microsoft Access database > file, but that gets me nowhere. Is there an easy way, using > Revolution, to scan the contents, perhaps output to a text file? > > I've used Eric's Resource Picker to search the archives and > everywhere else, but found nothing helpful. A bad sign! I > suppose if it was easy then Microsoft wouldn't sell Access - > so it won't be easy... > > But just in case, thanks in advance! > > John Ridge > Smalleys Farm > Clitheroe > UK > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From john.ridge at mac.com Thu Sep 8 04:30:43 2005 From: john.ridge at mac.com (John Ridge) Date: Thu, 8 Sep 2005 09:30:43 +0100 Subject: Reading an Access file? In-Reply-To: <20050908073259.5A718824D03@mail.runrev.com> References: <20050908073259.5A718824D03@mail.runrev.com> Message-ID: <54B287FF-F6D6-4F40-97ED-2D8B81274662@mac.com> Thanks, Xavier - in fact Mark Wieder very helpfully contacted me off- list, and I now have from him a CSV version - so all is well. In CSV form, the file is 16KB - the Access version was 154KB... I hope the ratio of overhead to content is a bit better on those 500GB files! Best wishes John On 8 Sep 2005, at 08:53, MisterX wrote: > John > > You might have more luck with Excel (there might be also plugins > for excel) > but doubtful. > > Exporting the file out of Access in CSV or TAB text format is the best > solution... Or you could use mysql one way or another but that has > requirement too. > > Dont ask me about Moft Access - i never liked it - but it is the > engine > behind outlook and that's not bad considering we had 3 servers with > databases 500GBs in size ;) > > cheers > Xavier > > > From FlexibleLearning at aol.com Thu Sep 8 05:52:20 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 8 Sep 2005 05:52:20 EDT Subject: FileMaker job Message-ID: Anyone into web delivery with FileMaker, please contact me off-list urgently. I have a job for you. h at FlexibleLearning.com /H From alex at tweedly.net Thu Sep 8 07:48:33 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 08 Sep 2005 12:48:33 +0100 Subject: Formatting Column of Times In-Reply-To: <894f88735ea92f6cdb64ddb489d27528@maseurope.net> References: <1h2ivjo.1krr5ni11hir20M%mcdomi@free.fr> <431F3527.20704@tweedly.net> <431F58D2.80709@tweedly.net> <894f88735ea92f6cdb64ddb489d27528@maseurope.net> Message-ID: <43202511.50500@tweedly.net> Mark Smith wrote: > I'll vote for that - though "%8.2f",statRound(aNum) should work, > shouldn't it? > Not quite - you'd need "%8.2f",statRound(aNum, 2) :-) And there is a lot of scope for confusion and/or error if some subsequent edit changes one of the two precision numbers without making the corresponding change in the other "%8.2f", statRound(aNum, 1) will give incorrect values with 0s at the end "%8.2f", statRound(aNum, 3) will give incorrect values with the wrong rounding method. So although it works to use statRound, I think it's noticeably better to have it built-in to "format". -- Alex. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/90 - Release Date: 05/09/2005 From gefisher at mac.com Thu Sep 8 09:13:57 2005 From: gefisher at mac.com (Glenn E. Fisher) Date: Thu, 8 Sep 2005 08:13:57 -0500 Subject: No volumes in Linux? Message-ID: Bob, > Does this really mean that although a computer may have 2 or 3 physical > drives, there is no way that RR can discover this in Linux? If so, I > find > that rather disappointing, don't you? I don't know Linux, but from my old unix days I remember that "df" was useful. You might give it a try. Best, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gfisher4 at houston.rr.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From jacque at hyperactivesw.com Thu Sep 8 12:20:36 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Sep 2005 11:20:36 -0500 Subject: Most Recent Darwin Engine In-Reply-To: <08639FE2-6402-488B-BE8C-B91182C7A421@videotron.ca> References: <08639FE2-6402-488B-BE8C-B91182C7A421@videotron.ca> Message-ID: <432064D4.8000704@hyperactivesw.com> Gregory Lypny wrote: > Hello everyone, > > I'm taking another kick at the cat because I haven't found an > answer to what is probably a trivial question: where can I get the > Darwin Engine for running CGIs? Can't find it or any mention of it on > Runtime Revolution's web site. The engine I'm currently playing with > was created Friday, April 18, 2003, but I'm not sure of the version > number or how to locate it. I'd like to be able to confirm that I'm > running the most recent one. I think that is the last one that was officially released. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Thu Sep 8 12:51:23 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 08 Sep 2005 11:51:23 -0500 Subject: I want to know a script that use to slide or move to next or previous btn day of objCalendar v1.1.2 which you can see the script of calendar at http://shaosean.tk. In-Reply-To: <431D47D3.2020105@netgalileo.com> Message-ID: On 9/6/05 2:40 AM, "Supote Songthammawat" wrote: > Dear sir, > > I want to know a script that use to slide or move to next or > previous btn day of objCalendar v1.1.2 which you can see the script of > calendar at http://shaosean.tk. > Please answer my question urgently. Sorry, but objCalendar isn't there, only links to libSmtp and libMSN... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ckasso at sprynet.com Tue Sep 6 14:18:44 2005 From: ckasso at sprynet.com (Chris Kassopulo) Date: Tue, 6 Sep 2005 14:18:44 -0400 Subject: No volumes in Linux? References: <005b01c5b3d6$6f2cfe00$0201a8c0@john> Message-ID: <20050906141844.7eb60f1d.ckasso@sprynet.com> On Wed, 07 Sep 2005 14:26:26 -0500 Ken Ray wrote: > > Bob, I don't have Linux handy, but my web search showed you can use: > > sfdisk -s > > through the shell to get the list of partitions and their sizes (I think you > need to be logged in as root). It will come up with something like this: > > /dev/hda: 12345678 > /dev/hdb: 45678901 > total: 92929292 > > Drives aren't "named" per se, but they can be identified in this way, > AFAICT. > For a list of all drives use: ckasso at ubuntu:~$ sudo sfdisk -s /dev/hda: 58652496 total: 58652496 blocks For a list of all partitions use: ckasso at ubuntu:~$ sudo sfdisk -l Disk /dev/hda: 116374 cylinders, 16 heads, 63 sectors/track Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently. Warning: The partition table looks like it was made for C/H/S=*/255/63 (instead of 116374/16/63). For this listing I'll assume that geometry. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/hda1 0+ 499 500- 4016218+ 7 HPFS/NTFS /dev/hda2 500 999 500 4016250 7 HPFS/NTFS /dev/hda3 * 1000 7300 6301 50612782+ f W95 Ext'd (LBA) /dev/hda4 0 - 0 0 0 Empty /dev/hda5 1000+ 1005 6- 48163+ 83 Linux /dev/hda6 1006+ 3006 2001- 16073001 83 Linux /dev/hda7 3007+ 4507 1501- 12056751 83 Linux /dev/hda8 4508+ 4555 48- 385528+ 82 Linux swap / Solaris /dev/hda9 4556+ 4561 6- 48163+ 83 Linux /dev/hda10 4562+ 6141 1580- 12691318+ 83 Linux /dev/hda11 6142+ 7300 1159- 9309636 83 Linux Chris From warren at howsoft.com Thu Sep 8 14:14:14 2005 From: warren at howsoft.com (Bob Warren) Date: Thu, 8 Sep 2005 15:14:14 -0300 Subject: No volumes in Linux? Message-ID: <004201c5b4a1$b28aeab0$0201a8c0@john> Ken: Your suggestion of "sfdisk -s" to list the mounted volumes on my Ubuntu Linux machine works exactly as predicted when it is entered through the terminal, i.e. almost exactly: /dev/hda: 12345678 /dev/hdb: 45678901 total: 92929292 However, doing this through the RR Shell proved to be problematic on account of the root permission required, as you correctly anticipated. The problem in Ubuntu is that there is no normal way of "logging on" with root priveleges. When the normal user calls the (root) terminal, he has to type in the root password, and it was this part that I could not successfully incorporate into the RR Shell. So I tried a workaround to eliminate the necessity of the password and ended up not being able to call the terminal at all! For this (and other) reason(s) I need to clean my computer down and re-install Linux. Good job I have a computer reserved specifically for playing around with Linux! Glenn: Thanks very much for your suggestion, but as you see above I am in the merda at the moment. When I get up and running again, I'll give your suggestion a try. Mark Waddingham (if you are reading this): In our recent discussions regarding the possibility of the early introduction of altBrowser into Linux, I believe you (or Chipp) mentioned the necessity of modifying the RR engine to affect "the way RR calls externals". Excuse my ignorance, but does this have some connection with the way the RR Shell works? Is it possible that the problems I am having with with the Shell (described above) and the transfer of the root password are part and parcel of the same thing? If you can do anything to alleviate the technical fog I am thrashing around in, I would be grateful. Thanks. Bob '''''''''''''''''''''''''''''''''''''''' Bob Warren wrote: >Does this really mean that although a computer may have 2 or 3 physical >drives, there is no way that RR can discover this in Linux? If so, I find >that rather disappointing, don't you? ''''''''''''''''''''''''''''''''''''''''' >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com >Bob, I don't have Linux handy, but my web search showed you can use: > sfdisk -s >through the shell to get the list of partitions and their sizes (I think you >need to be logged in as root). It will come up with something like this: > /dev/hda: 12345678 > /dev/hdb: 45678901 > total: 92929292 >Drives aren't "named" per se, but they can be identified in this way, >AFAICT. ''''''''''''''''''''''''''''''''''''''''''''''''''''''' >Glenn E. Fisher University of Houston - Retired >22402 Diane Dr. Spring, Tx 77373 >gfisher4 at houston.rr.com http://www.uh.edu/~fisher >http://home.houston.rr.com/thegefishers/ >http://homepage.mac.com/gefisher >I don't know Linux, but from my old unix days I remember that "df" was >useful. >You might give it a try. >Best, >Glenn -- From warren at howsoft.com Thu Sep 8 13:42:30 2005 From: warren at howsoft.com (Bob Warren) Date: Thu, 8 Sep 2005 14:42:30 -0300 Subject: Q: When is a hand not a hand? Message-ID: <004101c5b4a1$b1c291a0$0201a8c0@john> Mr Ken Ray, our Son of Thunder, has rounded off the thread beautifully. Thanks Ken! Hopefully, in the next RR release, we will be able to say "set the cursor to hand" on all platforms.... Bob On 9/7/05 2:23 PM, "Bob Warren" wrote: >> Dear All, >> >> Ken's workaround for changing the standalone cursor to "hand" works a treat, >> except that in Linux it is cursor #10 and not 8. >So it's something like: if the environment is "development" then set the cursor to hand else switch (the platform) case "Win32" set the cursor to hand -- id 28 break case "MacOS" set the cursor to 8 break case "Linux set the cursor to 10 break end switch end if >Right? >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com From gilbert at isphlg.rimed.cu Thu Sep 8 14:10:58 2005 From: gilbert at isphlg.rimed.cu (Gilberto Cuba Ricardo) Date: Thu, 08 Sep 2005 18:10:58 -0000 Subject: Stack in runtime... References: Message-ID: <008601c495d2$50bf1f70$1c037b98@cuba> Hello colleagues, I'm a new in the use of the Revolution and recently I began their study. Today studying many of their things, has been that when I make a stack in runtime with the invisible property, then when I will show the stack, doesn't make it, and neither closes it in case I doesn't put the invisible property. This is my code the which they can check to see in what I have made a mistake. In the script button: on mouseUp numberButton if numberButton = 1 then create invisible stack "MyStack" set the visible of stack "MyStack" to true wait 10 seconds close the defaultStack delete stack "MyStack" end if end mouseUp Best regards, Gilberto Cuba PD: Excusame my english, i'dont know the english correctly. From kray at sonsothunder.com Thu Sep 8 14:58:47 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 08 Sep 2005 13:58:47 -0500 Subject: No volumes in Linux? In-Reply-To: <004201c5b4a1$b28aeab0$0201a8c0@john> Message-ID: On 9/8/05 1:14 PM, "Bob Warren" wrote: > Your suggestion of "sfdisk -s" to list the mounted volumes on my Ubuntu > Linux machine works exactly as predicted when it is entered through the > terminal, i.e. almost exactly: > > /dev/hda: 12345678 > /dev/hdb: 45678901 > total: 92929292 > > However, doing this through the RR Shell proved to be problematic on account > of the root permission required, as you correctly anticipated. The problem > in Ubuntu is that there is no normal way of "logging on" with root > priveleges. When the normal user calls the (root) terminal, he has to type > in the root password, and it was this part that I could not successfully > incorporate into the RR Shell. Bob, here's how I do it with OSX's shell; perhaps this will work with Linux as well (in this case I'm executing a 'kill' on a process with sudo): put "#!/bin/sh" & cr into tScript put "pw="&tPassword & cr into tScript put "echo $pw | sudo -S kill -9" && tProcessID & cr after tScript get shell(tScript) HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Sep 8 15:03:23 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 08 Sep 2005 14:03:23 -0500 Subject: Stack in runtime... In-Reply-To: <008601c495d2$50bf1f70$1c037b98@cuba> Message-ID: On 9/8/04 1:31 PM, "Gilberto Cuba Ricardo" wrote: > on mouseUp numberButton > if numberButton = 1 then > create invisible stack "MyStack" > set the visible of stack "MyStack" to true > wait 10 seconds > close the defaultStack > delete stack "MyStack" > end if > end mouseUp The problem, Gilberto, is that "the defaultStack" is not "MyStack"; it's the stack that called it. So you can do one of two things: 1) set the defaultStack to "MyStack" -- do this before you close the defaultStack OR 2) close stack "MyStack" -- instead of "close the defaultStack" HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Sep 8 15:24:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 08 Sep 2005 14:24:06 -0500 Subject: [ANN] StackRunner 1.0.2 Message-ID: Based on input and suggestions, this new version of StackRunner allows you to configure how you want SR to handle things when the last stack it opened as been closed - you can quit it, or you can bring up a new "Please select a stack" answer file dialog. This can be part of the config.srn file, or you you let it take its default behavior. For more info, please see: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm Have fun! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarah.reichelt at gmail.com Thu Sep 8 18:05:54 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 9 Sep 2005 08:05:54 +1000 Subject: [ANN] Web site re-launched Message-ID: Hello All, I have finally got around to a re-design of my Revolution web site to make it easier to find things. I've also added some new stacks, and hopefully there will be more to come in the next few weeks as I get myself organised. I have also changed to using Gmail for all Revolution list emails. I find the threading really good and I like being able to read & reply to the list from any computer. If anyone wants an invitation to join Gmail, let me know off-list and I will be happy to send some out. Have fun, Sarah sarah.reichelt at gmail.com From AbilityForms at aol.com Thu Sep 8 20:04:34 2005 From: AbilityForms at aol.com (AbilityForms at aol.com) Date: Thu, 8 Sep 2005 20:04:34 EDT Subject: PreOpenStack Question Message-ID: <79.4d4b8913.30522b92@aol.com> Hi Everyone Apparently when there is a "PreOpenStack" script the "OpenStack" script and the "OpenCard" scripts are ignored. Is that true? If so how can I be sure those scripts aren't ignored? Joe, Orlando, Florida From davis.phil at comcast.net Thu Sep 8 20:28:36 2005 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 08 Sep 2005 17:28:36 -0700 Subject: PreOpenStack Question In-Reply-To: <79.4d4b8913.30522b92@aol.com> References: <79.4d4b8913.30522b92@aol.com> Message-ID: <4320D734.40203@comcast.net> Hi Joe - Nope, all those messages are sent through the message-passing hierarchy whenever a stack is opened (unless messages are locked). They are sent by the engine in this order: preOpenStack openStack preOpenCard openCard Each messages hits the opening card first, then the stack that contains that card. (There can be other objects in between - this is simplified) If the opening card (card 1 by default) has handlers for all the messages, none of the messages will make it to the stack UNLESS the card-level handlers each end with the "pass" command. Like this: -- card script ------------- on preOpenStack doCardThing1 -- this message will go no further - not passed end preOpenStack on openStack doCardThing2 pass openStack -- lets message continue down the path end openStack -- stack script ------------ on preOpenStack -- will never be executed - msg was not passed by card script doStackThing1 end preOpenStack on openStack doStackThing2 -- will always be executed end openStack HTH - Phil Davis AbilityForms at aol.com wrote: > Hi Everyone > > Apparently when there is a "PreOpenStack" script the "OpenStack" script and > the "OpenCard" scripts are ignored. Is that true? If so how can I be sure those > scripts aren't ignored? > > Joe, > Orlando, Florida From PradeepKumar.MITTAL at insead.edu Fri Sep 9 05:41:59 2005 From: PradeepKumar.MITTAL at insead.edu (MITTAL Pradeep Kumar) Date: Fri, 9 Sep 2005 11:41:59 +0200 Subject: How to call exe program from metacard Message-ID: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5B@GAIA.FBL.insead.intra> Hello, Is it possible to run executable program from metacard ?? >From metacard, I would like to call 2 exe program sequentially. Please let me know if you have any idea. Thanks Best Regards Pradeep From 36degrees at runrev.com Fri Sep 9 06:13:37 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Fri, 09 Sep 2005 11:13:37 +0100 Subject: No volumes in Linux? In-Reply-To: <004201c5b4a1$b28aeab0$0201a8c0@john> References: <004201c5b4a1$b28aeab0$0201a8c0@john> Message-ID: <1126260817.3832.23.camel@rachmaninov> Hi Bob, The problem you are experiencing with the shell command stems from the fact you are trying to execute a super-user only command when Revolution is not running with super-user privileges. The shell command (as it stands) makes no attempt to authenticate or change the user-environment and so cannot be used to do this. However, in this case you have other options other than sfdisk :o) Whenever a device is mounted on linux, the record of this fact is recorded in '/etc/mtab' - this file contains a list of all currently mounted devices with various details. For example, right now, the mtab on one of my machines is: /dev/hda3 / ext3 rw 0 0 none /proc proc rw 0 0 none /sys sysfs rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 usbfs /proc/bus/usb usbfs rw 0 0 /dev/hda1 /boot ext3 rw 0 0 none /dev/shm tmpfs rw 0 0 /dev/hda2 /home ext3 rw 0 0 /dev/hda6 /systems/additional-1 ext3 rw 0 0 /dev/hda7 /systems/additional-2 ext3 rw 0 0 /dev/hda8 /systems/additional-3 ext3 rw 0 0 /dev/hda9 /systems/additional-4 ext3 rw 0 0 /dev/hda10 /systems/additional-5 ext3 rw 0 0 /dev/hda11 /systems/additional-6 ext3 rw 0 0 /dev/hda12 /systems/additional-7 ext3 rw 0 0 /dev/hda5 /workspace ext3 rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 The format here is: To the best of my knowledge '/etc/mtab' is always globally readable - but if not, the information can also be extracted by calling the 'mount' command via shell. Again, in my case when I do shell("mount") I get: /dev/hda3 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hda1 on /boot type ext3 (rw) none on /dev/shm type tmpfs (rw) /dev/hda2 on /home type ext3 (rw) /dev/hda6 on /systems/additional-1 type ext3 (rw) /dev/hda7 on /systems/additional-2 type ext3 (rw) /dev/hda8 on /systems/additional-3 type ext3 (rw) /dev/hda9 on /systems/additional-4 type ext3 (rw) /dev/hda10 on /systems/additional-5 type ext3 (rw) /dev/hda11 on /systems/additional-6 type ext3 (rw) /dev/hda12 on /systems/additional-7 type ext3 (rw) /dev/hda5 on /workspace type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) Hope this helpes, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From klaus at major-k.de Fri Sep 9 06:15:51 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 9 Sep 2005 12:15:51 +0200 Subject: How to call exe program from metacard In-Reply-To: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5B@GAIA.FBL.insead.intra> References: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5B@GAIA.FBL.insead.intra> Message-ID: Vanakkam Pradeep, > Hello, > > Is it possible to run executable program from metacard ?? >> From metacard, I would like to call 2 exe program sequentially. > Please let me know if you have any idea. see the index for "launch" (open process xyz for neither). That should do what you need :-) > Thanks > Best Regards > Pradeep Poi varukiren. Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From PradeepKumar.MITTAL at insead.edu Fri Sep 9 06:49:06 2005 From: PradeepKumar.MITTAL at insead.edu (MITTAL Pradeep Kumar) Date: Fri, 9 Sep 2005 12:49:06 +0200 Subject: How to call exe program from metacard Message-ID: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5C@GAIA.FBL.insead.intra> Thanks Bob, By putting all the commands in batch file and using the shell command I can achieve what I wanted. But when I run shell command then command prompt window comes in front. Is there any way to minimize the command winow?? When I close my exe program, I would like to delete it once it is closed. Is it possible to delete the program from meta card or from shell script which can be put in seperare thread.? Please let me know if you have some idea Thanks for your help Best Regards Pradeep -----Original Message----- From: rev at armbase.com [mailto:rev at armbase.com] Sent: Friday, September 09, 2005 12:01 PM To: MITTAL Pradeep Kumar Subject: Re: How to call exe program from metacard Quoting MITTAL Pradeep Kumar : > Hello, Hi There > > Is it possible to run executable program from metacard ?? It is possible from runtime revolution, so I assume MC is the same. You can use the shell command. I don't have an example here at hand but it is findable on http://www.google.com/advanced_search?q=site:lists.runrev.com eg http://lists.runrev.com/pipermail/use-revolution/2004-November/046289.ht ml shows how to run multiple commands to a command line app. Cheers Bob From dburgun at dsl.pipex.com Fri Sep 9 07:18:30 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 9 Sep 2005 12:18:30 +0100 Subject: preOpenStack Weirdness In-Reply-To: References: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5B@GAIA.FBL.insead.intra> Message-ID: Hi, I have a stack that has a preOpenStack handler in the Stack Script. When I try to do the following I get a error: start using stack "/Documents/RunRev/Stacks/Main.rev" This statement causes an error saying that the Stack Cannot be found but I know's is there and if I run this script in a mouseUp handler or in the openStack handler it works ok. Why doesn't this work as expected?? Thanks a lot for your help All the Best Dave From b.xavier at internet.lu Fri Sep 9 07:37:18 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 13:37:18 +0200 Subject: preOpenStack Weirdness In-Reply-To: Message-ID: <20050909111626.BA457824D68@mail.runrev.com> Hi David trying to see it differently may answer your question on preopenstack set the directory to thispath if there is a stack thisstack then start using stack thisstack else reporterror thefiles end if pass preopenstack end preopenstack cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > David Burgun > Sent: Friday, September 09, 2005 13:19 > To: How to use Revolution > Subject: preOpenStack Weirdness > > Hi, > > I have a stack that has a preOpenStack handler in the Stack Script. > When I try to do the following I get a error: > > start using stack "/Documents/RunRev/Stacks/Main.rev" > > This statement causes an error saying that the Stack Cannot > be found but I know's is there and if I run this script in a > mouseUp handler or in the openStack handler it works ok. > > Why doesn't this work as expected?? > > Thanks a lot for your help > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Fri Sep 9 07:42:32 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 13:42:32 +0200 Subject: No volumes in Linux? In-Reply-To: <1126260817.3832.23.camel@rachmaninov> Message-ID: <20050909112204.ABB9F824D68@mail.runrev.com> would this do it then? function GetLinuxvolumes includeUSB put includeUSB is true into includeUSB put url "File:/etc/mtab" into vlist if includeUSB then put vlist into usblist filter usblist with "*usb*" end if filter vlist with "*hda*" if includeUSB then put CR & usblist after vlist repeat for each line l in vlist get word 2 of l if it is not empty then put it & cr after drivelist end repeat delete last char of drivelist return drivelist end GetLinuxvolumes cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Waddingham > Sent: Friday, September 09, 2005 12:14 > To: Bob Warren; How to use Revolution > Subject: Re: No volumes in Linux? > > Hi Bob, > > The problem you are experiencing with the shell command stems > from the fact you are trying to execute a super-user only > command when Revolution is not running with super-user > privileges. The shell command (as it > stands) makes no attempt to authenticate or change the > user-environment and so cannot be used to do this. > > However, in this case you have other options other than sfdisk :o) > > Whenever a device is mounted on linux, the record of this > fact is recorded in '/etc/mtab' - this file contains a list > of all currently mounted devices with various details. For > example, right now, the mtab on one of my machines is: > > /dev/hda3 / ext3 rw 0 0 > none /proc proc rw 0 0 > none /sys sysfs rw 0 0 > none /dev/pts devpts rw,gid=5,mode=620 0 0 usbfs > /proc/bus/usb usbfs rw 0 0 > /dev/hda1 /boot ext3 rw 0 0 > none /dev/shm tmpfs rw 0 0 > /dev/hda2 /home ext3 rw 0 0 > /dev/hda6 /systems/additional-1 ext3 rw 0 0 > /dev/hda7 /systems/additional-2 ext3 rw 0 0 > /dev/hda8 /systems/additional-3 ext3 rw 0 0 > /dev/hda9 /systems/additional-4 ext3 rw 0 0 /dev/hda10 > /systems/additional-5 ext3 rw 0 0 > /dev/hda11 /systems/additional-6 ext3 rw 0 0 > /dev/hda12 /systems/additional-7 ext3 rw 0 0 > /dev/hda5 /workspace ext3 rw 0 0 > none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc > /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 > > The format here is: > > > To the best of my knowledge '/etc/mtab' is always globally > readable - but if not, the information can also be extracted > by calling the 'mount' > command via shell. Again, in my case when I do shell("mount") I get: > > /dev/hda3 on / type ext3 (rw) > none on /proc type proc (rw) > none on /sys type sysfs (rw) > none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on > /proc/bus/usb type usbfs (rw) > /dev/hda1 on /boot type ext3 (rw) > none on /dev/shm type tmpfs (rw) > /dev/hda2 on /home type ext3 (rw) > /dev/hda6 on /systems/additional-1 type ext3 (rw) > /dev/hda7 on /systems/additional-2 type ext3 (rw) > /dev/hda8 on /systems/additional-3 type ext3 (rw) > /dev/hda9 on /systems/additional-4 type ext3 (rw) /dev/hda10 > on /systems/additional-5 type ext3 (rw) > /dev/hda11 on /systems/additional-6 type ext3 (rw) > /dev/hda12 on /systems/additional-7 type ext3 (rw) > /dev/hda5 on /workspace type ext3 (rw) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc > on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) > > Hope this helpes, > > Mark. > > ------------------------------------------------------------------ > Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com > Runtime Revolution ~ User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Fri Sep 9 07:46:35 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 13:46:35 +0200 Subject: How to call exe program from metacard In-Reply-To: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5C@GAIA.FBL.insead.intra> Message-ID: <20050909112654.B4316824D31@mail.runrev.com> Pradeep try this on doshellfile thisfile, deletefileafter if there is not a file thisfile then return "No such file" -- caught by the result of the calling handler. hide the batch window set the hidewindowsconsole to true get "start" && quote & thisfile & quote get shell(it) if deletefileafter then delete file thisfile end doshellfile (not tested...) not the full thing... but it should show you the way and the possible traps... check out the shell revdocumentation for more hints... There's also lots of examples in the list archives ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > MITTAL Pradeep Kumar > Sent: Friday, September 09, 2005 12:49 > To: use-revolution at lists.runrev.com > Subject: RE: How to call exe program from metacard > > Thanks Bob, > > By putting all the commands in batch file and using the shell > command I can achieve what I wanted. > But when I run shell command then command prompt window comes > in front. > Is there any way to minimize the command winow?? > > When I close my exe program, I would like to delete it once > it is closed. Is it possible to delete the program from meta > card or from shell script which can be put in seperare thread.? > Please let me know if you have some idea > > > Thanks for your help > Best Regards > Pradeep > > > > > > > > > > -----Original Message----- > From: rev at armbase.com [mailto:rev at armbase.com] > Sent: Friday, September 09, 2005 12:01 PM > To: MITTAL Pradeep Kumar > Subject: Re: How to call exe program from metacard > > > Quoting MITTAL Pradeep Kumar : > > > Hello, > > Hi There > > > > Is it possible to run executable program from metacard ?? > > It is possible from runtime revolution, so I assume MC is the > same. You > can use > the shell command. I don't have an example here at hand but it is > findable on > http://www.google.com/advanced_search?q=site:lists.runrev.com > > eg > http://lists.runrev.com/pipermail/use-revolution/2004-November > /046289.ht > ml > > shows how to run multiple commands to a command line app. > > Cheers > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Sep 9 07:50:01 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 9 Sep 2005 13:50:01 +0200 Subject: QT 7 for Windows Message-ID: Hi friends, short info, just in case you did not know. A couple of days ago, Apple released Quicktime for Windows version 7.02. Now it is possible to play MIDI-files on windows via a player object! Cool, isn't it?!! :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. Unfortuntely PDF is still unsupported. From PradeepKumar.MITTAL at insead.edu Fri Sep 9 07:52:33 2005 From: PradeepKumar.MITTAL at insead.edu (MITTAL Pradeep Kumar) Date: Fri, 9 Sep 2005 13:52:33 +0200 Subject: How to call exe program from metacard Message-ID: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5D@GAIA.FBL.insead.intra> I am using set the hideConsoleWindows to true but it does not hide the window ( I tested on windows XP) ~pradeep -----Original Message----- From: MITTAL Pradeep Kumar Sent: Friday, September 09, 2005 12:49 PM To: 'use-revolution at lists.runrev.com' Cc: 'rev at armbase.com' Subject: RE: How to call exe program from metacard Thanks Bob, By putting all the commands in batch file and using the shell command I can achieve what I wanted. But when I run shell command then command prompt window comes in front. Is there any way to minimize the command winow?? When I close my exe program, I would like to delete it once it is closed. Is it possible to delete the program from meta card or from shell script which can be put in seperare thread.? Please let me know if you have some idea Thanks for your help Best Regards Pradeep -----Original Message----- From: rev at armbase.com [mailto:rev at armbase.com] Sent: Friday, September 09, 2005 12:01 PM To: MITTAL Pradeep Kumar Subject: Re: How to call exe program from metacard Quoting MITTAL Pradeep Kumar : > Hello, Hi There > > Is it possible to run executable program from metacard ?? It is possible from runtime revolution, so I assume MC is the same. You can use the shell command. I don't have an example here at hand but it is findable on http://www.google.com/advanced_search?q=site:lists.runrev.com eg http://lists.runrev.com/pipermail/use-revolution/2004-November/046289.ht ml shows how to run multiple commands to a command line app. Cheers Bob From dburgun at dsl.pipex.com Fri Sep 9 08:07:27 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 9 Sep 2005 13:07:27 +0100 Subject: preOpenStack Weirdness In-Reply-To: <20050909111626.BA457824D68@mail.runrev.com> References: <20050909111626.BA457824D68@mail.runrev.com> Message-ID: Hi, Sorry I really don't understand what you mean. The stack file is definitely present so the "if there is a stack" always succeeds, also I am using the full path so I don't need to do the "set directory" command, I just use the full path string. Still puzzled! All the Best Dave >Hi David > >trying to see it differently may answer your question >on preopenstack > set the directory to thispath > if there is a stack thisstack then > start using stack thisstack > else > reporterror thefiles > end if > pass preopenstack >end preopenstack > >cheers >Xavier > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> David Burgun >> Sent: Friday, September 09, 2005 13:19 >> To: How to use Revolution >> Subject: preOpenStack Weirdness >> >> Hi, >> >> I have a stack that has a preOpenStack handler in the Stack Script. >> When I try to do the following I get a error: >> >> start using stack "/Documents/RunRev/Stacks/Main.rev" >> >> This statement causes an error saying that the Stack Cannot >> be found but I know's is there and if I run this script in a >> mouseUp handler or in the openStack handler it works ok. >> >> Why doesn't this work as expected?? >> >> Thanks a lot for your help >> All the Best >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From gbojsza at gmail.com Fri Sep 9 08:10:21 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 9 Sep 2005 08:10:21 -0400 Subject: Start, Stop, Continue Message-ID: <3d8af415050909051074b5b9a6@mail.gmail.com> Hi everyone, Friday's question is about how to allow a user to start,stop and continue a multimedia demonstration. Ther are three buttons. The Start button on a mouseUp starts to cycle through a list of commands that move graphics, shows and hides fields etc. on mouseUp hide btn "Start" show btn "Stop" move grc "node" to 120,120 in 2 seconds show fld "explanation" wait for 3 seconds hide fld "explanation" ... ... ... end mouseUp The Stop button on mouseUp stops the cycle of commands the Start button launched, hides itself and shows a Continue button. The Continue button on mouseUp starts the cycle of commands the Start button initially launched but from where the cylce had been stopped. This is my foray into multimedia and interaction with Rev so I hope the list will bear with me... traditionally I have worked on "static" apps. Any suggestions or reference stacks would be appreciated. regards, From PradeepKumar.MITTAL at insead.edu Fri Sep 9 08:10:32 2005 From: PradeepKumar.MITTAL at insead.edu (MITTAL Pradeep Kumar) Date: Fri, 9 Sep 2005 14:10:32 +0200 Subject: How to delte the program itself Message-ID: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5F@GAIA.FBL.insead.intra> This form is really great.. Finally I am able to minimize or hide console by using Start /b /min and by setting the hide cosole property to true. Now I would like to know how the same exe could be delelted once it has finished running. ( Is there any example of thread which could delete the program itself) thanks ~pradeep From pippa212000 at yahoo.co.uk Fri Sep 9 08:14:07 2005 From: pippa212000 at yahoo.co.uk (PIPPA) Date: Fri, 9 Sep 2005 13:14:07 +0100 (BST) Subject: (no subject) Message-ID: <20050909121407.61439.qmail@web25703.mail.ukl.yahoo.com> please take me off your lost --------------------------------- How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos From scott at proherp.com Fri Sep 9 08:25:19 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Fri, 9 Sep 2005 22:25:19 +1000 Subject: (no subject) In-Reply-To: <20050909121407.61439.qmail@web25703.mail.ukl.yahoo.com> Message-ID: <000101c5b539$9089f210$0201010a@proherps56yaxv> > please take me off your lost Go to the URL below (click on it) and you can take yourself of the list. :-) http://lists.runrev.com/mailman/listinfo/use-revolution Scott Kane From rp011s7075 at blueyonder.co.uk Fri Sep 9 09:14:46 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Fri, 9 Sep 2005 14:14:46 +0100 Subject: New stack: Collapsing toolbar Message-ID: Dear all, Two new stacks in the education gallery: http://revolution.lexicall.org/stacks_education.php In the courseware>maths section, "Tables" by Dominique Delefortrie http://domiscript.free.fr/Rev/index.html In the Tools & Plugins section, "Collapsing Toolbar" by me go url "http://revolution.lexicall.org/stacks/education/tools_plugins/ collapsing_toolbar.rev" (don't mind the content, I developed this stack in the context of an application I am writing and I have stripped out all non-relevant code) For the later, the toolbar graphics were made by following this tutorial: http://www.tutorialwiz.com/navbar/ More links to tutorials of that kind: http://revolution.lexicall.org/wiki/tiki-index.php? page=ResourcesImagesTutorials (recently updated) Enjoy, Marielle PS. If you have stacks with educational content or of a palette/ plugin type, let me know, I will add them to the gallery... Even better, use the "metadata file creator" stack, on top of the gallery, to create the metadatafile and the screenshot I use to dynamically create this gallery PS2. I will probably reorganize the gallery view soon, the page starts to be too long, with almost 50 stacks listed. ------------------------------------------------------------------------ ------------------------------------------ Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From jhurley at infostations.com Fri Sep 9 10:01:56 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 9 Sep 2005 07:01:56 -0700 Subject: [ANN] StackRunner 1.0.2 In-Reply-To: <20050909113336.339BE824DA1@mail.runrev.com> References: <20050909113336.339BE824DA1@mail.runrev.com> Message-ID: > >Message: 7 >Date: Thu, 08 Sep 2005 14:24:06 -0500 >From: Ken Ray >Subject: [ANN] StackRunner 1.0.2 >To: Use Revolution List , MetaCard > List >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >Based on input and suggestions, this new version of StackRunner allows you >to configure how you want SR to handle things when the last stack it opened >as been closed - you can quit it, or you can bring up a new "Please select a >stack" answer file dialog. This can be part of the config.srn file, or you >you let it take its default behavior. > >For more info, please see: > >http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm > >Have fun! > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > Ken, Thanks for the Runner. I love the simplicity. I have had no occasion to use DreamCard so I'm not familiar with its limitations. (I can see occasions when I would prefer DreamCard--or StackRunner--to building an app. It would be most helpful working with a user during the development stages. Updates would consist only of the new stack without the need to continually carry the baggage of the full application.) But help me out a bit. StackRunner comes in at 3.6 megs, and DreamCard at 2.1 megs. What are the differences and when would one choose StackRunner and when DreamCard? Thanks again for all you do for the Rev community. Jim From jhurley at infostations.com Fri Sep 9 10:29:39 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 9 Sep 2005 07:29:39 -0700 Subject: [ANN] Web site re-launched In-Reply-To: <20050909113336.339BE824DA1@mail.runrev.com> References: <20050909113336.339BE824DA1@mail.runrev.com> Message-ID: > >Message: 8 >Date: Fri, 9 Sep 2005 08:05:54 +1000 >From: Sarah Reichelt >Subject: [ANN] Web site re-launched >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=ISO-8859-1 > >Hello All, > >I have finally got around to a re-design of my Revolution web site > to make it easier to find things. I've also >added some new stacks, and hopefully there will be more to come in the >next few weeks as I get myself organised. > >I have also changed to using Gmail for all Revolution list emails. I >find the threading really good and I like being able to read & reply >to the list from any computer. If anyone wants an invitation to join >Gmail, let me know off-list and I will be happy to send some out. > >Have fun, >Sarah >sarah.reichelt at gmail.com > Sarah, Thanks for the re-design. I know I will have use for the "Pending messages manager" in debugging stacks with lots of messages floating around. It is good to know what messages are pending, not just when they are sent as with RR's message watcher. Jim From rp011s7075 at blueyonder.co.uk Fri Sep 9 10:40:03 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Fri, 9 Sep 2005 15:40:03 +0100 Subject: [ANN] StackRunner 1.0.2 Message-ID: <1B783A58-3BC7-4FCD-BDD9-8398A1F03F90@blueyonder.co.uk> Hi Jim, I only triedthe stackrunner today. The stack runner is a great addition. Two things I spotted: (1) The downloads size are in reality 4.9 for the dreamcard player and 1.3 for the stackrunner. The dreamcard player application is accompanied by a components directory which is 5.7 MB big. (2) The stack runner will automatically start any application called main.rev in the same directory. This means that you can very easily distribute your stack to others, without having to explain anything. Just rename the stackrunner app to your program name. For instance, run_this.app. Then instruct any user to click twice on this file and the job is done. That's a lot lot easier to demo anything, distribute to students, or attract new users. Many thanks for this, Ken! A great addition for the education commmunity Marielle PS. Jim, your last "shapeline" stack is really nice, really nice. > >http://www.sonsothunder.com/devres/revolution/downloads/ > StackRunner.htm > > Ken, > > Thanks for the Runner. I love the simplicity. > > I have had no occasion to use DreamCard so I'm not familiar with its > limitations. (I can see occasions when I would prefer DreamCard--or > StackRunner--to building an app. It would be most helpful working > with a user during the development stages. Updates would consist only > of the new stack without the need to continually carry the baggage of > the full application.) > > But help me out a bit. StackRunner comes in at 3.6 megs, and > DreamCard at 2.1 megs. > > What are the differences and when would one choose StackRunner and > when DreamCard? > > Thanks again for all you do for the Rev community. > > Jim From kray at sonsothunder.com Fri Sep 9 11:04:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 09 Sep 2005 10:04:16 -0500 Subject: [ANN] StackRunner 1.0.2 In-Reply-To: Message-ID: On 9/9/05 9:01 AM, "Jim Hurley" wrote: > Thanks for the Runner. I love the simplicity. My pleasure! > What are the differences and when would one choose StackRunner and > when DreamCard? Here's my quick list of the differences: What DreamCard Player Has That StackRunner Doesn't Have: --------------------------------------------------------------------- - Provides a secure mode to run stacks (default) - Contains and opens RevOnline Viewer; provides access to RO channels - Automatically checks for updates - Shows splash screen on launch What SR has that DCP Doesn't Have: --------------------------------------------------------------------- - Doesn't present a user interface (other than a simple "answer file" dialog) - Allows you to run a stack automatically on launch - Gives you the ability to provide a custom "answer file" prompt if your stack can't be found - Can automatically quit (or re-ask for a new stack) when the last stack closes - The 'answer file' dialog is displayed as a dialog on OS X so that a title prompt can be displayed (DCP uses a sheet, so it may not be clear what it's asking you to open) - Provides the 'answer file' dialog automatically if it isn't set to run a stack automatically (in DCP you have to click on a small button with a folder on it that has no label or tooltip) In general I would use SR to distribute known stacks to a specific "known" group of people, like a class or a client; the intention of SR is to get close to the true "application" experience. I would use DCP when you are distributing stacks via RevOnline for others to use, or when you need to have secure mode. > Thanks again for all you do for the Rev community. No problem! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Sep 9 11:13:12 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 09 Sep 2005 10:13:12 -0500 Subject: [ANN] StackRunner 1.0.2 In-Reply-To: <1B783A58-3BC7-4FCD-BDD9-8398A1F03F90@blueyonder.co.uk> Message-ID: On 9/9/05 9:40 AM, "Marielle Lange" wrote: > (1) The downloads size are in reality 4.9 for the dreamcard player > and 1.3 for the stackrunner. The dreamcard player application is > accompanied by a components directory which is 5.7 MB big. Yes; in StackRunner, the supported common libraries, icons, cursors, etc. are all built into the standalone, and since it doesn't have support for RevOnline, etc., so it is smaller than DCP (3.6 MB for SR vs. 9.5 MB for DCP - both under OS X). > (2) The stack runner will automatically start any application called > main.rev in the same directory. This means that you can very easily > distribute your stack to others, without having to explain anything. > Just rename the stackrunner app to your program name. For instance, > run_this.app. Then instruct any user to click twice on this file and > the job is done. That's a lot lot easier to demo anything, distribute > to students, or attract new users. That's true! One thing to keep in mind, though, and that is on OS X if you rename the app, it doesn't rename that application menu title when the program launches, so if you called it "Click Me.app", when they run it, the application menu will still read "StackRunner" (although a minor adjustment to the .plist file inside the bundle will fix this as well). > Many thanks for this, Ken! A great addition for the education commmunity Glad I could do it! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Sep 9 11:13:56 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 09 Sep 2005 10:13:56 -0500 Subject: [ANN] StackRunner 1.0.2 In-Reply-To: Message-ID: On 9/9/05 10:04 AM, "Ken Ray" wrote: > What DreamCard Player Has That StackRunner Doesn't Have: > --------------------------------------------------------------------- > - Provides a secure mode to run stacks (default) > - Contains and opens RevOnline Viewer; provides access to RO channels > - Automatically checks for updates > - Shows splash screen on launch I forgot to add one other thing that DCP has that SR doesn't have at the moment: Linux support. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Fri Sep 9 11:25:46 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 17:25:46 +0200 Subject: preOpenStack Weirdness In-Reply-To: Message-ID: <20050909150440.92F61824D27@mail.runrev.com> My first sentence was a suggestion to see the problem differently in the hopes that your problem would reveal itself... Not that your code was badly written... > -----Original Message----- > From: David Burgun [mailto:dburgun at dsl.pipex.com] > Sent: Friday, September 09, 2005 14:07 > To: x at monsieurx.com; How to use Revolution > Subject: RE: preOpenStack Weirdness > > Hi, > > Sorry I really don't understand what you mean. The stack file > is definitely present so the "if there is a stack" always > succeeds, also I am using the full path so I don't need to do > the "set directory" > command, I just use the full path string. > > Still puzzled! > > All the Best > Dave > > >Hi David > > > >trying to see it differently may answer your question on preopenstack > > set the directory to thispath > > if there is a stack thisstack then > > start using stack thisstack > > else > > reporterror thefiles > > end if > > pass preopenstack > >end preopenstack > > > >cheers > >Xavier > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On > Behalf Of David > >> Burgun > >> Sent: Friday, September 09, 2005 13:19 > >> To: How to use Revolution > >> Subject: preOpenStack Weirdness > >> > >> Hi, > >> > >> I have a stack that has a preOpenStack handler in the > Stack Script. > >> When I try to do the following I get a error: > >> > >> start using stack "/Documents/RunRev/Stacks/Main.rev" > >> > >> This statement causes an error saying that the Stack Cannot be > >> found but I know's is there and if I run this script in a mouseUp > >> handler or in the openStack handler it works ok. > >> > >> Why doesn't this work as expected?? > >> > >> Thanks a lot for your help > >> All the Best > >> Dave > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Fri Sep 9 11:20:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 9 Sep 2005 17:20:13 +0200 Subject: Update your Resources Picker database (was: [ANN] Web site re-launched) In-Reply-To: References: Message-ID: Hi all, Sarah re-designed her website: clearer, with more information. Thanks to you Sarah :-) Then if you use Resources Picker, where Sarah Revolution Page was included into the standard database shipped with the plugin, you might be interested in updating Resources Picker in order to stay tuned to the great contributions Sarah provides. It's easy: display the "Search Related Web/Web Database" pane and display "Sarah Revolution Page" by searching (for instance ) for "calendar" in Resources Picker. With the menu at the bottom, delete this link (http://www.troz.net/Rev/) and add the following links you will name as you want: http://www.troz.net/Rev/plugins.html http://www.troz.net/Rev/tutorials.html http://www.troz.net/Rev/libraries.html http://www.troz.net/Rev/misc.html ------------------------------------------------------------- For those who don't know what is the Resources Picker plugin (welcome to the many newcomers on this list :-) Resources Picker is a freeware sophisticated search engine dedicated to DreamCard/Revolution. Resources Picker is available from http://www.sosmartsoftware.com/ (you will find on this website 15 other plugins for DreamCard/ Revolution and about 20 tutorials) As for Resources Picker, by specifying keywords, it searches for information from 4 main sources: . Revolution documentation: FAQ, dictionary, topics section and cookbook recipes (cookbook included by courtesy of Runrev) . Revolution related mailing lists. Additional links to Google Advanced Search, Gmane by threads, Mail Archive, etc. . Revolution related relevant web resources: websites, stacks and files etc. through a local customizable database and 2 indexes (Rev Online and RevNet) . "All the Web" with a choice of three engines Automatic update. Help stack included (English/French). Install Read-Me (English/French). Identical appearance on all platforms. Broadband connection recommended. zip archive (480 KB) Best Regards from Paris, Eric Chatonet. Le 9 sept. 05 ? 00:05, Sarah Reichelt a ?crit : > Hello All, > > I have finally got around to a re-design of my Revolution web site > to make it easier to find things. I've also > added some new stacks, and hopefully there will be more to come in the > next few weeks as I get myself organised. > > I have also changed to using Gmail for all Revolution list emails. I > find the threading really good and I like being able to read & reply > to the list from any computer. If anyone wants an invitation to join > Gmail, let me know off-list and I will be happy to send some out. > > Have fun, > Sarah ---------------------------------------------------------------- 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 Free plugins and tutorials on my website ---------------------------------------------------------------- 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 kray at sonsothunder.com Fri Sep 9 11:27:04 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 09 Sep 2005 10:27:04 -0500 Subject: Start, Stop, Continue In-Reply-To: <3d8af415050909051074b5b9a6@mail.gmail.com> Message-ID: On 9/9/05 7:10 AM, "Glen Bojsza" wrote: > The Start button on a mouseUp starts to cycle through a list of commands > that move graphics, shows and hides fields etc. > > The Stop button on mouseUp stops the cycle of commands the Start button > launched, hides itself and shows a Continue button. > > The Continue button on mouseUp starts the cycle of commands the Start button > initially launched but from where the cylce had been stopped. > > This is my foray into multimedia and interaction with Rev so I hope the list > will bear with me... traditionally I have worked on "static" apps. > > Any suggestions or reference stacks would be appreciated. My suggestion would be to work with a list of commands in a custom property, and then use "send" to "do" each line, one at a time, recursively "sending" to the same handler. Manage a custom property "pointer" that indicates what command line is being executed. The Stop button would cancel the pending message, and the Continue button would execute the next command after the "pointer". Something like this (assumes "uCommands" property contains the list of commands to execute, "uPointer" property holds the indicator for which line is being executed): -- Start button on mouseUp set the uPointer of this card to 0 DoNextCommand end mouseUp -- Stop button on mouseUp CancelPending "DoNextCommand" end mouseUp -- Continue button on mouseUp DoNextCommand end mouseUp -- card script? on DoNextCommand put the uCommands of this card into tCmdList put the uPointer of this card into tLine add 1 to tLine put line tLine of tCmdList into tCmd if tCmd = "" then exit DoNextCommand -- already executed last cmd in list else do (line tLine of tCmdList) DoNextCommand end if end DoNextCommand on CancelPending pMsg put the pendingMessages into tPending if (pMsg <> "") and (pMsg <> "all") then filter tPending with "*," & pMsg & ",*" end if repeat for each line tMsg in tPending cancel item 1 of tMsg end repeat end CancelPending HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Fri Sep 9 11:30:50 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 17:30:50 +0200 Subject: How to call exe program from metacard In-Reply-To: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5D@GAIA.FBL.insead.intra> Message-ID: <20050909150943.77138824D8D@mail.runrev.com> Pradeep i know it works on nt4, nt5 and w2003... I find it hard to believe it wouldn't work in XP ;) if you do use shell("start .... use the switch "start /b" to avoid creating a new window... see start /? in a command line for more info cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > MITTAL Pradeep Kumar > Sent: Friday, September 09, 2005 13:53 > To: use-revolution at lists.runrev.com > Subject: RE: How to call exe program from metacard > > I am using set the hideConsoleWindows to true but it does > not hide the > window ( I tested on windows XP) > > ~pradeep > > -----Original Message----- > From: MITTAL Pradeep Kumar > Sent: Friday, September 09, 2005 12:49 PM > To: 'use-revolution at lists.runrev.com' > Cc: 'rev at armbase.com' > Subject: RE: How to call exe program from metacard > > > Thanks Bob, > > By putting all the commands in batch file and using the shell > command I > can achieve what I wanted. But when I run shell command then command > prompt window comes in front. Is there any way to minimize the command > winow?? > > When I close my exe program, I would like to delete it once it is > closed. Is it possible to delete the program from meta card or from > shell script which can be put in seperare thread.? > Please let me know if you have some idea > > > Thanks for your help > Best Regards > Pradeep > > > > > > > > > > -----Original Message----- > From: rev at armbase.com [mailto:rev at armbase.com] > Sent: Friday, September 09, 2005 12:01 PM > To: MITTAL Pradeep Kumar > Subject: Re: How to call exe program from metacard > > > Quoting MITTAL Pradeep Kumar : > > > Hello, > > Hi There > > > > Is it possible to run executable program from metacard ?? > > It is possible from runtime revolution, so I assume MC is the > same. You > can use > the shell command. I don't have an example here at hand but it is > findable on > http://www.google.com/advanced_search?q=site:lists.runrev.com > > eg > http://lists.runrev.com/pipermail/use-revolution/2004-November > /046289.ht > ml > > shows how to run multiple commands to a command line app. > > Cheers > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alcy.runrev1 at 7power7.com Fri Sep 9 11:30:52 2005 From: alcy.runrev1 at 7power7.com (Alcy) Date: Sat, 10 Sep 2005 01:30:52 +1000 Subject: Sudden Crash and loss of saved data Message-ID: <4321AAAC.4010108@7power7.com> I have created a few substacks of my main stack. I have been working on a very heavy substack (with about 700 buttons with different scripts) for the last 2 days when a script has generated a crash of revolution and surprisingly when I have reopened the stack, all infos about the substack had disappeared. It is not the first time I have a surprise like this. I have saved my work under another name too but the same thing has happened to it as well (no substack).. Has this phenomenon happened to others? Should I save each substack separately? Any idea about why my saved data have lost the infos about this heavy substack? thanks in advance. Alcy From b.xavier at internet.lu Fri Sep 9 11:35:57 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 17:35:57 +0200 Subject: QT 7 for Windows In-Reply-To: Message-ID: <20050909151450.0B6AB824DE8@mail.runrev.com> Klaus Midi files work in QT 5 on this poor pc... I know cause i wrote a media player long long ago in MC and it worked then... Just tested now cause you had me doubting... cheers Xavier > -----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, September 09, 2005 13:50 > To: How to use Revolution > Subject: QT 7 for Windows > > Hi friends, > > short info, just in case you did not know. > > A couple of days ago, Apple released Quicktime for Windows > version 7.02. > > Now it is possible to play MIDI-files on windows via a player object! > > Cool, isn't it?!! :-) > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > P.S. > Unfortuntely PDF is still unsupported. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Sep 9 11:42:41 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 9 Sep 2005 17:42:41 +0200 Subject: QT 7 for Windows In-Reply-To: <20050909151450.0B6AB824DE8@mail.runrev.com> References: <20050909151450.0B6AB824DE8@mail.runrev.com> Message-ID: Hi Xavier, > Klaus > > Midi files work in QT 5 on this poor pc... > > I know cause i wrote a media player long long ago in MC and it worked > then... > > Just tested now cause you had me doubting... REALLY? I would have sworn! :-) > cheers > Xavier Best Klaus Major klaus at major-k.de http://www.major-k.de From b.xavier at internet.lu Fri Sep 9 12:32:52 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 18:32:52 +0200 Subject: Sudden Crash and loss of saved data In-Reply-To: <4321AAAC.4010108@7power7.com> Message-ID: <20050909161145.AA38D824DBA@mail.runrev.com> Alcy sorry to hear. I've lost 3 hours of work this week due to crashes, i sympathesize dearly! Unfortunately, Rev is just just short of perfection... (I'd love to see Jeremy Clarkson from TopGear.com review Rev for a good laugh ;) Look for a similarly named stack name. I think it is stackname.~ or something like that. IF there is, you are in luck... Rename the stackname.rev to something else, rename the ~ file to .rev and you will be saved... Hopefully... But Rev is actually pretty good in not corrupting stacks since MetaCard - however you can't get a pre-crash version restored when it does... At least on windows... To avoid the crashes: - Save often - this apparently reduces the number of crashed i experencied... - Remove the breakpoints... usual symptoms is that you click on the revmenu and bam, it's gone... - messing too much with links in a field also seems to cause crashes... - image manipulations - dont get the wrong data in an image... - Avoid duplicate image ids... - Ah yes, the Geometry amanager can also cause some crashes... I think rev knows about these bugs now... To avoid the image crashes, you can review all your ids using the application browser or my image browser which will show finer controls to locate or avoid using the same id... This should help you... http://mail.runrev.com/pipermail/use-revolution/2005-June/060747.html For the breakpoints, use Development-> Clear breakpoints - but it's not perfect, so you can use my BreakpointNavigator which is more practical and thorough... http://www.monsieurx.com/modules.php?name=News&file=article&sid=180 Now why does rev crash when clicking links in huge text fields? Although if you save, it wont crash. That's puzzling... Other tips that might help saving your work (but maybe not the crashes): Chipp's Magic Carpet stack http://www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm According to that web page it says "The easiest to use version control and backup system ever!" Ah yes, dont forget to do backups... 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 Alcy > Sent: Friday, September 09, 2005 17:31 > To: use-revolution at lists.runrev.com > Subject: Sudden Crash and loss of saved data > > > I have created a few substacks of my main stack. > I have been working on a very heavy substack (with about 700 > buttons with different scripts) for the last 2 days when a > script has generated a crash of revolution and surprisingly > when I have reopened the stack, all infos about the substack > had disappeared. It is not the first time I have a surprise > like this. I have saved my work under another name too but > the same thing has happened to it as well (no substack).. > Has this phenomenon happened to others? Should I save each > substack separately? > Any idea about why my saved data have lost the infos about > this heavy substack? > thanks in advance. > Alcy > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From laguer at ucs.orst.edu Fri Sep 9 13:33:04 2005 From: laguer at ucs.orst.edu (Rich Lague) Date: Fri, 9 Sep 2005 10:33:04 -0700 Subject: empty marked cards? Message-ID: I want to let the user know that there are no marked cards when the user packs "go to next marked card." This script does not work: on testMarkFind go next marked card if it is empty then answer "none found" end if end testMarkFind What does work? Thanks, Rich Lague From klaus at major-k.de Fri Sep 9 13:38:28 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 9 Sep 2005 19:38:28 +0200 Subject: empty marked cards? In-Reply-To: References: Message-ID: Hi Rich, > > I want to let the user know that there are no marked cards when the > user packs "go to next marked card." > > This script does not work: > > on testMarkFind > go next marked card > if it is empty then > answer "none found" > end if > end testMarkFind > > > What does work? Try this: on testMarkFind if the number of marked cds = 0 then answer "none found" end if end testMarkFind :-) > Thanks, > > Rich Lague Best Klaus Major klaus at major-k.de http://www.major-k.de From b.xavier at internet.lu Fri Sep 9 13:53:11 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 9 Sep 2005 19:53:11 +0200 Subject: chat with us! Message-ID: <20050909173203.94ADB824E1C@mail.runrev.com> Gals and Guys, Ladies and gentleman... Step right up! Come and see the chat! You have to come and chat with us at chatrev... You're really missing out... we have a half dozen permanent members and it's really cool to lounge there too... see you there or be square ;) Bar is open 24/24 7/7... First round of your favorite cocktails are on me ;) get your chat client at http://chatrev.bjoernke.com (there's other clients - i let you find them though!) cheers Xavier From gbojsza at gmail.com Fri Sep 9 14:03:21 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 9 Sep 2005 14:03:21 -0400 Subject: Start, Stop, Continue In-Reply-To: References: <3d8af415050909051074b5b9a6@mail.gmail.com> Message-ID: <3d8af41505090911033846e85f@mail.gmail.com> Ken, Thanks, I like the framework. regards, On 9/9/05, Ken Ray wrote: > > On 9/9/05 7:10 AM, "Glen Bojsza" wrote: > > > The Start button on a mouseUp starts to cycle through a list of commands > > that move graphics, shows and hides fields etc. > > > > The Stop button on mouseUp stops the cycle of commands the Start button > > launched, hides itself and shows a Continue button. > > > > The Continue button on mouseUp starts the cycle of commands the Start > button > > initially launched but from where the cylce had been stopped. > > > > This is my foray into multimedia and interaction with Rev so I hope the > list > > will bear with me... traditionally I have worked on "static" apps. > > > > Any suggestions or reference stacks would be appreciated. > > My suggestion would be to work with a list of commands in a custom > property, > and then use "send" to "do" each line, one at a time, recursively > "sending" > to the same handler. Manage a custom property "pointer" that indicates > what > command line is being executed. The Stop button would cancel the pending > message, and the Continue button would execute the next command after the > "pointer". Something like this (assumes "uCommands" property contains the > list of commands to execute, "uPointer" property holds the indicator for > which line is being executed): > > > -- Start button > on mouseUp > set the uPointer of this card to 0 > DoNextCommand > end mouseUp > > -- Stop button > on mouseUp > CancelPending "DoNextCommand" > end mouseUp > > -- Continue button > on mouseUp > DoNextCommand > end mouseUp > > -- card script? > on DoNextCommand > put the uCommands of this card into tCmdList > put the uPointer of this card into tLine > add 1 to tLine > put line tLine of tCmdList into tCmd > if tCmd = "" then > exit DoNextCommand -- already executed last cmd in list > else > do (line tLine of tCmdList) > DoNextCommand > end if > end DoNextCommand > > on CancelPending pMsg > put the pendingMessages into tPending > if (pMsg <> "") and (pMsg <> "all") then > filter tPending with "*," & pMsg & ",*" > end if > repeat for each line tMsg in tPending > cancel item 1 of tMsg > end repeat > end CancelPending > > HTH, > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Fri Sep 9 15:49:51 2005 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 9 Sep 2005 12:49:51 -0700 Subject: AltBrowser Message-ID: Howdy, I'd like to explore Altuit's AltBrowser. What versions of Rev are supported? The Altuit site says it must be purchased through Rev, but it doesn't show up at the store or 3rd party addons. Can't find it at all. Where is it? All the best, Ken N. From warren at howsoft.com Fri Sep 9 15:59:49 2005 From: warren at howsoft.com (Bob Warren) Date: Fri, 9 Sep 2005 16:59:49 -0300 Subject: No volumes in Linux? Message-ID: <003c01c5b579$efa86cf0$0201a8c0@john> Sorry about the delay in replying to all the kind (and very clever) folks who have taken an interest in listing the Linux volumes through the RR Shell command - not just the ones mentioned below! I had to give the kiss of life to my Hoary Hedgehog, and now he is running around again. Mark Waddington's solution was the one least likely to blow my beginner's mind, and it seems to have worked. On executing:- Put the shell of "mount" into ...... - I get the following list on my Ubuntu Linux machine: /dev/hda1 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev on /.dev type unknown (rw,bind) none on /dev type tmpfs (rw,size=5M,mode=0755) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdc on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=bob) My HD and CD-Rom drives (volumes) are correctly reported in the first and last lines, and I can use these to extract the info I want. Thanks Mark! ''''''''''''''''''''''''''''''''''''''' Chris Kassopulo's proposal: For a list of all drives use: sudo sfdisk -s /dev/hda: 58652496 total: 58652496 blocks For a list of all partitions use: sudo sfdisk -l That's great info for a Linux novice. Thanks Chris! But of course it suffers the problem of root privileges elucidated by Mark when calling through the RR Shell. The result through the shell is a request to enter my password, but no info about the volumes. '''''''''''''''''''''''''''''''' Ken Ray's proposal: Bob, here's how I do it with OSX's shell; perhaps this will work with Linux as well (in this case I'm executing a 'kill' on a process with sudo): put "#!/bin/sh" & cr into tScript put "pw="&tPassword & cr into tScript put "echo $pw | sudo -S kill -9" && tProcessID & cr after tScript get shell(tScript) Substituting an actual string for "tPassword" is OK, but to see whether this might work under Linux I need to know what to put in place of "tProcessID". Wossis? Sorry about the ignorance factor on my part........ ''''''''''''''''''''''''''''''' Xavier's (MisterX's) proposal: would this do it then? function GetLinuxvolumes includeUSB put includeUSB is true into includeUSB put url "File:/etc/mtab" into vlist if includeUSB then put vlist into usblist filter usblist with "*usb*" end if filter vlist with "*hda*" if includeUSB then put CR & usblist after vlist repeat for each line l in vlist get word 2 of l if it is not empty then put it & cr after drivelist end repeat delete last char of drivelist return drivelist end GetLinuxvolumes That looks promising! Thanks for the work! But it's horrible being an RR novice as well as a novice in Linux too. I don't know how to call this function, since its format seems a little different from the example function call given in the RR Help. It's the "includeUSB" bit that has me fogged, since the only buses I am used to taking usually end up in Piccadilly Circus! Would you be kind enough to give me an example of how to call this function? It may or may not work in Linux, but at least I will have learned something about calling functions! Thanks. ''''''''''''''''''''''''''''''''''' Thank you all once again. Best, Bob From alex at tweedly.net Fri Sep 9 16:10:45 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 09 Sep 2005 21:10:45 +0100 Subject: AltBrowser In-Reply-To: References: Message-ID: <4321EC45.5010405@tweedly.net> Ken Norris wrote: > Howdy, > > I'd like to explore Altuit's AltBrowser. > > What versions of Rev are supported? > > The Altuit site says it must be purchased through Rev, but it doesn't > show up at the store or 3rd party addons. Can't find it at all. Where > is it? > http://www.runrev.com/section/revselect/index.php -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.19/93 - Release Date: 08/09/2005 From warren at howsoft.com Fri Sep 9 16:34:01 2005 From: warren at howsoft.com (Bob Warren) Date: Fri, 9 Sep 2005 17:34:01 -0300 Subject: Q: When is a Waddingham a Waddington? References: <004201c5b4a1$b28aeab0$0201a8c0@john> <1126260817.3832.23.camel@rachmaninov> Message-ID: <004e01c5b57e$006b83c0$0201a8c0@john> A: When he's getting ready for the recycle-bin, like me! Apologies to Mark Waddingham. I wrote "Waddington" in my last e-mail. Bob From kray at sonsothunder.com Fri Sep 9 17:05:26 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 09 Sep 2005 16:05:26 -0500 Subject: No volumes in Linux? In-Reply-To: <003c01c5b579$efa86cf0$0201a8c0@john> Message-ID: > Ken Ray's proposal: > > Bob, here's how I do it with OSX's shell; perhaps this will work with Linux > as well (in this case I'm executing a 'kill' on a process with sudo): > > put "#!/bin/sh" & cr into tScript > put "pw="&tPassword & cr into tScript > put "echo $pw | sudo -S kill -9" && tProcessID & cr after tScript > get shell(tScript) > > Substituting an actual string for "tPassword" is OK, but to see whether this > might work under Linux I need to know what to put in place of "tProcessID". > Wossis? > Sorry about the ignorance factor on my part........ No problem... I was just giving you an example of how to pass authentication via shell using an example I had of killing a process. You're not killing a process, so everything that comes after "sudo" needs to be your own command, so you'd do: echo $pw | sudo sfdisk -s But you already have a workable solution, so this is just FYI... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at proherp.com Fri Sep 9 18:46:12 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Sat, 10 Sep 2005 08:46:12 +1000 Subject: Alternating Color Rows in a Table Field Message-ID: <000201c5b590$4b95e540$0100a8c0@proherps56yaxv> Hi all, Just wondering if anybody knows how to get alternating colored rows in a table field. You know - one row white, next row pale blue, next row white etc... All suggestions welcome! Scott Kane From revdan at danshafer.com Fri Sep 9 19:00:15 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 9 Sep 2005 16:00:15 -0700 Subject: Sudden Crash and loss of saved data In-Reply-To: <4321AAAC.4010108@7power7.com> References: <4321AAAC.4010108@7power7.com> Message-ID: <90096F79-7A6E-427A-BB3E-DE0F5771C623@danshafer.com> To the excellent advice Xavier provided, I would add only that you should look at Altuit's versioning tool. It backs up incrementally named and numbered versions of stuff and therefore allows very granular rollback. It's saved me several times, not so much from crashes as from stupidity. On Sep 9, 2005, at 8:30 AM, Alcy wrote: > > I have created a few substacks of my main stack. > I have been working on a very heavy substack (with about 700 > buttons with different scripts) for the last 2 days when a script > has generated a crash of revolution and surprisingly when I have > reopened the stack, all infos about the substack had disappeared. > It is not the first time I have a surprise like this. I have saved > my work under another name too but the same thing has happened to > it as well (no substack).. > Has this phenomenon happened to others? Should I save each > substack separately? > Any idea about why my saved data have lost the infos about this > heavy substack? > thanks in advance. > Alcy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From scott at proherp.com Fri Sep 9 20:14:35 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Sat, 10 Sep 2005 10:14:35 +1000 Subject: Tabbed Panels Message-ID: <000001c5b59c$a64f7d00$0201010a@proherps56yaxv> Hi, When I add controls to a tabbed panel the controls appear on each tab. That is to say the controls on tab one appear on tabs three and four as well. I would have expected each page to "own" the object in it. Am I missing something obvious? Scott From kray at sonsothunder.com Fri Sep 9 20:22:20 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 09 Sep 2005 19:22:20 -0500 Subject: Tabbed Panels In-Reply-To: <000001c5b59c$a64f7d00$0201010a@proherps56yaxv> Message-ID: On 9/9/05 7:14 PM, "Scott Kane - Reptile Software Consultant" wrote: > Hi, > > When I add controls to a tabbed panel the > controls appear on each tab. That is to say > the controls on tab one appear on tabs three > and four as well. I would have expected each > page to "own" the object in it. Am I missing > something obvious? Yes - that it's not a tabbed panel, but a tab *button* that does not contain anything, but can be used to visually toggle between states. When tabs are clicked, you get a message (menuPick) that will tell you what tab they clicked, and you can then either show/hide groups that correspond to what should display for a particular tab, or you can go to another card in a stack. Eric Chatonet has an example on how to work on RevOnline - username "So Smart Software", click on "Tutorials Picker 2.0" and click "Go To". When the stack opens, click the "Open" button, then in the list of tutorials, double click on "How to Manage Tabbed Buttons". HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at proherp.com Fri Sep 9 20:30:07 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Sat, 10 Sep 2005 10:30:07 +1000 Subject: Tabbed Panels In-Reply-To: Message-ID: <000101c5b59e$d1388690$0201010a@proherps56yaxv> Thanks Ken!! Scott > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray > Sent: Saturday, 10 September 2005 10:22 AM > To: Use Revolution List > Subject: Re: Tabbed Panels > > > On 9/9/05 7:14 PM, "Scott Kane - Reptile Software Consultant" > wrote: > > > Hi, > > > > When I add controls to a tabbed panel the > > controls appear on each tab. That is to say > > the controls on tab one appear on tabs three > > and four as well. I would have expected each > > page to "own" the object in it. Am I missing > > something obvious? > > Yes - that it's not a tabbed panel, but a tab *button* that > does not contain anything, but can be used to visually toggle > between states. When tabs are clicked, you get a message > (menuPick) that will tell you what tab they clicked, and you > can then either show/hide groups that correspond to what > should display for a particular tab, or you can go to another > card in a stack. > > Eric Chatonet has an example on how to work on RevOnline - > username "So Smart Software", click on "Tutorials Picker 2.0" > and click "Go To". When the stack opens, click the "Open" > button, then in the list of tutorials, double click on "How > to Manage Tabbed Buttons". > > HTH, > > 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 > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarah.reichelt at gmail.com Fri Sep 9 20:58:29 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 10 Sep 2005 10:58:29 +1000 Subject: Alternating Color Rows in a Table Field In-Reply-To: <000201c5b590$4b95e540$0100a8c0@proherps56yaxv> References: <000201c5b590$4b95e540$0100a8c0@proherps56yaxv> Message-ID: On 9/10/05, Scott Kane - Reptile Software Consultant wrote: > Hi all, > > Just wondering if anybody knows how to get > alternating colored rows in a table field. > You know - one row white, next row pale blue, > next row white etc... There have been several threads debating this, but here is a link to one solution: Search the use list for iTunes or stries to see more suggestions. HTH, Sarah From j.tangen at unsw.edu.au Fri Sep 9 23:17:55 2005 From: j.tangen at unsw.edu.au (Jason Tangen) Date: Sat, 10 Sep 2005 13:17:55 +1000 Subject: 'It's not yet 10am, but Aqua is drunk' Message-ID: <8384CBC8-0207-431A-8301-C6220AA222D9@unsw.edu.au> Daring Fireball is carrying a hilarious send up of the brushed-metal interface loss of place with the release of iTunes 5 entitled: "The iTunes 5 Announcement From the Perspective of an Anthropomorphized Brushed Metal User Interface Theme" (language warning). Does this mean that OS X Rev users will have a "Unified with a tan" option in place of "Metal Texture"? ;-) Cheers, Jason From chipp at chipp.com Sat Sep 10 00:10:41 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 09 Sep 2005 23:10:41 -0500 Subject: 'It's not yet 10am, but Aqua is drunk' In-Reply-To: <8384CBC8-0207-431A-8301-C6220AA222D9@unsw.edu.au> References: <8384CBC8-0207-431A-8301-C6220AA222D9@unsw.edu.au> Message-ID: <43225CC1.7060202@chipp.com> Got to be one of the funniest things I've ever read. Still laughing! Jason Tangen wrote: > Daring Fireball is carrying a hilarious send up of the brushed-metal > interface loss of place with the release of iTunes 5 entitled: "The > iTunes 5 Announcement From the Perspective of an Anthropomorphized > Brushed Metal User Interface Theme" 2005/09/anthropomorphized> (language warning). Does this mean that OS > X Rev users will have a "Unified with a tan" option in place of "Metal > Texture"? ;-) > Cheers, > Jason From b.xavier at internet.lu Sat Sep 10 00:20:31 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 10 Sep 2005 06:20:31 +0200 Subject: Alternating Color Rows in a Table Field In-Reply-To: <000201c5b590$4b95e540$0100a8c0@proherps56yaxv> Message-ID: <20050910035918.25DBB824E4E@mail.runrev.com> Hi Scott here's a download that shows you how to do it http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=75 7KBs Enjoy Xavier http://monsieurx.com - Lots of rev downloads and links... Lots! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Scott Kane - Reptile Software Consultant > Sent: Saturday, September 10, 2005 00:46 > To: 'How to use Revolution' > Subject: Alternating Color Rows in a Table Field > > Hi all, > > Just wondering if anybody knows how to get alternating > colored rows in a table field. > You know - one row white, next row pale blue, next row white etc... > > All suggestions welcome! > > > Scott Kane > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at easynet.fr Sat Sep 10 01:29:52 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 10 Sep 2005 07:29:52 +0200 Subject: How to delte the program itself In-Reply-To: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5F@GAIA.FBL.insead.intra> References: <8CD3C97D72BC144CB87AEBAD8D2E9732D6EB5F@GAIA.FBL.insead.intra> Message-ID: <14A7767D-D5EF-4424-8F53-2533CBE7C983@easynet.fr> Hello Pradeep, The best is probably to build a command as batch file from within the Rev app (preopenstack or so) and to have in it a "rm revapp" condition to run when the Rev app is no more available in beetwin the still running processes. The list is the right place to get the best help you can get :-) Best, Le 9 sept. 05 ? 14:10, MITTAL Pradeep Kumar a ?crit : > This form is really great.. > > Finally I am able to minimize or hide console by using Start /b / > min and > by setting the hide cosole property to true. > > Now I would like to know how the same exe could be delelted once it > has > finished running. ( Is there any example of thread which could delete > the program itself) > > thanks > > ~pradeep > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From alcy.runrev1 at 7power7.com Sat Sep 10 01:35:52 2005 From: alcy.runrev1 at 7power7.com (Alcy) Date: Sat, 10 Sep 2005 15:35:52 +1000 Subject: Sudden Crash and loss of saved data (About purge stack on close) Message-ID: <432270B8.2020302@7power7.com> Thanks a lot Xavier, I think the crash happened because of the wrong data in an image or bad image manipulation.. I have recovered everything with hard work all night this time and will be more careful now. I also think that the 2 boxes "purge stack on close" and "purge window on close" were wrongly unticked and I must have answered wrongly to the request to save or purge... I would love more explanations about (in the stack inspector): - buffer display - purge stack on close - purge window on close Also would it help if I tick "can't delete" in the stack inspector? What is the quickest/best way to abort a script which is wrong? (in my case the crash made all windows of Revolution disappear instantly but I might need it in the future) thanks a lot Xavier, Mark and Dan for your feedback Alcy From b.xavier at internet.lu Sat Sep 10 02:07:50 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 10 Sep 2005 08:07:50 +0200 Subject: Sudden Crash and loss of saved data (About purge stack on close) In-Reply-To: <432270B8.2020302@7power7.com> Message-ID: <20050910054635.91A52824E56@mail.runrev.com> > I also think that the 2 boxes "purge stack on close" and > "purge window on close" were wrongly unticked and I must have > answered wrongly to the request to save or purge... > I would love more explanations about (in the stack inspector): > - buffer display I dont know why it's an option, without it you get flicker and even with it, a pre-loaded image wont be updated in a stack that was open previous to the media containing stack - not until the stack is reopened. Always keep it checked... > - purge stack on close > - purge window on close This can be confusing but it is a safegard. Where it helps though to set those to false is for palettes, and stacks[inuse] that you might open a close within a session... But it doesn't prevent loosing the stack from the stacksinuse list... but it's good to know... Keep it on for stacks you work in, dont for palettes... That's more or less the guideline. > Also would it help if I tick "can't delete" in the stack inspector? not really. It doesn't prevent "forgetting to save" or overwriting the file... it only prevents the "command" delete stack from working... > What is the quickest/best way to abort a script which is > wrong? (in my case the crash made all windows of Revolution > disappear instantly but I might need it in the future) press command period (Mac) or control C (PC) to abort a loop. Another way is to put in a safeguard condition (if ...) in your loop. Note, if your loop is really small and your PC too fast, it may not abort. A condition like 'if the shiftkey is down then exit to top or breakpoint' can help... > thanks a lot Xavier, Mark and Dan for your feedback Alcy Always a pleasure ;) cheers Xav From alcy.runrev1 at 7power7.com Sat Sep 10 02:55:46 2005 From: alcy.runrev1 at 7power7.com (Alcy) Date: Sat, 10 Sep 2005 16:55:46 +1000 Subject: Sudden Crash and loss of saved data (About purge stack on) Message-ID: <43228372.8070107@7power7.com> Thanks again Xavier ;-) Alcy From ambassador at fourthworld.com Sat Sep 10 03:37:24 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Sep 2005 00:37:24 -0700 Subject: More drawing tool woes: no mouseDown or mouseUp sent? Message-ID: <43228D34.8010702@fourthworld.com> I'm making a specialized drawing tool, and I need to know when the mouse is clicked outside of any control while the pointer tool is active -- here's my setup: The card has a group which is used as the drawing region. I also have another group which is used for tools, and the cantSelect of those tool buttons is set to true in order to have them behave like the browse tool when the pointer tool is active. Some of the objects in my drawing region group are selectable as normal, and others have their cantSelect set to true as they're mostly managed by script in response to things the user does with the selectable objects. When the user clicks on one of these non-selectable objects I change its appearance to indicate that it's selected. Now here's the challenge: When the user clicks off of any control I need notification so I can change the appearance of those objects. We get this behavior for free with normally selectable objects: you click on it and it's selected, you click off of it and it's deselected. But in order to manage my non-selectable objects, I need to know when the mouse is clicked anywhere outside of a control. Apparently the mouseDown and mouseUp messages are not sent when the pointer tool is active unless the user clicks with button 3; the normal button 1 click never sends the message to the card. Unlike SuperCard, we have no pointerDown or pointerUp message which would make this a snap. I've tried placing a graphic object at the back of my group to trap messages like that, but if I leave it with the cantSelect off it's selectable, and if I turn on the cantSelect then dragging on it gives the browse tool behavior rather than the pointer tool behavior of the selection marquee. Suppporting the normal behavior of marquee selection is important and I don't want to sacrifice it just to work around the lack of mouseDown or mouseUp. Any other suggestions for identifying when the user clicks outside of any control on a card while the pointer tool is active? This sort of thing is a 15-minute job in SuperCard, now on my third month in Rev.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From b.xavier at internet.lu Sat Sep 10 04:10:03 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 10 Sep 2005 10:10:03 +0200 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <43228D34.8010702@fourthworld.com> Message-ID: <20050910074848.4A530824E7F@mail.runrev.com> Richard, Can't you set up either A frontscript that traps mousedown and up before your controls... this front scripts remembers where that happened and passes it or treats the value... An alternative is to have a card framework that does all the events instead of having the controls in the card relay the events. It would give you more control i believe - not the best way to program rev though, it's still "legal!" or a function like function mymousestatus get the mouse is down, the target, the mouseloc, etc... return it end mymousestatus which you put in your event loop or the repeat while the mouse is up loop... This trick saved my spellchecherks' invisible bugs... I noticed yesterday that if a menu has a mousedown, mouseup and menupick handlers, when the user releases the menu or mouse out the button, the mouseup is not noticed even though the button is the focused object/target... This is that fine line where GUI and HIGs clash though ;) Hope that helps 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, September 10, 2005 09:37 > To: How to use Revolution > Subject: More drawing tool woes: no mouseDown or mouseUp sent? > > I'm making a specialized drawing tool, and I need to know > when the mouse is clicked outside of any control while the > pointer tool is active -- here's my setup: > > The card has a group which is used as the drawing region. I > also have another group which is used for tools, and the > cantSelect of those tool buttons is set to true in order to > have them behave like the browse tool when the pointer tool is active. > > Some of the objects in my drawing region group are selectable > as normal, and others have their cantSelect set to true as > they're mostly managed by script in response to things the > user does with the selectable objects. > > When the user clicks on one of these non-selectable objects I > change its appearance to indicate that it's selected. > > Now here's the challenge: When the user clicks off of any > control I need notification so I can change the appearance of > those objects. > > We get this behavior for free with normally selectable > objects: you click on it and it's selected, you click off of > it and it's deselected. > > But in order to manage my non-selectable objects, I need to > know when the mouse is clicked anywhere outside of a control. > > Apparently the mouseDown and mouseUp messages are not sent > when the pointer tool is active unless the user clicks with > button 3; the normal button 1 click never sends the message > to the card. Unlike SuperCard, we have no pointerDown or > pointerUp message which would make this a snap. > > I've tried placing a graphic object at the back of my group > to trap messages like that, but if I leave it with the > cantSelect off it's selectable, and if I turn on the > cantSelect then dragging on it gives the browse tool behavior > rather than the pointer tool behavior of the selection > marquee. Suppporting the normal behavior of marquee > selection is important and I don't want to sacrifice it just > to work around the lack of mouseDown or mouseUp. > > Any other suggestions for identifying when the user clicks > outside of any control on a card while the pointer tool is active? > > This sort of thing is a 15-minute job in SuperCard, now on my > third month in Rev.... > > -- > 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 > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Sep 10 04:12:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Sep 2005 01:12:40 -0700 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <20050910074848.4A530824E7F@mail.runrev.com> References: <20050910074848.4A530824E7F@mail.runrev.com> Message-ID: <43229578.4010306@fourthworld.com> MisterX wrote: > Richard, > > Can't you set up either > > A frontscript that traps mousedown and up before your controls... > this front scripts remembers where that happened and passes it or > treats the value... That one won't work, because there is not message to trap at any level if the pointer tool is active. :( > An alternative is to have a card framework that does all the events instead > of having the controls in the card relay the events. It would give you more > control i believe - not the best way to program rev though, it's still > "legal!" Polling? I've been doing waaaay to much polling to work around other messaging anomalies; kinda hate to add more overhead like that if I could avoid it. But indeed, perhaps I can't..... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/revld.com From mcdomi at free.fr Sat Sep 10 04:19:09 2005 From: mcdomi at free.fr (Dom) Date: Sat, 10 Sep 2005 10:19:09 +0200 Subject: Alternating Color Rows in a Table Field In-Reply-To: <20050910035918.25DBB824E4E@mail.runrev.com> Message-ID: <1h2o4lv.1ksqa2z1mzg952M%mcdomi@free.fr> MisterX wrote: > http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=75 Great! But -- I played with the Application Browser to see the inners ;-) -- and the stripes are gone!!! -- Revolutionario From dcragg at lacscentre.co.uk Sat Sep 10 05:01:35 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 10 Sep 2005 10:01:35 +0100 Subject: Start, Stop, Continue In-Reply-To: <3d8af415050909051074b5b9a6@mail.gmail.com> References: <3d8af415050909051074b5b9a6@mail.gmail.com> Message-ID: <209238F2-0F43-4E81-BBD4-60BF8B96F3A3@lacscentre.co.uk> On 9 Sep 2005, at 13:10, Glen Bojsza wrote: > Hi everyone, > > Friday's question is about how to allow a user to start,stop and > continue a > multimedia demonstration. > > Ther are three buttons. > > The Start button on a mouseUp starts to cycle through a list of > commands > that move graphics, shows and hides fields etc. > > on mouseUp > hide btn "Start" > show btn "Stop" > move grc "node" to 120,120 in 2 seconds > show fld "explanation" > wait for 3 seconds > hide fld "explanation" > ... > ... > ... > end mouseUp > > The Stop button on mouseUp stops the cycle of commands the Start > button > launched, hides itself and shows a Continue button. > > The Continue button on mouseUp starts the cycle of commands the > Start button > initially launched but from where the cylce had been stopped. > > This is my foray into multimedia and interaction with Rev so I hope > the list > will bear with me... traditionally I have worked on "static" apps. > > Any suggestions or reference stacks would be appreciated. This is an alternative approach to Ken's. It probably involves more scripting, but it may be more transparent. (And perhaps better for folks like me who have an irrational aversion to using "do". :-)) Divide all the "steps" in the sequence into separate handlers. For example, if there are 10 steps, something like this (in the card script): on step_1 move .... ## whatever end step_1 on step_2 hide .... ## whatever end step_2 ##etc... on step_10 show .... ## whatever end step_10 ## Use script local variables to track the next step, and the "paused" state. local sNextStep, sPaused ## Have a nextStep handler which is just a big switch. on nextStep if sPaused then exit nextStep switch sNextStep case 1 step_1 break case 2 step_2 break case 3 step_3 break ## etc. end switch add 1 to sNextStep if sNextStep > 10 then put 1 into sNextStep send nextStep to me in 10 milliseconds end nextStep ## handlers for start, stop, and continue on doStart hide btn "Start" show btn "Stop" put 1 into sNextStep nextStep end doStart on doStop hide btn "Stop" show btn "Continue" put true into sPaused end doStop on doContinue hide btn "continue" show btn "Stop" put false into sPaused nextStep end doContinue ## then in three buttons ## start button on mouseUp doStart end mouseUp ## stop button on mouseUp doStop end mouseUp ## coninue button on mouseUp doContinue end mouseUp Cheers Dave From dcragg at lacscentre.co.uk Sat Sep 10 05:45:09 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 10 Sep 2005 10:45:09 +0100 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <43228D34.8010702@fourthworld.com> References: <43228D34.8010702@fourthworld.com> Message-ID: <29DE9411-966B-4866-8ED5-70694DCDD600@lacscentre.co.uk> On 10 Sep 2005, at 08:37, Richard Gaskin wrote: > I'm making a specialized drawing tool, and I need to know when the > mouse is clicked outside of any control while the pointer tool is > active -- here's my setup: > > The card has a group which is used as the drawing region. I also > have another group which is used for tools, and the cantSelect of > those tool buttons is set to true in order to have them behave like > the browse tool when the pointer tool is active. > > Some of the objects in my drawing region group are selectable as > normal, and others have their cantSelect set to true as they're > mostly managed by script in response to things the user does with > the selectable objects. > > When the user clicks on one of these non-selectable objects I > change its appearance to indicate that it's selected. > > Now here's the challenge: When the user clicks off of any control > I need notification so I can change the appearance of those objects. > > We get this behavior for free with normally selectable objects: > you click on it and it's selected, you click off of it and it's > deselected. > > But in order to manage my non-selectable objects, I need to know > when the mouse is clicked anywhere outside of a control. > > Apparently the mouseDown and mouseUp messages are not sent when the > pointer tool is active unless the user clicks with button 3; the > normal button 1 click never sends the message to the card. Unlike > SuperCard, we have no pointerDown or pointerUp message which would > make this a snap. > > I've tried placing a graphic object at the back of my group to trap > messages like that, but if I leave it with the cantSelect off it's > selectable, and if I turn on the cantSelect then dragging on it > gives the browse tool behavior rather than the pointer tool > behavior of the selection marquee. Suppporting the normal behavior > of marquee selection is important and I don't want to sacrifice it > just to work around the lack of mouseDown or mouseUp. > > Any other suggestions for identifying when the user clicks outside > of any control on a card while the pointer tool is active? Is there any way of using a "dummy object" (perhaps off screen) that you select by script when you set the appearance of the non- selectable objects. Then when you click off the control, you could trap for a selectedObjectChanged message as the "dummy object" is unselected. (I haven't thought this through at all. No doubt it's full of holes.) Cheers Dave From b.xavier at internet.lu Sat Sep 10 05:51:20 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 10 Sep 2005 11:51:20 +0200 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <43229578.4010306@fourthworld.com> Message-ID: <20050910092959.BAC14824EB1@mail.runrev.com> There are plenty of ways this should work... a timed message sent every x milliseconds from a frontscripted palette or hidden script should be able to intercept your information every 10th of a second and be unintrusive (while the mouse is up)... im pretty sure it should work... The palette and your script could interact via a global. This is a mix of how my resizeNO2 and HotKeyNO2 stacks work... It only become intrussive if you catch events too often or if you try to get too much information... 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, September 10, 2005 10:13 > To: How to use Revolution > Subject: Re: More drawing tool woes: no mouseDown or mouseUp sent? > > MisterX wrote: > > Richard, > > > > Can't you set up either > > > > A frontscript that traps mousedown and up before your controls... > > this front scripts remembers where that happened and passes it or > > treats the value... > > That one won't work, because there is not message to trap at > any level if the pointer tool is active. :( > > > An alternative is to have a card framework that does all the events > > instead of having the controls in the card relay the > events. It would > > give you more control i believe - not the best way to program rev > > though, it's still "legal!" > > Polling? I've been doing waaaay to much polling to work > around other messaging anomalies; kinda hate to add more > overhead like that if I could avoid it. But indeed, perhaps > I can't..... > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/revld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Sat Sep 10 05:50:09 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 10 Sep 2005 02:50:09 -0700 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <43228D34.8010702@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > Any other suggestions for identifying when the user clicks outside of > any control on a card while the pointer tool is active? I tried a quick test of using the mouseControl function in a looping script which seemed to work while the pointer tool is active. So perhaps you could check to see if the mouseControl is empty upon a click. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From wouter.abraham at scarlet.be Sat Sep 10 05:53:43 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sat, 10 Sep 2005 11:53:43 +0200 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <43229578.4010306@fourthworld.com> References: <20050910074848.4A530824E7F@mail.runrev.com> <43229578.4010306@fourthworld.com> Message-ID: <7F33FE9F-D02D-47B2-8260-60E658B2F9CC@scarlet.be> Hi, To illustrate the essence of what I use sometimes in similar cases, try this: 1 button named "start" (or whatever but then adapt the example script) with the handler: on mouseUp checkmouse set the label of me to "checkmouse on" end mouseUp and the following handler in the card or stack script: on checkmouse get the mouse is down put item itemoffset(it,"false,true") of "up,down" into tMS put the mousecontrol into tMC put the selectedobject into tSO put "mousecontrol:"&&tMC &cr&"selectedObject(s):"&& tSO & cr &"mouse" && tMS if the optionkey is down then set the label of btn "start" to "checkmouse off" else send "checkmouse" to me in 50 millisecs ### adapt to taste end checkmouse If not applicable then consider this mail as non-existent Greetings, WA On 10 Sep 2005, at 10:12, Richard Gaskin wrote: > MisterX wrote: > >> Richard, >> Can't you set up either A frontscript that traps mousedown and up >> before your controls... >> this front scripts remembers where that happened and passes it or >> treats the value... >> > > That one won't work, because there is not message to trap at any > level if the pointer tool is active. :( > > >> An alternative is to have a card framework that does all the >> events instead >> of having the controls in the card relay the events. It would give >> you more >> control i believe - not the best way to program rev though, it's >> still >> "legal!" >> > > Polling? I've been doing waaaay to much polling to work around > other messaging anomalies; kinda hate to add more overhead like > that if I could avoid it. But indeed, perhaps I can't..... > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/revld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Sep 10 06:06:56 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 10 Sep 2005 12:06:56 +0200 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <29DE9411-966B-4866-8ED5-70694DCDD600@lacscentre.co.uk> Message-ID: <20050910094535.B6743824E9A@mail.runrev.com> this works... i made a palette stack whose card script is frontscripted. all mouse events work... in pointer mode in the normal stack where i would edit the controls. the only danger is if you dont check where clicking is legal and where it's not (if not in the editor stack, pass the events), or you'll be in click-trouble... ;) Keep the front script open just in case... That's is how resizeNO2 works to overide teh way Rev resizes controls so you can have proportional or square shapes and or horizontal, vertical lines... The script is open http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=78 cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dave Cragg > Sent: Saturday, September 10, 2005 11:45 > To: How to use Revolution > Subject: Re: More drawing tool woes: no mouseDown or mouseUp sent? > > > On 10 Sep 2005, at 08:37, Richard Gaskin wrote: > > > I'm making a specialized drawing tool, and I need to know when the > > mouse is clicked outside of any control while the pointer tool is > > active -- here's my setup: > > > > The card has a group which is used as the drawing region. > I also have > > another group which is used for tools, and the cantSelect of those > > tool buttons is set to true in order to have them behave like the > > browse tool when the pointer tool is active. > > > > Some of the objects in my drawing region group are selectable as > > normal, and others have their cantSelect set to true as > they're mostly > > managed by script in response to things the user does with the > > selectable objects. > > > > When the user clicks on one of these non-selectable objects > I change > > its appearance to indicate that it's selected. > > > > Now here's the challenge: When the user clicks off of any > control I > > need notification so I can change the appearance of those objects. > > > > We get this behavior for free with normally selectable objects: > > you click on it and it's selected, you click off of it and it's > > deselected. > > > > But in order to manage my non-selectable objects, I need to > know when > > the mouse is clicked anywhere outside of a control. > > > > Apparently the mouseDown and mouseUp messages are not sent when the > > pointer tool is active unless the user clicks with button 3; the > > normal button 1 click never sends the message to the card. Unlike > > SuperCard, we have no pointerDown or pointerUp message which would > > make this a snap. > > > > I've tried placing a graphic object at the back of my group to trap > > messages like that, but if I leave it with the cantSelect off it's > > selectable, and if I turn on the cantSelect then dragging > on it gives > > the browse tool behavior rather than the pointer tool > behavior of the > > selection marquee. Suppporting the normal behavior of marquee > > selection is important and I don't want to sacrifice it > just to work > > around the lack of mouseDown or mouseUp. > > > > Any other suggestions for identifying when the user clicks > outside of > > any control on a card while the pointer tool is active? > > Is there any way of using a "dummy object" (perhaps off > screen) that you select by script when you set the appearance > of the non- selectable objects. Then when you click off the > control, you could trap for a selectedObjectChanged message > as the "dummy object" is unselected. (I haven't thought this > through at all. No doubt it's full of holes.) > > Cheers > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at tweedly.net Sat Sep 10 08:26:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 10 Sep 2005 13:26:08 +0100 Subject: 'It's not yet 10am, but Aqua is drunk' In-Reply-To: <43225CC1.7060202@chipp.com> References: <8384CBC8-0207-431A-8301-C6220AA222D9@unsw.edu.au> <43225CC1.7060202@chipp.com> Message-ID: <4322D0E0.2040902@tweedly.net> Chipp Walters wrote: > Got to be one of the funniest things I've ever read. Still laughing! > > Jason Tangen wrote: > >> Daring Fireball is carrying a hilarious send up of the brushed-metal >> interface loss of place with the release of iTunes 5 entitled: "The >> iTunes 5 Announcement From the Perspective of an Anthropomorphized >> Brushed Metal User Interface Theme" > 2005/09/anthropomorphized> (language warning). Does this mean that >> OS X Rev users will have a "Unified with a tan" option in place of >> "Metal Texture"? ;-) > I almost didn't bother reading this - 'cause I knew at least 50% of it would go over my head (non-Mac user). But even the 50% I did get was worth it. Very funny. Thanks Jason. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.19/93 - Release Date: 08/09/2005 From rev at armbase.com Sat Sep 10 11:24:48 2005 From: rev at armbase.com (rev at armbase.com) Date: Sat, 10 Sep 2005 16:24:48 +0100 Subject: pasting in license code Message-ID: <20050910162448.cz7bdr63488ocgcw@webmail.armbase.com> Hi All I am now eventually getting 2.6 on my laptop, however, when I paste in the license from the clipboard I'm not getting all the letters-numbers in the boxes. I cannot enter it in manually. It want let me enter the number 4 in the second box. Any idea? cheers bob From stephenREVOLUTION at barncard.com Sat Sep 10 12:18:18 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 10 Sep 2005 09:18:18 -0700 Subject: pasting in license code In-Reply-To: <20050910162448.cz7bdr63488ocgcw@webmail.armbase.com> References: <20050910162448.cz7bdr63488ocgcw@webmail.armbase.com> Message-ID: Don't try to PASTE into a single box... push the button that says "Paste Code from Clipboard" at the bottom of the form after you have the copied key in the clipboard.. >Hi All > >I am now eventually getting 2.6 on my laptop, however, when I paste in the >license from the clipboard I'm not getting all the letters-numbers in the >boxes. I cannot enter it in manually. It want let me enter the number 4 in the >second box. > >Any idea? > >cheers >bob From rev at armbase.com Sat Sep 10 13:08:18 2005 From: rev at armbase.com (rev at armbase.com) Date: Sat, 10 Sep 2005 18:08:18 +0100 Subject: pasting in license code In-Reply-To: References: <20050910162448.cz7bdr63488ocgcw@webmail.armbase.com> Message-ID: <20050910180818.vrupcnyp5w48448k@webmail.armbase.com> Quoting Stephen Barncard : hi Stephen > Don't try to PASTE into a single box... push the button that says > "Paste Code from Clipboard" at the bottom of the form after you have > the copied key in the clipboard.. That is what I'm doing. It is weird I can paste in using this button and get say 7 charachters in the first box. But if I type in I can only get in one less charachter. I suspect it is a font thing. I can just use 2.5.1 while I'm away. in a Bit of a hurry today. :-) Cheers Bob > > >> Hi All >> >> I am now eventually getting 2.6 on my laptop, however, when I paste in the >> license from the clipboard I'm not getting all the letters-numbers in the >> boxes. I cannot enter it in manually. It want let me enter the >> number 4 in the >> second box. >> >> Any idea? >> >> cheers >> bob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Sat Sep 10 13:18:04 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 10 Sep 2005 10:18:04 -0700 Subject: pasting in license code In-Reply-To: <20050910180818.vrupcnyp5w48448k@webmail.armbase.com> Message-ID: Just put both on the laptop so you can install and run both. Trip insurance. Of course, you could download from Rev if you left home without them. Jim Ault Las Vegas On 9/10/05 10:08 AM, "rev at armbase.com" wrote: > Quoting Stephen Barncard : > > hi Stephen > >> Don't try to PASTE into a single box... push the button that says >> "Paste Code from Clipboard" at the bottom of the form after you have >> the copied key in the clipboard.. > > That is what I'm doing. It is weird I can paste in using this button > and get say > 7 charachters in the first box. But if I type in I can only get in one less > charachter. > > I suspect it is a font thing. I can just use 2.5.1 while I'm away. in a > Bit of a > hurry today. :-) > > Cheers > Bob >> >> >>> Hi All >>> >>> I am now eventually getting 2.6 on my laptop, however, when I paste in the >>> license from the clipboard I'm not getting all the letters-numbers in the >>> boxes. I cannot enter it in manually. It want let me enter the >>> number 4 in the >>> second box. >>> >>> Any idea? >>> >>> cheers >>> bob >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Sat Sep 10 13:42:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 10 Sep 2005 19:42:04 +0200 Subject: pasting in license code In-Reply-To: <20050910162448.cz7bdr63488ocgcw@webmail.armbase.com> References: <20050910162448.cz7bdr63488ocgcw@webmail.armbase.com> Message-ID: <33CB7B87-00BB-4C59-AEEA-ACC401DE4A41@sosmartsoftware.com> Hi Bob, You could try to copy/paste your code into any word processor and convert it to text only, then copy/paste into Rev. Hope this helps since you are in a Bit of a hurry today. :-) Le 10 sept. 05 ? 17:24, rev at armbase.com a ?crit : > Hi All > > I am now eventually getting 2.6 on my laptop, however, when I paste > in the > license from the clipboard I'm not getting all the letters-numbers > in the > boxes. I cannot enter it in manually. It want let me enter the > number 4 in the > second box. > > Any idea? Best Regards from Paris, 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 Free plugins and tutorials on my website ---------------------------------------------------------------- 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 tmc7056 at yahoo.com Sat Sep 10 16:31:58 2005 From: tmc7056 at yahoo.com (Tom McDonald) Date: Sat, 10 Sep 2005 13:31:58 -0700 (PDT) Subject: Missing Tool and :Propertry Boxes Message-ID: <20050910203158.81128.qmail@web53006.mail.yahoo.com> Hi, I've just started to make some headway in working with Dreamcard when suddenly both boxes are no longer showing. Any suggestions? Tom McDonald __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From katir at hindu.org Sat Sep 10 18:03:46 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 10 Sep 2005 12:03:46 -1000 Subject: Unicode Tamil Fonts Don't Work in Rev Message-ID: I was planning to use REv as a mini data base for storing some multi language data: English, Tamil, and Tamil transliteration and possibly other languages, for the same text... It seems perfect... I can keep the same text in different in different fields, then export as XML and in InDesign Map the tags to paragraph styles for print layout. Managing these as separate files and cutting and pasting the text will be a night mare for our editors otherwise.... Trouble: my field "Tamil_Script" will not accept the font assignments of these Government of India Tamil Open Type. TTF unicode fonts. I have a keyboard layout for Tamil unicode "Mylai"... if I install this and select this keyboard, and start typing, I *do* get Unicode Tamil. It seems to be defaulting to InaiMathi, which is one of Apple's default Tamil fonts that come on the system. OK, I don't know this to start with... I query the text in the field: put the textfont of line 1 of fld "Tamil_script" --> Mixed ## OK, so must be the end line is in a different font... try: put the textfont of char 5 line 1 of fld "Tamil_script" --> Geneva,Unicode ummm... that's not Geneva on the screen... it looks like InaiMathi. But the characters appearing are indeed the correct ones for the unicode series for Tamil, so the keyboard is working.. I confirm this: On mouseup set the useUnicode to true put the charToNum of char 1to 2 of line 1 of fld "Tamil_Script" end mouseup result > 2980 but I don't know how to check this against a list of Unicode in the form of 0B82 -- 0BFA (the Tamil range) But, the text was entered with the Mylai keyboard so *for sure* the chars must be unicode... set the textfont of line 1 of fld "Tamil_Script" to "GIST- TMOTChanakya Bold" oops! Now revolution shows garbage in line one of fld "Tamil_script" check to see if I got it right: put the fontNames -- yep ""GIST- TMOTChanakya Bold" is on the list of active fonts... OK, run Font Agent over the fonts... no problem, no corruption... Open inDesign.. switch to Mylai Keyboard, type my name in Tamil, select it, choose font ""GIST-TMOTChanakya" -- > and Bold from the cascading menu... It works fine... but not in Rev :( I haven't a clue how to begin to solve this one. Any insights welcome.. Rev would be the absolutely perfect environment for maintaining this project, because of the script control over output. TIA Sivakatirswami From capellan2000 at yahoo.com Sat Sep 10 20:28:44 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 10 Sep 2005 17:28:44 -0700 (PDT) Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <20050910170003.BAF42824E3B@mail.runrev.com> Message-ID: <20050911002844.61383.qmail@web40524.mail.yahoo.com> on Sat, 10 Sep 2005 Richard Gaskin wrote: > I'm making a specialized drawing tool, and I need to > know when the mouse > is clicked outside of any control while the pointer > tool is active A frontscript could do what you want, in the palette PenTool, every tool uses a frontscript to work on the target only if it: 1- is a polygon graphic 2- have some custom properties, etc. 3- it's name is not "auxiliarGraphic" etc... In an earlier version, not released, i tried to simulate the pointer tool behavior using a frontscript and the browse tool, but that proved to be a big problem while using the palette in the development environment. For that test, i used an auxiliar vector graphic to identify the graphics selected. The auxiliar graphic adopted the shape of all graphic selected. By clicking the graphics, i was adding or (using shift click) deleting their points from the auxiliar graphic. al Visit my site: http://www.geocities.com/capellan2000/ ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ From bill at fmpsolutions.com Sat Sep 10 21:53:51 2005 From: bill at fmpsolutions.com (Bill Moseid) Date: Sat, 10 Sep 2005 18:53:51 -0700 Subject: RunRev & PDAs Message-ID: <00aa01c5b673$a9369cb0$0401000a@ModelMasters> I am new to RunRev. Can a RunTime be targeted for a PocketPC? Regards, Bill William R. Moseid Model Masters 951-304-3893 (Office) 951-970-6271 (Cell) 951-304-3893 (FAX) http://www.fmpsolutions.com From jamon.ben at gmail.com Sat Sep 10 22:07:39 2005 From: jamon.ben at gmail.com (Ben Fisher) Date: Sat, 10 Sep 2005 19:07:39 -0700 Subject: Players and menus don't mix Message-ID: <741fd03050910190773ab6c6@mail.gmail.com> I've started using players, a type of control I don't use normally. However, there's one problem that is driving me nuts. It is easily reproduced. 1) Create a new stack. 2) Create a player object in the middle of the screen. 3) Create a button just a little above the player. 4) Choose the select tool, right click on the button (contextual menu), and click on edit script or something. The player object starts blinking really quickly. Revolution is unresponsive for a while but then goes back to normal. It looks a little scary but I haven't lost anything. I think normal menus, and not just contextual menus, might cause the problem but haven't tested this yet. Is this a known issue? (I'm using Rev 2.5.1 on WinXP, this might have been fixed in 2.6) -Ben From kray at sonsothunder.com Sat Sep 10 23:00:56 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 10 Sep 2005 22:00:56 -0500 Subject: RunRev & PDAs In-Reply-To: <00aa01c5b673$a9369cb0$0401000a@ModelMasters> Message-ID: On 9/10/05 8:53 PM, "Bill Moseid" wrote: > I am new to RunRev. > > Can a RunTime be targeted for a PocketPC? Not currently, but there has been talk about making a PocketPC version of Revolution. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Sat Sep 10 23:05:01 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Sep 2005 20:05:01 -0700 Subject: Players and menus don't mix In-Reply-To: <741fd03050910190773ab6c6@mail.gmail.com> References: <741fd03050910190773ab6c6@mail.gmail.com> Message-ID: <43239EDD.6000606@fourthworld.com> Ben Fisher wrote: > I've started using players, a type of control I don't use normally. > However, there's one problem that is driving me nuts. It is easily > reproduced. > 1) Create a new stack. > 2) Create a player object in the middle of the screen. > 3) Create a button just a little above the player. > 4) Choose the select tool, right click on the button (contextual menu), and > click on edit script or something. > The player object starts blinking really quickly. Revolution is > unresponsive for a while but then goes back to normal. It looks a little > scary but I haven't lost anything. I think normal menus, and not just > contextual menus, might cause the problem but haven't tested this yet. > Is this a known issue? With my deepest regrets, I welcome you to the club: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Sun Sep 11 03:58:30 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 11 Sep 2005 09:58:30 +0200 Subject: Players and menus don't mix In-Reply-To: <43239EDD.6000606@fourthworld.com> Message-ID: <20050911073706.6606C824E0B@mail.runrev.com> > With my deepest regrets, I welcome you to the club: > well, i added a few more comments, issues when that happens. This has made me reticent of the player in rev since i started using rev... you got my 5 votes on that... cheers Xavier From rev at armbase.com Sun Sep 11 04:17:26 2005 From: rev at armbase.com (Bob Hartley) Date: Sun, 11 Sep 2005 09:17:26 +0100 Subject: RunRev Message-ID: On 11/09/2005 04:00:56, Ken Ray (kray at sonsothunder.com) wrote: > On 9/10/05 8:53 PM, "Bill Moseid" wrote: > > > I am new to RunRev. > > > > Can a RunTime be targeted for a PocketPC? > > Not currently, but there has been talk about making a PocketPC version of > Revolution. THis would be wonderful and I would certainly pay a great deal for an upgrade. Indeed, the best market is the smartphone market; granted it is the most flexible, however it is huge. Best regards Bob > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Sun Sep 11 05:10:22 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 11 Sep 2005 11:10:22 +0200 Subject: it pays to read bugzillas Message-ID: <20050911084852.5848D824DC0@mail.runrev.com> it also pays to vote for them... check out http://support.runrev.com/bugdatabase/show_bug.cgi?id=624 I like the meaning of Richard's last comments ;) Sounds like Richard's recent problem in pointer mode maybe? =)) How is that coming along Richard? If any of you still have votes sitting on this bugzilla, you can now get them back to vote for something else. Some 91 votes are or were sitting on it... cheers Xavier From dam-pro.girard at laposte.net Sun Sep 11 06:12:01 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Sun, 11 Sep 2005 12:12:01 +0200 Subject: Runrev and Sun Solaris Message-ID: <432402F1.70103@laposte.net> Hi all, I am an using runrev, and I wan't to join and to contribute to the OpenSolaris community (in my free time). With Runrev, I can make powerful GUI (for exemple: a configuration center) in GTK+ 2.0 look and feel. But, runrev doesn't support Sun Solaris x86 for now, only Solaris Sparc (only Sparc 32 bits). So, I ask if there are any way for have Runtime Revolution compatible with all Solaris platform. Solaris x86, x86-64 Solaris SPARC, SPARC 64. Solaris PowerPC (Not release yet, but is it a project). Solaris is more and more used since he became free. Runtime Revolution have got a real potential, and if the community discover him, his potential can be used by more and more developpers. If you agree with what I said, please vote or confirm this enhancement request : http://support.runrev.com/bugdatabase/show_bug.cgi?id=2958 Sun Solaris 10 website: http://www.sun.com/software/solaris/index.jsp OpenSolaris website: http://opensolaris.org/ Solaris PowerPC project: http://blastware.org/ and, if you disagree, please say me why. Thanks. Regards, Girard Damien : Unix/Linux user. Email: dam-pro.girard at laposte.net From b.xavier at internet.lu Sun Sep 11 06:36:41 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 11 Sep 2005 12:36:41 +0200 Subject: Runrev and Sun Solaris In-Reply-To: <432402F1.70103@laposte.net> Message-ID: <20050911101517.391CE824E46@mail.runrev.com> Hi Damien > Runtime Revolution have got a real potential, and if the > community discover him, his potential can be used by more and > more developpers. I couldn't agree more... i do think this has been mentioned before too ;) we have 600 developpers in my building alone at work. they do sun, oracle and windows, dont know how many are in Franckfurt and yet, none i've spoken to, remotely know what runrev is. 1 had heard of metacard for unix... you got my 5 votes which i recuperated from bgz624 ;) cheers Xavier From psahores at easynet.fr Sun Sep 11 07:21:48 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 11 Sep 2005 13:21:48 +0200 Subject: Runrev and Sun Solaris In-Reply-To: <432402F1.70103@laposte.net> References: <432402F1.70103@laposte.net> Message-ID: <028C4F77-255A-40A8-9AEE-B7005EA6AFA2@easynet.fr> Aloha Damien, Just added 5 votes to http://support.runrev.com/bugdatabase/ show_bug.cgi?id=2958 ;-) Currently using Rev 2.6 Entreprise in about "n-tier" developments under MacOS X, Linux x86 and Win XP... Question : i tested Solaris 8 years before without finding it realy more advenced than Suse-Linux Pro. How would you rate Solaris 10 in comparaison to (1) FreeBSD and (2) Suse-Linux 9.3 Pro or Linux-Fedora Core 4 ? Best Regards, Le 11 sept. 05 ? 12:12, Damien Girard a ?crit : > Hi all, > > I am an using runrev, and I wan't to join and to contribute to the > OpenSolaris community (in my free time). > With Runrev, I can make powerful GUI (for exemple: a configuration > center) in GTK+ 2.0 look and feel. > But, runrev doesn't support Sun Solaris x86 for now, only Solaris > Sparc (only Sparc 32 bits). > > So, I ask if there are any way for have Runtime Revolution > compatible with all Solaris platform. > > Solaris x86, x86-64 > Solaris SPARC, SPARC 64. > Solaris PowerPC (Not release yet, but is it a project). > > Solaris is more and more used since he became free. > > Runtime Revolution have got a real potential, and if the community > discover him, his potential can be used by more and more developpers. > > If you agree with what I said, please vote or confirm this > enhancement request : > http://support.runrev.com/bugdatabase/show_bug.cgi?id=2958 > > Sun Solaris 10 website: > http://www.sun.com/software/solaris/index.jsp > > OpenSolaris website: > http://opensolaris.org/ > > Solaris PowerPC project: > http://blastware.org/ > > and, if you disagree, please say me why. > > Thanks. > > Regards, > > Girard Damien : Unix/Linux user. > Email: dam-pro.girard at laposte.net > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From FlexibleLearning at aol.com Sun Sep 11 08:07:35 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 11 Sep 2005 08:07:35 EDT Subject: Cross-platform AlertLoc Message-ID: <141.4d0d2dc2.30557807@aol.com> One for your Scrapbook... This now takes care of the Mac menubar (thanks, Sarah!) on preOpenStack set the loc of this stack to alertLoc() end preOpenStack function alertLoc if "Win32" is in the platform then if the mode of this stack is in "1,2" then put 30 into n # Toplevel titleBar height else put 22 into n # Palette, modeless and modal titlebar height else if the mode of this stack is in "1,2" then put 23 into n # Toplevel titleBar height else put 16 into n # Palette, modeless and modal titlebar height end if if the decorations of this stack ="" then put n-n into n get the windowBoundingRect put round( (the width of this stack /2) + ((item 3 of it - item 1 of it) - the width of this stack)/2) + item 1 of it into x put round( (the height of this stack /2) + ((item 4 of it - item 2 of it) - the height of this stack +n)/3) + item 2 of it into y if "win32" is in the platform then return x,y else return x,max(44,y) # Accommodate Mac menubar end alertLoc /H FLCo Home of the Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From rp011s7075 at blueyonder.co.uk Sun Sep 11 08:58:09 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Sun, 11 Sep 2005 13:58:09 +0100 Subject: More drawing tool woes: no mouseDown or mouseUp sent? Message-ID: <0B29F3C1-AC5E-4C47-874D-8AA74D7465FD@blueyonder.co.uk> > Apparently the mouseDown and mouseUp messages are not sent when the > pointer tool is active unless the user clicks with button 3; the > normal button 1 click never sends the message to the card. Unlike > SuperCard, we have no pointerDown or pointerUp message which would > make this a snap. > I've tried placing a graphic object at the back of my group to trap > messages like ... Hi Richard, Have you also tried with a button object at the back of your group? Marielle ------------------------------------------------------------------------ --------------------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From sims at ezpzapps.com Sun Sep 11 08:54:37 2005 From: sims at ezpzapps.com (sims) Date: Sun, 11 Sep 2005 14:54:37 +0200 Subject: asynchronous progress indicator Message-ID: I might be wrong, but I seem to recall someone posting a script for making OS X asynchronous progress indicators a while back. If someone has that script would they please post it to the list or send it to me? I have searched for this and cannot find it...I might have imagined this ;-) I do have the animated gif version, thank you /H, but I am looking for the script for such an animal. Hugh describes that as " (the grey 'flower' with chasing 'petals') ". btw - the Scripter's Scrapbook by Hugh Senior is an excellent addition to my plugins folder - thank you Hugh. ciao, sims From eric.chatonet at sosmartsoftware.com Sun Sep 11 09:00:50 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 11 Sep 2005 15:00:50 +0200 Subject: asynchronous progress indicator In-Reply-To: References: Message-ID: <248E7A28-582A-4EFB-8686-4DD0AF711EC4@sosmartsoftware.com> Hi Sims, http://lists.runrev.com/pipermail/use-revolution/2005-August/065146.html Best Regards from Paris, Eric Chatonet. Le 11 sept. 05 ? 14:54, sims a ?crit : > I might be wrong, but I seem to recall someone posting a script for > making OS X asynchronous progress indicators a while back. > > If someone has that script would they please post it to the > list or send it to me? > > I have searched for this and cannot find it...I might have imagined > this ;-) > > I do have the animated gif version, thank you /H, but I am > looking for the script for such an animal. Hugh describes that > as " (the grey 'flower' with chasing 'petals') ". > > btw - the Scripter's Scrapbook by Hugh Senior is an excellent > addition to my plugins folder - thank you Hugh. > > ciao, > sims ---------------------------------------------------------------- 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 Free plugins and tutorials on my website ---------------------------------------------------------------- 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 sims at ezpzapps.com Sun Sep 11 09:07:29 2005 From: sims at ezpzapps.com (sims) Date: Sun, 11 Sep 2005 15:07:29 +0200 Subject: asynchronous progress indicator In-Reply-To: <248E7A28-582A-4EFB-8686-4DD0AF711EC4@sosmartsoftware.com> References: <248E7A28-582A-4EFB-8686-4DD0AF711EC4@sosmartsoftware.com> Message-ID: At 3:00 PM +0200 9/11/05, Eric Chatonet wrote: > >http://lists.runrev.com/pipermail/use-revolution/2005-August/065146.html At 2:54 PM +0200 9/11/05, sims wrote: > >I do have the animated gif version, thank you /H, but I am >looking for the script for such an animal. Thank you Eric but... I might be wrong, but I seem to recall someone posting a *script* for making OS X asynchronous progress indicators a while back. I have the animated gif but am looking for the script which produces such a beast - not a script for using the animated gif - but a script which produces that same effect using a Rev graphic. sims From klaus at major-k.de Sun Sep 11 09:22:03 2005 From: klaus at major-k.de (Klaus Major) Date: Sun, 11 Sep 2005 15:22:03 +0200 Subject: asynchronous progress indicator In-Reply-To: References: <248E7A28-582A-4EFB-8686-4DD0AF711EC4@sosmartsoftware.com> Message-ID: Hi sims, > At 3:00 PM +0200 9/11/05, Eric Chatonet wrote: > >> >> http://lists.runrev.com/pipermail/use-revolution/2005-August/ >> 065146.html >> > > At 2:54 PM +0200 9/11/05, sims wrote: > >> >> I do have the animated gif version, thank you /H, but I am >> looking for the script for such an animal. >> > > Thank you Eric but... > > I might be wrong, but I seem to recall someone posting a *script* for > making OS X asynchronous progress indicators a while back. > > I have the animated gif but am looking for the script which produces > such a beast - not a script for using the animated gif - but a script > which produces that same effect using a Rev graphic. you mean this, don't know who created it originally... Create a button "Start Running" with this script: ############################# constant cStar = "grc runningStarX" local aPoints,runState,Cp on mouseUp if runstate = 0 then set the label of me to "Stop Running" else set the label of me to "Start Running" end if if runstate <> 0 then stopLines exit to top end if put the right of me -20,the bottom of me + 20 into CP put 9 into runState delete var aPoints prepArray 13,7 startLines runLines end mouseUp on runLines if runState <> 0 then do aPoints[runstate] if runstate = 12 then put 1 into runstate else add 1 to runState send "runLines" to me in 70 millisecs end if end runLines on stopLines repeat with i = 7 down to 1 put cStar & i into tStar hide tSTar wait 50 millisecs end repeat put 0 into runState delete grp "runningStarX" end stopLines on startLines repeat 2 put cStar & 7 into tZeroStar do aPoints[0] put 244 into tC set the colors of tZeroStar to tC,tC,tC show tZeroStar repeat with i = 1 to 6 put cStar & i into tStar do aPoints[runstate] subtract 2 from tC set the colors of tZeroStar to tC,tC,tC if runstate = 12 then put 1 into runstate else add 1 to runState if not the visible of tStar then show tStar wait 70 millisecs end repeat end repeat end startLines on prepArray tG,tK if there is no grp "runningStarX" then goCreateSome put item 1 of Cp into tX put item 2 of Cp into tY put (2 * pi / 12) into sRad repeat with i = 1 to 12 put trunc(tG * cos (sRad * i)) + tX into a put trunc(tG * sin (sRad * i)) + tY into b put trunc(tK * cos (sRad * i)) + tX into c put trunc(tK * sin (sRad * i)) + tY into d put quote & a,b & quote && "& cr &" & quote& c,d & quote into aTemp[i] end repeat repeat with j = 1 to 12 repeat with i = 1 to 6 put cStar & i into tStar put j - i + 1 into x if x <= 0 then add 12 to x put "set the points of" && the name of tStar && "to" && aTemp [x] after aPoints[j] end repeat if j <> 1 then put "& cr & cr &" & aTemp[j] after aTemp[0] else put aTemp[j] after aTemp[0] end repeat put cStar& "7" into tStar put "set the points of" && the name of tStar && "to" && aTemp[0] & cr into aPoints[0] end prepArray on goCreateSome put 220 into tC repeat with i = 7 down to 1 put tC,tC,tC into tColors[i] subtract 20 from tC end repeat repeat with i = 7 down to 1 put cStar&i into tStar do "create invisible" && tStar set the style of tStar to polygon set the linesize of tStar to 2 set the colors of tStar to tColors[i] put the name of tStar && "and " after tList end repeat delete last word of tList do "group" && tList set the name of last grp to "runningStarX" choose browse tool end goCreateSome ################################ Best Klaus Major klaus at major-k.de http://www.major-k.de From sims at ezpzapps.com Sun Sep 11 09:28:27 2005 From: sims at ezpzapps.com (sims) Date: Sun, 11 Sep 2005 15:28:27 +0200 Subject: asynchronous progress indicator In-Reply-To: References: <248E7A28-582A-4EFB-8686-4DD0AF711EC4@sosmartsoftware.com> Message-ID: >Hi sims, >you mean this, don't know who created it originally... > >Create a button "Start Running" with this script: Exactly! Thanks Klaus. I do not know who the genius was either but very cool code. Thanks whoever you are! ciao, sims From klaus at major-k.de Sun Sep 11 09:32:38 2005 From: klaus at major-k.de (Klaus Major) Date: Sun, 11 Sep 2005 15:32:38 +0200 Subject: asynchronous progress indicator In-Reply-To: References: <248E7A28-582A-4EFB-8686-4DD0AF711EC4@sosmartsoftware.com> Message-ID: <9B816772-1F51-4FA0-94F9-1895CE9E89E7@major-k.de> Hi sims, >> > >> you mean this, don't know who created it originally... >> Create a button "Start Running" with this script: > Exactly! Thanks Klaus. you're welcome. Now imagine this with antialiased graphics! Sigh... ;-) > I do not know who the genius was either but very cool code. > Thanks whoever you are! > > ciao, > sims Best Klaus Major klaus at major-k.de http://www.major-k.de From dam-pro.girard at laposte.net Sun Sep 11 09:40:09 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Sun, 11 Sep 2005 15:40:09 +0200 Subject: Runrev and Sun Solaris Message-ID: <432433B9.6050203@laposte.net> Hi Pierre, Sun Solaris 10 is a really great improvement compared as older Solaris release, for me, I like solaris because this OS is unbreakable (if you haven't got a root password), (not software who are around) and Solaris is hard like a rock. I have tried FreeBSD, and I found that Solaris is more advanced than FreeBSD (dtrace, Solaris containers, smf are great). Suse Linux 9.3 (Mandriva and Fedora) are more advanced for a desktop use for now, but in the futur, with OpenSolaris, Solaris can become also advanced like linux in the desktop. (But, I found that SunOS is more advanced than Linux). For example: There are now an OpenSolaris KDE Team. http://dot.kde.org/1121719390/ And Solaris 10 haven't got for now all his features, the ZFS filesystem will be probably the best filesystem ever made (for me) because Sun have acquired StorageTek, and the Janus project will be also very great (Run any linux software under the Solaris OS). Solaris need some thing for now, but the most important is: graphic drivers. NVidia provide graphics driver for Solaris, and is it really great. When the Janus project will release, you can run any linux game (or Windows game with Cedega) under Solaris. ATI doesn't provide any driver for now, but I am waiting (because I have got an ATI card). For me (and for a lot of other people), Sun Solaris is the most advanced UNIX Operating system. There is one problem with Solaris compared to recent linux distrobution, is it configuration tools who contains a GUI. And Runrev is made for that. If there is a Runrev for Solaris, I will today write GUI for the OpenSolaris OS, and permit to all users and administrators in the world to use Solaris/OpenSolaris.. (OpenSolaris is the Solaris OS but fully OpenSource, Solaris OS provide only support, this look like RedHat enterprise Linux and RedHat Fedora Core.). And OpenSolaris will quickly become better, because there are Sun, who work on OpenSolaris, and the Open-Source community. More information about new technologies who are in the Solaris 10 OS, http://www.sun.com/software/solaris/index.jsp. Is it my view of Solaris, Thanks for your votes. Regards, Damien Pierre Sahores wrote: > Aloha Damien, > > Just added 5 votes to > http://support.runrev.com/bugdatabase/show_bug.cgi?id=2958 ;-) > > Currently using Rev 2.6 Entreprise in about "n-tier" developments > under MacOS X, Linux x86 and Win XP... > > Question : i tested Solaris 8 years before without finding it realy > more advenced than Suse-Linux Pro. How would you rate Solaris 10 in > comparaison to (1) FreeBSD and (2) Suse-Linux 9.3 Pro or Linux-Fedora > Core 4 ? > > Best Regards, > > Le 11 sept. 05 ? 12:12, Damien Girard a ?crit : > >> Hi all, >> >> I am an using runrev, and I wan't to join and to contribute to the >> OpenSolaris community (in my free time). >> With Runrev, I can make powerful GUI (for exemple: a configuration >> center) in GTK+ 2.0 look and feel. >> But, runrev doesn't support Sun Solaris x86 for now, only Solaris >> Sparc (only Sparc 32 bits). >> >> So, I ask if there are any way for have Runtime Revolution compatible >> with all Solaris platform. >> >> Solaris x86, x86-64 >> Solaris SPARC, SPARC 64. >> Solaris PowerPC (Not release yet, but is it a project). >> >> Solaris is more and more used since he became free. >> >> Runtime Revolution have got a real potential, and if the community >> discover him, his potential can be used by more and more developpers. >> >> If you agree with what I said, please vote or confirm this >> enhancement request : >> http://support.runrev.com/bugdatabase/show_bug.cgi?id=2958 >> >> Sun Solaris 10 website: >> http://www.sun.com/software/solaris/index.jsp >> >> OpenSolaris website: >> http://opensolaris.org/ >> >> Solaris PowerPC project: >> http://blastware.org/ >> >> and, if you disagree, please say me why. >> >> Thanks. >> >> Regards, >> >> Girard Damien : Unix/Linux user. >> Email: dam-pro.girard at laposte.net >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > -- > > Bien cordialement, Pierre Sahores > > > 100, rue de Paris > > F - 77140 Nemours > > > skype : psahores > > > psahores+ at +easynet.fr > > sc+ at +sahores-conseil.com > > > GSM: +33 6 03 95 77 70 > > Pro: +33 1 64 45 05 33 > > Fax: +33 1 64 45 05 33 > > > > > > WEB/VoD/ACID-DB services over IP > > "Mutualiser les deltas de productivit?" > > > From FlexibleLearning at aol.com Sun Sep 11 10:22:30 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 11 Sep 2005 10:22:30 EDT Subject: asynchronous progress indicator Message-ID: <13d.1b502489.305597a6@aol.com> Wouter Abraham. /H >I do not know who the genius was either but very cool code. >Thanks whoever you are! > >ciao, >sims From klaus at major-k.de Sun Sep 11 10:30:22 2005 From: klaus at major-k.de (Klaus Major) Date: Sun, 11 Sep 2005 16:30:22 +0200 Subject: asynchronous progress indicator In-Reply-To: <13d.1b502489.305597a6@aol.com> References: <13d.1b502489.305597a6@aol.com> Message-ID: <1BD8F20D-9C5F-4888-8608-DCCB0F8AED0F@major-k.de> Hi Hugh and all, > Wouter Abraham. Heel goed werk! Hartelijk bedankt, Wouter! :-) > /H >> I do not know who the genius was either but very cool code. >> Thanks whoever you are! >> >> ciao, >> sims Groetjes Regards Klaus Major klaus at major-k.de http://www.major-k.de From alex at harryscollar.com Sun Sep 11 10:53:15 2005 From: alex at harryscollar.com (Alex Shaw) Date: Mon, 12 Sep 2005 00:53:15 +1000 Subject: RunRev & PDAs In-Reply-To: <20050911131038.59859824E94@mail.runrev.com> References: <20050911131038.59859824E94@mail.runrev.com> Message-ID: <432444DB.1080002@harryscollar.com> hi Would love to see a pocketpc version of rev.. I've owned a pocketpc (xda iis) for a while and only really developed flash stuff for it (talking thru wifi to a rev server) and the platform has so much potential yet there are few development frameworks around (for pocketpc) which match our beloved rev. I know it's still a microsoft system but at least it's future is not as uncertain as palm. btw. anyone got a linux-based pda? what are they like? ps. where can i put a vote down for a rev/pocketpc engine? :) regards alex >>>Can a RunTime be targeted for a PocketPC? >> >>Not currently, but there has been talk about making a PocketPC version of >>Revolution. > > > THis would be wonderful and I would certainly pay a great deal for an > upgrade. Indeed, the best market is the smartphone market; granted it is the > most flexible, however it is huge. From FlexibleLearning at aol.com Sun Sep 11 11:35:34 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 11 Sep 2005 11:35:34 EDT Subject: [ANN] Panorama Message-ID: <20b.8fb2842.3055a8c6@aol.com> www.FlexibleLearning.com/xtalk.htm Panorama: A new toy for you to try... How to pan an image with variable opacity and speed, optionally superimposed on another image, using recursive programming and a single handler. If nothing else, an interesting introduction to this technique. /H FLCo Home of The Scripter's Scrapbook From capellan2000 at yahoo.com Sun Sep 11 11:43:14 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 11 Sep 2005 08:43:14 -0700 (PDT) Subject: asynchronous progress indicator In-Reply-To: <20050911131038.59859824E94@mail.runrev.com> Message-ID: <20050911154315.75367.qmail@web40524.mail.yahoo.com> on Sun, 11 Sep 2005 Klaus Major wrote: > you mean this, don't know who created it > originally... [snip] This code was published by Abraham Wouter in this message: Abraham had enhanced several ideas presented in this mail list. i have these two stack in my website: al Visit my site: http://www.geocities.com/capellan2000/ ______________________________________________________ Yahoo! for Good Watch the Hurricane Katrina Shelter From The Storm concert http://advision.webevents.yahoo.com/shelter From psahores at easynet.fr Sun Sep 11 12:00:34 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 11 Sep 2005 18:00:34 +0200 Subject: Runrev and Sun Solaris In-Reply-To: <43242DCE.7030103@laposte.net> References: <432402F1.70103@laposte.net> <028C4F77-255A-40A8-9AEE-B7005EA6AFA2@easynet.fr> <43242DCE.7030103@laposte.net> Message-ID: <400A722C-70CD-4D87-A1FC-2A0012BC3C73@easynet.fr> Many thanks for your input, Damien. Seems i will have to buy new firewire HDs to test it seriously ;-) Best Regards, Pierre S. Le 11 sept. 05 ? 15:14, Damien Girard a ?crit : > Hi Pierre, > > Sun Solaris 10 is a really great improvement compared as older > Solaris release, for me, I like solaris because this OS is > unbreakable (if you haven't got a root password), (not software who > are around) and Solaris is hard like a rock. > I have tried FreeBSD, and I found that Solaris is more advanced > than FreeBSD (dtrace, Solaris containers, smf are great). > Suse Linux 9.3 (Mandriva and Fedora) are more advanced for a > desktop use for now, but in the futur, with OpenSolaris, Solaris > can become also > advanced like linux in the desktop. (But, I found that SunOS is > more advanced than Linux). > For example: There are now an OpenSolaris KDE Team. http:// > dot.kde.org/1121719390/ > > And Solaris 10 haven't got for now all his features, the ZFS > filesystem will be probably the best filesystem ever made (for me) > because Sun have acquired > StorageTek, and the Janus project will be also very great (Run any > linux software under the Solaris OS). > > Solaris need some thing for now, but the most important is: graphic > drivers. > NVidia provide graphics driver for Solaris, and is it really great. > When the Janus project will release, you can run any linux game (or > Windows game with Cedega) > under Solaris. > ATI doesn't provide any driver for now, but I am waiting (because I > have got an ATI card). > > For me (and for a lot of other people), Sun Solaris is the most > advanced UNIX Operating system. > > There is one problem with Solaris compared to recent linux > distrobution, is it configuration tools who contains a GUI. And > Runrev is made for that. > If there is a Runrev for Solaris, I will today write GUI for the > OpenSolaris OS, and permit to all users and administrators in the > world to use Solaris/OpenSolaris.. (OpenSolaris is the Solaris OS > but fully OpenSource, Solaris OS provide only support, this look > like RedHat enterprise Linux and RedHat Fedora Core.). > > And OpenSolaris will quickly become better, because there are Sun, > who work on OpenSolaris, and the Open-Source community. > > More information about new technologies who are in the Solaris 10 > OS, http://www.sun.com/software/solaris/index.jsp. > > Is it my view of Solaris, > > Thanks for your votes. > > Regards. > > Damien > > Pierre Sahores wrote: > > >> Aloha Damien, >> >> Just added 5 votes to http://support.runrev.com/bugdatabase/ >> show_bug.cgi?id=2958 ;-) >> >> Currently using Rev 2.6 Entreprise in about "n-tier" developments >> under MacOS X, Linux x86 and Win XP... >> >> Question : i tested Solaris 8 years before without finding it >> realy more advenced than Suse-Linux Pro. How would you rate >> Solaris 10 in comparaison to (1) FreeBSD and (2) Suse-Linux 9.3 >> Pro or Linux-Fedora Core 4 ? >> >> Best Regards, >> >> Le 11 sept. 05 ? 12:12, Damien Girard a ?crit : >> >> >>> Hi all, >>> >>> I am an using runrev, and I wan't to join and to contribute to >>> the OpenSolaris community (in my free time). >>> With Runrev, I can make powerful GUI (for exemple: a >>> configuration center) in GTK+ 2.0 look and feel. >>> But, runrev doesn't support Sun Solaris x86 for now, only Solaris >>> Sparc (only Sparc 32 bits). >>> >>> So, I ask if there are any way for have Runtime Revolution >>> compatible with all Solaris platform. >>> >>> Solaris x86, x86-64 >>> Solaris SPARC, SPARC 64. >>> Solaris PowerPC (Not release yet, but is it a project). >>> >>> Solaris is more and more used since he became free. >>> >>> Runtime Revolution have got a real potential, and if the >>> community discover him, his potential can be used by more and >>> more developpers. >>> >>> If you agree with what I said, please vote or confirm this >>> enhancement request : >>> http://support.runrev.com/bugdatabase/show_bug.cgi?id=2958 >>> >>> Sun Solaris 10 website: >>> http://www.sun.com/software/solaris/index.jsp >>> >>> OpenSolaris website: >>> http://opensolaris.org/ >>> >>> Solaris PowerPC project: >>> http://blastware.org/ >>> >>> and, if you disagree, please say me why. >>> >>> Thanks. >>> >>> Regards, >>> >>> Girard Damien : Unix/Linux user. >>> Email: dam-pro.girard at laposte.net >> pro.girard at laposte.net> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >> revolution at lists.runrev.com> >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> -- >> >> Bien cordialement, Pierre Sahores >> >> >> 100, rue de Paris >> >> F - 77140 Nemours >> >> >> skype : psahores >> >> >> psahores+ at +easynet.fr >> >> sc+ at +sahores-conseil.com >> >> >> GSM: +33 6 03 95 77 70 >> >> Pro: +33 1 64 45 05 33 >> >> Fax: +33 1 64 45 05 33 >> >> >> >> >> >> WEB/VoD/ACID-DB services over IP >> >> "Mutualiser les deltas de productivit?" >> >> >> >> > > > From howard.bornstein at gmail.com Sun Sep 11 12:54:38 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sun, 11 Sep 2005 12:54:38 -0400 Subject: Problems with streaming audio Message-ID: <3f07cc260509110954349ec737@mail.gmail.com> I'm a member of Woodstock Fire Department in upstate New York. Some of our members have trouble hearing Fire Dispatch through their pagers (audio radios) because the area is heavily wooded. So I've been streaming the Fire Dispatch audio over the internet so members with bad radio reception can still hear the dispatch. They use whatever media player they want for their platform--iTunes, Windows Media Player, RealPlayer, etc. They all seem to work fine, but there is a problem with all of them. If I have to take the server down for any reason, the media playes promptly switch from play mode to stop mode. Unless the fire and rescue members look at the transport controls of their player, they won't know that it's changed from play to stop, since the radio dispatch occurs infrequently. Unlike streaming music, which is immediately noticeable when it stops, dispatch goes for long periods of time with no transmissions. To deal with this, I decided to build a cross-platform media player in Rev which would detect when the server was down and restart the player. Unfortunately, I'm having a few problems I didn't anticipate. (so far testing only in Mac OS 10.4) 1) I want to use my own controls to start and stop the player, rather than use the Quicktime controller. At first this worked fine. For some reason now it's not working at all. If I use the command the player says "connecting" but never does. However, if I click the start button on the controller, it connects fine. Why doesn't the start command work? (Is this related to bug 1239?) 2) In order to determine if the server is down, I need to tell if the player is receiving an audio stream. I've been using the currenttime to test this. I check to see if the currenttime changes over a 1 second interval. If it's the same, I assume the server has stopped. Sometimes, however, audio will stop playing while the currenttime goes on its merry way. I need a *reliable* way to tell if the player is receiving data from the stream. Does anyone have a suggestion for this? 3) Finally, the player seems to generate certain messages right in the player bar--things like "connecting", "negotiating", "connection failed", etc. Is there a way I can intercept these messages in Rev? Any help would be appreciated. -- Regards, Howard Bornstein ----------------------- www.designeq.com From b.xavier at internet.lu Sun Sep 11 13:06:17 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 11 Sep 2005 19:06:17 +0200 Subject: [ANN] Panorama In-Reply-To: <20b.8fb2842.3055a8c6@aol.com> Message-ID: <20050911164442.EEB3D824E8E@mail.runrev.com> H/ That's a beautiful effect - very appeasing ;) on top it allows multitasking - though it didn't take long for rev to crash after that... But i'll give it a second look! cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > FlexibleLearning at aol.com > Sent: Sunday, September 11, 2005 17:36 > To: use-revolution at lists.runrev.com > Subject: [ANN] Panorama > > www.FlexibleLearning.com/xtalk.htm > > Panorama: A new toy for you to try... > > How to pan an image with variable opacity and speed, > optionally superimposed on another image, using recursive > programming and a single handler. > > If nothing else, an interesting introduction to this technique. > > /H > FLCo > Home of The Scripter's Scrapbook > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From laguer at ucs.orst.edu Sun Sep 11 14:28:58 2005 From: laguer at ucs.orst.edu (Rich Lague) Date: Sun, 11 Sep 2005 11:28:58 -0700 Subject: save dialog problem In-Reply-To: <43239EDD.6000606@fourthworld.com> Message-ID: I have been trying to set up a ?do you want to save? dialog in an application that will run on both Macs and Windows. I get a result that don?t really work from both shutdownRequest and closeStackRequest. First I tried closeStackRequest: [in the stack script of the substack where data is stored.] on closeStackRequest if the changedProp of this stack is true then answer ?Do you want to save? with ?yes? or ?no? [more stuff here] pass closeStackRequest end closeStackRequest When I tested this in Revolution (before building a standalone,) it did not work when I quit or closed the subsatck. But it did work if I put closeStackRequest in the message box. I went ahead and made standalone apps. In windows my dialog appeared if I quit by clicking the ?X? in the upper right hand corner of the window. It did not appear if I selected ?quit? from the menu. On the Mac much the same thing was true: No dialog if I quit from the menu, but it does appear if I click the little red ?close? button in the upper left hand corner of the window. So, I looked in the list archives and in the documentation and came up with the idea of using shutdownRequest instead of closeStackRequest. I kept everything the same but I substituted shutdownRequest for closeStacckRequest. On Windows the result was the same-- I get me dialog only by clicking the ?X?, and I do not get it if I pick ?quit? from the menu. On the Mac (system 10.2.8) I nolonger get the dialog from clicking the little red button, but I do get it when I quit. (This is OK because this substack is the main window and the natural thing to do is quit rather than click the red button in the upper left hand corner.) Finally, my question--- How do I get a windows standalone that displays the dialog when it quits either from clicking the ?X? or from selecting quit? Should I use both handlers? (shutdownRequest and closeStackRequest.) Or, would that just make the dialog appear twice? Thanks! Rich Lague From userev at canelasoftware.com Sun Sep 11 14:32:42 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 11 Sep 2005 11:32:42 -0700 Subject: Problems with streaming audio In-Reply-To: <3f07cc260509110954349ec737@mail.gmail.com> References: <3f07cc260509110954349ec737@mail.gmail.com> Message-ID: On Sep 11, 2005, at 9:54 AM, Howard Bornstein wrote: > 1) I want to use my own controls to start and stop the player, rather > than use the Quicktime controller. At first this worked fine. For some > reason now it's not working at all. If I use the command "stream"> the player says "connecting" but never does. However, if I > click the start button on the controller, it connects fine. Why > doesn't the start command work? (Is this related to bug 1239?) Sure is related sorry to say. I have tried everything I can to get around this. It only happens with true streaming content. You could get around this by posting the audio files to a web server and have your player check the server for new content. Then have them download the audio file and play it. That would be a very reliable solution. Mark Talluto -- CANELA Software http://www.canelasoftware.com From howard.bornstein at gmail.com Sun Sep 11 14:47:34 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sun, 11 Sep 2005 14:47:34 -0400 Subject: Problems with streaming audio In-Reply-To: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> References: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> Message-ID: <3f07cc26050911114761e9c2aa@mail.gmail.com> On 9/11/05, Mark Talluto wrote: > > It only happens with true streaming content. You could > get around this by posting the audio files to a web server and have > your player check the server for new content. Then have them > download the audio file and play it. That would be a very reliable > solution. > > > Mark Talluto Unfortunately, the dispatch information streams in real-time and members need to hear it in real-time. So I'm not saving, and it wouldn't make sense to save, audio files for later posting. It's not clear to me from your comments and from bug 1239 whether your problems streaming in Rev were that you couldn't hear the stream at all or whether the start player command didn't work. I can receive a stream apparently with no problem but I can't seem to do it using Transcript control. Can you comment on this? -- Regards, Howard Bornstein ----------------------- www.designeq.com From Camm29 at tesco.net Sun Sep 11 14:52:45 2005 From: Camm29 at tesco.net (Camm29) Date: Sun, 11 Sep 2005 19:52:45 +0100 Subject: Text Not in Center Message-ID: <001001c5b702$041db300$0a01a8c0@mobile1> When using (answer) with several lines of text it shifts the text to the right so that some text cannot be seen. It seems to happen at random , though normally the second time the same answer is used all the text is centered. From kray at sonsothunder.com Sun Sep 11 15:32:27 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Sep 2005 14:32:27 -0500 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <0B29F3C1-AC5E-4C47-874D-8AA74D7465FD@blueyonder.co.uk> Message-ID: On 9/11/05 7:58 AM, "Marielle Lange" wrote: >> Apparently the mouseDown and mouseUp messages are not sent when the >> pointer tool is active unless the user clicks with button 3; the >> normal button 1 click never sends the message to the card. Unlike >> SuperCard, we have no pointerDown or pointerUp message which would >> make this a snap. >> I've tried placing a graphic object at the back of my group to trap >> messages like ... > > Hi Richard, > > Have you also tried with a button object at the back of your group? I spoke to Richard about trying something like that, but unfortunately he also needs to be able to click and drag to create a selection rectangle around objects; and the only way you can do this is if you click on the card itself (attempting to click on an object, a locked object, or an object with the cantselect turned on all prevent this behavior from happening). Good thought, though... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From psahores at easynet.fr Sun Sep 11 15:37:15 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 11 Sep 2005 21:37:15 +0200 Subject: Problems with streaming audio In-Reply-To: References: <3f07cc260509110954349ec737@mail.gmail.com> Message-ID: <44489EAC-39A1-4F41-A528-EAE676AD5B5F@easynet.fr> The same for me... Le 11 sept. 05 ? 20:32, Mark Talluto a ?crit : > > On Sep 11, 2005, at 9:54 AM, Howard Bornstein wrote: > > >> 1) I want to use my own controls to start and stop the player, rather >> than use the Quicktime controller. At first this worked fine. For >> some >> reason now it's not working at all. If I use the command > player >> "stream"> the player says "connecting" but never does. However, if I >> click the start button on the controller, it connects fine. Why >> doesn't the start command work? (Is this related to bug 1239?) >> > > > Sure is related sorry to say. I have tried everything I can to get > around this. It only happens with true streaming content. You > could get around this by posting the audio files to a web server > and have your player check the server for new content. Then have > them download the audio file and play it. That would be a very > reliable solution. > > > Mark Talluto > -- > CANELA Software > http://www.canelasoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From FlexibleLearning at aol.com Sun Sep 11 15:57:00 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 11 Sep 2005 15:57:00 EDT Subject: [ANN] Scripter's Scrapbook v5.11 update available Message-ID: <20d.8fcb172.3055e60c@aol.com> The Scripter's Scrapbook v5.11 is now available, fixing the mis-displaying menus in OSX. Windows users are not affected but can update if they wish. - Existing and Trial Users: Auto-update from the Help menu. - To get a free trial copy, visit www.FlexibleLearning.com/ssbk.htm /H FLCo Home of the Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From sarah.reichelt at gmail.com Sun Sep 11 16:30:36 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 12 Sep 2005 06:30:36 +1000 Subject: Text Not in Center In-Reply-To: <001001c5b702$041db300$0a01a8c0@mobile1> References: <001001c5b702$041db300$0a01a8c0@mobile1> Message-ID: On 9/12/05, Camm29 wrote: > When using (answer) with several lines of text it shifts the text to the right so that some text cannot be seen. > > It seems to happen at random , though normally the second time the same answer is used all the text is centered. In Rev 2.6, the text in answer dialogs will now wrap long lines of text instead of making the dialog wide enough to show it all. However this is not completely reliable. The solution is to do your own line feeds and keep all the lines short. Is there a Bugzilla entry for this (I can't check at the moment) or should I make one? Sarah From sarah.reichelt at gmail.com Sun Sep 11 16:35:57 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 12 Sep 2005 06:35:57 +1000 Subject: save dialog problem In-Reply-To: References: <43239EDD.6000606@fourthworld.com> Message-ID: On 9/12/05, Rich Lague wrote: > I have been trying to set up a "do you want to save" dialog in an > application that will run on both Macs and Windows. I get a result that > don't really work from both shutdownRequest and closeStackRequest. > > First I tried closeStackRequest: > > [in the stack script of the substack where data is stored.] > > on closeStackRequest > > if the changedProp of this stack is true then > answer "Do you want to save" with "yes" or "no" > [more stuff here] > pass closeStackRequest > > end closeStackRequest > Try putting the closeStackRequest or shutdownRequest (either should work) in the mainStack script instead of the substack. That should trap the menu messages as well as the close box. You will need to refer to stack name when checking the property, but apart from that, it should all just work fine. HTH, Sarah From Camm29 at tesco.net Sun Sep 11 18:08:09 2005 From: Camm29 at tesco.net (Camm29) Date: Sun, 11 Sep 2005 23:08:09 +0100 Subject: Text Not in Center References: <001001c5b702$041db300$0a01a8c0@mobile1> Message-ID: <002001c5b71d$4c88de60$0a01a8c0@mobile1> Great Thanks, I can't check if there is a Bubzilla either. Could you check and raise later. Regards ----- Original Message ----- From: "Sarah Reichelt" To: "How to use Revolution" Sent: Sunday, September 11, 2005 9:30 PM Subject: Re: Text Not in Center On 9/12/05, Camm29 wrote: > When using (answer) with several lines of text it shifts the text to the right so that some text cannot be seen. > > It seems to happen at random , though normally the second time the same answer is used all the text is centered. In Rev 2.6, the text in answer dialogs will now wrap long lines of text instead of making the dialog wide enough to show it all. However this is not completely reliable. The solution is to do your own line feeds and keep all the lines short. Is there a Bugzilla entry for this (I can't check at the moment) or should I make one? Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sun Sep 11 18:39:06 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 11 Sep 2005 15:39:06 -0700 Subject: it pays to read bugzillas In-Reply-To: <20050911084852.5848D824DC0@mail.runrev.com> References: <20050911084852.5848D824DC0@mail.runrev.com> Message-ID: <4324B20A.2000609@fourthworld.com> MisterX wrote: > it also pays to vote for them... > > check out > > http://support.runrev.com/bugdatabase/show_bug.cgi?id=624 > > I like the meaning of Richard's last comments ;) When I closed that item I was responding to suggestions Kevin had made in an online conference a few months back, and some thoughts on the matter Mark W. expressed at RevCon West. But as enthusiastic as I am for the prospects, I have to admit I've not actually seen a solution in my hands. It was brought to my attention that this bug isn't mine simply because I was the one who originally opened it. It belongs to all the people who voted for it, and some of those would like to see the issue addressed before this item is closed. So please forgive my enthusiasm for possible future plans, but for the here and now this request is reopened and will remain so until it is addressed. Same with BZ#623, which was once closed for similar reasons. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Sep 11 19:28:51 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 11 Sep 2005 16:28:51 -0700 Subject: More drawing tool woes: no mouseDown or mouseUp sent? In-Reply-To: <20050911002844.61383.qmail@web40524.mail.yahoo.com> References: <20050911002844.61383.qmail@web40524.mail.yahoo.com> Message-ID: <4324BDB3.3030705@fourthworld.com> Alejandro Tejada wrote: > on Sat, 10 Sep 2005 > Richard Gaskin wrote: > > >>I'm making a specialized drawing tool, and I need to >>know when the mouse >>is clicked outside of any control while the pointer >>tool is active > > > A frontscript could do what you want, A frontscript can only respond to messages that exist. In this case, the issue is that mouseDowns and mouseUps that occur on the card outside of any objects are not sent when the pointer tool is active. Well, actually the mouseDown and mouseUp ARE sent, but only when button 3 on the mouse is pressed; the messages aren't sent for button 1. While we wait for mousedown and mouseup to become more orthogonal, or alternatively to the implementation of SuperCard's pointerDown and pointerUp messages, thus far the best workaround for the missing messages is a polling solution. Polling is normally something I avoid unless absolutely necessary, as it's ususally much less efficient that getting a message: messages come from the engine's event loop, while polling is effectively running your own scripted event loop on top of that. Moreoever, with polling solutions most of the time whatever you're checking isn't what you need, waiting for the one time out of thousands that you do. For example, in this case we could use a timer sent to itself repeatedly which monitors if the mouseclick is true, and if so whether there is no target control. If both conditions are true when can send ourselves a message to do what we need in lieu of getting a mouseUp. One problem with timers is that they eat up a lot of processor time. Testing on 1/10th-second increments (100 millisecs) brought the idle processing for my app to almost 30%. Bringing that down to a quarter-second (250 milliseconds) interval reduced it to about 10-15%, still more than I'd care for something this trivial. Thinking outside the box, Ken suggested looking into mouseMove, checking if the mouse is down. That option turns out to consume far less processor time, and for the moment is the one I'm going with. But the day we get a true message for this I'll be ever so happy to back out that code. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lists at mangomultimedia.com Sun Sep 11 21:35:20 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 11 Sep 2005 18:35:20 -0700 Subject: Problems with streaming audio In-Reply-To: <3f07cc260509110954349ec737@mail.gmail.com> References: <3f07cc260509110954349ec737@mail.gmail.com> Message-ID: On Sep 11, 2005, at 9:54 AM, Howard Bornstein wrote: > 1) I want to use my own controls to start and stop the player, rather > than use the Quicktime controller. At first this worked fine. For some > reason now it's not working at all. If I use the command "stream"> the player says "connecting" but never does. However, if I > click the start button on the controller, it connects fine. Why > doesn't the start command work? (Is this related to bug 1239?) Set the playRate to 1 rather than using . I'm not sure what is doing under the hood but it has problems with streaming movies. By setting the playRate you are directly accessing a QuickTime property and everything works as it is supposed to. > 2) In order to determine if the server is down, I need to tell if the > player is receiving an audio stream. I've been using the currenttime > to test this. I check to see if the currenttime changes over a 1 > second interval. If it's the same, I assume the server has stopped. > Sometimes, however, audio will stop playing while the currenttime goes > on its merry way. I need a *reliable* way to tell if the player is > receiving data from the stream. Does anyone have a suggestion for > this? > > 3) Finally, the player seems to generate certain messages right in the > player bar--things like "connecting", "negotiating", "connection > failed", etc. Is there a way I can intercept these messages in Rev? There isn't a way to get this information about a movie in Revolution right now. Something like this could be added to the EnhancedQT external though. It is just a matter of adding a couple of additional if statements to a function that already exists. I think that adding this would actually solve issues 2 and 3. I just browsed the docs and it seams that there is a status string that tells you the streaming status and also one that reports errors. Perhaps an error is reported when the streaming server goes down. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From katir at hindu.org Sun Sep 11 22:11:55 2005 From: katir at hindu.org (Sivakatirswami) Date: Sun, 11 Sep 2005 16:11:55 -1000 Subject: Unicode Font Woes Message-ID: No one responded to my earlier query on Tamil font. Let me try again, simpler: Platform: OSX I have a field with unicode Tamil script, I enter a single characater, it defaults to InaiMathi Tamil font, which is in the Apple system. I select the character and change it to a different Unicode Tamil font, (Kalyani) it shows two square boxes for each of the two bytes instead of the proper glyph from the Kalyani font. If I type the same character in BBEdit or InDesign, select it and switch to Kalyani, the proper glyph is displayed. But not in Rev... if I query frorm the msg "put the textfont of char 1 to 2..." I get "Kalyani,unicode" if I query "put the charToNum of char 1 to 2 of fld "tamil Script" I get 2965: which *is* indeed the correct unicode, code point for this Tamil character... but the glyph for the character is not displayed! OK, I cut and past the two chars from Rev into BBEdit... and I get a weird character. using "Re-open using Encoding" and select Unicode, UTF-16 and presto, those two characters that I copied from rev appear as Kalyani in BBEdit... So before I bugzilla this... I just want to be very sure I'm not missing something. Fishing in the dark here: is Rev not capable of displaying Unicode UTF-16 characters? These are openType true type fonts... I true some other .otf fonts... roman... they all display correctly Sivakatirswami From nnoydb at excite.com Mon Sep 12 03:58:04 2005 From: nnoydb at excite.com (N) Date: Mon, 12 Sep 2005 03:58:04 -0400 (EDT) Subject: EXT.DLL Message-ID: <20050912075804.EA1C6BB09@xprdmailfe14.nwk.excite.com> Does anyone have the source to this DLL? I have used it and seen it mentioned many times and will like to modify it. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rev at armbase.com Mon Sep 12 04:29:17 2005 From: rev at armbase.com (rev at armbase.com) Date: Mon, 12 Sep 2005 09:29:17 +0100 Subject: RunRev & PDAs In-Reply-To: <432444DB.1080002@harryscollar.com> References: <20050911131038.59859824E94@mail.runrev.com> <432444DB.1080002@harryscollar.com> Message-ID: <20050912092917.1nsdkwfvcc8o4wo0@webmail.armbase.com> Quoting Alex Shaw : > hi > > Would love to see a pocketpc version of rev.. As I said... I think this would be perfect > > I've owned a pocketpc (xda iis) for a while and only really developed > flash stuff for it (talking thru wifi to a rev server) and the > platform has so much potential yet there are few development > frameworks around (for pocketpc) which match our beloved rev. There are only two and they costs a bomb but are not as powerfull. Visual CE is one and the other I cant remember off hand but it is $900. One application I urge people to try is CASL www.caslsoft.com It was maintained as a semi-commercial app by some top developers, however, they released it for free recently. The IDE is now being bought by some of the more prominent developers on the platform, however, (and I have no affiliation) they could do with a few mjore users. > > I know it's still a microsoft system but at least it's future is not > as uncertain as palm. Well 2 days ago palmos was bought by access so the future looks bright. I think the palm hardware compant will move to linux to be honest, although I would have though thewy could have used the lightning fast BeOS that they own. > > btw. anyone got a linux-based pda? what are they like? > > ps. where can i put a vote down for a rev/pocketpc engine? :) Me tooooo. :-) Cheers Bob > > From beat.c at hetnet.nl Mon Sep 12 08:20:05 2005 From: beat.c at hetnet.nl (Beat Cornaz) Date: Mon, 12 Sep 2005 14:20:05 +0200 Subject: Complex Numbers & binary fractions Message-ID: Hi, has anyone made a library for working with complex numbers? And is willing to share this with me? I'm also looking for some code to convert decimal fractions (i.e. 0.56384) to binary fractions. Thank you, greetings Beat. -- From tkuypers at pandora.be Mon Sep 12 08:27:29 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Mon, 12 Sep 2005 14:27:29 +0200 Subject: Posting formdata to URL Message-ID: <2EE17DF2-147C-4304-9687-034C0B08B529@pandora.be> Hi, I have a problem posting a file to a website using RR I need to supply some parameters and the file, just like a normal webform would post, but I keep on getting errors... Uploading the file doesn't work, if I try to retrieve information including parameters, there is no problem (put URL XXX into url (/ Users/Ton/desktop/etc, etc, etc). Using post vPostData to vURL then I get an error. Anybody any suggestions how to upload a file to an .aspx page? Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From plemay at readnaturally.com Mon Sep 12 09:41:30 2005 From: plemay at readnaturally.com (peter lemay) Date: Mon, 12 Sep 2005 08:41:30 -0500 Subject: replace, using regular expressions Message-ID: <1D6B534B0B0BB04999ED232B8DA8A52C1411A6@READNATSERVER.readnaturally.local> Hi. I want to do several replaces using a regular expression in Revolution. Here are two runable examples, but they both have problems. In these examples, I want these replacements: [rnNF2] replaced by [2F] [rnNF3] replaced by [3F] [rnNW3] replaced by [3W] The first example uses replaceText and works as a 'replace all'. But the 3rd parameter is a literal. When I try this, the $1 and $2 do not represent the (parenthesis-delimited) groups the way normal regex does. The second example uses matchText and only replaces the first instance. I could probably use this in a repeat, but there should be a better way. Any suggestions? Pete *** put "the first test [rnNF2] the second test [rnNF3] and the third test [rnNW3] are all here" into testIn answer testIn put replaceText(testIn, "\[rnN([FWS])([1-8])\]", "[$2$1]") into testOut answer testOut *** put matchText(testIn,"\[rnN([FWS])([1-8])\]", theSeason, theGrade) into gotPhone answer "gotPhone=" & gotPhone & ", theSeason=" & theSeason & ", theGrade=" & theGrade *** From dcragg at lacscentre.co.uk Mon Sep 12 09:54:23 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 12 Sep 2005 14:54:23 +0100 Subject: Posting formdata to URL In-Reply-To: <2EE17DF2-147C-4304-9687-034C0B08B529@pandora.be> References: <2EE17DF2-147C-4304-9687-034C0B08B529@pandora.be> Message-ID: On 12 Sep 2005, at 13:27, Ton Kuypers wrote: > Hi, > > I have a problem posting a file to a website using RR > > I need to supply some parameters and the file, just like a normal > webform would post, but I keep on getting errors... > Uploading the file doesn't work, if I try to retrieve information > including parameters, there is no problem (put URL XXX into url (/ > Users/Ton/desktop/etc, etc, etc). > Using post vPostData to vURL then I get an error. > > Anybody any suggestions how to upload a file to an .aspx page? > You'd have to confirm what encoding the server script expects, but posting files is normally done using a content type of multipart/form- data. (If you have an html version of the form, check if the form tag has an ENCTYPE attribute of "multipart/form-data".) Then take a look at the libUrlMultipartFormData function. (I just noticed that the standard Rev dictionary leaves out an important piece of data in this entry. I think the docs incorrectly interpret some of the text as an xml tag.) I suggest you look at the web version of the libUrl documentation: http://support.runrev.com/resources/ liburlrealdocs.html#libUrlMultipartFormData Cheers Dave From howard.bornstein at gmail.com Mon Sep 12 10:22:44 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 12 Sep 2005 10:22:44 -0400 Subject: Problems with streaming audio In-Reply-To: <200509120136.j8C1aKME018348@ms-smtp-03.rdc-nyc.rr.com> References: <200509120136.j8C1aKME018348@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc26050912072240325fe0@mail.gmail.com> On 9/11/05, Trevor DeVore wrote: > > Set the playRate to 1 rather than using . I'm not sure > what is doing under the hood but it has problems with > streaming movies. By setting the playRate you are directly accessing > a QuickTime property and everything works as it is supposed to. When I set the playrate to 1, I get the error message "-5401:Bad State". If I quit the stack and reload it, the first time I use playrate it works. If I stop the stream and start it again with playrate, I get the same error message again. Any idea about this? > > There isn't a way to get this information about a movie in Revolution > right now. Something like this could be added to the EnhancedQT > external though. It is just a matter of adding a couple of > additional if statements to a function that already exists. I think > that adding this would actually solve issues 2 and 3. I just browsed > the docs and it seams that there is a status string that tells you > the streaming status and also one that reports errors. Perhaps an > error is reported when the streaming server goes down. Please Please Please! Thanks for your help! -- Regards, Howard Bornstein ----------------------- www.designeq.com From tkuypers at pandora.be Mon Sep 12 10:29:19 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Mon, 12 Sep 2005 16:29:19 +0200 Subject: Posting formdata to URL In-Reply-To: References: <2EE17DF2-147C-4304-9687-034C0B08B529@pandora.be> Message-ID: <8DD51DBD-28F0-498C-9664-D40F0CD4A3AC@pandora.be> Dave, thanks for this URL, Ill be checking it first thing when I get back in the office, but I guess this is indeed the part I was missing.... Ton On 12-sep-05, at 15:54, Dave Cragg wrote: > > On 12 Sep 2005, at 13:27, Ton Kuypers wrote: > > >> Hi, >> >> I have a problem posting a file to a website using RR >> >> I need to supply some parameters and the file, just like a normal >> webform would post, but I keep on getting errors... >> Uploading the file doesn't work, if I try to retrieve information >> including parameters, there is no problem (put URL XXX into url (/ >> Users/Ton/desktop/etc, etc, etc). >> Using post vPostData to vURL then I get an error. >> >> Anybody any suggestions how to upload a file to an .aspx page? >> >> > > You'd have to confirm what encoding the server script expects, but > posting files is normally done using a content type of multipart/ > form-data. (If you have an html version of the form, check if the > form tag has an ENCTYPE attribute of "multipart/form-data".) > > Then take a look at the libUrlMultipartFormData function. (I just > noticed that the standard Rev dictionary leaves out an important > piece of data in this entry. I think the docs incorrectly interpret > some of the text as an xml tag.) I suggest you look at the web > version of the libUrl documentation: > > http://support.runrev.com/resources/ > liburlrealdocs.html#libUrlMultipartFormData > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From lists at mangomultimedia.com Mon Sep 12 10:54:24 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Sep 2005 07:54:24 -0700 Subject: Problems with streaming audio In-Reply-To: <3f07cc26050912072240325fe0@mail.gmail.com> References: <200509120136.j8C1aKME018348@ms-smtp-03.rdc-nyc.rr.com> <3f07cc26050912072240325fe0@mail.gmail.com> Message-ID: On Sep 12, 2005, at 7:22 AM, Howard Bornstein wrote: > On 9/11/05, Trevor DeVore wrote: >> Set the playRate to 1 rather than using . I'm not sure >> what is doing under the hood but it has problems with >> streaming movies. By setting the playRate you are directly accessing >> a QuickTime property and everything works as it is supposed to. >> > When I set the playrate to 1, I get the error message "-5401:Bad > State". If I quit the stack and reload it, the first time I use > playrate it works. If I stop the stream and start it again with > playrate, I get the same error message again. Any idea about this? Are you using or are you setting the playRate to 0? If you are using then try setting the playRate in all instances and see if that solves the problem. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From wlists at fireworksmm.com Mon Sep 12 11:27:33 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Mon, 12 Sep 2005 11:27:33 -0400 Subject: How to run a program in a shell In-Reply-To: References: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> Message-ID: <8740EFEF-0350-4233-A834-8ADA532DD15B@fireworksmm.com> Thanks a lot Sara. I'll try your suggestion. On Sep 6, 2005, at 6:32 PM, Sarah Reichelt wrote: > I hope these examples help, but if you want any further advice or > testing, let me know. > > Cheers, > Sarah From nnoydb at excite.com Mon Sep 12 12:13:59 2005 From: nnoydb at excite.com (N) Date: Mon, 12 Sep 2005 12:13:59 -0400 (EDT) Subject: Mark Weider Orginal DLL Tutorial Message-ID: <20050912161359.96E33B713@xprdmailfe18.nwk.excite.com> Does anyone have the orginal Mark Weider DLL tutorial. With the MSVC project and et'al (dsp using article.c/h and GetDriveType dsp)? If so I would like for it to be sent to me. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From dburgun at dsl.pipex.com Mon Sep 12 12:21:08 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 12 Sep 2005 17:21:08 +0100 Subject: Geometry Problem In-Reply-To: <8740EFEF-0350-4233-A834-8ADA532DD15B@fireworksmm.com> References: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> <8740EFEF-0350-4233-A834-8ADA532DD15B@fireworksmm.com> Message-ID: Hi, I have just spent ages adjusting all the Geometry settings of a stack, all was well but somehow the Stack size managed to become bigger than when the objects were placed on the card, so now I have a big gap between the row of buttons at the bottom of the window and when I try to make set the stack size back to the correct settings, the objects all scale/move incorrectly? How can I fix this? I have tried moving the buttons to the bottom of the window and then resizing the stack, but they just jump back to the original position. Any help on this would be greatly appreciated. All the Best Dave From eric.chatonet at sosmartsoftware.com Mon Sep 12 12:43:17 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 12 Sep 2005 18:43:17 +0200 Subject: Geometry Problem In-Reply-To: References: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> <8740EFEF-0350-4233-A834-8ADA532DD15B@fireworksmm.com> Message-ID: <057FF5A2-072F-4EF6-8621-17CAD5280FFA@sosmartsoftware.com> Hi Dave, You could be interested in the "How to Manage Resizing" tutorial (available from Tutorials Picker on my website) and especially by the Tips and Tricks" section. Note that the cRevGeometry properties are updated by Rev when you move a control with the mouse, change its coordinates in the properties inspector but not when you move it with the arrow keys :-( Best Regards from Paris, Eric Chatonet. Le 12 sept. 05 ? 18:21, David Burgun a ?crit : > Hi, > > I have just spent ages adjusting all the Geometry settings of a > stack, all was well but somehow the Stack size managed to become > bigger than when the objects were placed on the card, so now I have > a big gap between the row of buttons at the bottom of the window > and when I try to make set the stack size back to the correct > settings, the objects all scale/move incorrectly? > > How can I fix this? I have tried moving the buttons to the bottom > of the window and then resizing the stack, but they just jump back > to the original position. > > Any help on this would be greatly appreciated. > All the Best > Dave ---------------------------------------------------------------- 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 Free plugins and tutorials on my website ---------------------------------------------------------------- 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 kray at sonsothunder.com Mon Sep 12 13:10:15 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Sep 2005 12:10:15 -0500 Subject: EXT.DLL In-Reply-To: <20050912075804.EA1C6BB09@xprdmailfe14.nwk.excite.com> Message-ID: On 9/12/05 2:58 AM, "N" wrote: > > Does anyone have the source to this DLL? I have used it and seen it mentioned > many times and will like to modify it. You'll have to contact RunRev and ask them... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Mon Sep 12 13:16:08 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 12 Sep 2005 19:16:08 +0200 Subject: Geometry Problem In-Reply-To: <057FF5A2-072F-4EF6-8621-17CAD5280FFA@sosmartsoftware.com> Message-ID: <20050912165430.B3772824E40@mail.runrev.com> Dave, i'll try very hard to be objective... Once your controls go haywire in Rev with the GM, you can try the following: - type RevUpdateGeometry in the message box - this should trigger the right redraw that was missed by the engine for whatever reason. - If that fails, put an empty "on resizestack" handler in your stack to prevent rev redrawing the geometry. Resize your controls and when you are done, save. Then try to revCacheGeometry - but it may screw things up later... Problems arise if you changed the owner a control or group after setting the revGM properties. You can detect them via a stack i made http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=72 To prevent madness, use these two functions to "test" the gm: -- Save all positions in case of GM screw up on saveGeometry local clist, cid, crect put the rect of this stack & CR into clist repeat with x = 1 to the number of controls put the short id of control x into cid put the rect of control x into crect put cid & tab & crect & cr after clist end repeat delete last char of clist set the OriginalGeometry of this stack to clist end saveGeometry on restoreGeometry local clist, cid, crect lock messages put the OriginalGeometry of this stack into clist set the rect of this stack to line 1 of clist delete line 1 of clist set the itemdelimiter to tab repeat for each line L in clist put item 1 of L into cid put item 2 of L into crect set the rect of control id CID to crect end repeat --if not isMetaCard() then revcachegeometry --end if end restoreGeometry I have a bonus script that STRIPS the GM from stacks too which was used quite often since their button "clear GM" in the RPP wasn't usefull... but it's too long to post here... ;) Remember that if you have a RevErrorDisplay action due to a bug, it may block any GM from working (yet another bummer to watch for)... Example: open the revErrorDisplay stack and see it naked! ;) Try to type revUpdateGeometry right after in the message box to set your GM to normal - but it may not work... Last but not least, please vote for bugzillas: 1223, 2079, 2341, 2355, 2335, 2363 in the hopes that they fix it one day. After months of crying, complaining and going bananas with the GM, i wrote my own "object oriented GM". I haven't had ONE problem or mis-resize since... hope that helps Xavier http://MonsieurX.com From kray at sonsothunder.com Mon Sep 12 13:14:29 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Sep 2005 12:14:29 -0500 Subject: replace, using regular expressions In-Reply-To: <1D6B534B0B0BB04999ED232B8DA8A52C1411A6@READNATSERVER.readnaturally.local> Message-ID: On 9/12/05 8:41 AM, "peter lemay" wrote: > The first example uses replaceText and works as a 'replace all'. But the > 3rd parameter is a literal. When I try this, the $1 and $2 do not > represent the (parenthesis-delimited) groups the way normal regex does. I don't believe replaceText works with extracted groups. I'm afraid you'll have to repeat through a loop with matchText. You could log this as an enhancement in Bugzilla if you like and I'll vote for it.. :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mark at maseurope.net Fri Sep 9 11:38:36 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 9 Sep 2005 16:38:36 +0100 Subject: Sudden Crash and loss of saved data In-Reply-To: <4321AAAC.4010108@7power7.com> References: <4321AAAC.4010108@7power7.com> Message-ID: <9cd57e9ab173c24b58ffa523365559be@maseurope.net> Have you checked that the disappearing substack has not simply got it's visible set to false, or been positioned off-screen? Look in the application browser to see if it still exists. Just a suggestion. Mark On 9 Sep 2005, at 16:30, Alcy wrote: > > I have created a few substacks of my main stack. > I have been working on a very heavy substack (with about 700 buttons > with different scripts) for the last 2 days when a script has > generated a crash of revolution and surprisingly when I have reopened > the stack, all infos about the substack had disappeared. It is not the > first time I have a surprise like this. I have saved my work under > another name too but the same thing has happened to it as well (no > substack).. > Has this phenomenon happened to others? Should I save each substack > separately? > Any idea about why my saved data have lost the infos about this heavy > substack? > thanks in advance. > Alcy > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From plemay at readnaturally.com Fri Sep 9 11:49:15 2005 From: plemay at readnaturally.com (peter lemay) Date: Fri, 9 Sep 2005 10:49:15 -0500 Subject: Regular expression replace Message-ID: <1D6B534B0B0BB04999ED232B8DA8A52C14110F@READNATSERVER.readnaturally.local> Hi. I want to do several replaces using a regular expression in Revolution. Here are two runable examples, but they both have problems. In these examples, I want these replacements: [rnNF2] replaced by [2F] [rnNF3] replaced by [3F] [rnNW3] replaced by [3W] The first example uses replaceText and works as a 'replace all'. But the 3rd parameter is a literal. When I try this, the $1 and $2 do not represent the (parenthesis-delimited) groups the way normal regex does. The second example uses matchText and only replaces the first instance. I could probably use this in a repeat, but there should be a better way. Any suggestions? Pete *** put "the first test [rnNF2] the second test [rnNF3] and the third test [rnNW3] are all here" into testIn answer testIn put replaceText(testIn, "\[rnN([FWS])([1-8])\]", "[$2$1]") into testOut answer testOut *** put matchText(testIn,"\[rnN([FWS])([1-8])\]", theSeason, theGrade) into gotPhone answer "gotPhone=" & gotPhone & ", theSeason=" & theSeason & ", theGrade=" & theGrade *** From tkuypers at dmp-int.com Mon Sep 12 08:23:49 2005 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Mon, 12 Sep 2005 14:23:49 +0200 Subject: Posting formdata to URL Message-ID: Hi, I have a problem posting a file to a website using RR I need to supply some parameters and the file, just like a normal webform would post, but I keep on getting errors... Uploading the file doesn't work, if I try to retrieve information including parameters, there is no problem (put URL XXX into url (/ Users/Ton/desktop/etc, etc, etc). Using post vPostData to vURL then I get an error. Anybody any suggestions how to upload a file to an .aspx page? Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From mark at maseurope.net Mon Sep 12 09:34:12 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 12 Sep 2005 14:34:12 +0100 Subject: Little maths question Message-ID: <6d51168dc265b3fa178aa0e4ac379589@maseurope.net> This is probably really easy, but I'm so stupid when it comes to maths that I can't figure it out: Given a list of any number of lines, how can I generate a list of every possible combination of those lines ie. 1 2 3 4 would give: 1 2 3 4 1,2 1,3 1,4 2,3 2,4 3,4 1,2,3 1,3,4 2,3,4 1,2,3,4 (this is from my thick head, so may not be complete, but you get the idea...) Thanks, Mark From bnz2 at cdc.gov Mon Sep 12 13:36:29 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 12 Sep 2005 13:36:29 -0400 Subject: Little maths question Message-ID: <64878EF567131D4596246171F75FD4A9968249@m-epo-1.epo.cdc.gov> Do they have to be in order? Would 1,4,2,3 also count? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, September 12, 2005 9:34 AM To: How to use Revolution Subject: Little maths question This is probably really easy, but I'm so stupid when it comes to maths that I can't figure it out: Given a list of any number of lines, how can I generate a list of every possible combination of those lines ie. 1 2 3 4 would give: 1 2 3 4 1,2 1,3 1,4 2,3 2,4 3,4 1,2,3 1,3,4 2,3,4 1,2,3,4 (this is from my thick head, so may not be complete, but you get the idea...) Thanks, Mark _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Mon Sep 12 13:52:42 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 12 Sep 2005 07:52:42 -1000 Subject: Poke a Shell Variable with xTalk? Message-ID: <2AEB19E8-25EE-457E-9139-93F0AB5D296B@hindu.org> Can we pass data from a local variable in Revolution to a variable in shell.? How? eg. in shell cat <>some_variable gives us "$some_variable" where echo $some_variable #gives us test test test now what we want to do is put "Greetings to all innovative Revolutionaries" into tGreeting [pseudo code here:] put tGreeting into $Greeting set the shellcommand to "/bin/sh" put "cat $Greeting" & " | sendmail -f hpi.list at hindu.org " & (fld "to" of cd "staticText") into tCmd put shell(tCmd) into tResult # where the contents of $Greeting is piped to sendmail... I know we can read $ variable from the system, but can we create and poke them? TIA Sivakatirswami From yoy at comcast.net Mon Sep 12 14:04:14 2005 From: yoy at comcast.net (yoy) Date: Mon, 12 Sep 2005 14:04:14 -0400 Subject: New world census data! Message-ID: <000f01c5b7c4$68bb1010$6401a8c0@fatal> Over the last eight decades the world population has doubled. Thusly, a sucker is now born every 30 seconds. :o) Andy Scripts have no sense of humor From userev at canelasoftware.com Mon Sep 12 14:13:26 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 12 Sep 2005 11:13:26 -0700 Subject: Problems with streaming audio In-Reply-To: <3f07cc26050911114761e9c2aa@mail.gmail.com> References: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> <3f07cc26050911114761e9c2aa@mail.gmail.com> Message-ID: On Sep 11, 2005, at 11:47 AM, Howard Bornstein wrote: > On 9/11/05, Mark Talluto wrote: > > > >> >> It only happens with true streaming content. You could >> get around this by posting the audio files to a web server and have >> your player check the server for new content. Then have them >> download the audio file and play it. That would be a very reliable >> solution. >> >> >> Mark Talluto >> >> > > Unfortunately, the dispatch information streams in real-time and > members need to hear it in real-time. So I'm not saving, and it > wouldn't make sense to save, audio files for later posting. > For the record, QT streaming content through Rev on Macs is broken. Aside from that, one sometimes has an urgent need for a workaround. It would be possible to have a Rev app record the dispatch and automatically upload the dispatches. I would then have my Rev player apps check the server periodically and download the new dispatches and play them. You could then have the downloaded file be deleted if you wanted (automatically). Rev on Mac will reliably play progressive movies as another option. They feel very much like streamed content. They download and play when enough data has been downloaded. > > It's not clear to me from your comments and from bug 1239 whether your > problems streaming in Rev were that you couldn't hear the stream at > all or whether the start player command didn't work. I can receive a > stream apparently with no problem but I can't seem to do it using > Transcript control. Can you comment on this? > According to the server, the client does connect, but no data is sent at all. The server appears to be waiting for the handshake to complete. It never does though. You can download my test app from: It might be more clear to look at the very simple 5 lines for each test. Mark Talluto -- CANELA Software http://www.canelasoftware.com From lists at mangomultimedia.com Mon Sep 12 14:31:52 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Sep 2005 11:31:52 -0700 Subject: Problems with streaming audio In-Reply-To: References: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> <3f07cc26050911114761e9c2aa@mail.gmail.com> Message-ID: <4DE3E4D3-AAEA-428C-A864-F501E6F43F02@mangomultimedia.com> On Sep 12, 2005, at 11:13 AM, Mark Talluto wrote: > > For the record, QT streaming content through Rev on Macs is > broken. Aside from that, one sometimes has an urgent need for a > workaround. > It would be possible to have a Rev app record the dispatch and > automatically upload the dispatches. I would then have my Rev > player apps check the server periodically and download the new > dispatches and play them. You could then have the downloaded file > be deleted if you wanted (automatically). Rev on Mac will reliably > play progressive movies as another option. They feel very much > like streamed content. They download and play when enough data has > been downloaded. Mark, Have you tried controlling streaming movies by setting playRate? This has worked reliably in my tests and it fixed a problem that one person had been having for 6 months. Just don't use start/stop player. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revlist at cableone.net Mon Sep 12 14:32:16 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 12 Sep 2005 12:32:16 -0600 Subject: Weird problem and I'm not sure what the subject should be Message-ID: <67A2FCAA-6039-4F40-BEB9-0FA37F05A346@cableone.net> Hi all, I'm not really sure if anyone can help or not, but I thought I'd ask a couple questions to see if I can figure this out. This problem is only happening with OS X. I have a custom installer that my company uses for installing our software. We are in the process of doing an update to our software, and this installer has somehow gotten broken. The only changes I've made to it were to update some information in some fields to indicate the new version number. At one point the installer uses the revCopyFolder command to copy two bundles, my application bundle and the Valentina library bundle. I have tried building it using Rev 2.5, 2.5.1, and 2.6, all to no avail. None of them work. But I'm pretty sure the original was done with Rev 2.5 about a year ago. I have compared my slightly changed stack with the original and there are no differences that I can see except for the slight changes already mentioned. Now, what's even stranger, is that when I drop the original built standalone (built about a year ago) in and run it, it works just fine. I have even tried playing with revCopyFile vs. revCopyFolder, as I seem to remember there was some change made with revCopyFolder somewhere along the way that made it stop working with bundles. Is that true, or am I dreaming? So here's a question. Is there any way to tell from a standalone application which version of Rev (or the engine version) that was used when building it? If I can find that out with the original, I can be sure to go back to the version of Rev used and at least try that to see if I can get it working. And, is there any possible way that my copy of Rev 2.5 might be using newer engines, and if so, how can I find out? I'm almost wondering if something is getting broken because the engines are not the right ones. I did find out that "the result" is returning "execution error" and "the sysError" is return 2, which neither one is helpful at all. Can someone tell me what error 2 is under OS X? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From rbarber at yhb.att.ne.jp Mon Sep 12 14:26:33 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Mon, 12 Sep 2005 13:26:33 -0500 Subject: Unicode Font Woes In-Reply-To: References: Message-ID: Hi Are you selecting the text and then changing the font from the font menu? This will not work with Unicode text. Try explicitly setting the textfont to "Kalyani,Unicode" setting the font of unicode text from the menu does not work in its current form. Someone please prove me wrong. HTH, Ron On Sep 11, 2005, at 9:11 PM, Sivakatirswami wrote: > No one responded to my earlier query on Tamil font. Let me try again, > simpler: > > Platform: OSX > > I have a field with unicode Tamil script, I enter a single > characater, it defaults to InaiMathi Tamil font, which is in the Apple > system. I select the character and change it to a different Unicode > Tamil font, (Kalyani) it shows two square boxes for each of the two > bytes instead of the proper glyph from the Kalyani font. > > If I type the same character in BBEdit or InDesign, select it and > switch to Kalyani, the proper glyph is displayed. But not in Rev... if > I query frorm the msg "put the textfont of char 1 to 2..." I get > "Kalyani,unicode" if I query "put the charToNum of char 1 to 2 of fld > "tamil Script" I get 2965: which *is* indeed the correct unicode, code > point for this Tamil character... but the glyph for the character is > not displayed! > > OK, I cut and past the two chars from Rev into BBEdit... and I get a > weird character. using "Re-open using Encoding" and select Unicode, > UTF-16 and presto, those two characters that I copied from rev appear > as Kalyani in BBEdit... > > So before I bugzilla this... I just want to be very sure I'm not > missing something. > > Fishing in the dark here: is Rev not capable of displaying Unicode > UTF-16 characters? These are openType true type fonts... I true some > other .otf fonts... roman... they all display correctly > > Sivakatirswami > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Mon Sep 12 15:12:42 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 12 Sep 2005 20:12:42 +0100 Subject: Little maths question In-Reply-To: <6d51168dc265b3fa178aa0e4ac379589@maseurope.net> References: <6d51168dc265b3fa178aa0e4ac379589@maseurope.net> Message-ID: <4325D32A.1010900@tweedly.net> Mark Smith wrote: > This is probably really easy, but I'm so stupid when it comes to maths > that I can't figure it out: > > Given a list of any number of lines, how can I generate a list of > every possible combination of those lines ie. > Here's a way to generate all combinations of the numbers - you can go from there to lines (or whatever) ... > function combinations pNum > local tRes, temp, L > if pNum <= 1 then > return 1 & cr > end if > put combinations(pNum-1) into temp > repeat for each line L in temp > put L & cr after tRes > end repeat > put pNum & cr after tRes > repeat for each line L in temp > put L & comma & pNum & cr after tRes > end repeat > return tRes > end combinations > or you can do it slightly more tersely and efficiently, but in a less attractive order (*) as > function combinations pNum > local tRes, temp, L > if pNum <= 1 then > return 1 & cr > end if > put combinations(pNum-1) into temp > repeat for each line L in temp > put L & comma & pNum & cr after tRes > put L & cr after tRes > end repeat > return tRes & pNum & cr > end combinations > (*) "attractive" ?? I don't know why - but I find the order produced by the first code fragment more easy to follow, and hence more "attractive". Call me a geek :-). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 10/09/2005 From userev at canelasoftware.com Mon Sep 12 15:22:11 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 12 Sep 2005 12:22:11 -0700 Subject: Problems with streaming audio In-Reply-To: <4DE3E4D3-AAEA-428C-A864-F501E6F43F02@mangomultimedia.com> References: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> <3f07cc26050911114761e9c2aa@mail.gmail.com> <4DE3E4D3-AAEA-428C-A864-F501E6F43F02@mangomultimedia.com> Message-ID: On Sep 12, 2005, at 11:31 AM, Trevor DeVore wrote: > Mark, > > Have you tried controlling streaming movies by setting playRate? > This has worked reliably in my tests and it fixed a problem that > one person had been having for 6 months. Just don't use start/stop > player. Trevor, I just tested using playRate and it works well. I could not replicate the problems with players that are created and set to play automatically. Thanks for the tip! I will update Bugzilla with this info. If you have a player with the controller visible, and the player is not started with the playRate command, then the problem returns. I supposed a frontscript could catch the clicking of the mouseUp on the controller's play button. I tied putting a mouseUp in the player itself. If you click on the movie portion, it works. If you click on the player button in the controller, it gives an error of: 5401 Bad State. This is a viable workaround for now though. Thanks! Mark Talluto -- CANELA Software http://www.canelasoftware.com From Cubist at aol.com Mon Sep 12 15:23:08 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 12 Sep 2005 15:23:08 EDT Subject: Complex Numbers & binary fractions Message-ID: <8b.2f70353c.30572f9c@aol.com> sez beat.c at hetnet.nl: >has anyone made a library for working with complex numbers? And is >willing to share this with me? I'm also looking for some code to >convert decimal fractions (i.e. 0.56384) to binary fractions. Haven't played with complex numbers, sorry. For converting decimal fractions to binary, however, something like this might work: function DecFrac2BinFrac TheFrac, ThePrecision # TheFrac is *assumed* to have nothing to the *left* of the decimal point # ThePrecision is *assumed* to be a positive integer # you can write the code to handle those cases yourself, if need be, right? if ThePrecision = "" or ThePrecision < 1 then put 10 into ThePrecision # so the user can just supply a fraction and not care set the numberFormat to "0.#####" #you want to make sure there's a leading 0 before the decimal put "." into Rezult repeat # yes, it's an infinite loop. the escape test will be inside it multiply TheFrac by 2 put char 1 of TheFrac after Rezult # because of numberFormat, char 1 here should be either 0 or 1 if the length of TheFrac > ThePrecision or TheFrac = 0 then exit repeat delete char 1 of TheFrac end repeat return Rezult end DecFrac2BinFrac You really do have to worry about the precision of the result. Most decimal fractions simply don't *have* exact representations in binary; unless you explicitly define the precision, thus telling the code when to bail out, any non-binary-exact decimal fractions will cause the code to grind along forever, or until the growing length of the binary representation overfills all available RAM. Not good. Hope this helps... From userev at canelasoftware.com Mon Sep 12 15:27:16 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 12 Sep 2005 12:27:16 -0700 Subject: Problems with streaming audio In-Reply-To: <4DE3E4D3-AAEA-428C-A864-F501E6F43F02@mangomultimedia.com> References: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> <3f07cc26050911114761e9c2aa@mail.gmail.com> <4DE3E4D3-AAEA-428C-A864-F501E6F43F02@mangomultimedia.com> Message-ID: <29F0995F-319C-4DAB-A763-D2750A183DF0@canelasoftware.com> > On Sep 12, 2005, at 11:31 AM, Trevor DeVore wrote: > > >> Mark, >> >> Have you tried controlling streaming movies by setting playRate? >> This has worked reliably in my tests and it fixed a problem that >> one person had been having for 6 months. Just don't use start/ >> stop player. >> > > Trevor, > > I just tested using playRate and it works well. I could not > replicate the problems with players that are created and set to > play automatically. Thanks for the tip! I will update Bugzilla > with this info. > > If you have a player with the controller visible, and the player is > not started with the playRate command, then the problem returns. I > supposed a frontscript could catch the clicking of the mouseUp on > the controller's play button. I tied putting a mouseUp in the > player itself. If you click on the movie portion, it works. If > you click on the player button in the controller, it gives an error > of: 5401 Bad State. > > This is a viable workaround for now though. Thanks! I also wanted to add that using setting the playRate property also speeds up the starting of streaming content to instant on! Starting the player on Macs could take up to 5 seconds to start. Mark Talluto -- CANELA Software http://www.canelasoftware.com From stephenREVOLUTION at barncard.com Mon Sep 12 15:52:22 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 12 Sep 2005 12:52:22 -0700 Subject: Weird problem and I'm not sure what the subject should be In-Reply-To: <67A2FCAA-6039-4F40-BEB9-0FA37F05A346@cableone.net> References: <67A2FCAA-6039-4F40-BEB9-0FA37F05A346@cableone.net> Message-ID: Chris, if you open the OSX package of your standalone (hold down the control key for options, then select "Show Package Contents" you will be inside the package. Open the folder "contents". Drag the file 'info.plist' onto any text editor such as TextEdit. Look for CFBundleVersion 2.6.5.108 I would think this is the version and engine info. sqb >Hi all, > >I'm not really sure if anyone can help or not, but I thought I'd ask a couple ... >So here's a question. Is there any way to tell from a standalone >application which version of Rev (or the engine version) that was >used when building it? If I can find that out with the original, I >can be sure to go back to the version of Rev used and at least try >that to see if I can get it working. And, > > >Thanks, >Chris From lists at mangomultimedia.com Mon Sep 12 16:03:13 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Sep 2005 13:03:13 -0700 Subject: Problems with streaming audio In-Reply-To: References: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> <3f07cc26050911114761e9c2aa@mail.gmail.com> <4DE3E4D3-AAEA-428C-A864-F501E6F43F02@mangomultimedia.com> Message-ID: <42374297-DFE3-4DF1-9BA9-09E0B3144E22@mangomultimedia.com> On Sep 12, 2005, at 12:22 PM, Mark Talluto wrote: > I just tested using playRate and it works well. I could not > replicate the problems with players that are created and set to > play automatically. Thanks for the tip! I will update Bugzilla > with this info. > > If you have a player with the controller visible, and the player is > not started with the playRate command, then the problem returns. I > supposed a frontscript could catch the clicking of the mouseUp on > the controller's play button. I tied putting a mouseUp in the > player itself. If you click on the movie portion, it works. If > you click on the player button in the controller, it gives an error > of: 5401 Bad State. > > This is a viable workaround for now though. Thanks! Hmm, that is unfortunate. It surprises me that using the QT controls breaks this. Anyway, I added message for streaming status to EnhancedQT. A player object can now receive the QTStatusMsg message whenever a movie updates the streaming status. You could roll your own controls with feedback this way. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From userev at canelasoftware.com Mon Sep 12 16:40:27 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 12 Sep 2005 13:40:27 -0700 Subject: Problems with streaming audio In-Reply-To: <42374297-DFE3-4DF1-9BA9-09E0B3144E22@mangomultimedia.com> References: <200509111836.j8BIaS1g029690@ms-smtp-01.rdc-nyc.rr.com> <3f07cc26050911114761e9c2aa@mail.gmail.com> <4DE3E4D3-AAEA-428C-A864-F501E6F43F02@mangomultimedia.com> <42374297-DFE3-4DF1-9BA9-09E0B3144E22@mangomultimedia.com> Message-ID: On Sep 12, 2005, at 1:03 PM, Trevor DeVore wrote: > On Sep 12, 2005, at 12:22 PM, Mark Talluto wrote: > >> I just tested using playRate and it works well. I could not >> replicate the problems with players that are created and set to >> play automatically. Thanks for the tip! I will update Bugzilla >> with this info. >> >> If you have a player with the controller visible, and the player >> is not started with the playRate command, then the problem >> returns. I supposed a frontscript could catch the clicking of the >> mouseUp on the controller's play button. I tied putting a mouseUp >> in the player itself. If you click on the movie portion, it >> works. If you click on the player button in the controller, it >> gives an error of: 5401 Bad State. >> >> This is a viable workaround for now though. Thanks! >> > > Hmm, that is unfortunate. It surprises me that using the QT > controls breaks this. Anyway, I added message for streaming status > to EnhancedQT. A player object can now receive the QTStatusMsg > message whenever a movie updates the streaming status. You could > roll your own controls with feedback this way. This is a cool! Thanks for all the work you do on your QT external. Mark Talluto -- CANELA Software http://www.canelasoftware.com From howard.bornstein at gmail.com Mon Sep 12 18:26:32 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 12 Sep 2005 18:26:32 -0400 Subject: Problems with streaming audio In-Reply-To: <200509121926.j8CJQGME003559@ms-smtp-03.rdc-nyc.rr.com> References: <200509121926.j8CJQGME003559@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc2605091215264702f32c@mail.gmail.com> On 9/12/05, Mark Talluto wrote: > > On Sep 12, 2005, at 11:31 AM, Trevor DeVore wrote: > > > Mark, > > > > Have you tried controlling streaming movies by setting playRate? > > This has worked reliably in my tests and it fixed a problem that > > one person had been having for 6 months. Just don't use start/stop > > player. > > Trevor, > > I just tested using playRate and it works well. I could not > replicate the problems with players that are created and set to play > automatically. Thanks for the tip! I will update Bugzilla with this > info. > > If you have a player with the controller visible, and the player is > not started with the playRate command, then the problem returns. I > supposed a frontscript could catch the clicking of the mouseUp on the > controller's play button. I tied putting a mouseUp in the player > itself. If you click on the movie portion, it works. If you click > on the player button in the controller, it gives an error of: 5401 > Bad State. > > This is a viable workaround for now though. Thanks! > Unfortunately, this is not working for me. When I tested on Windows 2000 with Rev 2.6, the Start Player command did not work, even though your tests showed it works under Windows. I get the same response as on the Mac--the player tries to connect and never does. Then, when I try using set the playRate to 1, Rev completely hangs and I have to force-quit. This was completely repeatable. Why would I be getting such different results as you? -- Regards, Howard Bornstein ----------------------- www.designeq.com From JimAultWins at yahoo.com Mon Sep 12 18:40:50 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 12 Sep 2005 15:40:50 -0700 Subject: replace, using regular expressions In-Reply-To: <1D6B534B0B0BB04999ED232B8DA8A52C1411A6@READNATSERVER.readnaturally.local> Message-ID: This should work for you and allow several variations and tests in the future. Paste code into a stack script and type ?runTest? in the msg box on runtest put "the first test [rnNF2] the second test [rnNF3] and the third test [rnNW3] are all here" into testIn answer testIn --put replaceText(testIn, "\[rnN([FWS])([1-8])\]", "[$2$1]") into testOut --answer testOut put matchFCN(testin) into testOut put matchText(testIn,"\[rnN([FWS])([1-8])\]", theSeason, theGrade) into gotPhone answer "gotPhone=" & gotPhone & ", theSeason=" & theSeason & ", theGrade=" & theGrade end runtest function matchFCN tempVer put 1 into ch1 put 0 into cnt repeat until ch1 = "" get matchchunk(tempVer,"\[rnN([FWS])([1-8])\]",ch1,ch2,ch3,ch4) if ch2 = ch1 then --first hit is a single char --now swap chars get char ch1 of tempVer put char ch3 of tempVer into char ch1 of tempVer put it into char ch3 of tempVer add 1 to cnt else --we got more than one char ?? end if end repeat subtract 1 from cnt if tempVer <> testIn then answer cnt & " changes were made" answer tempVer else answer "No changes were made" end if return tempVer end matchFCN Jim Ault Las Vegas On 9/12/05 6:41 AM, "peter lemay" wrote: > Hi. > > > > I want to do several replaces using a regular expression in Revolution. > > > > Here are two runable examples, but they both have problems. > > In these examples, I want these replacements: > > [rnNF2] replaced by [2F] > > [rnNF3] replaced by [3F] > > [rnNW3] replaced by [3W] > > > > The first example uses replaceText and works as a 'replace all'. But the > 3rd parameter is a literal. When I try this, the $1 and $2 do not > represent the (parenthesis-delimited) groups the way normal regex does. > > > > The second example uses matchText and only replaces the first instance. > I could probably use this in a repeat, but there should be a better way. > > > > Any suggestions? > > > > Pete > > > > *** > > put "the first test [rnNF2] the second test [rnNF3] and the third test > [rnNW3] are all here" into testIn > > answer testIn > > > > put replaceText(testIn, "\[rnN([FWS])([1-8])\]", "[$2$1]") into testOut > > answer testOut > > *** > > put matchText(testIn,"\[rnN([FWS])([1-8])\]", theSeason, theGrade) into > gotPhone > > > > answer "gotPhone=" & gotPhone & ", theSeason=" & theSeason & ", > theGrade=" & theGrade > > *** > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Mon Sep 12 18:50:40 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 12 Sep 2005 15:50:40 -0700 Subject: OSX, ftp, user, file access denied In-Reply-To: <141.4d0d2dc2.30557807@aol.com> Message-ID: Hello, I am using OSX in the FTP server mode with static IP to exchange client files from a Rev app in a remote office. If I setup a user on my computer (ftpGuy), files that land in this user area cannot be accessed by the Admin account. Setting up the Admin account FTP works, but this is not a secure arrangement. How can I allow the remote office to send/receive files with ftpGuy and access/move/open/delete/modify with the Admin account? By the way, I want to log on as ftpGuy, then switch user to Admin to operate so that ftpGuy is always running and working. Thanks Jim Ault Las Vegas From gandalf at doctorTimothyMiller.com Mon Sep 12 19:35:48 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 12 Sep 2005 16:35:48 -0700 Subject: slooooowww typing in fields Message-ID: Hi, Maybe my computer is just too slow. 466 G4, OS 10.3.9, 768 MB physical RAM. It's paradoxical, though. On some tasks, Rev is scary fast. Like lock message, lock screen, go to 1 card at a time in a big stack, looking for something specific. Practically instantaneous! At other times... I've complained before about the nightmarishly slow find and replace window -- if the stack has, say 300 cards, 100 fields per card, plus that many more buttons per card, and a lot of script. Today, I'm asking about something else. I often type quite a lot of text into a single scrolling field. Like if I'm keeping a lot of notes on one topic in some stack. Sometimes it works okay. At other times, there's a short delay from keyboard to screen. Sometimes the delay gets longer and longer, until the thing is just useless. Different things seem to get it moving along again. Saving the stack doesn't seem to do much -- maybe a little, sometimes. Exiting all other applications doesn't seem to do much. Saving and closing other stacks... I'm not sure. Inconsistent results, maybe. Quitting and restarting Rev usually helps. Whether I'm inserting text into the middle of a paragraph versus typing at the end of the field seems to make a difference. Bg and stack scripts are one giant scrolling field, it appears. The same thing happens sometimes, but not always, when working in a bg or stack script with lots of handlers, lots of text. What do I need to understand about this phenomenon? What's the trick to making it better? Oddly, nothing like this ever happened in hyperCard. Same computer, older OS. Yet Rev is supposed to be faster than HC, at least in some ways, and OS X is supposed to be faster than OS 9. I've heard that the right graphics card can speed up some Macintoshes running OS X. I'm told the graphics card will handle most of the number crunching necessary for the Aqua GUI, relieving the CPU and RAM of this chore. Would this help in my situation? I don't know much about my graphics card. It shipped with the machine. ATY,Rage 128 Pro, it says here. 16 MB VRAM. I don't know if that's a lot or a little. Would more physical RAM likely make a difference? I have an "activity monitor" utility. Rev doesn't seem to be maxxing out the RAM, even when other applications are running. But what do I know? Not much. Thanks in advance, Tim From europe at ehug.info Mon Sep 12 19:52:52 2005 From: europe at ehug.info (Mark Schonewille) Date: Tue, 13 Sep 2005 01:52:52 +0200 Subject: IBC2005 Amsterdam In-Reply-To: <4AF122BB-6AEE-465C-B6DC-31B8C9987532@openpartnership.net> References: <43048E2A.8080102@ehug.info> <4AF122BB-6AEE-465C-B6DC-31B8C9987532@openpartnership.net> Message-ID: <432614D4.1080708@ehug.info> Hi David, I plan to be at the IBC on tuesday 13th September, the last day of the conference. You and everyone else who is in Amsterdam at the moment and interested in meeting, please send me your contact information (at least e-mail address and phone number) as quickly as possible to . I will tell you where we will meet on tuesday morning. Best, Mark david bovill wrote: > I'd be interested in a talk... > > On 18 Aug 2005, at 15:33, Mark Schonewille wrote: > >> Hello, >> >> Are any multimediators going to IBC in Amsterdam? We might have a >> little meeting under eHUG's flag. >> >> If you register for the IBC2005 exhibition no later than 21st August, >> you can get your badge for free (exhibition only, not the >> conference). Look at http://www/ibc.org for more information. >> >> Additionally, I'd like to ask everyone who might be interested in a >> Revolution/xTalk conference in the Netherlands or Germany to contact >> me ASAP. >> >> Best, >> >> Mark >> >> P.S. I am not affiliated with IBC. >> >> -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From briany at qldlearning.com Mon Sep 12 20:23:05 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 12 Sep 2005 17:23:05 -0700 Subject: Problems with streaming audio In-Reply-To: <3f07cc2605091215264702f32c@mail.gmail.com> References: <200509121926.j8CJQGME003559@ms-smtp-03.rdc-nyc.rr.com> <3f07cc2605091215264702f32c@mail.gmail.com> Message-ID: <304f2f0a08a592ad7f21904287bec177@qldlearning.com> Howard, I believe the difference is that you need to avoid the "start player" command altogether. If you use playRate and only the playRate to start and stop the player, you may get better results... once you use "start" the damage may be done. Or are you restarting Rev in between trying "start" and "playRate"? HTH - Brian > Unfortunately, this is not working for me. When I tested on Windows > 2000 with Rev 2.6, the Start Player command did not work, even though > your tests showed it works under Windows. I get the same response as > on the Mac--the player tries to connect and never does. Then, when I > try using set the playRate to 1, Rev completely hangs and I have to > force-quit. This was completely repeatable. > > Why would I be getting such different results as you? From katir at hindu.org Mon Sep 12 20:50:43 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 12 Sep 2005 14:50:43 -1000 Subject: slooooowww typing in fields In-Reply-To: References: Message-ID: Confirmed here. I do the same thing often -- lots of text in single field... but when I say "a lot" let's be clear: we are still only talk about 10-14 k worth of characters. This mysterious "slow down to a crawl" also occurs to me and this is on the latest Apple powerbook: 10.4.2 1.67 GHz PowerPC with 1 GB of ram... On Sep 12, 2005, at 1:35 PM, Timothy Miller wrote: > Sometimes it works okay. At other times, there's a short delay from > keyboard to screen. Sometimes the delay gets longer and longer, > until the thing is just useless. Different things seem to get it > moving along again. Saving the stack doesn't seem to do much -- > maybe a little, sometimes. Exiting all other applications doesn't > seem to do much. Saving and closing other stacks... I'm not sure. > Inconsistent results, maybe. Quitting and restarting Rev usually > helps. Whether I'm inserting text into the middle of a paragraph > versus typing at the end of the field seems to make a difference. From katir at hindu.org Mon Sep 12 21:43:36 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 12 Sep 2005 15:43:36 -1000 Subject: Unicode Font Woes In-Reply-To: References: Message-ID: <1EBB0CE7-FDAD-4B56-9761-C36BE7D1703C@hindu.org> ????? ???? Aloha, Ron: I tried that too. I used a button with the traversal off, put this script in the button, then selected the text in the field and press the button: set the textfont of line 1 of fld "Tamil_Script" to "GIST-TMOTKalyani Bold Italic,Unicode" Nothing happens. no changes of glyphs for the Kalyani font, no crazy characters now (as when you select form the font menu) and no error msg. BUT the font displayed is still "InaiMathi" which is the default Tamil Font for Unicode on the Mac... but, and this is strange... if I query the field now put the textfont of line 1 of fld "Tamil_Script" it returns: GIST-TMOTKalyani Bold Italic,Unicode but InaiMathi is still appearing.. More news: my source says: "But there is a practical problem here. Most of the GIST Tamil Unicode fonts distributed free are meant for use on Windows PCs. Rendering of Tamil glyphs in Unicode is done differently in Windows (use a rendering engine called UNISCRIBE) as compared to Apple Mac (Mac uses ATSUI search engine to deal with Open Truetype fonts for Unicode." Perhaps this is part of the problem.. but these fonts appear fine in InDesign and BBedit... I working on repackaging these for the ATSUI engine... maybe that will fix it, but I still think this is a Rev Bug... if some apps show the font, but Rev doesn't... ?? Sivakatirswami On Sep 12, 2005, at 8:26 AM, ron barber wrote: > Hi > Are you selecting the text and then changing the font from the font > menu? This will not work with Unicode text. Try explicitly setting > the textfont to "Kalyani,Unicode" > > setting the font of unicode text from the menu does not work in its > current form. Someone please prove me wrong. > > HTH, > Ron > > > On Sep 11, 2005, at 9:11 PM, Sivakatirswami wrote: > > >> No one responded to my earlier query on Tamil font. Let me try >> again, simpler: >> >> Platform: OSX >> >> I have a field with unicode Tamil script, I enter a single >> characater, it defaults to InaiMathi Tamil font, which is in the >> Apple system. I select the character and change it to a different >> Unicode Tamil font, (Kalyani) it shows two square boxes for each >> of the two bytes instead of the proper glyph from the Kalyani font. >> >> If I type the same character in BBEdit or InDesign, select it and >> switch to Kalyani, the proper glyph is displayed. But not in >> Rev... if I query frorm the msg "put the textfont of char 1 to >> 2..." I get "Kalyani,unicode" if I query "put the charToNum of >> char 1 to 2 of fld "tamil Script" I get 2965: which *is* indeed >> the correct unicode, code point for this Tamil character... but >> the glyph for the character is not displayed! >> >> OK, I cut and past the two chars from Rev into BBEdit... and I get >> a weird character. using "Re-open using Encoding" and select >> Unicode, UTF-16 and presto, those two characters that I copied >> from rev appear as Kalyani in BBEdit... >> >> So before I bugzilla this... I just want to be very sure I'm not >> missing something. >> >> Fishing in the dark here: is Rev not capable of displaying Unicode >> UTF-16 characters? These are openType true type fonts... I true >> some other .otf fonts... roman... they all display correctly >> >> Sivakatirswami >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From userev at canelasoftware.com Tue Sep 13 00:25:04 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 12 Sep 2005 21:25:04 -0700 Subject: Problems with streaming audio In-Reply-To: <3f07cc2605091215264702f32c@mail.gmail.com> References: <200509121926.j8CJQGME003559@ms-smtp-03.rdc-nyc.rr.com> <3f07cc2605091215264702f32c@mail.gmail.com> Message-ID: <458CB82F-DB3C-44DC-98FC-5B8851D9C859@canelasoftware.com> On Sep 12, 2005, at 3:26 PM, Howard Bornstein wrote: > Unfortunately, this is not working for me. When I tested on Windows > 2000 with Rev 2.6, the Start Player command did not work, even though > your tests showed it works under Windows. I get the same response as > on the Mac--the player tries to connect and never does. Then, when I > try using set the playRate to 1, Rev completely hangs and I have to > force-quit. This was completely repeatable. > > Why would I be getting such different results as you? Are you able to play the video with the same rtsp address in QT itself? Maybe the address or the server is the problem. Mark Talluto -- CANELA Software http://www.canelasoftware.com From jsng at wayoflife.org Tue Sep 13 00:41:16 2005 From: jsng at wayoflife.org (Jesse Sng) Date: Tue, 13 Sep 2005 12:41:16 +0800 Subject: RunRev & PDAs In-Reply-To: <20050912092917.1nsdkwfvcc8o4wo0@webmail.armbase.com> References: <20050911131038.59859824E94@mail.runrev.com> <432444DB.1080002@harryscollar.com> <20050912092917.1nsdkwfvcc8o4wo0@webmail.armbase.com> Message-ID: >One application I urge people to try is CASL www.caslsoft.com Wow, I haven't seen anything about CASL for a number of years and it's definitely progressed quite a bit. The ability to target the app to Windows, Palm and PocketPC is impressive. I would much rather work in xTalk though. Jesse From rp011s7075 at blueyonder.co.uk Tue Sep 13 05:09:11 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Tue, 13 Sep 2005 10:09:11 +0100 Subject: slooooowww typing in fields Message-ID: <440F4775-BBEC-425B-BB33-B3DE0C620F10@blueyonder.co.uk> Hi Tim, > Sometimes it works okay. At other times, there's a short delay from > keyboard to screen. Sometimes the delay gets longer and longer, > until the thing is just useless. Quitting and restarting > Rev usually helps. Whether I'm inserting text into the middle of a > paragraph versus typing at the end of the field seems to make a > difference. Similar behaviour here (ibook g4). When this happens, I save, close revolution and restart. This usually does the trick. > Bg and stack scripts are one giant scrolling field, it appears. The > same thing happens sometimes, but not always, when working in a bg > or stack script with lots of handlers, lots of text. Yep, that happens too. Note you can always check how busy your computer is processing applications (that is the %CPU) using the "top" command in the unix terminal. Even when not in use, Revolution takes a large amount of CPU. (in contrast with most applications, which go back to zero or about when in the background). Marielle From rp011s7075 at blueyonder.co.uk Tue Sep 13 05:26:52 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Tue, 13 Sep 2005 10:26:52 +0100 Subject: Editing of table objects Message-ID: <10519FD5-1230-4107-8544-E7FF3873C668@blueyonder.co.uk> I don't remember this has been evoked recently. In rev 2.6, when I created a table object, with cell editing on. When I edit it with the browse tool is on (running mode), it does crap. Basically, it adds to the end of the table data that had been there before but had been deleted in the meantime (sometimes 2 edits ago). When I edit the content in development mode, then go back to running mode and edit a cell again, it does the same again, updating the table with data dating from prior the manual editing. I have used tables before but had never noticed that (but I believe I had never left the cell editing on before). Anybody with similar problems? Marielle ------------------------------------------------------------------------ --------------- Lexicall: http://lexicall.org Revolution-education: http://revolution.lexicall.org From dburgun at dsl.pipex.com Tue Sep 13 07:51:17 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 13 Sep 2005 12:51:17 +0100 Subject: Geometry Problem In-Reply-To: <057FF5A2-072F-4EF6-8621-17CAD5280FFA@sosmartsoftware.com> References: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> <8740EFEF-0350-4233-A834-8ADA532DD15B@fireworksmm.com> <057FF5A2-072F-4EF6-8621-17CAD5280FFA@sosmartsoftware.com> Message-ID: Hi, Thanks a lot! It works fine now! Really good tutorial! All the Best Dave >Hi Dave, > >You could be interested in the "How to Manage Resizing" tutorial >(available from Tutorials Picker on my website) and especially by >the Tips and Tricks" section. >Note that the cRevGeometry properties are updated by Rev when you >move a control with the mouse, change its coordinates in the >properties inspector but not when you move it with the arrow keys :-( > >Best Regards from Paris, > >Eric Chatonet. > >Le 12 sept. 05 ? 18:21, David Burgun a ?crit : > >>Hi, >> >>I have just spent ages adjusting all the Geometry settings of a >>stack, all was well but somehow the Stack size managed to become >>bigger than when the objects were placed on the card, so now I have >>a big gap between the row of buttons at the bottom of the window >>and when I try to make set the stack size back to the correct >>settings, the objects all scale/move incorrectly? >> >>How can I fix this? I have tried moving the buttons to the bottom >>of the window and then resizing the stack, but they just jump back >>to the original position. >> >>Any help on this would be greatly appreciated. >>All the Best >>Dave > > >---------------------------------------------------------------- >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 > >Free plugins and tutorials on my website >---------------------------------------------------------------- >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 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Mon Sep 12 14:11:35 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 12 Sep 2005 19:11:35 +0100 Subject: Little maths question In-Reply-To: <64878EF567131D4596246171F75FD4A9968249@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9968249@m-epo-1.epo.cdc.gov> Message-ID: Well, ultimately I wouldn't want 1,2,3,4 and 2,3,4,1, but I could handle whittling it down to what I need. I just can't see a good way to generate the exhaustive list in the first place. Cheers, Mark On 12 Sep 2005, at 18:36, Lynch, Jonathan wrote: > Do they have to be in order? > > Would 1,4,2,3 also count? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark > Smith > Sent: Monday, September 12, 2005 9:34 AM > To: How to use Revolution > Subject: Little maths question > > This is probably really easy, but I'm so stupid when it comes to maths > that I can't figure it out: > > Given a list of any number of lines, how can I generate a list of every > possible combination of those lines ie. > > 1 > 2 > 3 > 4 > > would give: > > 1 > 2 > 3 > 4 > 1,2 > 1,3 > 1,4 > 2,3 > 2,4 > 3,4 > 1,2,3 > 1,3,4 > 2,3,4 > 1,2,3,4 > (this is from my thick head, so may not be complete, but you get the > idea...) > > Thanks, > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Mon Sep 12 15:19:49 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 12 Sep 2005 20:19:49 +0100 Subject: Little maths question In-Reply-To: <4325D32A.1010900@tweedly.net> References: <6d51168dc265b3fa178aa0e4ac379589@maseurope.net> <4325D32A.1010900@tweedly.net> Message-ID: Fantastic! I thought it had to be recursive...but when I started thinking about it, numbers started dancing uncontrollably (and unintelligibly) in front of my eyes. Thanks! Mark On 12 Sep 2005, at 20:12, Alex Tweedly wrote: > Mark Smith wrote: > >> This is probably really easy, but I'm so stupid when it comes to >> maths that I can't figure it out: >> >> Given a list of any number of lines, how can I generate a list of >> every possible combination of those lines ie. >> > Here's a way to generate all combinations of the numbers - you can go > from there to lines (or whatever) ... > >> function combinations pNum >> local tRes, temp, L >> if pNum <= 1 then >> return 1 & cr >> end if >> put combinations(pNum-1) into temp >> repeat for each line L in temp >> put L & cr after tRes >> end repeat >> put pNum & cr after tRes >> repeat for each line L in temp >> put L & comma & pNum & cr after tRes >> end repeat >> return tRes >> end combinations >> > or you can do it slightly more tersely and efficiently, but in a less > attractive order (*) as > >> function combinations pNum >> local tRes, temp, L >> if pNum <= 1 then >> return 1 & cr >> end if >> put combinations(pNum-1) into temp >> repeat for each line L in temp >> put L & comma & pNum & cr after tRes >> put L & cr after tRes >> end repeat >> return tRes & pNum & cr >> end combinations >> > > (*) "attractive" ?? I don't know why - but I find the order produced > by the first code fragment more easy to follow, and hence more > "attractive". Call me a geek :-). > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: > 10/09/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Tue Sep 13 05:56:47 2005 From: mark at maseurope.net (Mark Smith) Date: Tue, 13 Sep 2005 10:56:47 +0100 Subject: slooooowww typing in fields In-Reply-To: <440F4775-BBEC-425B-BB33-B3DE0C620F10@blueyonder.co.uk> References: <440F4775-BBEC-425B-BB33-B3DE0C620F10@blueyonder.co.uk> Message-ID: I just ran top, (OS 10.3.9), with Rev open, and CPU is 0.0% for Rev - are there prefs or options in Rev that keep the CPU busy? Mark On 13 Sep 2005, at 10:09, Marielle Lange wrote: > Note you can always check how busy your computer is processing > applications (that is the %CPU) using the "top" command in the unix > terminal. Even when not in use, Revolution takes a large amount of > CPU. (in contrast with most applications, which go back to zero or > about when in the background). From phmusy at hotmail.com Tue Sep 13 10:13:13 2005 From: phmusy at hotmail.com (Philippe Musy) Date: Tue, 13 Sep 2005 07:13:13 -0700 Subject: Hey Use-revolution ;) Message-ID: <1591907659.1126620792093.JavaMail.root@beesuitman> Philippe Musy has invited you to join hi5. By joining hi5, you will be connected to Philippe and all of Philippe's friends. hi5 is the place where friends meet. You can use hi5 for the following purposes: * Find old friends * Meet new people * Browse photos Join Philippe, meet Philippe's friends, and meet people that share your interests now! Click here: http://www.hi5.com/register/HLSTO?inviteId=FT7DDJM7IJ37920934u0 This invitation was sent to use-revolution at lists.runrev.com on behalf of Philippe Musy (phmusy at hotmail.com). If you do not wish to receive invitations from hi5 members, click on the link below: http://www.hi5.com/friend/displayBlockInvite.do?inviteId=FT7DDJM7IJ37920934u0 From rp011s7075 at blueyonder.co.uk Tue Sep 13 10:21:37 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Tue, 13 Sep 2005 15:21:37 +0100 Subject: Spelling check Message-ID: Hi Xavier, To improve your spell checker, in case you haven't used it yet: Levenshtein Distance http://www.merriampark.com/ld.htm "Levenshtein distance (LD) is a measure of the similarity between two strings, which we will refer to as the source string (s) and the target string (t). The distance is the number of deletions, insertions, or substitutions required to transform s into t. " Marielle ------------------------------------------------------------------------ ---------------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From revlist at cableone.net Tue Sep 13 10:54:18 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 13 Sep 2005 08:54:18 -0600 Subject: Weird problem and I'm not sure what the subject should be In-Reply-To: References: <67A2FCAA-6039-4F40-BEB9-0FA37F05A346@cableone.net> Message-ID: Yes, thank you. Turns out the app was built with Rev 2.2. I didn't realize that. And, sure enough, when I rebuilt it with 2.2 (well 2.2.1 actually), it worked perfectly. So there are some weird issues that happened with both revCopyFile and revCopyFolder somewhere between 2.2.1 and 2.5. Does anyone have some extra info on this? Are these issues already in Bugzilla? If not, I will submit them. Chris On Sep 12, 2005, at 1:52 PM, Stephen Barncard wrote: > Chris, if you open the OSX package of your standalone (hold down > the control key for options, then select "Show Package Contents" > you will be inside the package. Open the folder "contents". Drag > the file 'info.plist' onto any text editor such as TextEdit. Look for > CFBundleVersion > 2.6.5.108 > > I would think this is the version and engine info. > > sqb > > >> Hi all, >> >> I'm not really sure if anyone can help or not, but I thought I'd >> ask a couple >> > > ... > > >> So here's a question. Is there any way to tell from a standalone >> application which version of Rev (or the engine version) that was >> used when building it? If I can find that out with the original, >> I can be sure to go back to the version of Rev used and at least >> try that to see if I can get it working. And, >> >> >> Thanks, >> Chris >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From devinasay at gmail.com Tue Sep 13 10:56:53 2005 From: devinasay at gmail.com (Devin Asay) Date: Tue, 13 Sep 2005 08:56:53 -0600 Subject: Unicode Font Woes In-Reply-To: <1EBB0CE7-FDAD-4B56-9761-C36BE7D1703C@hindu.org> References: <1EBB0CE7-FDAD-4B56-9761-C36BE7D1703C@hindu.org> Message-ID: <8E092725-9DA6-409E-9434-A14F443D9E52@byu.edu> Sivakatirswami, I have a suspicion that your Unicode problems are related to a larger issue that affects unicode rendering in general. If you haven't already, consider voting for Bugzilla bugs 2489, 2493, 2497, 2998, 3022, 3023 and 3085. There may be others. The more votes we get on these issues, the sooner they will get attention. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From gregory.lypny at videotron.ca Tue Sep 13 11:16:06 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 13 Sep 2005 11:16:06 -0400 Subject: Stack's Name Being Changed When Used as CGI Message-ID: Hello everyone, I'm using a stack as a CGI. It's my first try and has been going well so far. I have the stack open when I'm writing CGI handlers, and I test those CGIs at the same time by submitting forms to be processed from my web browser. Naturally, this leads to some anomalies in that a CGI handler may save the stack, but the results are obviously not visible to me in the instance of the stack I'm actually editing. When I then try to save the stack I'm working on, that is, after submitting a test web form, I sometimes get an error from Revolution telling me that it can't access the stack in question. The reason for this appears to be that a tilde has been appended to the stack's name, so that myCGIStack.rev has become myCGIStack.rev~. I just want to confirm that this is the result of me working on the open stack at the same time that web calls are being made and not some sort of bug. Can anyone confirm this? Regards, Greg From ambassador at fourthworld.com Tue Sep 13 12:12:35 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Sep 2005 09:12:35 -0700 Subject: Stack's Name Being Changed When Used as CGI In-Reply-To: References: Message-ID: <4326FA73.9060907@fourthworld.com> Gregory Lypny wrote: > Hello everyone, > > I'm using a stack as a CGI. It's my first try and has been going > well so far. I have the stack open when I'm writing CGI handlers, and > I test those CGIs at the same time by submitting forms to be processed > from my web browser. Naturally, this leads to some anomalies in that a > CGI handler may save the stack, but the results are obviously not > visible to me in the instance of the stack I'm actually editing. When > I then try to save the stack I'm working on, that is, after submitting > a test web form, I sometimes get an error from Revolution telling me > that it can't access the stack in question. The reason for this > appears to be that a tilde has been appended to the stack's name, so > that myCGIStack.rev has become myCGIStack.rev~. I just want to confirm > that this is the result of me working on the open stack at the same > time that web calls are being made and not some sort of bug. Can > anyone confirm this? The stackName~ file is a copy of your stack file made as an automatic backup during saving. Normally it's deleted as soon as a save is safely completed, but if a save was interrupted the file is there as a backup (another great feature of stackfiles that make them great for storing user data). -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From david at openpartnership.net Tue Sep 13 12:13:48 2005 From: david at openpartnership.net (david bovill) Date: Tue, 13 Sep 2005 18:13:48 +0200 Subject: OPML - export In-Reply-To: References: Message-ID: <43C76116-D767-4587-B36F-8563B85EA691@openpartnership.net> Has anyone got any scripts for converting tabbed outlines to XML / OPML.... I hate writing recursive functions :) From chris at carroll-davis.co.uk Tue Sep 13 12:23:47 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Tue, 13 Sep 2005 17:23:47 +0100 Subject: Displaying PDF - Help! Urgent!! Message-ID: <519A7FEA-A60B-4B6D-A171-0F6B3BBE1DF6@carroll-davis.co.uk> Hello folks - I'm doing a quick 'n' dirty menu front-end for a CD and need to be able to display a multi-page PDF document. On Mac I'll just open it with "Preview" - but I need to know what is equivalent on PC. (I am a Windows dunce...) I have to do this tonight!! Gulp! Chris From kray at sonsothunder.com Tue Sep 13 12:28:49 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 13 Sep 2005 11:28:49 -0500 Subject: Displaying PDF - Help! Urgent!! In-Reply-To: <519A7FEA-A60B-4B6D-A171-0F6B3BBE1DF6@carroll-davis.co.uk> Message-ID: On 9/13/05 11:23 AM, "Chris Carroll-Davis" wrote: > Hello folks - > > I'm doing a quick 'n' dirty menu front-end for a CD and need to be > able to display a multi-page PDF document. On Mac I'll just open it > with "Preview" - but I need to know what is equivalent on PC. (I am > a Windows dunce...) Chris, The person on Windows needs to have a PDF viewing application like Adobe Reader installed in order to view PDFs (AFAIK). So unless you have a license to redistribute Adobe Reader, you should point people to the Adobe web site for the free download: http://www.adobe.com/products/acrobat/readstep2.html HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Tue Sep 13 12:42:51 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 13 Sep 2005 09:42:51 -0700 Subject: Poke a Shell Variable with xTalk? In-Reply-To: <2AEB19E8-25EE-457E-9139-93F0AB5D296B@hindu.org> Message-ID: I am not a shell or *nix guy, but I did find this today. Shows what and how to create variables (poke) At the bottom of the tech note on this Apple page updated for Tiger: http://developer.apple.com/technotes/tn2002/tn2065.html --snip-- Q: Where does the shell environment come from ? environment variables, working directory, and so on? A: do shell script inherits the environment of its parent process. Because of how scripting additions like do shell script work, the parent process is the application for the tell block surrounding the do shell script call. If there is no surrounding tell block, or if you tell me, the parent is the application running the script. The environment covers the working directory, any environment variables, and several other attributes ? see the execve(2) man page for a complete list. As mentioned in Issuing Commands, do shell script does not read the configuration files that an interactive shell running in Terminal would. Any application launched from the Finder gets the same default environment: a working directory of / and the environment variables HOME, LANG, PATH, USER, and SHELL. (You can define more environment variables if you wish; see Technical Q&A QA1067, Setting environment variables for user processes for details.) Most applications do not change their environment, but relying on this is a maintenance risk. osascript(1) inherits its environment from the shell it?s run from: the working directory is the working directory of the shell; any environment variables defined in the shell will also be defined in osascript, and therefore in do shell script. For example: $ VAR=something; export VAR $ osascript -e 'do shell script "echo $VAR"' something sh defines a number of environment variables of its own, but those are the same no matter how it?s run. On 9/12/05 10:52 AM, "Sivakatirswami" wrote: > Can we pass data from a local variable in Revolution to a variable in > shell.? How? > > eg. > > in shell > > cat < test > test > test >>> some_variable > > gives us "$some_variable" > > where > > echo $some_variable #gives us > > test > test > test > > > > now what we want to do is > > put "Greetings to all innovative Revolutionaries" into tGreeting > > [pseudo code here:] > > put tGreeting into $Greeting > > set the shellcommand to "/bin/sh" > put "cat $Greeting" & " | sendmail -f hpi.list at hindu.org " & (fld > "to" of cd "staticText") into tCmd > > put shell(tCmd) into tResult > > # where the contents of $Greeting is piped to sendmail... > > I know we can read $ variable from the system, but can we create and > poke them? > > TIA > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 36degrees at runrev.com Tue Sep 13 12:52:36 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Tue, 13 Sep 2005 17:52:36 +0100 Subject: Poke a Shell Variable with xTalk? In-Reply-To: <2AEB19E8-25EE-457E-9139-93F0AB5D296B@hindu.org> References: <2AEB19E8-25EE-457E-9139-93F0AB5D296B@hindu.org> Message-ID: <1126630356.3832.144.camel@rachmaninov> You can both read and write to shell variables in Revolution. So the following: put foo into $FOO put shell("echo $FOO") Results in what you would expect in the message-box :o) In other-words, what you are trying to do should work fine... Hope this helps! Mark. On Mon, 2005-09-12 at 07:52 -1000, Sivakatirswami wrote: > Can we pass data from a local variable in Revolution to a variable in > shell.? How? > > eg. > > in shell > > cat < test > test > test > >>some_variable > > gives us "$some_variable" > > where > > echo $some_variable #gives us > > test > test > test > > > > now what we want to do is > > put "Greetings to all innovative Revolutionaries" into tGreeting > > [pseudo code here:] > > put tGreeting into $Greeting > > set the shellcommand to "/bin/sh" > put "cat $Greeting" & " | sendmail -f hpi.list at hindu.org " & (fld > "to" of cd "staticText") into tCmd > > put shell(tCmd) into tResult > > # where the contents of $Greeting is piped to sendmail... > > I know we can read $ variable from the system, but can we create and > poke them? > > TIA > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > 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 subzero569 at gmail.com Tue Sep 13 13:17:16 2005 From: subzero569 at gmail.com (subzero569) Date: Tue, 13 Sep 2005 13:17:16 -0400 Subject: Gradient Fills in WinXP - Revisited! Message-ID: <8f8651c105091310172f38d5ac@mail.gmail.com> I have exhaustively searched the archived posts for information on gradient fills. A few posts made references to creating a gradient fill via scripting. I am a novice Rev programmer and do not claim to be a mathematician so I am having a tough time with this problem. Basically, I have a rectangle graphic generated with a red fill. I want to change this solid fill from plain red to a gradient of Red to Orange. Example: Bottom color of rectangle would be an RGB value of Red: 255,0,0 and the top color would end with Orange: 255,128,0. Is there a way to possibly make the gradient fill in this rectangle using Rev to generate the graphic rectangle? Also, this will only be used on WinXP and images aren't an option at the present time for creating gradient fills. As always, I appreciate the assistance I receive from the group. Someday in the near future I will graduate from asking questions to answering questions in this forum. TIA, Josh -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From got at mindspring.com Tue Sep 13 13:17:55 2005 From: got at mindspring.com (Gordon Tillman) Date: Tue, 13 Sep 2005 12:17:55 -0500 Subject: Displaying PDF - Help! Urgent!! In-Reply-To: <519A7FEA-A60B-4B6D-A171-0F6B3BBE1DF6@carroll-davis.co.uk> References: <519A7FEA-A60B-4B6D-A171-0F6B3BBE1DF6@carroll-davis.co.uk> Message-ID: Chris it's best to let the particular operating system decide the best way to open a PDF doc (as well as other types of docs as well). > Hello folks - > > I'm doing a quick 'n' dirty menu front-end for a CD and need to be > able to display a multi-page PDF document. On Mac I'll just open > it with "Preview" - but I need to know what is equivalent on PC. > (I am a Windows dunce...) > > I have to do this tonight!! Gulp! > > Chris Here is a snippet of code for Mac OS X and Windows (95 through XP). You may need to tweak it a bit but it will give you the idea - I don't have any versions of Windows older than XP handy to check it on: Bonjour IM with Gordon Tillman . 12:17 lll on mouseUp local tPdfFile answer file "Select a PDF document" put it into tPdfFile if tPdfFile is empty then exit mouseUp if the platform is "MacOS" and char 1 to 2 of the systemVersion is "10" then openMac tPdfFile else if the platform is "Win32" then get the shortFilePath of tPdfFile replace "/" with "\" in it if the systemVersion contains "Windows 4" then openWin4 it else if the systemVersion contains "NT" then openWin5 it end if end if end mouseUp on openMac pPdfDoc -- /usr/bin/open get shell("/usr/bin/open '" & pPdfDoc & "'" ) end openMac on openWin4 pPdfDoc -- cmd /c get shell("cmd /c" && pPdfDoc ) end openWin4 on openWin5 pPdfDoc -- start put shell("start" && pPdfDoc ) end openWin5 --gordy From jacque at hyperactivesw.com Tue Sep 13 13:19:29 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Sep 2005 12:19:29 -0500 Subject: Scripting conference - Multimedia stack uploaded Message-ID: <43270A21.3070404@hyperactivesw.com> The stack for this Saturday's scripting conference is now available for you to download and study before we meet. Our topic this week is Multimedia, which is particularly timely, given the recent questions on the mailing list about streaming movies. Our speaker this week is Trevor DeVore who is very well qualified for this conference; his stack is filled with a wealth of examples and demos. Anyone who needs to work with images, audio, or movies will want to download this conference stack. The Multimedia scripting conference will be held this Saturday at 1126972800 seconds. To find the time for your location and time zone, run this in the message box: get 1126972800;convert it to system date and time;put it See you there! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tjframe at gmail.com Tue Sep 13 13:24:24 2005 From: tjframe at gmail.com (TJ Frame) Date: Tue, 13 Sep 2005 10:24:24 -0700 Subject: Calculating points of a mega circle.. Message-ID: <7348a9e80509131024747cc944@mail.gmail.com> Hi folks Anyone know how I would calculate the points of a circle given a specific number of required points and a massive radius. For example I'm looking to generate a list of 7200 points that describe a circle with a radius of 999999 Any ideas how to go about this? Thanks, - TJ From ambassador at fourthworld.com Tue Sep 13 13:41:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Sep 2005 10:41:15 -0700 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <8f8651c105091310172f38d5ac@mail.gmail.com> References: <8f8651c105091310172f38d5ac@mail.gmail.com> Message-ID: <43270F3B.9050801@fourthworld.com> subzero569 wrote: > I have exhaustively searched the archived posts for information on gradient > fills. A few posts made references to creating a gradient fill via > scripting. I am a novice Rev programmer and do not claim to be a > mathematician so I am having a tough time with this problem. > > Basically, I have a rectangle graphic generated with a red fill. I want to > change this solid fill from plain red to a gradient of Red to Orange. > Example: Bottom color of rectangle would be an RGB value of Red: 255,0,0 and > the top color would end with Orange: 255,128,0. Is there a way to possibly > make the gradient fill in this rectangle using Rev to generate the graphic > rectangle? Also, this will only be used on WinXP and images aren't an option > at the present time for creating gradient fills. > > As always, I appreciate the assistance I receive from the group. Someday in > the near future I will graduate from asking questions to answering questions > in this forum. There's a gradient tool in devolution: Images are perhaps the only way to make a gradient dynamically, as you'll need to modify the image data directly to do it. The method used in devo is fairly efficient, taking advantage of the ability to "stretch" an image: it only generates a gradient that's 16 pixels wide, so when stretched horizontally it maintains the same appearance but contains only a small amount of image data. The gradient tool in devo also makes vertical gradients. To use, select an image object, open the gradient tool, and adjust the sliders. Double-clicking on either of the slider handles will bring up the OS GetColor dialog to select the colors. The tool updates the image immediately after option -- one of the advantages of using the "stretch" method is that it not only takes less RAM, but is also pretty quick. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From got at mindspring.com Tue Sep 13 13:42:54 2005 From: got at mindspring.com (Gordon Tillman) Date: Tue, 13 Sep 2005 12:42:54 -0500 Subject: Calculating points of a mega circle.. In-Reply-To: <7348a9e80509131024747cc944@mail.gmail.com> References: <7348a9e80509131024747cc944@mail.gmail.com> Message-ID: <884585F0-4685-4D9D-B089-DF0400A0B99A@mindspring.com> Hi TJ, > Hi folks > Anyone know how I would calculate the points of a circle given a > specific > number of required points and a massive radius. For example I'm > looking to > generate a list of 7200 points that describe a circle with a radius of > 999999 > Any ideas how to go about this? > Thanks, > - TJ Something like this would do it... --gordy function getCirclePoints pXOrigin, pYOrigin, pNumPoints, pRadius local tIncr, tTheta, tTwoPi, tX, tY, tPoints put pi * 2 into tTwoPi put tTwoPi / pNumPoints into tIncr put 0 into tTheta repeat pNumPoints times put pRadius * cos(tTheta) + pXOrigin into tX put pRadius * sin(tTheta) + pYOrigin into tY put tX & "," & tY & return after tPoints add tIncr to tTheta end repeat return tPoints end getCirclePoints From b.xavier at internet.lu Tue Sep 13 13:48:46 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 19:48:46 +0200 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <8f8651c105091310172f38d5ac@mail.gmail.com> Message-ID: <20050913172645.B66B2824EE5@mail.runrev.com> Hi Josh check out my excellent utility GradientsNO2... http://www.monsieurx.com/modules.php?name=News&file=article&sid=161 cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of subzero569 Sent: Tuesday, September 13, 2005 7:17 PM To: use-revolution at lists.runrev.com Subject: Gradient Fills in WinXP - Revisited! I have exhaustively searched the archived posts for information on gradient fills. A few posts made references to creating a gradient fill via scripting. I am a novice Rev programmer and do not claim to be a mathematician so I am having a tough time with this problem. Basically, I have a rectangle graphic generated with a red fill. I want to change this solid fill from plain red to a gradient of Red to Orange. Example: Bottom color of rectangle would be an RGB value of Red: 255,0,0 and the top color would end with Orange: 255,128,0. Is there a way to possibly make the gradient fill in this rectangle using Rev to generate the graphic rectangle? Also, this will only be used on WinXP and images aren't an option at the present time for creating gradient fills. As always, I appreciate the assistance I receive from the group. Someday in the near future I will graduate from asking questions to answering questions in this forum. TIA, Josh -- Inch by inch, life is a cinch. Yard by yard, life is very hard. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Tue Sep 13 13:50:27 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 19:50:27 +0200 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <8f8651c105091310172f38d5ac@mail.gmail.com> Message-ID: <20050913172821.E98BC824EA1@mail.runrev.com> im so distracted by the loss of my 80gb drive and all its data I almost forgot last month's project updates on moireX volume 3 which does some really incredible gradients... still first story on http://monsieurx.com cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of subzero569 Sent: Tuesday, September 13, 2005 7:17 PM To: use-revolution at lists.runrev.com Subject: Gradient Fills in WinXP - Revisited! I have exhaustively searched the archived posts for information on gradient fills. A few posts made references to creating a gradient fill via scripting. I am a novice Rev programmer and do not claim to be a mathematician so I am having a tough time with this problem. Basically, I have a rectangle graphic generated with a red fill. I want to change this solid fill from plain red to a gradient of Red to Orange. Example: Bottom color of rectangle would be an RGB value of Red: 255,0,0 and the top color would end with Orange: 255,128,0. Is there a way to possibly make the gradient fill in this rectangle using Rev to generate the graphic rectangle? Also, this will only be used on WinXP and images aren't an option at the present time for creating gradient fills. As always, I appreciate the assistance I receive from the group. Someday in the near future I will graduate from asking questions to answering questions in this forum. TIA, Josh -- Inch by inch, life is a cinch. Yard by yard, life is very hard. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Tue Sep 13 14:02:04 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 20:02:04 +0200 Subject: Spelling check In-Reply-To: Message-ID: <20050913173958.506D4824EB7@mail.runrev.com> >To improve your spell checker, in case you haven't used it yet: >Levenshtein Distance >http://www.merriampark.com/ld.htm Hi Marielle, Im not sure web emails come trough the lists filter hounds and many moderators ;) high 5 we don't get too much spam eh? ;) So sorry if this is a repeat, I added some details as a bonus... Actually I saw the Levenshtein Distance mentioned in wikipedia the first day I checked for spell suggestions algorithms but the priority was for a functional spell checker GUI which is what is coming soon to you. I got more features coming too than I could script in one weeks' time remaining on this horrible holliday... Believe it or not, after a week long of harsh (really harsh) cold+bronchitis, it was all ready last night for seeding and all of a sudden, my 80 gb drive went belly up taking the other drives' bootblocks along... Well, I didn't need this now but c'est la vie and the drive is still on waranty! I had most of it on backups too (I think)... I can't tell you how hard it's been writing that spellthing without a major pain behind my back... Watch your email within the hour... Those who wrote regarding a test version, you'll get it sooner than later... Fortunately I had a backup of last months mails... the rest is just lost and GONE! But my Rev projects didn't die! ahaaaa - after some 3 rev crashes a day last week I can't tell you how soothing that is... cheers Xavier From dburgun at dsl.pipex.com Tue Sep 13 14:07:08 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 13 Sep 2005 19:07:08 +0100 Subject: Standalone Menu Question In-Reply-To: <20050913173958.506D4824EB7@mail.runrev.com> References: <20050913173958.506D4824EB7@mail.runrev.com> Message-ID: Hi, I have a stack that does not use a menu bar, just one window with controls. When I make a standalone, RunRev adds a simple menu bar, which just has the application menu in it. My question is, how can I honour the "About Box" enrty? All I want to be able to do is it have the first entry say "About My Application" and when selected to be able to display an About Box? Can I do this without creating a menu bar etc.? Thanks a lot Dave From kray at sonsothunder.com Tue Sep 13 14:19:28 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 13 Sep 2005 13:19:28 -0500 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <20050913172645.B66B2824EE5@mail.runrev.com> Message-ID: On 9/13/05 12:48 PM, "MisterX" wrote: > Hi Josh > > check out my excellent utility GradientsNO2... > > http://www.monsieurx.com/modules.php?name=News&file=article&sid=161 Xavier - it seems you tool only lets you work on 2 or more objects at once... how to you assign a gradient to a single graphic rectangle? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Tue Sep 13 14:23:58 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Sep 2005 13:23:58 -0500 Subject: Stack's Name Being Changed When Used as CGI In-Reply-To: References: Message-ID: <4327193E.7010502@hyperactivesw.com> Gregory Lypny wrote: > Hello everyone, > > I'm using a stack as a CGI. It's my first try and has been going > well so far. I have the stack open when I'm writing CGI handlers, and > I test those CGIs at the same time by submitting forms to be processed > from my web browser. Naturally, this leads to some anomalies in that a > CGI handler may save the stack, but the results are obviously not > visible to me in the instance of the stack I'm actually editing. When > I then try to save the stack I'm working on, that is, after submitting > a test web form, I sometimes get an error from Revolution telling me > that it can't access the stack in question. The reason for this > appears to be that a tilde has been appended to the stack's name, so > that myCGIStack.rev has become myCGIStack.rev~. I just want to confirm > that this is the result of me working on the open stack at the same > time that web calls are being made and not some sort of bug. Can > anyone confirm this? When Revolution saves it stack, it first renames the original with a tilde in front of the name. Then it tries to create new stack that contains your changes and saves that. If the save is successful, it deletes the tilde copy. If the save does not succeed, you still have the tilde copy as a backup; all you have to do is remove the tilde from the name and you are back in business (minus your most recent changes.) If you are finding the tilde copy on your drive, that tells you that the save was not successful. You'll need to investigate why Rev can't save the stack. With CGIs, the most likely issue is permissions. For security reasons, CGI folders generally don't allow new files to be created inside of them. You can change the folder permissions so that new files can be created but that will open a security hole. You may be better off storing your stack in a different folder that does allow normal file operations. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Tue Sep 13 14:26:48 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 20:26:48 +0200 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: Message-ID: <20050913180442.85E59824F35@mail.runrev.com> Hi Ken Just create a gradient and click colorize. I detects the selected objects... if you choose controls, you can do a gradient from the first to the last (not limited to two only). cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Tuesday, September 13, 2005 8:19 PM To: Use Revolution List Subject: Re: Gradient Fills in WinXP - Revisited! On 9/13/05 12:48 PM, "MisterX" wrote: > Hi Josh > > check out my excellent utility GradientsNO2... > > http://www.monsieurx.com/modules.php?name=News&file=article&sid=161 Xavier - it seems you tool only lets you work on 2 or more objects at once... how to you assign a gradient to a single graphic rectangle? 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 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Tue Sep 13 14:29:20 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 20:29:20 +0200 Subject: Calculating points of a mega circle.. In-Reply-To: <884585F0-4685-4D9D-B089-DF0400A0B99A@mindspring.com> Message-ID: <20050913180713.D14B7824EF4@mail.runrev.com> yes, there is an easy way... Alejandro mentioned this demo I think http://lists.runrev.com/pipermail/use-revolution/2004-July/039736.html check it out... extremely nice demo with the answers you seek I think... Ken also has a nice tip about it at http://www.sonsothunder.com/devres/revolution/revolution.htm ultimately, I added a few of my own in PieControl which does lots of things with circles ;) http://www.monsieurx.com/modules.php?name=News&file=article&sid=162 cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon Tillman Sent: Tuesday, September 13, 2005 7:43 PM To: tjframe at gmail.com; How to use Revolution Subject: Re: Calculating points of a mega circle.. Hi TJ, > Hi folks > Anyone know how I would calculate the points of a circle given a > specific number of required points and a massive radius. For example > I'm looking to generate a list of 7200 points that describe a circle > with a radius of > 999999 > Any ideas how to go about this? > Thanks, > - TJ Something like this would do it... --gordy function getCirclePoints pXOrigin, pYOrigin, pNumPoints, pRadius local tIncr, tTheta, tTwoPi, tX, tY, tPoints put pi * 2 into tTwoPi put tTwoPi / pNumPoints into tIncr put 0 into tTheta repeat pNumPoints times put pRadius * cos(tTheta) + pXOrigin into tX put pRadius * sin(tTheta) + pYOrigin into tY put tX & "," & tY & return after tPoints add tIncr to tTheta end repeat return tPoints end getCirclePoints _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Sep 13 14:29:31 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 13 Sep 2005 13:29:31 -0500 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <20050913180442.85E59824F35@mail.runrev.com> Message-ID: On 9/13/05 1:26 PM, "MisterX" wrote: > Hi Ken > > Just create a gradient and click colorize. I detects the selected objects... Sorry, it doesn't work with a single object. All I did was create an new stack in Rev, drag out a draw rectangle, then open GradientsNO2, change the colors and click Colorize. Nothing happened. Then I option-dragged another rectangle, selected them both, and clicked Colorize and they both got color. Try it for yourself... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tjframe at gmail.com Tue Sep 13 14:30:57 2005 From: tjframe at gmail.com (TJ Frame) Date: Tue, 13 Sep 2005 11:30:57 -0700 Subject: Calculating points of a mega circle.. In-Reply-To: <884585F0-4685-4D9D-B089-DF0400A0B99A@mindspring.com> References: <7348a9e80509131024747cc944@mail.gmail.com> <884585F0-4685-4D9D-B089-DF0400A0B99A@mindspring.com> Message-ID: <7348a9e805091311302adc7534@mail.gmail.com> Fantastic! Works perfectly! Thanks so much. - TJ On 9/13/05, Gordon Tillman wrote: > > Hi TJ, > > Hi folks > Anyone know how I would calculate the points of a circle given a specific > number of required points and a massive radius. For example I'm looking to > generate a list of 7200 points that describe a circle with a radius of > 999999 > Any ideas how to go about this? > Thanks, > - TJ > > > Something like this would do it... > > --gordy > > > function getCirclePoints pXOrigin, pYOrigin, pNumPoints, pRadius > local tIncr, tTheta, tTwoPi, tX, tY, tPoints > put pi * 2 into tTwoPi > put tTwoPi / pNumPoints into tIncr > put 0 into tTheta > repeat pNumPoints times > put pRadius * cos(tTheta) + pXOrigin into tX > put pRadius * sin(tTheta) + pYOrigin into tY > put tX & "," & tY & return after tPoints > add tIncr to tTheta > end repeat > return tPoints > end getCirclePoints > > From b.xavier at internet.lu Tue Sep 13 14:37:12 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 20:37:12 +0200 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: Message-ID: <20050913181509.304C6824E81@mail.runrev.com> I create a new stack, double clicked a graphic into it, clicked on draw and had it! strange day... make sure: menu 1 is 3 first items selected menu 2 is "Back" make sure you're not drawing from to the same color... It works like a charm here... strange day... cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Tuesday, September 13, 2005 8:30 PM To: Use Revolution List Subject: Re: Gradient Fills in WinXP - Revisited! On 9/13/05 1:26 PM, "MisterX" wrote: > Hi Ken > > Just create a gradient and click colorize. I detects the selected objects... Sorry, it doesn't work with a single object. All I did was create an new stack in Rev, drag out a draw rectangle, then open GradientsNO2, change the colors and click Colorize. Nothing happened. Then I option-dragged another rectangle, selected them both, and clicked Colorize and they both got color. Try it for yourself... 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 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Tue Sep 13 14:40:53 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 20:40:53 +0200 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: Message-ID: <20050913181849.92784824EFD@mail.runrev.com> Ken I've seen a couple ways it doesn't work: if you select more than one graphic if one graphic overlaps the other (gets flaky or is it me?) top to bottom = bottom to top... hummmm? I'll do some revisions... but otherwise, im pretty sure it works... cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Tuesday, September 13, 2005 8:30 PM To: Use Revolution List Subject: Re: Gradient Fills in WinXP - Revisited! On 9/13/05 1:26 PM, "MisterX" wrote: > Hi Ken > > Just create a gradient and click colorize. I detects the selected objects... Sorry, it doesn't work with a single object. All I did was create an new stack in Rev, drag out a draw rectangle, then open GradientsNO2, change the colors and click Colorize. Nothing happened. Then I option-dragged another rectangle, selected them both, and clicked Colorize and they both got color. Try it for yourself... 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 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From subzero569 at gmail.com Tue Sep 13 14:45:56 2005 From: subzero569 at gmail.com (subzero569) Date: Tue, 13 Sep 2005 14:45:56 -0400 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: References: <20050913180442.85E59824F35@mail.runrev.com> Message-ID: <8f8651c105091311452a2dc923@mail.gmail.com> Back to my original question: Is there a way for me to accomplish this gradient effect in scripting for a graphic rectangle? I appreciate the GradientsNO2 utility but the site disclaimer mentioned the code is locked until enough people register. So I can't glance at the code for a starting point. Without using the utility I would really like to implement this functionality into my script and would like to know how to accomplish this task. Thanks to everyone for the assistance. Josh On 9/13/05, Ken Ray wrote: > > On 9/13/05 1:26 PM, "MisterX" wrote: > > > Hi Ken > > > > Just create a gradient and click colorize. I detects the selected > objects... > > Sorry, it doesn't work with a single object. All I did was create an new > stack in Rev, drag out a draw rectangle, then open GradientsNO2, change > the > colors and click Colorize. Nothing happened. Then I option-dragged another > rectangle, selected them both, and clicked Colorize and they both got > color. > > Try it for yourself... > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From b.xavier at internet.lu Tue Sep 13 14:53:55 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 20:53:55 +0200 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <8f8651c105091311452a2dc923@mail.gmail.com> Message-ID: <20050913183152.7D47E824F30@mail.runrev.com> amazing how words are a good deterent for morale ;) the stack is not locked... it's an old thing... type "toplevel gradientsn2o" into the msg box (note I haven't renamed the internal stack name to no2) and then you can edit what you want... I'll see about mending the few things this great stack deserves... Problem is nobody says anything... cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of subzero569 Sent: Tuesday, September 13, 2005 8:46 PM To: How to use Revolution Subject: Re: Gradient Fills in WinXP - Revisited! Back to my original question: Is there a way for me to accomplish this gradient effect in scripting for a graphic rectangle? I appreciate the GradientsNO2 utility but the site disclaimer mentioned the code is locked until enough people register. So I can't glance at the code for a starting point. Without using the utility I would really like to implement this functionality into my script and would like to know how to accomplish this task. Thanks to everyone for the assistance. Josh On 9/13/05, Ken Ray wrote: > > On 9/13/05 1:26 PM, "MisterX" wrote: > > > Hi Ken > > > > Just create a gradient and click colorize. I detects the selected > objects... > > Sorry, it doesn't work with a single object. All I did was create an > new stack in Rev, drag out a draw rectangle, then open GradientsNO2, > change the colors and click Colorize. Nothing happened. Then I > option-dragged another rectangle, selected them both, and clicked > Colorize and they both got color. > > Try it for yourself... > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Inch by inch, life is a cinch. Yard by yard, life is very hard. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From gandalf at doctorTimothyMiller.com Tue Sep 13 15:03:11 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 13 Sep 2005 12:03:11 -0700 Subject: slooooowww typing in fields In-Reply-To: <440F4775-BBEC-425B-BB33-B3DE0C620F10@blueyonder.co.uk> References: <440F4775-BBEC-425B-BB33-B3DE0C620F10@blueyonder.co.uk> Message-ID: Hi Mariele, >Hi Tim, > >>Sometimes it works okay. At other times, there's a short delay from >>keyboard to screen. Sometimes the delay gets longer and longer, >>until the thing is just useless. Quitting and restarting >>Rev usually helps. Whether I'm inserting text into the middle of a >>paragraph versus typing at the end of the field seems to make a >>difference. > >Similar behaviour here (ibook g4). When this happens, I save, close >revolution and restart. This usually does the trick. I'm glad I'm not the only one. This is less than a gigantic issue, but it's more than trivial. It's a frequent inconvenience, at least for me, probably for some other users. > >>Bg and stack scripts are one giant scrolling field, it appears. The >>same thing happens sometimes, but not always, when working in a bg >>or stack script with lots of handlers, lots of text. > >Yep, that happens too. > >Note you can always check how busy your computer is processing >applications (that is the %CPU) using the "top" command in the unix >terminal. Even when not in use, Revolution takes a large amount of >CPU. (in contrast with most applications, which go back to zero or >about when in the background). > I don't know how to use the unix terminal, but I have a GUI utility that tells me that stuff. When idle, Rev uses up to 90% of my CPU, depending on the number and size of the stacks open, and if any of the scripts periodically send messages somewhere. If one small, simple stack is open, it approaches 0% usage. It shares the CPU nicely with other CPU-intensive apps, and nothing seems to bog down simply because Rev is sharing the CPU. Besides, this occurs when no other applications are running. I have looked at my CPU and RAM usage utility during text-bog-down. Nothing looks unusual, but I might have missed something. Apparently this is not a rare phenomenon. Is it Macintosh only, or does it happen on Windows or Linux machines, too? Come to think of it, on many occasions, I've seen Rev text bog down in a small, non-scrolling field, containing 20 characters or less. No doubt, many of the list's tech savvy subscribers understand this phenomenon. What's going on? Is there a preventive measure or a way to make Rev behave without quitting Rev? I just looked through Bugzilla. Searching for "text" produced a lot of reports. I looked them over, but I don't see any recent ones that resemble this issue. It's not necessarily a bug anyway, I guess. It might be an unavoidable consequence of the way Rev works. I dunno. Cheers, Tim From howard.bornstein at gmail.com Tue Sep 13 15:16:59 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 13 Sep 2005 15:16:59 -0400 Subject: Problems with streaming audio In-Reply-To: <200509130026.j8D0QrME025080@ms-smtp-03.rdc-nyc.rr.com> References: <200509130026.j8D0QrME025080@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc260509131216469875ca@mail.gmail.com> On 9/12/05, Brian Yennie wrote: > Howard, > > I believe the difference is that you need to avoid the "start player" > command altogether. If you use playRate and only the playRate to start > and stop the player, you may get better results... once you use "start" > the damage may be done. > > Or are you restarting Rev in between trying "start" and "playRate"? > > HTH > > - Brian > This happens when I start Rev from scratch and try to execute the script line "set the playrate of player "stream" to 1". When it hits that line, Rev completely hangs and I have to force-quit. Another strange anomoly is if I click to the pointer tool, the player control bar starts shimmying (visually--it doesn't actually move) like crazy and won't stop until I leave Rev, click into another application, and then return to Rev. All in all, very strange. -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Tue Sep 13 15:21:52 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 13 Sep 2005 15:21:52 -0400 Subject: Problems with streaming audio In-Reply-To: <200509130426.j8D4QpME006705@ms-smtp-03.rdc-nyc.rr.com> References: <200509130426.j8D4QpME006705@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc260509131221695349c2@mail.gmail.com> On 9/13/05, Mark Talluto wrote: > > Are you able to play the video with the same rtsp address in QT > itself? Maybe the address or the server is the problem. > Well, I don't know for certain that it's using rtsp, but yes, I can play the stream in QT, iTunes, RealPlayer, etc. I can also play it fine in Rev if I click the play control on the player controller. It's only when using the start player or the set playrate commands that it doesn't work (and in the case of set playrate, hangs up Rev). I'm still puzzled why I'm having problems under Windows while you're not. I'm going to download your test stack related to bug 1239 and see what I get with that. -- Regards, Howard Bornstein ----------------------- www.designeq.com From Roger.E.Eller at sealedair.com Tue Sep 13 17:29:54 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 13 Sep 2005 17:29:54 -0400 Subject: Using shell to run .vbp files Message-ID: I have successfully used the shell command on Windows to run a .vbs script, but the same does not seem to work with .vbp files. I am unfamiliar with Visual Basic Projects (.vbp), so any guidance or suggestions where to begin would be appreciated. Kind Regards, Roger Eller From b.xavier at internet.lu Tue Sep 13 17:34:09 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 13 Sep 2005 23:34:09 +0200 Subject: Using shell to run .vbp files In-Reply-To: Message-ID: <20050913211201.8C775824F44@mail.runrev.com> I believe those are for the visual basic IDE... cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Roger.E.Eller at sealedair.com Sent: Tuesday, September 13, 2005 11:30 PM To: How to use Revolution Subject: Using shell to run .vbp files I have successfully used the shell command on Windows to run a .vbs script, but the same does not seem to work with .vbp files. I am unfamiliar with Visual Basic Projects (.vbp), so any guidance or suggestions where to begin would be appreciated. Kind Regards, Roger Eller _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Sep 13 17:52:09 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 13 Sep 2005 16:52:09 -0500 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <20050913181509.304C6824E81@mail.runrev.com> Message-ID: On 9/13/05 1:37 PM, "MisterX" wrote: > I create a new stack, > double clicked a graphic into it, What do you mean? I'm using 2.6 under OS X and double-clicking on the graphic rectangle and nothing happens. I have to drag out a graphic, or click and then draw one. Double-clicking only works for buttons/fields/etc. not graphics AFAIK. > clicked on draw and had it! Not me. Only one object selected does nothing for me. > make sure: > menu 1 is 3 first items selected If you mean the Objects menu, I can barely make it out, but the first item is selected ("Selected") > menu 2 is "Back" Yes. > make sure you're not drawing from to the same color... Nope, lime green to yellow. > It works like a charm here... Maybe it's your environment... try starting up Rev by itself with just Gradients NO2 and see if you get the same thing. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Sep 13 17:53:08 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 13 Sep 2005 16:53:08 -0500 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <20050913181849.92784824EFD@mail.runrev.com> Message-ID: On 9/13/05 1:40 PM, "MisterX" wrote: > Ken > > I've seen a couple ways it doesn't work: > > if you select more than one graphic Actually, this works fine - in fact it was how it validated to me that one graphic *didn't* work. > if one graphic overlaps the other (gets flaky or is it me?) No, that worked too. FYI, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Tue Sep 13 18:08:16 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 14 Sep 2005 00:08:16 +0200 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: Message-ID: <20050913214609.84424824F42@mail.runrev.com> I have a virgin installation... Just had a major crash! all new... This is strange. when I double click the graphic I do get a new graphic... I select it, click on draw and it works... anyone else not getting that result? using 2.6 on a cheap and stupid but really fast pc... I posted my last version on the net, if you care to redownload it... I'll see AHA! if I use "create graphic" in the msg box, it doesn't work... if I double click or drag and drop from the revtools palette it does work... I got it! we're not using the same "graphic" object. I was clicking on the "picture box" left of the player control... it's not a graphic, it's an image!!!! duh, please slap me at your earliest convenience... sorry for the confusion cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Tuesday, September 13, 2005 11:52 PM To: Use Revolution List Subject: Re: Gradient Fills in WinXP - Revisited! On 9/13/05 1:37 PM, "MisterX" wrote: > I create a new stack, > double clicked a graphic into it, What do you mean? I'm using 2.6 under OS X and double-clicking on the graphic rectangle and nothing happens. I have to drag out a graphic, or click and then draw one. Double-clicking only works for buttons/fields/etc. not graphics AFAIK. > clicked on draw and had it! Not me. Only one object selected does nothing for me. > make sure: > menu 1 is 3 first items selected If you mean the Objects menu, I can barely make it out, but the first item is selected ("Selected") > menu 2 is "Back" Yes. > make sure you're not drawing from to the same color... Nope, lime green to yellow. > It works like a charm here... Maybe it's your environment... try starting up Rev by itself with just Gradients NO2 and see if you get the same thing. 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 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Tue Sep 13 18:20:22 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 14 Sep 2005 08:20:22 +1000 Subject: Weird problem and I'm not sure what the subject should be In-Reply-To: References: <67A2FCAA-6039-4F40-BEB9-0FA37F05A346@cableone.net> Message-ID: On 9/14/05, Chris Sheffield wrote: > Yes, thank you. Turns out the app was built with Rev 2.2. I didn't > realize that. And, sure enough, when I rebuilt it with 2.2 (well > 2.2.1 actually), it worked perfectly. So there are some weird issues > that happened with both revCopyFile and revCopyFolder somewhere > between 2.2.1 and 2.5. Does anyone have some extra info on this? > Are these issues already in Bugzilla? If not, I will submit them. > Hi Chris, I seem to remember there was a change of parameters at some stage. revCopyFile used to require the destination to be a file name and then it became a folder name (or something like that). It's not something I use oftern, but I recall having to change the way I did it a while ago. Sorry not to be more helpful, but I hope this is enough to point you in the right direction. Sarah From sarah.reichelt at gmail.com Tue Sep 13 18:31:24 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 14 Sep 2005 08:31:24 +1000 Subject: Standalone Menu Question In-Reply-To: References: <20050913173958.506D4824EB7@mail.runrev.com> Message-ID: > I have a stack that does not use a menu bar, just one window with > controls. When I make a standalone, RunRev adds a simple menu bar, > which just has the application menu in it. My question is, how can I > honour the "About Box" enrty? All I want to be able to do is it have > the first entry say "About My Application" and when selected to be > able to display an About Box? > > Can I do this without creating a menu bar etc.? > Not as far as I know. The basic menu bar that is created (because all Mac apps have to have a menubar) does not send any messages to your app. You will have to create a minimal menu bar, then the About entry will appear to be part of your Help menu and you can script for it in the Help menu script. HTH, Sarah From psahores at easynet.fr Tue Sep 13 19:00:13 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 14 Sep 2005 01:00:13 +0200 Subject: Fwd: compiler curiosities References: <92311A32-57B0-43F8-ABA1-F59040371A07@easynet.fr> Message-ID: <1E28F6DE-6328-41F3-B80B-19801CAACF84@easynet.fr> Grettings All, For the ones interested in about Turing's machines and the halting problem, have an eye on the "utm.rev" rev stack downloadable at . Use "ttag" as password to access to the transcript source code. See the english doc for more deteils. Best Regards, Does the RevOnline server work as expected ? I could'nt post this stack to my user space (Rev 2.6 - Tiger 10.4.2)... Le 13 sept. 05 ? 10:48, Mark Waddingham a ?crit : --snip-- > Overall I'd keep an eye out for dynamic technologies such as these > appearing throughout the inner-workings of operating systems and > language environments; after all, Intel and friends might be able to > continue to 'cheat' the laws of physics as they achieve ever faster > processor speeds and ever smaller die-sizes; however, there is > something > I can be absolutely sure they will not be able to cheat: The Turing > Halting Problem. > > [ Of course, Quantum computers are an entirely different matter, but > since these still don't exist outside the lab its going to be a while > before they start to impact the desktop ] > > Just a few Tuesday morning thoughts... > > Mark. > > ------------------------------------------------------------------ > Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com > Runtime Revolution ~ User-Centric Development Tools -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From katir at hindu.org Tue Sep 13 21:36:16 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 13 Sep 2005 15:36:16 -1000 Subject: Poke a Shell Variable with xTalk? In-Reply-To: <1126630356.3832.144.camel@rachmaninov> References: <2AEB19E8-25EE-457E-9139-93F0AB5D296B@hindu.org> <1126630356.3832.144.camel@rachmaninov> Message-ID: <45D5B25B-F1F9-4037-9000-AFE05C2F7841@hindu.org> Mark, yes, I did finally find in the docs this bit about poking the shell variables... I think now my wall of fire is ignorance on shell syntax. Let me be very specific This script builds a mult-part email msg and endeavors to send to our mail serve on the LAN via sendmail which has been enabled on local machines... (why? because mail.app on the mac will not forward html email as such...) It looks like this now... ## a whole bunch of code takes input from a field and builds the email msg and puts into tMsg local. ## so, now we save it to the editor's desktop put ($HOME &"/Desktop/temp.txt") into tPath put tMsg into url ("binfile:" & tPath) # Do shell stuff and send mail set the shellcommand to "/bin/sh" put "cat " & quote & tPath & quote & " | sendmail -f hpi.list at hindu.org " & (fld "to" of cd "staticText") into tCmd OK the above works, but I want to try now piping tMsg straight into Send mail *without* saving or reading a file from the hard drive (why? some new security thing in OSX, Postfix preventing more than 1024 chars input without introducing a CRLF... even right in the middle of a word, I'm getting a space in the middle of a word in the HTML version a complete bad line break in the middle of a word (every 1024 chars) in the text alternative) ####### #### So, let us try this: put tMsg into $DailyHPIEmai l # quite right, this does work... set the shellcommand to "/bin/sh" put "cat " & $DailyHPIEmail & " | sendmail -f hpi.list at hindu.org " & "katir at hindu.org" into tCmd ## or use redirect... same thing...: put "Sendmail -f hpi.list at hindu.org " & "katir at hindu.org" & "< $DailyHPIEmail" into tCmd --put tCmd # use this to check the cmd string and copy and test from terminal --exit to top # check on status and inform user put shell(tCmd) into tResult if tResult is empty then answer "Mail was sent...." with "OK" ########### This doesn't work... "cat" is expecting a file name in the current directory inside the container "$DailyHPIEmail" Of course it fails when it gets a multi-line input... So I need the shell syntax for [take this multi-line text and pipe it thru as stnin to] | sendmail - f hpi.list at hindu.org " & "katir at hindu.org" I guess this if verging on OT now... meanwhile I will continue my search through the oceans of Unix cmds... "cat" is obviously the wrong choice here to get $DailyHPIEmail to be written straight into StnIn pipe to | Sendmail Thanks! I may bail out here and end up using Shao Sean's SMTP Lib, more complicated perhaps, but a least it is all transcript! Sivakatirswami On Sep 13, 2005, at 6:52 AM, Mark Waddingham wrote: > You can both read and write to shell variables in Revolution. So the > following: > put foo into $FOO > put shell("echo $FOO") > Results in what you would expect in the message-box :o) > > In other-words, what you are trying to do should work fine... > > Hope this helps! > > Mark. > > On Mon, 2005-09-12 at 07:52 -1000, Sivakatirswami wrote: > >> Can we pass data from a local variable in Revolution to a variable in >> shell.? How? >> >> eg. >> >> in shell >> >> cat <> test >> test >> test >> >>>> some_variable >>>> >> >> gives us "$some_variable" >> >> where >> >> echo $some_variable #gives us >> >> test >> test >> test >> >> >> >> now what we want to do is >> >> put "Greetings to all innovative Revolutionaries" into tGreeting >> >> [pseudo code here:] >> >> put tGreeting into $Greeting >> >> set the shellcommand to "/bin/sh" >> put "cat $Greeting" & " | sendmail -f hpi.list at hindu.org " & (fld >> "to" of cd "staticText") into tCmd >> >> put shell(tCmd) into tResult >> >> # where the contents of $Greeting is piped to sendmail... >> >> I know we can read $ variable from the system, but can we create and >> poke them? >> >> TIA >> >> Sivakatirswami >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > -- > ------------------------------------------------------------------ > Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com > Runtime Revolution ~ User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Tue Sep 13 21:51:45 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 13 Sep 2005 15:51:45 -1000 Subject: Unicode Font Woes In-Reply-To: <8E092725-9DA6-409E-9434-A14F443D9E52@byu.edu> References: <1EBB0CE7-FDAD-4B56-9761-C36BE7D1703C@hindu.org> <8E092725-9DA6-409E-9434-A14F443D9E52@byu.edu> Message-ID: <532CC502-9314-4423-8771-02920BBB42D7@hindu.org> OK I'll look at these... I think in the interests of helping RunRev, we all need to be aware of an underlying cross plaftorm issue of which I am informed onl yesterday as follows by professor in Switzerland who is helping me on this matter. which is: many fonts will "apparently" work on the Mac, but are actually meant only to be properly rendered with the Windows Uniscribe, but not the Mac ATSUI engine... to wit: Dr. Kalyanasundaram writes: "But there is a practical problem here. Most of the GIST Tamil Unicode fonts distributed free are meant for use on Windows PCs. Rendering of Tamil glyphs in Unicode is done differently in Windows (use a rendering enginecalled UNISCRIBE) as compared to Apple Mac (Mac uses ATSUI search engine to deal with Open Truetype fonts for Unicode. Thus for use on Mac OS X platform, Open TTF fonts of Windows are to be "repacked" for use under ATSUI engine. Without this tinkering and repacking, composite glyphs of Tamil are not displayed correctly - you see only a linear rendering, as the way in which Unicode text is saved in the file (mei followed by modifier signs and not the composite glyph themselves). On Mac, like CDAC fonts GSUB tables that are in the font file are not used and you will see linear mode display." This may be the issue with bug 2489 where the problem is composite character modifiers--additional "matras" we call them in Indic languages... small extra bits and pieces that are hooked onto regular characters... i.e. there is *nothing* Run rev can do to fix this... if the user has, unwittingly pulled Windows OpenType font onto his Mac, thinking that that is should work just fine. (As I myself have just done...) Of course, Rev should render the font as other mac apps do... albeit with those extra matras ("Diacriticals") not being proper placed under ATSUI... I'm off to FontLab to import and re-export some of these and see what happens. Sivakatirswami On Sep 13, 2005, at 4:56 AM, Devin Asay wrote: > Sivakatirswami, > > I have a suspicion that your Unicode problems are related to a > larger issue that affects unicode rendering in general. If you > haven't already, consider voting for Bugzilla bugs 2489, 2493, > 2497, 2998, 3022, 3023 and 3085. There may be others. The more > votes we get on these issues, the sooner they will get attention. > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Tue Sep 13 22:10:08 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 13 Sep 2005 19:10:08 -0700 Subject: Poke a Shell Variable with xTalk? In-Reply-To: <45D5B25B-F1F9-4037-9000-AFE05C2F7841@hindu.org> Message-ID: This may help, then again, maybe it does not apply to your situation http://developer.apple.com/technotes/tn2002/tn2065.html Q: How long can my command be, really? A: Calling do shell script creates a new sh process, and is therefore subject to the system?s normal limits on passing data to new processes: the arguments (in this case, the text of your command plus about 40 bytes of overhead) and any environment variables may not be larger than kern.argmax, which is currently 262,144 bytes. Because do shell script inherits its parent?s environment (see the next question), the exact amount of space available for command text depends on the calling environment. In practical terms, this comes out to somewhat more than 261,000 bytes, but unusual environment settings might reduce that substantially. Note: This limit used to be smaller; in Mac OS X 10.2 it was about 65,000 bytes. The shell command sysctl kern.argmax will give you the current limit in bytes. On 9/13/05 6:36 PM, "Sivakatirswami" wrote: > OK the above works, but I want to try now piping tMsg straight into > Send mail *without* saving or reading a file from the hard drive > (why? some new security thing in OSX, Postfix preventing more than > 1024 chars input without introducing a CRLF... even right in the > middle of a word, I'm getting a space in the middle of a word in the > HTML version a complete bad line break in the middle of a word (every > 1024 chars) in the text alternative) or maybe you need to interact with the process directly as in Q: I have started a background process; how do I get its process ID so I can control it with other shell commands? A: You can use a feature of sh to do this: the special variable $! is the ID of the most recent background command, so you can echo it as the last command in your shell script, like this: do shell script "my_command &> /dev/null & echo $!" -- result: 621 set pid to the result do shell script "renice +20 -p " & pid -- change my_command's scheduling priority. do shell script "kill " & pid -- my_command is terminated. From michaell at unimelb.edu.au Tue Sep 13 22:12:42 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Wed, 14 Sep 2005 12:12:42 +1000 Subject: animate light to dark Message-ID: Dear all, I am trying to get a smooth animation of a background going from light to dark (and vice versa), but I'm having trouble making it fast enough, smooth enough and flicker-free. I think it is something to do with screen redraws in OS X (see Jim Hurley's BZ entry 2639), but maybe it's more general. What I need is to have a large dark region behind some images get light over about half a second so that the transition doesn't look too amateurish. I also need to be able to respond to messages while the change in darkness is occurring. I've tried playing with fill colors of buttons and fields and with blendlevels of an image. I also tried the straightforward approach of simply stacking a sequence of buttons with different fill colors and hiding or showing them in sequence. For every approach I've tried the transitions are good enough with small areas, but when the objects are made large enough for my purposes they are slow and yukky. I've tried fiddling with unlock screen commands and with wait commands, and while they are necessary for intermediate stages to be visible, they don't fix the problems. Does anyone have a suggestion that might help? I've experimented with timing screen redraws and found that when only a small area is changed they occur almost instantly, but when a large area is changed they take much longer (I don't want to say how long because it will make me want a new Mac ;-) Does it seem strange that the time needed for a screen redraw scales with the area of the control that has changed its appearance? I would have thought a redraw would be a redraw of the whole screen and so it wouldn't make any difference whether the alteration was of a small area or large. Thanks for any help. Michael -- 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 scott at tactilemedia.com Tue Sep 13 22:57:06 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 13 Sep 2005 19:57:06 -0700 Subject: animate light to dark In-Reply-To: Message-ID: Recently, Michael J. Lew wrote: > I am trying to get a smooth animation of a background going from > light to dark (and vice versa), but I'm having trouble making it fast > enough, smooth enough and flicker-free. > ... > What I need is to have a large dark region behind some images get > light over about half a second so that the transition doesn't look > too amateurish. I also need to be able to respond to messages while > the change in darkness is occurring. This last line is a significant hurdle. Being able to respond to messages means you can't use any of the built-in transitions. So you are correct to attempt to build the transition yourself. > I've tried playing with fill > colors of buttons and fields and with blendlevels of an image. I also > tried the straightforward approach of simply stacking a sequence of > buttons with different fill colors and hiding or showing them in > sequence. For every approach I've tried the transitions are good > enough with small areas, but when the objects are made large enough > for my purposes they are slow and yukky. Doing visual changes over large areas does indeed require more overhead/resources, as will accounting for a lot of controls. As far as what you describe above goes, here are some more efficient options: 1) use a large image set to solid black (or whatever color is appropriate), and set its blendLevel repeatedly from 100 to 0 and then back to 100 again. Something like: on mouseUp initFader fadeCard end mouseUp on initFader put "" into fCount set blendLevel of img myFader to 100 end initFader local fCount on fadeCard if fCount = "" then put 1 into fCount set the blendLevel of img myFader to abs(100 - (fCount * 5)) # ADD YOUR ROUTINES HERE if fCount < 40 then add 1 to fCount else initFader # MAKE CERTAIN MYFADER IS NOT VISIBLE exit fadeCard end if send "fadeCard" to me in 10 millisecs end fadeCard 2) use a button (with all visible properties disabled) as an image display and set its icon repeatedly to a sequence of images as above (solid color images will be the most efficient) 3) depending on what's happening on your card, you might be able to repeatedly set the backColor of the card from light to dark and light (as above) but obviously this will not obscure any controls on the card 4) you might consider giving up the fade transition all together and instead simply lock the screen while popping up a separate "activity" window that displays an animation to draw users' attention away from the updating window Hope this helps. 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 Sep 14 00:30:35 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 13 Sep 2005 23:30:35 -0500 Subject: Gradient Fills in WinXP - Revisited! In-Reply-To: <8f8651c105091310172f38d5ac@mail.gmail.com> References: <8f8651c105091310172f38d5ac@mail.gmail.com> Message-ID: <4327A76B.8060907@chipp.com> Josh, Did you receive a suitable answer to your question? If not, I can provide you a script which does what you wish. best, Chipp subzero569 wrote: > I have exhaustively searched the archived posts for information on gradient > fills. A few posts made references to creating a gradient fill via > scripting. I am a novice Rev programmer and do not claim to be a > mathematician so I am having a tough time with this problem. > > Basically, I have a rectangle graphic generated with a red fill. I want to > change this solid fill from plain red to a gradient of Red to Orange. > Example: Bottom color of rectangle would be an RGB value of Red: 255,0,0 and > the top color would end with Orange: 255,128,0. Is there a way to possibly > make the gradient fill in this rectangle using Rev to generate the graphic > rectangle? Also, this will only be used on WinXP and images aren't an option > at the present time for creating gradient fills. From chris at carroll-davis.co.uk Wed Sep 14 04:04:01 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 14 Sep 2005 09:04:01 +0100 Subject: Displaying PDF - Help! Urgent!! In-Reply-To: References: <519A7FEA-A60B-4B6D-A171-0F6B3BBE1DF6@carroll-davis.co.uk> Message-ID: <31725E0E-2444-486B-9A0D-7318E112F79B@carroll-davis.co.uk> Thanks for the help on this. Gordon - your code seems to work beautifully! And Ken's point about the web link is also satisfied because if there is no app to display the PDF, Windows brings up a prompt to d/l software anyway. Thanks again - a real life-saver!! Chris On 13 Sep 2005, at 18:17, Gordon Tillman wrote: > Chris it's best to let the particular operating system decide the > best way to open a PDF doc (as well as other types of docs as well). > > >> Hello folks - >> >> I'm doing a quick 'n' dirty menu front-end for a CD and need to be >> able to display a multi-page PDF document. On Mac I'll just open >> it with "Preview" - but I need to know what is equivalent on PC. >> (I am a Windows dunce...) >> >> I have to do this tonight!! Gulp! >> >> Chris >> > > Here is a snippet of code for Mac OS X and Windows (95 through > XP). You may need to tweak it a bit but it will give you the idea > - I don't have any versions of Windows older than XP handy to check > it on: > > Bonjour IM with Gordon Tillman . > 12:17 > lll > on mouseUp > local tPdfFile > answer file "Select a PDF document" > put it into tPdfFile > if tPdfFile is empty then exit mouseUp > > if the platform is "MacOS" and char 1 to 2 of the systemVersion is > "10" then > openMac tPdfFile > else if the platform is "Win32" then > get the shortFilePath of tPdfFile > replace "/" with "\" in it > if the systemVersion contains "Windows 4" then > openWin4 it > else if the systemVersion contains "NT" then > openWin5 it > end if > end if > > end mouseUp > > on openMac pPdfDoc > -- /usr/bin/open > get shell("/usr/bin/open '" & pPdfDoc & "'" ) > end openMac > > > on openWin4 pPdfDoc > -- cmd /c > get shell("cmd /c" && pPdfDoc ) > end openWin4 > > on openWin5 pPdfDoc > -- start > put shell("start" && pPdfDoc ) > > end openWin5 > > > --gordy > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dam-pro.girard at laposte.net Wed Sep 14 09:07:52 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Wed, 14 Sep 2005 15:07:52 +0200 Subject: Why I have got only 2 speakers working with Quicktime 7 ? Message-ID: <432820A8.70701@laposte.net> Hi all, I have upgraded Quicktime of my Windows to the version 7, and I have got a problem. With Quicktime 6, when I was playing a stereo file (mp3) with runrev, I had got all my speakers who return the sound. (This is a feature of my soundcard). But, I have upgraded to Quicktime 7, and I have got only the sound on my front speakers. So, I wan't to know how I can set all my speaker work with Quicktime 7 and Revolution (because in Itunes, stereo files are played with all my speaker and not only front speaker). Regards, Damien Girard Email: dam-pro.girard at laposte.net From got at mindspring.com Wed Sep 14 09:43:29 2005 From: got at mindspring.com (Gordon Tillman) Date: Wed, 14 Sep 2005 08:43:29 -0500 Subject: Displaying PDF - Help! Urgent!! In-Reply-To: <31725E0E-2444-486B-9A0D-7318E112F79B@carroll-davis.co.uk> References: <519A7FEA-A60B-4B6D-A171-0F6B3BBE1DF6@carroll-davis.co.uk> <31725E0E-2444-486B-9A0D-7318E112F79B@carroll-davis.co.uk> Message-ID: Chris you are very welcome, On Sep 14, 2005, at 03:04, Chris Carroll-Davis wrote: > Gordon - your code seems to work beautifully! And Ken's point > about the web link is also satisfied because if there is no app to > display the PDF, Windows brings up a prompt to d/l software anyway. > > Thanks again - a real life-saver!! Just be sure and test with older windows OS's because I didn't have any handy to try it on. --g From trishnln at spiderweb.com.au Wed Sep 14 01:59:06 2005 From: trishnln at spiderweb.com.au (Spiderweb) Date: Wed, 14 Sep 2005 15:29:06 +0930 Subject: Talking book Scripts Message-ID: <000601c5b8f1$6bcfb250$ccdf443d@Optima1587> Can anyone send me some scripts which would allow me to create a Talking Book? I want the text to highlight word by word as the text is read. I also want to construct a series of language exercises including Cloze, Jumbled Text etc. using the text. Any advice? From Roger.E.Eller at sealedair.com Wed Sep 14 10:02:55 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 14 Sep 2005 10:02:55 -0400 Subject: Talking book Scripts Message-ID: > I want the text to highlight word by word as the text is read. Using the script below, each word is hilited and spoken, however the speech sounds unnatural because it doesn't flow as a sentence should. But at least it is a start. I hope this helps. on mouseUp repeat with i = 1 to the number of words of fld 1 select word i of fld 1 revSpeak the selection wait 20 millisecs wait until revIsSpeaking() is false end repeat end mouseUp Roger Eller From devinasay at gmail.com Wed Sep 14 10:39:57 2005 From: devinasay at gmail.com (Devin Asay) Date: Wed, 14 Sep 2005 08:39:57 -0600 Subject: (no subject) Message-ID: Heather, et al, I decided to unsubscribe my former email address (which is actually an alias and which wreaks mischief on mail list submissions) and resubscribe with my new gmail address. When I attempted the latter, I discovered it had already been done for me (thanks, Heather.) However, the message that I sent yesterday morning, datetime stamped " Tue, 13 Sep 2005 08:56:53 -0600", never showed up on the list. Is my new address, devinasay at gmail.com, perhaps in list member limbo somewhere? Thanks and Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From paolo.mazza at neol.it Wed Sep 14 10:49:25 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Wed, 14 Sep 2005 16:49:25 +0200 Subject: CGI Revolution MACOSX Message-ID: I am looking for a darwin engine of Revolution (version 2.6) for MacOSX I tryed to copy the program from the application folder but .. it does not work. I need to connect to a Mysql database ... how can I do it? The present version of the Revolution engine in my CGI is 2.5 and does not work with Mysql ... I guess because it has not the correc drivers. I have been looking for a while to solve this problem. I need your help. Thank you Paolo From devinasay at gmail.com Wed Sep 14 11:01:51 2005 From: devinasay at gmail.com (Devin Asay) Date: Wed, 14 Sep 2005 09:01:51 -0600 Subject: (no subject) --Oops In-Reply-To: References: Message-ID: Sorry folks, that was supposed to have gone to support at runrev. On the bright side, it appears that I am out of limbo. Devin On Sep 14, 2005, at 8:39 AM, Devin Asay wrote: > Heather, et al, > > I decided to unsubscribe my former email address (which is actually > an alias and which wreaks mischief on mail list submissions) and > resubscribe with my new gmail address. When I attempted the latter, > I discovered it had already been done for me (thanks, Heather.) > However, the message that I sent yesterday morning, datetime > stamped " Tue, 13 Sep 2005 08:56:53 -0600", never showed up on the > list. Is my new address, devinasay at gmail.com, perhaps in list > member limbo somewhere? > > Thanks and Regards, > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From liamlambert at mac.com Wed Sep 14 11:04:40 2005 From: liamlambert at mac.com (liamlambert) Date: Wed, 14 Sep 2005 16:04:40 +0100 Subject: Teleo from makingthings.com Message-ID: <47BF578B-A0D2-407A-94FE-E052341A38BB@mac.com> Has anyone use rev with teleo from makingthings.com I am looking for a stack that will connect to there starter kit and read a single Digital in put Liam . L From irog at mac.com Wed Sep 14 11:58:24 2005 From: irog at mac.com (Roger Guay) Date: Wed, 14 Sep 2005 09:58:24 -0600 Subject: animate light to dark Message-ID: <47327B49-254A-4B2B-A88D-6824119C3838@mac.com> Michael, I discovered that if you put the following script into a button with it's autoHilite off, you will get a very smooth transition albeit slow. It takes about 5 seconds on my machine. on MouseUp put "0" into clr repeat 255 set the backgroundColor of me to clr,clr,clr add 1 to clr wait 1 end repeat end mouseUp Can you work with this? Cheers, Roger From revdan at danshafer.com Wed Sep 14 14:46:58 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 14 Sep 2005 11:46:58 -0700 Subject: Missing Figures in Dan's Book Message-ID: <1F2D1AAC-D16A-4762-9960-CB1EE7F7A754@danshafer.com> If you've downloaded the latest update to my SmartEBook, "Software at the Speed of Thought, Volume 1," in the last day or so, you may have noticed that a lot of the figures have stopped displaying in your PDF reader. I have no idea why this is happening but I am hot on the trail of fixing it. I'll upload a new version in the next day or two (unless this problem proves more intractable than I think) and you will, of course, receive that update automatically in the course of using the book. Meanwhile, if you haven't yet downloaded the new release, feel free to ignore the suggestion that you do so until I post a note here notifying the community that the problems are fixed. And if anyone has a clue what might be going on here, please feel free to email me offlist. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From charles.hartman at conncoll.edu Wed Sep 14 15:01:11 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 14 Sep 2005 15:01:11 -0400 Subject: Missing Figures in Dan's Book In-Reply-To: <1F2D1AAC-D16A-4762-9960-CB1EE7F7A754@danshafer.com> References: <1F2D1AAC-D16A-4762-9960-CB1EE7F7A754@danshafer.com> Message-ID: <8AFD4FDC-CCDF-4CC5-97CB-62412B4CB4E5@conncoll.edu> Ah good -- I was going to send a query about that. Looking forward to pretty pix. Charles Hartman On Sep 14, 2005, at 2:46 PM, Dan Shafer wrote: > If you've downloaded the latest update to my SmartEBook, "Software > at the Speed of Thought, Volume 1," in the last day or so, you may > have noticed that a lot of the figures have stopped displaying in > your PDF reader. I have no idea why this is happening but I am hot > on the trail of fixing it. I'll upload a new version in the next > day or two (unless this problem proves more intractable than I > think) and you will, of course, receive that update automatically > in the course of using the book. > > Meanwhile, if you haven't yet downloaded the new release, feel free > to ignore the suggestion that you do so until I post a note here > notifying the community that the problems are fixed. > > And if anyone has a clue what might be going on here, please feel > free to email me offlist. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.shafermediastore.com/tech_main.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at duncansoftware.com Wed Sep 14 15:47:15 2005 From: revolution at duncansoftware.com (Revolution) Date: Wed, 14 Sep 2005 15:47:15 -0400 Subject: Hybrid CD Message-ID: <01ec01c5b965$1c014d50$0300a8c0@Dell8250> Someone created a great "How To" for creating hybrid CDs. I recall seeing it a long time ago but can't find it now. The problem I am having is not with the actual creation of hybrid CDs using Toast, but rather with icon (file) placement in the OS9/OSX portion of the CD. Can someone point me to a step by step article. From alex at tweedly.net Wed Sep 14 16:09:49 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 14 Sep 2005 21:09:49 +0100 Subject: Formatting Column of Times In-Reply-To: <431ECCCD.1030305@tweedly.net> References: <431ECCCD.1030305@tweedly.net> Message-ID: <4328838D.906@tweedly.net> Recently, I (Alex Tweedly) wrote: >> >> Could you write a little tutorial for us all? The 'format' >> incantation has always baffled me, along with the 'matchText' >> incantations. (Maybe I just led a sheltered life) >> >> > I'll have a go. But I'm far from an expert - so consider this the > first step on a community effort to write a tutorial .... > > I'll write something up (probably) this weekend. Just to keep you all up to date - I'm talking with Jacque about possibly doing this as part of the Scripting Conference series, or if that doesn't work out, something else *like* that. So I haven't reneged on a commitment - I just found a way to procrastinate :-) :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 10/09/2005 From FlexibleLearning at aol.com Wed Sep 14 17:18:25 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 14 Sep 2005 17:18:25 EDT Subject: [ANN] Moving Wallpaper demo Message-ID: www.FlexibleLearning.com/xtalk/movingwallpaper/movingwallpaper.zip Following the Panorama demo, this 'screensaver' or 'slideshow' stack demonstrates 16 scripted visual effects based on zoom in, zoom out, pan left, pan right, pan up and pan down. The stack is 18k and is fully documented. The download includes 4 high quality sample images, but you can obviously use your own images if you wish. A note of caution... This is a very heavily graphics intensive stack, so at least a 1GHz machine is needed, preferably 2-3GHz. It works on a G4-466 in OSX, but is only truly impressive on a faster computer. Enjoy and feedback welcome. /H FLCO Home of The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From tjframe at gmail.com Wed Sep 14 15:02:02 2005 From: tjframe at gmail.com (TJ Frame) Date: Wed, 14 Sep 2005 12:02:02 -0700 Subject: animate light to dark In-Reply-To: <47327B49-254A-4B2B-A88D-6824119C3838@mac.com> References: <47327B49-254A-4B2B-A88D-6824119C3838@mac.com> Message-ID: <7348a9e805091412023fe4de76@mail.gmail.com> Try using wait for X milliseconds (like perhaps 5 or so) instead of the plain "Wait" statement. On 9/14/05, Roger Guay wrote: > > Michael, > > I discovered that if you put the following script into a button with > it's autoHilite off, you will get a very smooth transition albeit > slow. It takes about 5 seconds on my machine. > > on MouseUp > put "0" into clr > repeat 255 > set the backgroundColor of me to clr,clr,clr > add 1 to clr > wait 1 > end repeat > end mouseUp > > Can you work with this? > > Cheers, Roger > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From michaell at unimelb.edu.au Wed Sep 14 19:47:58 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Thu, 15 Sep 2005 09:47:58 +1000 Subject: animate light to dark Message-ID: Thanks Scott, your script works very nicely with small images. Unfortunately, when I make the image as large as I want (about half of the screen) it still shows flickery lines as it animates. However, I've tried it on the Macs and PCs that the students will be using and they are perfectly acceptable. It looks like my Mac has fallen a bit too far behind the times! In a way, that makes things easy for me: if my stacks work well enough here, they will certainly work well enough in the student labs. At 2:43 AM -0500 14/9/05, use-revolution-request at lists.runrev.com wrote: >Recently, Michael J. Lew wrote: > >> I am trying to get a smooth animation of a background going from >> light to dark (and vice versa), but I'm having trouble making it fast >> enough, smooth enough and flicker-free. >> ... >> What I need is to have a large dark region behind some images get >> light over about half a second so that the transition doesn't look >> too amateurish. I also need to be able to respond to messages while >> the change in darkness is occurring. > >This last line is a significant hurdle. Being able to respond to messages >means you can't use any of the built-in transitions. So you are correct to >attempt to build the transition yourself. > > >> I've tried playing with fill >> colors of buttons and fields and with blendlevels of an image. I also >> tried the straightforward approach of simply stacking a sequence of >> buttons with different fill colors and hiding or showing them in >> sequence. For every approach I've tried the transitions are good >> enough with small areas, but when the objects are made large enough >> for my purposes they are slow and yukky. > >Doing visual changes over large areas does indeed require more >overhead/resources, as will accounting for a lot of controls. As far as >what you describe above goes, here are some more efficient options: > >1) use a large image set to solid black (or whatever color is appropriate), >and set its blendLevel repeatedly from 100 to 0 and then back to 100 again. >Something like: > >on mouseUp > initFader > fadeCard >end mouseUp > >on initFader > put "" into fCount > set blendLevel of img myFader to 100 >end initFader > >local fCount >on fadeCard > if fCount = "" then put 1 into fCount > set the blendLevel of img myFader to abs(100 - (fCount * 5)) > # ADD YOUR ROUTINES HERE > if fCount < 40 then > add 1 to fCount > else > initFader # MAKE CERTAIN MYFADER IS NOT VISIBLE > exit fadeCard > end if > send "fadeCard" to me in 10 millisecs >end fadeCard > > >2) use a button (with all visible properties disabled) as an image display >and set its icon repeatedly to a sequence of images as above (solid color >images will be the most efficient) > >3) depending on what's happening on your card, you might be able to >repeatedly set the backColor of the card from light to dark and light (as >above) but obviously this will not obscure any controls on the card > >4) you might consider giving up the fade transition all together and instead >simply lock the screen while popping up a separate "activity" window that >displays an animation to draw users' attention away from the updating window > >Hope this helps. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design -- 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 userev at canelasoftware.com Wed Sep 14 21:02:18 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 14 Sep 2005 18:02:18 -0700 Subject: Problems with streaming audio In-Reply-To: <3FB00B6F-44C1-4666-BDF2-85E78734F8BE@designeq.com> References: <200509130426.j8D4QpME006705@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260509131221695349c2@mail.gmail.com> <1420F566-BF30-4F9D-91B9-5E5A46A8B648@designeq.com> <3FB00B6F-44C1-4666-BDF2-85E78734F8BE@designeq.com> Message-ID: <3F6C3419-C5AC-47A0-BE84-420C131572BD@canelasoftware.com> On Sep 14, 2005, at 5:59 PM, Howard Bornstein wrote: > > On Sep 14, 2005, at 7:45 PM, Mark Talluto wrote: > >> I just tried the address you provided on a Mac system via the QT >> player. I could not get it to work. Are you able to get it to >> work on your computer via the QT player specifically? Other >> players will not count on this test. > > Chose Open URL..., plugged in the address, clicked play, and had > music in 2 seconds. Mac OSX 10.4.2, QT Player 7.01. > > This is so strange. Why are we getting different results doing the > same thing? I am in a hotel room right now. This could be part of the problem I suppose. I did try as you suggested, but I could never connect to a server. I am using QT 7.0.2 for this test. I will try again when I am back from this trip. Mark Talluto -- CANELA Software http://www.canelasoftware.com From masmit at gmail.com Wed Sep 14 21:15:56 2005 From: masmit at gmail.com (Mark Smith) Date: Thu, 15 Sep 2005 02:15:56 +0100 Subject: animate light to dark In-Reply-To: <7348a9e805091412023fe4de76@mail.gmail.com> References: <47327B49-254A-4B2B-A88D-6824119C3838@mac.com> <7348a9e805091412023fe4de76@mail.gmail.com> Message-ID: Also, try using repeat with n = 1 to 255 step 5 or whatever... Mark On 14 Sep 2005, at 20:02, TJ Frame wrote: > Try using wait for X milliseconds (like perhaps 5 or so) instead of > the > plain "Wait" statement. > > On 9/14/05, Roger Guay wrote: > >> >> Michael, >> >> I discovered that if you put the following script into a button with >> it's autoHilite off, you will get a very smooth transition albeit >> slow. It takes about 5 seconds on my machine. >> >> on MouseUp >> put "0" into clr >> repeat 255 >> set the backgroundColor of me to clr,clr,clr >> add 1 to clr >> wait 1 >> end repeat >> end mouseUp >> >> Can you work with this? >> >> Cheers, Roger >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Wed Sep 14 21:37:28 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 14 Sep 2005 15:37:28 -1000 Subject: Poke a Shell Variable with xTalk? In-Reply-To: References: Message-ID: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Jim, interesting, though I'm not much closer to a solution with this, it did prompt me to "think different" find another way to state the question. In OSX we have "open process" but we can't do that for Unix process on the same box except through shell.. Now on our Linux web server I use this CGI for sending mail from remote rev Apps, where those apps have no mail services, but simple POST a msg to the web server... Now, if I could just "translate" this to work from inside a stack on OSX, we would have it. Or I might just use this CGI as is and put this CGI on an internal web site on our inhouse OSX Serve... but such a hack! I would rather be able to do this directly from any box... ######## #!/usr/local/bin/revolution ## This little CGI simply avoids the need to install an SMTP library ## on any client rev app. Instead, I just have the client app build a post ## string, parse that and let my server's send mail do the rest. ## the TO is hard coded, but obviously doesn't need to be. ## this saves a lot of headaches debugging email services in a rev client app. ## and you can do other stuff with this if you want, log it, poke a dbase etc. on startup if $REQUEST_METHOD is "POST" then repeat until length(tDataIn) >= $CONTENT_LENGTH read from stdin until empty put it after tDataIn end repeat split tDataIn by "&" and "=" ## the following is what I've been trying to emulate from the "console" version of Rev ## without success... put "/usr/sbin/sendmail -t" into mprocess open process mprocess for write write "From:" && (urlDecode (tDataIn["from"]))& cr to process mprocess write "To:" && "katir at hindu.org" & cr to process mprocess write "Subject:" && (urlDecode (tDataIn["subject"])) & cr & cr to process mprocess write (urlDecode (tDataIn["body"])) & cr to process mprocess close process mprocess put the result into tResponse ## in case this is being done from a web form then send back the response to port 80 put "Content-Type: text/html" & cr put "Content-Length:" && the length of tResponse & cr & cr put tResponse end if end startup On Sep 13, 2005, at 4:10 PM, Jim Ault wrote: > This may help, then again, maybe it does not apply to your situation > > http://developer.apple.com/technotes/tn2002/tn2065.html > > Q: How long can my command be, really? > > A: Calling do shell script creates a new sh process, and is therefore > subject to the system?s normal limits on passing data to new > processes: the > arguments (in this case, the text of your command plus about 40 > bytes of > overhead) and any environment variables may not be larger than > kern.argmax, > which is currently 262,144 bytes. Because do shell script inherits its > parent?s environment (see the next question), the exact amount of > space > available for command text depends on the calling environment. In > practical > terms, this comes out to somewhat more than 261,000 bytes, but unusual > environment settings might reduce that substantially. > Note: This limit used to be smaller; in Mac OS X 10.2 it was about > 65,000 > bytes. The shell command sysctl kern.argmax will give you the > current limit > in bytes. > > On 9/13/05 6:36 PM, "Sivakatirswami" wrote: > > >> OK the above works, but I want to try now piping tMsg straight into >> Send mail *without* saving or reading a file from the hard drive >> (why? some new security thing in OSX, Postfix preventing more than >> 1024 chars input without introducing a CRLF... even right in the >> middle of a word, I'm getting a space in the middle of a word in the >> HTML version a complete bad line break in the middle of a word (every >> 1024 chars) in the text alternative) >> > > or maybe you need to interact with the process directly as in > > Q: I have started a background process; how do I get its process ID > so I can > control it with other shell commands? > > A: You can use a feature of sh to do this: the special variable $! > is the ID > of the most recent background command, so you can echo it as the last > command in your shell script, like this: > do shell script "my_command &> /dev/null & echo $!" > -- result: 621 > set pid to the result > do shell script "renice +20 -p " & pid > -- change my_command's scheduling priority. > do shell script "kill " & pid > -- my_command is terminated. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Wed Sep 14 22:48:17 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 14 Sep 2005 19:48:17 -0700 Subject: Poke a Shell Variable with xTalk? In-Reply-To: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Message-ID: Just as an idea for a different tack to solve this problem. Can Rev write a file of info and the CGI receive a command to use that file >>>*without* saving or reading a file from the hard drive >>> (why? some new security thing in OSX, Postfix preventing more than >>> 1024 chars input without introducing a CRLF... even right in the >>> middle of a word, I'm getting a space in the middle of a word in the >>> HTML version a complete bad line break in the middle of a word (every >>> 1024 chars) in the text alternative) I guess I am thinking that you could save a file from Rev that had eveything, then pipe a command to use it. I am not a *nix or Windows guy so I am way out of my depth here. Jim Ault Las Vegas On 9/14/05 6:37 PM, "Sivakatirswami" wrote: > Jim, interesting, though I'm not much closer to a solution with this, > it did prompt me to "think different" find another way to state the > question. In OSX we have "open process" but we can't do that for > Unix process on the same box except through shell.. > > Now on our Linux web server I use this CGI for sending mail from > remote rev Apps, where those apps have no mail services, but simple > POST a msg to the web server... Now, if I could just "translate" this > to work from inside a stack on OSX, we would have it. Or I might > just use this CGI as is and put this CGI on an internal web site on > our inhouse OSX Serve... but such a hack! I would rather be able to > do this directly from any box... > > ######## > > #!/usr/local/bin/revolution > > ## This little CGI simply avoids the need to install an SMTP library > ## on any client rev app. Instead, I just have the client app build a > post > ## string, parse that and let my server's send mail do the rest. > ## the TO is hard coded, but obviously doesn't need to be. > ## this saves a lot of headaches debugging email services in a rev > client app. > ## and you can do other stuff with this if you want, log it, poke a > dbase etc. > > on startup > if $REQUEST_METHOD is "POST" then > repeat until length(tDataIn) >= $CONTENT_LENGTH > read from stdin until empty > put it after tDataIn > end repeat > split tDataIn by "&" and "=" > > ## the following is what I've been trying to emulate from the > "console" version of Rev > ## without success... > > put "/usr/sbin/sendmail -t" into mprocess > open process mprocess for write > write "From:" && (urlDecode (tDataIn["from"]))& cr to > process mprocess > write "To:" && "katir at hindu.org" & cr to process mprocess > write "Subject:" && (urlDecode (tDataIn["subject"])) & > cr & cr to process mprocess > write (urlDecode (tDataIn["body"])) & cr to process mprocess > close process mprocess > put the result into tResponse > > ## in case this is being done from a web form then send back the > response to port 80 > > put "Content-Type: text/html" & cr > put "Content-Length:" && the length of tResponse & cr & cr > put tResponse > > end if > end startup > > > > > > On Sep 13, 2005, at 4:10 PM, Jim Ault wrote: > >> This may help, then again, maybe it does not apply to your situation >> >> http://developer.apple.com/technotes/tn2002/tn2065.html >> >> Q: How long can my command be, really? >> >> A: Calling do shell script creates a new sh process, and is therefore >> subject to the system?s normal limits on passing data to new >> processes: the >> arguments (in this case, the text of your command plus about 40 >> bytes of >> overhead) and any environment variables may not be larger than >> kern.argmax, >> which is currently 262,144 bytes. Because do shell script inherits its >> parent?s environment (see the next question), the exact amount of >> space >> available for command text depends on the calling environment. In >> practical >> terms, this comes out to somewhat more than 261,000 bytes, but unusual >> environment settings might reduce that substantially. >> Note: This limit used to be smaller; in Mac OS X 10.2 it was about >> 65,000 >> bytes. The shell command sysctl kern.argmax will give you the >> current limit >> in bytes. >> >> On 9/13/05 6:36 PM, "Sivakatirswami" wrote: >> >> >>> OK the above works, but I want to try now piping tMsg straight into >>> Send mail *without* saving or reading a file from the hard drive >>> (why? some new security thing in OSX, Postfix preventing more than >>> 1024 chars input without introducing a CRLF... even right in the >>> middle of a word, I'm getting a space in the middle of a word in the >>> HTML version a complete bad line break in the middle of a word (every >>> 1024 chars) in the text alternative) >>> >> >> or maybe you need to interact with the process directly as in >> >> Q: I have started a background process; how do I get its process ID >> so I can >> control it with other shell commands? >> >> A: You can use a feature of sh to do this: the special variable $! >> is the ID >> of the most recent background command, so you can echo it as the last >> command in your shell script, like this: >> do shell script "my_command &> /dev/null & echo $!" >> -- result: 621 >> set pid to the result >> do shell script "renice +20 -p " & pid >> -- change my_command's scheduling priority. >> do shell script "kill " & pid >> -- my_command is terminated. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Wed Sep 14 23:33:30 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 14 Sep 2005 17:33:30 -1000 Subject: Poke a Shell Variable with xTalk? In-Reply-To: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> References: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Message-ID: OK more digging... I am very close...(after 10 hours or more on this...) more simple than I thought "echo" is your friend! Only now, a new problem, end lines on the Mac. I am unable to enforce them by any means. ----------------- put "Subject: Rev Rocks" & cr \ & "From: Innovative_Geologists at xTalkQuarry.com" & cr \ & "To: AnyoneWhoLikesPerl at LostInCyberSpace.com" & cr \ & "Subject: Try It... You will be Happy You Did!" & cr & cr &"Get more done with few lines of code than you will ever imagine possible." into tMsg put tMsg into $DailyEmail set the shellcommand to "/bin/sh" put "echo $DailyEmail" into tCmd put shell(tCmd) result: Subject: Rev Rocks From: Innovative_Geologists at xTalkQuarry.com To: AnyoneWhoLikesPerl at LostInCyberSpace.com Subject: Try It... You will be Happy You Did! Get more done with few lines of code than you will ever imagine possible. # no line breaks! OK try this now (the old standby if writing a file that some Nix program needs to handle:) put "Subject: Rev Rocks" & cr \ & "From: Innovative_Geologists at xTalkQuarry.com" & cr \ & "To: AnyoneWhoLikesPerl at LostInCyberSpace.com" & cr \ & "Subject: Try It... You will be Happy You Did!" & cr & cr &"Get more done with few lines of code than you will ever imagine possible." into tMsg replace char (13) with char(10) in tMsg put tMsg into $DailyEmail set the shellcommand to "/bin/sh" put "echo $DailyEmail" into tCmd put shell(tCmd) Same result: no line breaks: Subject: Rev Rocks From: Innovative_Geologists at xTalkQuarry.com To: AnyoneWhoLikesPerl at LostInCyberSpace.com Subject: Try It... You will be Happy You Did! Get more done with few lines of code than you will ever imagine possible. but if I write tMsg to a file and read that file and put tFile I will get Subject: Rev Rocks From: Innovative_Geologists at xTalkQuarry.com To: AnyoneWhoLikesPerl at LostInCyberSpace.com Subject: Try It... You will be Happy You Did! Get more done with few lines of code than you will ever imagine possible. so, put "echo $DailyEmail | sendmail hpi.list at hindu.org katir at hindu.org" into tCmd does what I wanted to do (pipe a variable from a Transcript script into a shell script, and then from StnOut to StnIn to fooProcess) but no end lines and sendmail is not happy at all... this the whole thing is the Subject.... ?? Sivakatirswami On Sep 14, 2005, at 3:37 PM, Sivakatirswami wrote: > Jim, interesting, though I'm not much closer to a solution with > this, it did prompt me to "think different" find another way to > state the question. In OSX we have "open process" but we can't do > that for Unix process on the same box except through shell.. > > Now on our Linux web server I use this CGI for sending mail from > remote rev Apps, where those apps have no mail services, but simple > POST a msg to the web server... Now, if I could just "translate" > this to work from inside a stack on OSX, we would have it. Or I > might just use this CGI as is and put this CGI on an internal web > site on our inhouse OSX Serve... but such a hack! I would rather > be able to do this directly from any box... > > ######## > > #!/usr/local/bin/revolution > > ## This little CGI simply avoids the need to install an SMTP library > ## on any client rev app. Instead, I just have the client app build > a post > ## string, parse that and let my server's send mail do the rest. > ## the TO is hard coded, but obviously doesn't need to be. > ## this saves a lot of headaches debugging email services in a rev > client app. > ## and you can do other stuff with this if you want, log it, poke a > dbase etc. > > on startup > if $REQUEST_METHOD is "POST" then > repeat until length(tDataIn) >= $CONTENT_LENGTH > read from stdin until empty > put it after tDataIn > end repeat > split tDataIn by "&" and "=" > > ## the following is what I've been trying to emulate from the > "console" version of Rev > ## without success... > > put "/usr/sbin/sendmail -t" into mprocess > open process mprocess for write > write "From:" && (urlDecode (tDataIn["from"]))& cr to > process mprocess > write "To:" && "katir at hindu.org" & cr to process mprocess > write "Subject:" && (urlDecode (tDataIn["subject"])) & > cr & cr to process mprocess > write (urlDecode (tDataIn["body"])) & cr to process > mprocess > close process mprocess > put the result into tResponse > > ## in case this is being done from a web form then send back the > response to port 80 > > put "Content-Type: text/html" & cr > put "Content-Length:" && the length of tResponse & cr & cr > put tResponse > > end if > end startup > > > > > > On Sep 13, 2005, at 4:10 PM, Jim Ault wrote: > > >> This may help, then again, maybe it does not apply to your situation >> >> http://developer.apple.com/technotes/tn2002/tn2065.html >> >> Q: How long can my command be, really? >> >> A: Calling do shell script creates a new sh process, and is therefore >> subject to the system?s normal limits on passing data to new >> processes: the >> arguments (in this case, the text of your command plus about 40 >> bytes of >> overhead) and any environment variables may not be larger than >> kern.argmax, >> which is currently 262,144 bytes. Because do shell script inherits >> its >> parent?s environment (see the next question), the exact amount of >> space >> available for command text depends on the calling environment. In >> practical >> terms, this comes out to somewhat more than 261,000 bytes, but >> unusual >> environment settings might reduce that substantially. >> Note: This limit used to be smaller; in Mac OS X 10.2 it was about >> 65,000 >> bytes. The shell command sysctl kern.argmax will give you the >> current limit >> in bytes. >> >> On 9/13/05 6:36 PM, "Sivakatirswami" wrote: >> >> >> >>> OK the above works, but I want to try now piping tMsg straight into >>> Send mail *without* saving or reading a file from the hard drive >>> (why? some new security thing in OSX, Postfix preventing more than >>> 1024 chars input without introducing a CRLF... even right in the >>> middle of a word, I'm getting a space in the middle of a word in the >>> HTML version a complete bad line break in the middle of a word >>> (every >>> 1024 chars) in the text alternative) >>> >>> >> >> or maybe you need to interact with the process directly as in >> >> Q: I have started a background process; how do I get its process >> ID so I can >> control it with other shell commands? >> >> A: You can use a feature of sh to do this: the special variable $! >> is the ID >> of the most recent background command, so you can echo it as the last >> command in your shell script, like this: >> do shell script "my_command &> /dev/null & echo $!" >> -- result: 621 >> set pid to the result >> do shell script "renice +20 -p " & pid >> -- change my_command's scheduling priority. >> do shell script "kill " & pid >> -- my_command is terminated. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wlists at fireworksmm.com Thu Sep 15 00:00:42 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Thu, 15 Sep 2005 00:00:42 -0400 Subject: How to run a program in a shell In-Reply-To: References: <8E9C8597-C401-4964-B633-04509785E676@fireworksmm.com> Message-ID: <9A0E8A39-F86C-4FA0-9CED-E0FD845E6406@fireworksmm.com> Hello Sarah: Worked very well. I had the whole concept wrong. Thanks for your help. W. On Sep 6, 2005, at 6:32 PM, Sarah Reichelt wrote: >> I have an app (runs on OSX) that is basically a website generator. >> Looks at some folders and puts some html wrappers around files there >> after a user enters some info. Two of the items entered are a >> username and password. The prog then generates all the html and >> should generate an .htaccess and .htpasswd files. >> >> What I need is to run htpasswd to generate the encrypted password >> for .htaccess >> >> The problem is that REV won't let me run or even launch a shell. It's >> supposed to work, but it just doesn't. >> >> If anybody knows how to run a shell prog and return it's result I >> would REALLY appreciate any help. >> >> > Hi Wally, > > I have done this many times without problem, although I have never > tried it with the htpasswd command. > > For a simple command, I use somethig like this: > > put "cd /Users/sarah/Desktop/" & cr & "pwd" into tCmd -- put the > shell command into a variable > put shell(tCmd) into tResult -- do the shell command and get the > result > put tResult into fld 1 -- display the result > > As you can see, I was able to use a 2 line series of commands, by just > joining them together with a line break. > > If the shell command requires sudo, then it gets a bit more > complicated, but here is how I do it (this example sets the system > clock): > > put "#!/bin/sh" & cr into tScript > put "pw=" & quote & tPass & quote & cr after tScript > put "echo $pw | sudo -S date " & tDate & tTime & cr after tScript > -- build the command lines > put shell(tScript) into tCheck -- do the command & get the result > > You have to quote your admin password, but you can ask for that when > running the script. > > Finally, you sometimes need to run a shell command in the background. > In this case, I use the following syntax, which puts the result into a > text file. I then set up a regular check to see if the text file is > there and read the result when it's ready (this example pings an IP > address, waiting up to 15 seconds for the result, but not blocking > anything else from happening during that time): > > function checkPing pIP > put specialFolderPath("Desktop") & "/ping.txt" into tFileName > if there is a file tFileName then delete file tFileName > > put "ping -c1 -n " & pIP into tShellCmd > put " > " & tFileName & " 2>&1 &" after tShellCmd > get shell(tShellCmd) > > repeat 15 times > wait 1 second with messages > if there is a file tFileName then > put URL ("file:" & tFileName) into tRes > if tRes is empty then next repeat -- file created but no > result yet > > put wordOffset("loss", tRes) into tWord > if tWord = 0 then next repeat -- file created but result not > complete > > put word tWord-2 of tRes into tPercent > if tPercent = "0%" then return true > else return false > end if > end repeat > > return false > end checkPing > > I hope these examples help, but if you want any further advice or > testing, let me know. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From stephenREVOLUTION at barncard.com Thu Sep 15 00:45:21 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 14 Sep 2005 21:45:21 -0700 Subject: Poke a Shell Variable with xTalk? In-Reply-To: References: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Message-ID: Swami, Maybe you thought of this already, but did you try LINEFEED instead of RETURN? sqb >OK more digging... I am very close...(after 10 hours or more on >this...) more simple than I thought > >"echo" is your friend! Only now, a new problem, end lines on the >Mac. I am unable to enforce them by any means. > >----------------- >put "Subject: Rev Rocks" & cr \ >& "From: Innovative_Geologists at xTalkQuarry.com" & cr \ >& "To: AnyoneWhoLikesPerl at LostInCyberSpace.com" & cr \ >& "Subject: Try It... You will be Happy You Did!" & cr & cr >&"Get more done with few lines of code than you will ever imagine >possible." into tMsg > From katir at hindu.org Thu Sep 15 01:07:52 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 14 Sep 2005 19:07:52 -1000 Subject: Poke a Shell Variable with xTalk? In-Reply-To: References: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Message-ID: Well I thought: replace numToChar (13) with numToChar (10) accomplishes this. Indeed it does if I write a file to the hard drive and have some Nix program open and read it... end-of-lines are recognized (they are not if you don't change char (13) to char (10) But, the anomaly here is that replace numToChar (13) with numToChar (10) in tMsg put tMsg into $DailyEmail set the shellcommand to "bin/sh" put "echo $DailyEmail" | sendmail [etc.] into tCmd put shell(tCmd) the result is empty (i.e. Send mail is accepting the input) But the email we get is "bogus"... the entire text of the msg is poked into the subject line... i.e. no end lines are being sent to StnOut from Echo... and whether or not I leave them as ASCII 13 or Change them to ASCII 10.. there result is the same: no line delimiter is recognized at all. So "echo" is not echoing the ends of lines...no matter what they are... I don't think this will change by declaring them as constant NAMES "LINEFEED" but I will try. replace numToChar (13) with CLRF in tMsg # also doesn't make any difference. .. everything still on one line. Sivakatirswami On Sep 14, 2005, at 6:45 PM, Stephen Barncard wrote: > Swami, > Maybe you thought of this already, but did you try LINEFEED instead > of RETURN? > > sqb > > >> OK more digging... I am very close...(after 10 hours or more on >> this...) more simple than I thought >> >> "echo" is your friend! Only now, a new problem, end lines on the >> Mac. I am unable to enforce them by any means. >> >> ----------------- >> put "Subject: Rev Rocks" & cr \ >> & "From: Innovative_Geologists at xTalkQuarry.com" & cr \ >> & "To: AnyoneWhoLikesPerl at LostInCyberSpace.com" & cr \ >> & "Subject: Try It... You will be Happy You Did!" & cr & cr >> &"Get more done with few lines of code than you will ever imagine >> possible." into tMsg >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Thu Sep 15 02:01:03 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 14 Sep 2005 23:01:03 -0700 Subject: Poke a Shell Variable with xTalk? In-Reply-To: References: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Message-ID: Use \n or \r ?? URLEncode? %0D%0A --?? there's gotta be a way.. (I'm just guessing here...but it is an email message..) > > >replace numToChar (13) with CLRF in tMsg # also doesn't make any >difference. .. everything still on one line. > >Sivakatirswami > > > >On Sep 14, 2005, at 6:45 PM, Stephen Barncard wrote: > >>Swami, >>Maybe you thought of this already, but did you try LINEFEED instead >>of RETURN? >> >>sqb >> >>>OK more digging... I am very close...(after 10 hours or more on >>>this...) more simple than I thought >>> >>>"echo" is your friend! Only now, a new problem, end lines on the >>>Mac. I am unable to enforce them by any means. >>> >>>----------------- >>>put "Subject: Rev Rocks" & cr \ >>>& "From: Innovative_Geologists at xTalkQuarry.com" & cr \ >>>& "To: AnyoneWhoLikesPerl at LostInCyberSpace.com" & cr \ >>>& "Subject: Try It... You will be Happy You Did!" & cr & cr >>>&"Get more done with few lines of code than you will ever imagine >>>possible." into tMsg >>> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From 36degrees at runrev.com Thu Sep 15 04:58:17 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Thu, 15 Sep 2005 09:58:17 +0100 Subject: Hybrid CD In-Reply-To: <01ec01c5b965$1c014d50$0300a8c0@Dell8250> References: <01ec01c5b965$1c014d50$0300a8c0@Dell8250> Message-ID: Although this may not be quite the answer you wanted, I've found the easiest way to make hybrid CDs on MacOS X is to: 1) Create a CD sized disk image (using the Disk Utility) 2) Mount/Attach/Open (choose your favourite verb) your fresh DMG 3) Copy in your directory structure and all the files 4) Set it up precisely how you want it to look under MacOS with icons/backdrops/file placement etc. 5) Execute the following command in a terminal window: hdiutil makehybrid -o 6) Take the ISO image and burn away. This will quite happily create an ISO image with: - HFS (MacOS) extensions - Joliet (Windows) extensions - RockRidge (UNIX) extensions Meaning that it should work fine on virtually any platform... Incidentally, the 'hdiutil' command-line utility is great - allows you to do everything Disk Utility does and more. Anyone looking to do CD/ISO/DVD image related work (and who hasn't done so already) should definitely type 'man hdiutil' into a friendly terminal window :o) Warmest Regards, Mark. On 14 Sep 2005, at 20:47, Revolution wrote: > Someone created a great "How To" for creating hybrid CDs. I recall > seeing it > a long time ago but can't find it now. The problem I am having is > not with > the actual creation of hybrid CDs using Toast, but rather with icon > (file) > placement in the OS9/OSX portion of the CD. Can someone point me to > a step > by step article. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > 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 paolo.mazza at neol.it Thu Sep 15 06:07:47 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Thu, 15 Sep 2005 12:07:47 +0200 Subject: Most Recent Darwin Engine In-Reply-To: <432064D4.8000704@hyperactivesw.com> References: <08639FE2-6402-488B-BE8C-B91182C7A421@videotron.ca> <,> <432064D4.8000704@hyperactivesw.com> Message-ID: You wrote: > >I think that is the last one that was officially released. where can I download the last darwin engine from? > From dburgun at dsl.pipex.com Thu Sep 15 07:09:34 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 15 Sep 2005 12:09:34 +0100 Subject: preOpenStack Weirdness In-Reply-To: <20050909150440.92F61824D27@mail.runrev.com> References: <20050909150440.92F61824D27@mail.runrev.com> Message-ID: Hi, Just saw your reply! Sorry I didn't mean to suggest that you thought my code was badly written, was just puzzled at what you meant! If I take the code as-is and paste it into the openStack handler it works! In fact if I execute it anywhere except in a preOpenStack handler it works! Is this the correct behavour? It is REALLY causing me problems at the moment, since I have to remember not to use functions/handlers in the "Utility" Stack in preOpen handlers. Could anyone shed some light on this????? Thanks a lot for all your help All the Best Dave >My first sentence was a suggestion to see the >problem differently in the hopes that your >problem would reveal itself... > >Not that your code was badly written... > > >> -----Original Message----- >> From: David Burgun [mailto:dburgun at dsl.pipex.com] >> Sent: Friday, September 09, 2005 14:07 >> To: x at monsieurx.com; How to use Revolution >> Subject: RE: preOpenStack Weirdness >> >> Hi, >> >> Sorry I really don't understand what you mean. The stack file >> is definitely present so the "if there is a stack" always >> succeeds, also I am using the full path so I don't need to do >> the "set directory" >> command, I just use the full path string. >> >> Still puzzled! >> >> All the Best >> Dave >> >> >Hi David >> > >> >trying to see it differently may answer your question on preopenstack >> > set the directory to thispath >> > if there is a stack thisstack then >> > start using stack thisstack >> > else >> > reporterror thefiles >> > end if >> > pass preopenstack >> >end preopenstack >> > >> >cheers >> >Xavier >> > >> >> -----Original Message----- >> >> From: use-revolution-bounces at lists.runrev.com >> >> [mailto:use-revolution-bounces at lists.runrev.com] On >> Behalf Of David >> >> Burgun >> >> Sent: Friday, September 09, 2005 13:19 >> >> To: How to use Revolution >> >> Subject: preOpenStack Weirdness >> >> >> >> Hi, >> >> >> >> I have a stack that has a preOpenStack handler in the >> Stack Script. >> >> When I try to do the following I get a error: >> >> >> >> start using stack "/Documents/RunRev/Stacks/Main.rev" >> >> >> >> This statement causes an error saying that the Stack Cannot be >> >> found but I know's is there and if I run this script in a mouseUp >> >> handler or in the openStack handler it works ok. >> >> >> >> Why doesn't this work as expected?? >> >> >> >> Thanks a lot for your help >> >> All the Best >> >> Dave >> >> >> >> _______________________________________________ >> >> use-revolution mailing list >> >> use-revolution at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > >> >_______________________________________________ >> >use-revolution mailing list >> >use-revolution at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-revolution >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From jeff at awesomebounce.com Wed Sep 14 15:52:57 2005 From: jeff at awesomebounce.com (Jeff Roberts) Date: Wed, 14 Sep 2005 12:52:57 -0700 Subject: Rev Dev WANTED! Message-ID: Hi, I've got a medium sized project based on a Rinaldi ridden HC stack that essentially runs my business from order processing, driver routing, contact management, affiliate accounts, to contract and reports printing. I have a spec to combine with the HC stack with a few added "widgets" in terms of conveying what I need; so the difficult part is done! Please only respond if you're truly qualified to do this project and have time in your schedule. I typically don't want to be your smallest or largest project, I'm not looking to be neglected or a guinea pig. Thank you, Jeff Roberts Awesome Bounce! 661 257-4086 x101 jeff at awesomebounce.com From userev at canelasoftware.com Thu Sep 15 10:04:29 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 15 Sep 2005 07:04:29 -0700 Subject: Why I have got only 2 speakers working with Quicktime 7 ? In-Reply-To: <432820A8.70701@laposte.net> References: <432820A8.70701@laposte.net> Message-ID: <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> On Sep 14, 2005, at 6:07 AM, Damien Girard wrote: > Hi all, > > I have upgraded Quicktime of my Windows to the version 7, and I > have got a problem. > > With Quicktime 6, when I was playing a stereo file (mp3) with > runrev, I had got all my speakers who return the sound. > (This is a feature of my soundcard). But, I have upgraded to > Quicktime 7, and I have got only the sound on my front speakers. > > So, I wan't to know how I can set all my speaker work with > Quicktime 7 and Revolution (because in Itunes, stereo files are > played with all my speaker and not > only front speaker). I can only say that QT 7 now supports full surround sound. If the audio is encoded in stereo only, that may be the problem. I am sure there is a way to force the recorded channels through to all speakers, but I do not know how. Mark Talluto -- CANELA Software http://www.canelasoftware.com From david at openpartnership.net Thu Sep 15 10:40:19 2005 From: david at openpartnership.net (david bovill) Date: Thu, 15 Sep 2005 16:40:19 +0200 Subject: Poke a Shell Variable with xTalk? In-Reply-To: References: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Message-ID: My suggestion would be to go with the (text file + shelling to sendmail) combination, and not the (shell + echo + pipe) combination to get variables into anything but the simplest stuff. I have not done this with sendmail but looking at the man page, would indicate that you need to use the : Postfix sendmail relies on the postdrop(1) command to create a queue file in the maildrop directory. Which you can find at: /var/spool/postfix, mail queue However as this says use postdrop which in return takes input from STDIN you are back to square one. newaliases Initialize the alias database. If no input file is specified (with the -oA option, see below), the program processes the file(s) specified with the alias_database configuration parame- ter. If no alias database type is specified, the program uses the type specified with the default_database_type configuration parameter. This mode of operation is implemented by running the postalias(1) command. Where: -oAalias_database Non-default alias database. Specify pathname or type:pathname. See postalias(1) for details. So this is not looking simple:) The postalias command seems to be the thing you need to create the queue files in the maildrop directory (from files): POSTALIAS(1) POSTALIAS(1) NAME postalias - Postfix alias database maintenance SYNOPSIS postalias [-Nfinoprvw] [-c config_dir] [-d key] [-q key] [file_type:]file_name ... So by issuing a series of simple commands passing the right fileNames you should get the result you want? NB ie use merge() to create the right shell commands... From simplsol at aol.com Thu Sep 15 10:52:17 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Thu, 15 Sep 2005 10:52:17 -0400 Subject: Rev Dev WANTED! In-Reply-To: References: Message-ID: <8C7881C3398B06A-1270-F6E4@MBLK-M12.sysops.aol.com> Jeff, If you find someone please let me know. We have been converting our HyperCard business system to Rev for over three years! It has taken so long because Rev still doesn't do some of the things we take for granted in HC. Reports is an example, Rev still doesn't do reporting (among other problems, Quartam Reports won't handle scrolling fields!) - HC and 9 to 5 Reports was a much better combination. If your system is multi-user, there are another set of "issues". Anyway, we're working on it. Incidentally our most popular business system is for rentals. In your neighborhood it is used by All Valley in Granada Hills, A-Rental Connection in Canoga Park, Agoura Rentals in Agoura and Palmdale/Lancaster, A+ in North Hills, Jim's One Stop in Sunland, and SCVRC in Saugus. We are in San Dimas. I just returned from New Jersey where I spent a week with one of our customers, Magical Enterprises, the largest bounce rental company on the East Coast. They have been using our system for about ten years. You might consider joining the So Cal Rev Dev Con which meets "semi-monthly" - ususally at 4th World in downtown LA. You could meet Richard Gaskin our host and programmer extraordinare, as well as many of the local Rev Gurus, and Ken Ray regularly flies in from Wisconsin. Let me know if you are interested, I believe I could prevail on Mr. Gaskin to invite you. Sincerely, Paul Looney PS Don't panic at the prospect of a three year conversion. Our system consists of 43 interactive stacks, over 100 reports, and 11 plugins. It is multi-user and very powerful - the orders stack alone has over 150 fields and over 150 buttons. We have found that simple conversions can be done quite simply. If you wish to chat about things HyperCard, give me a call 951-545-8885 -----Original Message----- From: Jeff Roberts To: use-revolution at lists.runrev.com Sent: Wed, 14 Sep 2005 12:52:57 -0700 Subject: Rev Dev WANTED! Hi, I've got a medium sized project based on a Rinaldi ridden HC stack that essentially runs my business from order processing, driver routing, contact management, affiliate accounts, to contract and reports printing. I have a spec to combine with the HC stack with a few added "widgets" in terms of conveying what I need; so the difficult part is done! Please only respond if you're truly qualified to do this project and have time in your schedule. I typically don't want to be your smallest or largest project, I'm not looking to be neglected or a guinea pig. Thank you, Jeff Roberts Awesome Bounce! 661 257-4086 x101 jeff at awesomebounce.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dam-pro.girard at laposte.net Thu Sep 15 11:37:49 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Thu, 15 Sep 2005 17:37:49 +0200 Subject: Why I have got only 2 speakers working with Quicktime 7 ? In-Reply-To: <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> References: <432820A8.70701@laposte.net> <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> Message-ID: <1126798669.6050.4.camel@White-Side> Le jeudi 15 septembre 2005 ? 07:04 -0700, Mark Talluto a ?crit : > On Sep 14, 2005, at 6:07 AM, Damien Girard wrote: > > > Hi all, > > > > I have upgraded Quicktime of my Windows to the version 7, and I > > have got a problem. > > > > With Quicktime 6, when I was playing a stereo file (mp3) with > > runrev, I had got all my speakers who return the sound. > > (This is a feature of my soundcard). But, I have upgraded to > > Quicktime 7, and I have got only the sound on my front speakers. > > > > So, I wan't to know how I can set all my speaker work with > > Quicktime 7 and Revolution (because in Itunes, stereo files are > > played with all my speaker and not > > only front speaker). > > > I can only say that QT 7 now supports full surround sound. If the > audio is encoded in stereo only, that may be the problem. I am sure > there is a way to force the recorded channels through to all > speakers, but I do not know how. > > > Mark Talluto Hi Mark, Under windows, DirectSound have got the CMMS feature (feature supported by my soundcard). Quicktime 6 used DirectSound, and this feature worked. But with Quicktime 7, this feature is not used, and stereo file aren't played by all my speakers. If is it only a Quicktime problem, is it not the place for this message, but when I play a media file with iTunes, the CMMS feature is used ! So I wan't to know if there are a way for have this feature work with Runrev. Regards, Damien Girard Email: dam-pro.girard at laposte.net From revdan at danshafer.com Thu Sep 15 12:21:46 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 15 Sep 2005 09:21:46 -0700 Subject: [OT] Any PDF Experts Out There in RevLand? Message-ID: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> I am stuck for an OS X solution that will auto-generate interactive Tables of Contents and bookmarks for PDFs. It's got me in a bit of a box vis a vis upgrading my Rev SmartEBooks. I posted an entry about it on my blog today (http://www.eclecticity.com/.3c657439) if you want to read the gory details. If anyone here knows of a solution other than Aerialist from ArtsPDF which, as my blog entry spells out, does not seem to work well at all, 'd appreciate an off-list pointer. Meanwhile, know that I'm working on the problem practically full-time. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From rjearp at hotmail.com Thu Sep 15 12:33:25 2005 From: rjearp at hotmail.com (Bob Earp) Date: Thu, 15 Sep 2005 09:33:25 -0700 Subject: Text to speech engines for Windows Message-ID: What's the best English text to speech engine for Windows? I see there are ones from Microsoft, WinSpeech, Lernout & Hauspie, AT&T, and maybe others. Are there others for Spanish, Portuguese and French ? Also, through searching I see references to SAPI 4.0, SAPI 5.0 and SAPI 5.1 (I assume) standards for these engines. Are there any problems associated with a particular version and a release of Windows ? Tnx, Bob... Bob Earp - White Rock, BC _________________________________________________________________ Take charge with a pop-up guard built on patented Microsoft? SmartScreen Technology http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From dcragg at lacscentre.co.uk Thu Sep 15 12:56:51 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 15 Sep 2005 17:56:51 +0100 Subject: [OT] Any PDF Experts Out There in RevLand? In-Reply-To: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> References: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> Message-ID: <4A6F1F87-36C2-475F-9AE9-1D257C3A1065@lacscentre.co.uk> On 15 Sep 2005, at 17:21, Dan Shafer wrote: > I am stuck for an OS X solution that will auto-generate interactive > Tables of Contents and bookmarks for PDFs. It's got me in a bit of > a box vis a vis upgrading my Rev SmartEBooks. I posted an entry > about it on my blog today (http://www.eclecticity.com/.3c657439) if > you want to read the gory details. > > If anyone here knows of a solution other than Aerialist from > ArtsPDF which, as my blog entry spells out, does not seem to work > well at all, 'd appreciate an off-list pointer. > Probably not the solution you were looking for, but it seems you're not alone: http://www.entropy.ch/software/macosx/docs/openoffice-mac/ Cheers Dave From stephenREVOLUTION at barncard.com Thu Sep 15 13:22:15 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 15 Sep 2005 10:22:15 -0700 Subject: Why I have got only 2 speakers working with Quicktime 7 ? In-Reply-To: <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> References: <432820A8.70701@laposte.net> <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> Message-ID: This sounds like proper default behavior to me. If one is monitoring stereo in professional situations, one does NOT use the rear speakers with the same info. If surround is now a possibility in QT7, then this is correct behavior. There would be no way for the software to know how your system is connected in analog. Anyway if you must have the same front and back, simple connector splitters are available at Radio Shack. >On Sep 14, 2005, at 6:07 AM, Damien Girard wrote: > >>Hi all, >> >>I have upgraded Quicktime of my Windows to the version 7, and I >>have got a problem. >> >>With Quicktime 6, when I was playing a stereo file (mp3) with >>runrev, I had got all my speakers who return the sound. >>(This is a feature of my soundcard). But, I have upgraded to >>Quicktime 7, and I have got only the sound on my front speakers. > >I can only say that QT 7 now supports full surround sound. If the >audio is encoded in stereo only, that may be the problem. I am sure >there is a way to force the recorded channels through to all >speakers, but I do not know how. > >Mark Talluto From david at openpartnership.net Thu Sep 15 13:26:19 2005 From: david at openpartnership.net (david bovill) Date: Thu, 15 Sep 2005 19:26:19 +0200 Subject: [OT] Any PDF Experts Out There in RevLand? In-Reply-To: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> References: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> Message-ID: <0C3E429C-FDED-4490-B277-9206894AD43B@openpartnership.net> I'm working on this at the moment - part time though. At the moment I am basing this on web services and the Apache Forrest project - http://forrest.apache.org/. Rev Client (GUI Interface) Basic outliner which can import / export a number of formats: Rev writes XML files for: 1) Hierarchical Navigation = site map (see later) 2) Tab Navigation (for web site) 3) XML files for contents of each web page - corresponds to a title in the outliner and site map. Rev sends this information to Apache Forrest This is a Java program which could run on OSX - I have it installed on a Linux server. Once you set this up you can use the xml files created above to both generate skinable web sites together with navigation as well as good PDF export with bookmarks and tables etc. 1) Provide a) Basic web service (REST based) or b) Run Forrest as daemon and ftp or write xml files to directory 2) Return (download) pdf document Happy to work on it with you or anyone else on the list - can chat online and talk through it if you want: fortyfoxes at jabber.org From david at openpartnership.net Thu Sep 15 13:27:32 2005 From: david at openpartnership.net (david bovill) Date: Thu, 15 Sep 2005 19:27:32 +0200 Subject: External Script Editor In-Reply-To: References: <432820A8.70701@laposte.net> <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> Message-ID: Is it still possible to set an external application to edit scripts in Revolution - can't see anything in the docs. Would like to be able to do this on OSX? From stephenREVOLUTION at barncard.com Thu Sep 15 13:41:27 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 15 Sep 2005 10:41:27 -0700 Subject: External Script Editor In-Reply-To: References: <432820A8.70701@laposte.net> <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> Message-ID: Trevor Devore has a plugin for Rev that can work for BBEDit. Look for the "BBEdit Transcript Language Module" http://mangomultimedia.com/developer/revolution/ It works pretty well. Remember that you won't be able to use the debugger in this mode...but one can switch back and forth. >Is it still possible to set an external application to edit scripts >in Revolution - can't see anything in the docs. Would like to be >able to do this on OSX? From david at openpartnership.net Thu Sep 15 13:57:59 2005 From: david at openpartnership.net (david bovill) Date: Thu, 15 Sep 2005 19:57:59 +0200 Subject: External Script Editor In-Reply-To: References: <432820A8.70701@laposte.net> <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> Message-ID: Thanks - but link is just for the BBEdit module. How to simply open a script in an other editor by default - ie SubethaEdit or BBEdit? There used to be a command in Transcript i believe - perhaps only for Unix? Do I have to hack the Rev interface and then use AppleScript to open editor? On 15 Sep 2005, at 19:41, Stephen Barncard wrote: > Trevor Devore has a plugin for Rev that can work for BBEDit. > Look for the "BBEdit Transcript Language Module" > > http://mangomultimedia.com/developer/revolution/ > > It works pretty well. Remember that you won't be able to use the > debugger in this mode...but one can switch back and forth. > > >> Is it still possible to set an external application to edit >> scripts in Revolution - can't see anything in the docs. Would like >> to be able to do this on OSX? >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Thu Sep 15 14:29:41 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 15 Sep 2005 11:29:41 -0700 Subject: External Script Editor In-Reply-To: References: <432820A8.70701@laposte.net> <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> Message-ID: sorry, wrong plug, wrong guy. you need the MLXEditor from Alex Rice at MindLube software: http://www.mindlube.com/developer/index.html Recipes for BBEDIT,EMACS,TextEdit and for Windoze, Notepad and Wordpad. Might be more available now. Recipies are text snippets of transcript that handles the interface with the shell, so it should be easy to adapt. >Thanks - but link is just for the BBEdit module. How to simply open >a script in an other editor by default - ie SubethaEdit or BBEdit? >There used to be a command in Transcript i believe - perhaps only >for Unix? > >Do I have to hack the Rev interface and then use AppleScript to open editor? From lists at mangomultimedia.com Thu Sep 15 14:39:57 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 15 Sep 2005 11:39:57 -0700 Subject: External Script Editor In-Reply-To: References: <432820A8.70701@laposte.net> <178E9A41-007D-4E2D-8B38-4FF9562BFC31@canelasoftware.com> Message-ID: <83A960E0-D4D1-4AC3-ADD3-482F379B4590@mangomultimedia.com> On Sep 15, 2005, at 11:29 AM, Stephen Barncard wrote: > you need the MLXEditor from Alex Rice at MindLube software: > http://www.mindlube.com/developer/index.html MLXEditor is great but one drawback (as Stephen mentioned) is that it can be a pain to debug with since by default, your external editor is opened whenever the Rev debugger tries to kick in. You can hold down the shift key to bypass MLXEditor and use the default Rev editor but it still makes debugging difficult. There is a simple fix though. Here is a modification you can make in order to bypass MLXEditor whenever the debugger is being used. So while editing scripts in your external editor you can type "breakpoint" anywhere in your code, save the script, return to Rev and when you run the script the Rev debugger will open. Just make sure you close the debugger before editing the script in the external editor again. Here is what you do after installing MLXEditor: 1) type the following in the message box and execute it: edit script of card 3 of stack "revmlxeditor" 2) Change the script to: local sDebugging = "false" on traceBreak put true into sDebugging pass traceBreak end traceBreak on editScript pID get sDebugging put false into sDebugging if it then pass editScript -- use built-in script editor/debugger if shiftKey() = "down" then pass editScript -- use builtin script editor -- default to external script editor send "doEditScript pID" to stack "revMLXEditor" end editScript -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kray at sonsothunder.com Thu Sep 15 15:10:40 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 15 Sep 2005 14:10:40 -0500 Subject: External Script Editor In-Reply-To: Message-ID: On 9/15/05 1:29 PM, "Stephen Barncard" wrote: > sorry, wrong plug, wrong guy. > > you need the MLXEditor from Alex Rice at MindLube software: > http://www.mindlube.com/developer/index.html > > Recipes for BBEDIT,EMACS,TextEdit and for Windoze, Notepad and > Wordpad. Might be more available now. Yes, actually I've used it with SubEthaEdit, along with Christian Langers' Transcript syntax colorization module for SubEthaEdit. Works nicely! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revdan at danshafer.com Thu Sep 15 17:04:15 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 15 Sep 2005 14:04:15 -0700 Subject: [OT] Any PDF Experts Out There in RevLand? In-Reply-To: <0C3E429C-FDED-4490-B277-9206894AD43B@openpartnership.net> References: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> <0C3E429C-FDED-4490-B277-9206894AD43B@openpartnership.net> Message-ID: <2FC3D3E2-A894-4206-AA16-AAEC5C85EFCA@danshafer.com> I have a friend who's the production VP for a book publisher that does a lot of eBook stuff. He tells me this is only possible on OS X with Adobe inDesign ($700 SRP) and even then there's a bug in inDesign that means that once you've auto-generated the TOC and bookmarks you have to review them all and tweak some or many of them. David, I'm going to contact you off-list about your project when I get this current issue solved. Dan On Sep 15, 2005, at 10:26 AM, david bovill wrote: > I'm working on this at the moment - part time though. At the moment > I am basing this on web services and the Apache Forrest project - > http://forrest.apache.org/. > > > Rev Client (GUI Interface) > Basic outliner which can import / export a number of formats: > > Rev writes XML files for: > > 1) Hierarchical Navigation = site map (see later) > 2) Tab Navigation (for web site) > 3) XML files for contents of each web page - corresponds to a > title in the outliner and site map. > > Rev sends this information to Apache Forrest > This is a Java program which could run on OSX - I have it installed > on a Linux server. Once you set this up you can use the xml files > created above to both generate skinable web sites together with > navigation as well as good PDF export with bookmarks and tables etc. > > 1) Provide > a) Basic web service (REST based) or > b) Run Forrest as daemon and ftp or write xml files to > directory > > 2) Return (download) pdf document > > > Happy to work on it with you or anyone else on the list - can chat > online and talk through it if you want: > > fortyfoxes at jabber.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Thu Sep 15 17:38:01 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 16 Sep 2005 07:38:01 +1000 Subject: Teleo from makingthings.com In-Reply-To: <47BF578B-A0D2-407A-94FE-E052341A38BB@mac.com> References: <47BF578B-A0D2-407A-94FE-E052341A38BB@mac.com> Message-ID: On 9/15/05, liamlambert wrote: > Has anyone use rev with teleo from makingthings.com I am looking for > a stack that will connect to there starter kit and read a single > Digital in put > Liam . L Unfortunately, Telo uses a USB interface and Revolution currently has no mechanism for reading & writing to a USB port directly, although I understand that Altuit are working on an external to do this. However Rev can write to a serial port or to a USB-serial adapter to you might find these Weeder devices useful . I have successfully used the Digital I/O, Analog Input & Thermocouple Input modules with a Revolution program. Cheers, Sarah From mwieder at ahsoftware.net Thu Sep 15 18:49:22 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 15 Sep 2005 15:49:22 -0700 Subject: [OT] Any PDF Experts Out There in RevLand? In-Reply-To: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> References: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> Message-ID: <458029826.20050915154922@ahsoftware.net> Dan- Thursday, September 15, 2005, 9:21:46 AM, you wrote: > If anyone here knows of a solution other than Aerialist from ArtsPDF Does this help any? It supports Active Document Elements... http://ruby-pdf.rubyforge.org/pdf-writer/index.html -- -Mark Wieder mwieder at ahsoftware.net From revdan at danshafer.com Thu Sep 15 19:41:02 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 15 Sep 2005 16:41:02 -0700 Subject: [OT] Any PDF Experts Out There in RevLand? In-Reply-To: <458029826.20050915154922@ahsoftware.net> References: <61351AA0-1083-4826-87BD-CF5521665A32@danshafer.com> <458029826.20050915154922@ahsoftware.net> Message-ID: <20B85F07-E708-4FAC-A731-6DE14B8FAB9D@danshafer.com> Thanks, Mark, but that's a no-go. The Active Document Elements have to be marked manually in the text, which would be as much work as adding bookmarks manually in the PDF. This is an intriguing software gap. I'm trying to see it as an opportunity rather than as a huge annoyance. I'm not succeeding, mind you, but I am trying! On Sep 15, 2005, at 3:49 PM, Mark Wieder wrote: > Dan- > > Thursday, September 15, 2005, 9:21:46 AM, you wrote: > > >> If anyone here knows of a solution other than Aerialist from ArtsPDF >> > > Does this help any? It supports Active Document Elements... > > http://ruby-pdf.rubyforge.org/pdf-writer/index.html > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From kevin at stallibrass.com Thu Sep 15 21:21:59 2005 From: kevin at stallibrass.com (kevin at stallibrass.com) Date: Fri, 16 Sep 2005 02:21:59 +0100 Subject: Help needed uploading image files ( 0kb issue ) Message-ID: <20050916010136.22873824E2D@mail.runrev.com> I'm writing a small app to allow a collegue to easily update a web page. In it's simplest form, there is one text box and one image to be changed. I'm handling the text changes by inserting a javascript include script on the web page and using this app to modify the text file it points to. The files are updated by using: put "document.write('" & fld "newtext" &"');document.write"into URL "ftp://name:password at ftp.website.com/thefile.js" This works fine, the problem comes with the images. My app imports any image file and resizes it to fit the area available on the web page. I can use export image "image1" to file "image1.gif" as GIF -- This works fine to create the required file within the local folder my problem is getting the image to the URL.. I've tried: export image "image1" to URL "ftp://name:password at ftp.website.com/image1.gif" as GIF -- The file appears but is 0 kb --libURLftpUpload URL "image1" to URL "ftp://name:password at ftp.website.com/image1.gif" -- The file appears but is 0 kb I've also tried variations of libURLftpUploadFile, and --libURLftpUploadFile myVariable,ftp://name:password at ftp.website.com/image1.gif" -- exporting the file to a variable first. even copying the correctly saved local file but with the same result In each case, the file appears where I need it but it's empty - i.e. 0 kb The image file I'm creating is correct as I can ftp it up to the site with no problems (not a solution I can offer to my collegue) I'm obviously missing something fundamental here that I can't stumble on in the documentation so any help would be very gratefully recieved Kevin S From sarah.reichelt at gmail.com Thu Sep 15 21:37:26 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 16 Sep 2005 11:37:26 +1000 Subject: Help needed uploading image files ( 0kb issue ) In-Reply-To: <20050916010136.22873824E2D@mail.runrev.com> References: <20050916010136.22873824E2D@mail.runrev.com> Message-ID: On 9/16/05, kevin at stallibrass.com wrote: > I'm writing a small app to allow a collegue to easily update a web page. In > it's simplest form, there is one text box and one image to be changed. > I'm handling the text changes by inserting a javascript include script on > the web page and using this app to modify the text file it points to. The > files are updated by using: > put "document.write('" & fld "newtext" &"');document.write"into URL > "ftp://name:password at ftp.website.com/thefile.js" > > This works fine, the problem comes with the images. My app imports any image > file and resizes it to fit the area available on the web page. I can use > > export image "image1" to file "image1.gif" as GIF -- This works fine to > create the required file within the local folder > > my problem is getting the image to the URL.. I've tried: > > export image "image1" to URL > "ftp://name:password at ftp.website.com/image1.gif" as GIF -- The file appears > but is 0 kb > > --libURLftpUpload URL "image1" to URL > "ftp://name:password at ftp.website.com/image1.gif" -- The file appears but is > 0 kb > > I've also tried variations of libURLftpUploadFile, and > > --libURLftpUploadFile > myVariable,ftp://name:password at ftp.website.com/image1.gif" -- exporting > the file to a variable first. > > even copying the correctly saved local file but with the same result > > In each case, the file appears where I need it but it's empty - i.e. 0 kb > > The image file I'm creating is correct as I can ftp it up to the site with > no problems (not a solution I can offer to my collegue) > > I'm obviously missing something fundamental here that I can't stumble on in > the documentation so any help would be very gratefully recieved I would save the file to a temporary file locally and then upload it using libURLftpUploadFile. This has worked fine for me in the past. For debugging purposes, make a log field and use libURLsetLogField to show all the logged data in that field. That way you will be able to see whatever messages your FTP server is giving and that might give you a clue. HTH, Sarah From irog at mac.com Thu Sep 15 22:26:35 2005 From: irog at mac.com (Roger Guay) Date: Thu, 15 Sep 2005 20:26:35 -0600 Subject: What's mdimport ? Message-ID: <651E7DD8-7FE5-46C1-A788-C86B115422D7@mac.com> Hello folks, Can anyone tell me what mdimport is? I'm using a Mac with OS X and a utility called Activity Monitor to monitor my CPU usage, and mdimport very often is in the 90% + range. What is this that is soaking up my CPU usage?? Thanks, Roger From ambassador at fourthworld.com Thu Sep 15 22:42:08 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Sep 2005 19:42:08 -0700 Subject: What's mdimport ? In-Reply-To: <651E7DD8-7FE5-46C1-A788-C86B115422D7@mac.com> References: <651E7DD8-7FE5-46C1-A788-C86B115422D7@mac.com> Message-ID: <432A3100.7080108@fourthworld.com> Roger Guay wrote: > Hello folks, > > Can anyone tell me what mdimport is? I'm using a Mac with OS X and a > utility called Activity Monitor to monitor my CPU usage, and mdimport > very often is in the 90% + range. What is this that is soaking up my > CPU usage?? I think it's related to Spotlight. The spike is probably while it's indexing. Whether you use Spotlight or not, I know of no way to turn it off. Welcome to Tiger. -- Richard Gaskin ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gilbert at isphlg.rimed.cu Thu Sep 15 23:05:59 2005 From: gilbert at isphlg.rimed.cu (Gilberto Cuba Ricardo) Date: Thu, 15 Sep 2005 23:05:59 -0400 Subject: Copy image content for object image empty. Message-ID: <01b901c5ba6b$9bbcb5f0$1c037b98@cuba> Hello colleagues, I am trying to copy an image that is in a stack for an object image empty, but it doesn't work; that makes it is to copy a dirty image for the object image. Script in the object image "Visor" on mouseUp put the imagedata of image "img01" of this stack into tImageData put the tImageData into the imagedata of image "Visor" end mouseUp I'm tried too with the property paintcompression, but not work, i.e., i'm tried to put the paintcompression into object image "Visor". Some idea of as making it would be welcome. Greetings, Gilberto Cuba From sarah.reichelt at gmail.com Thu Sep 15 23:02:43 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 16 Sep 2005 13:02:43 +1000 Subject: What's mdimport ? In-Reply-To: <432A3100.7080108@fourthworld.com> References: <651E7DD8-7FE5-46C1-A788-C86B115422D7@mac.com> <432A3100.7080108@fourthworld.com> Message-ID: > > Can anyone tell me what mdimport is? I'm using a Mac with OS X and a > > utility called Activity Monitor to monitor my CPU usage, and mdimport > > very often is in the 90% + range. What is this that is soaking up my > > CPU usage?? > > I think it's related to Spotlight. The spike is probably while it's > indexing. Yes, it's Meta Data Import and is Spotlight doing it's indexing. I haven't had any trouble with it but one of my colleagues has. Getting more RAM helped (as it always does) but I think it might have been because he had some constantly changing folders containing thousands of text files. > > Whether you use Spotlight or not, I know of no way to turn it off. > > Welcome to Tiger. Here is a shareware utility to turn Spotlight off & on but if you are comfortable using Terminal, you can do it yourself although this description doesn't tell you how to turn it back on again if you change your mind! Cheers, Sarah From sarah.reichelt at gmail.com Thu Sep 15 23:05:02 2005 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 16 Sep 2005 13:05:02 +1000 Subject: Copy image content for object image empty. In-Reply-To: <01b901c5ba6b$9bbcb5f0$1c037b98@cuba> References: <01b901c5ba6b$9bbcb5f0$1c037b98@cuba> Message-ID: > I am trying to copy an image that is in a stack for an object image empty, > but it doesn't work; that makes it is to copy a dirty image for the object > image. > > Script in the object image "Visor" > > on mouseUp > put the imagedata of image "img01" of this stack into tImageData > put the tImageData into the imagedata of image "Visor" > end mouseUp > Try: set the imageData of image "Visor" to tImageData "put" doesn't work with properties, you have to use "set". In fact I am surprised that this didn't give you an script error. HTH, Sarah From davis.phil at comcast.net Fri Sep 16 00:41:29 2005 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 15 Sep 2005 21:41:29 -0700 Subject: Text to speech engines for Windows In-Reply-To: References: Message-ID: <432A4CF9.1080403@comcast.net> Hi Bob - I've used SAPI 4 & 5 to enable Rev speech synthesis on Windows, and haven't found any problems on the surface. I'm not doing anything too fancy with speech, just speaking unmodified English text so far. As you may have already discovered, there are third-party voices available whose quality completely eclipses MS and Apple voices. I don't know a lot about the licensing details as I'm just at the beginning of the selection process myself, but there are some good ones out there. Here's a quick one I've tried: http://cepstral.com/ They have downloadable voices for Mac. Windows, Linux. Languages include English, Americas Spanish, Canadian French, Italian, and others. Here's a list of other resources. Some have products that support text-to-speech (TTS) in phone sytems, others support TTS in cars, some support it in computers: www.brightspeech.com www.slt.atr.jp/ss-e www.naturalvoices.att.com www.cepstral.com fonix.com www.research.ibm.com/tts www.iflytek.com/English/products.htm www.infotalkcorp.com www.loqundo.com www.nuance.com www.scansoft.com www.svox.com www.toshiba.co.jp/rdc/mmlab/tech/w21e.htm HTH - Phil Davis Bob Earp wrote: > What's the best English text to speech engine for Windows? I see there > are ones from Microsoft, WinSpeech, Lernout & Hauspie, AT&T, and maybe > others. > > Are there others for Spanish, Portuguese and French ? > > Also, through searching I see references to SAPI 4.0, SAPI 5.0 and SAPI > 5.1 (I assume) standards for these engines. Are there any problems > associated with a particular version and a release of Windows ? > > Tnx, Bob... > > Bob Earp - White Rock, BC From ps1 at softseven.org Fri Sep 16 00:41:24 2005 From: ps1 at softseven.org (Paul Salyers) Date: Thu, 15 Sep 2005 23:41:24 -0500 Subject: Open default folder Message-ID: <6.1.1.1.2.20050915233623.02563e90@softseven.org> Dear Rev Programmer, I'm writing a program for an auto run cd. I got the autorun part finished, everything works except we like to be able to open the cd and view the files with MyComputer. Is that possible with a button or label called "Browse CD" Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From frank at backtalk.com Fri Sep 16 02:25:41 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 15 Sep 2005 23:25:41 -0700 Subject: Weird image problems with large images on Windows Message-ID: <93a69bf43e4cd228314aa8d54465c67e@backtalk.com> I've built a new version of my photo app on Windows, and I'm having a very strange problem resizing large images, and want to see if anyone else has seen this. Machine: Windows 2000. Photo size: 1536 x 2048. Resizing the photo to 110 x 110 max. Problem: I can set the fileName of an image to this photo file, but it won't resize properly, and calling export as jpeg on the image throws an error. BUT, if I login to the same machine via Terminal services, using the SAME account, and the SAME .exe file, and the SAME photo -- the app runs flawlessly. Has anyone else seen this? (oh yes, Rev 2.2) Regards, -- Frank Leahy From klaus at major-k.de Fri Sep 16 03:45:03 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 16 Sep 2005 09:45:03 +0200 Subject: Copy image content for object image empty. In-Reply-To: <01b901c5ba6b$9bbcb5f0$1c037b98@cuba> References: <01b901c5ba6b$9bbcb5f0$1c037b98@cuba> Message-ID: <33FB2EFC-E352-4D2A-BE82-B6436BE61008@major-k.de> Hi Gilberto Cuba. > Hello colleagues, > > I am trying to copy an image that is in a stack for an object image > empty, but it doesn't work; that makes it is to copy a dirty image > for the object image. > > Script in the object image "Visor" > > on mouseUp > put the imagedata of image "img01" of this stack into tImageData > put the tImageData into the imagedata of image "Visor" > end mouseUp > > I'm tried too with the property paintcompression, but not work, > i.e., i'm tried to put the paintcompression into object image "Visor". > > Some idea of as making it would be welcome. you can simply put one image into another one :-) But this only works with imported images, NOT with referenced images! on mouseUp put image "img01" into image "Visor" ##of cd 17 of stack "another cool stack" end mouseUp This is a little less scripting and you do not have to take care that the dimensions of both images are identical(!) as you have with "imagedata". Hope that heps. > Greetings, > > Gilberto Cuba Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From paolo.mazza at neol.it Fri Sep 16 04:15:05 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 16 Sep 2005 10:15:05 +0200 Subject: CGI MYSQL MACOSX In-Reply-To: References: Message-ID: Why I can not connect to database from the CGI of revolution in MAC OSX ? I got Internal Server Error from Apache anytime I try to connect to database. I have - MACOSX 10.4 - Darwin Engine 2.5 that I got from and people said "it is the last version of the Darwin engine that had the database drivers included" - Apache web server - Mysql database running on the same machine That's the script I placed in the cgi-bin folder #!revolution -ui on startup put revdb_connect("MySQL","192.168.0.43","database","user","psw") into buffer put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup If I open Revolution and I place "put revdb_connect("MySQL","192.168.0.43","database","user","psw") into message " I always get an integer... MySQL works and the command is correct. Thank you Paolo From wouter.abraham at scarlet.be Fri Sep 16 04:37:42 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 16 Sep 2005 10:37:42 +0200 Subject: What's mdimport ? In-Reply-To: References: <651E7DD8-7FE5-46C1-A788-C86B115422D7@mac.com> <432A3100.7080108@fourthworld.com> Message-ID: Hi, A bit OT but a very simple way to turn spotlight off or rather prevent it from searching (and updating its database by mdimport) : - in the systemprefs --> spotlight --> Privacy - drag/add the volume(s), folders or files you don't want spotlight to search to that list This is reversible very easily. Greetings, Wouter On 16 Sep 2005, at 05:02, Sarah Reichelt wrote: >>> Can anyone tell me what mdimport is? I'm using a Mac with OS X >>> and a >>> utility called Activity Monitor to monitor my CPU usage, and >>> mdimport >>> very often is in the 90% + range. What is this that is soaking >>> up my >>> CPU usage?? >>> >> >> I think it's related to Spotlight. The spike is probably while it's >> indexing. >> > > Yes, it's Meta Data Import and is Spotlight doing it's indexing. I > haven't had any trouble with it but one of my colleagues has. Getting > more RAM helped (as it always does) but I think it might have been > because he had some constantly changing folders containing thousands > of text files. > > >> >> Whether you use Spotlight or not, I know of no way to turn it off. >> >> Welcome to Tiger. >> > > Here is a shareware utility to turn Spotlight off & on > but if you > are comfortable using Terminal, you can do it yourself > although this description > doesn't tell you how to turn it back on again if you change your mind! > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From john.ridge at mac.com Fri Sep 16 04:38:25 2005 From: john.ridge at mac.com (John Ridge) Date: Fri, 16 Sep 2005 09:38:25 +0100 Subject: [ANN] Moving Wallpaper demo In-Reply-To: References: Message-ID: <18A9F60C-9A89-4F68-8F4F-8A6219136EED@mac.com> Hugh, thanks - this is a great demo! The panning effect stutters a little, even on a 2Mz iMac with Tiger - I don't have access to a fast Windows machine, but I'd like to know if it runs more smoothly there. I've also been experimenting with transitions other than the "cross fade" that you've made the default. I'm using the "answer effect" command to get the QT dialog, fiddling with the parameters then loading the result into a custom property - answer effect set the cTransition of this stack to it then later I can unlock screen with visual the cTransition of this stack Which is a good way of finding out about the various effects. I hadn't realised that you can save them as .qfx files. This looks handy, but I haven't yet found how to load one using Rev (i.e. not in the QT dialog). Is there a simple trick that I've missed? On 14 Sep 2005, at 22:18, FlexibleLearning at aol.com wrote: > www.FlexibleLearning.com/xtalk/movingwallpaper/movingwallpaper.zip > > Following the Panorama demo, this 'screensaver' or 'slideshow' stack > demonstrates 16 scripted visual effects based on zoom in, zoom > out, pan left, pan > right, pan up and pan down. The stack is 18k and is fully > documented. The > download includes 4 high quality sample images, but you can > obviously use your own > images if you wish. > > A note of caution... This is a very heavily graphics intensive > stack, so at > least a 1GHz machine is needed, preferably 2-3GHz. It works on a > G4-466 in > OSX, but is only truly impressive on a faster computer. > > Enjoy and feedback welcome. > > > /H > FLCO > Home of The Scripter's Scrapbook > www.FlexibleLearning.com/ssbk.htm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Best wishes John ridge11103 at btinternet.com From rev at armbase.com Fri Sep 16 05:23:28 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 16 Sep 2005 10:23:28 +0100 Subject: highlight and hide field from standalone Message-ID: <20050916102328.dy953g5uyo08wowk@webmail.armbase.com> Hi All. I want to add a script into a field in a substack that allows the user to highlight and hide a field. Ihe reason for this is simple. I have a master database and read a csv file then adds item one into field one (then repeat for each item). Now this is OK, however, the end user need not require all the fields in view. Indeed the first 5-6 are not required at all. Therefore, I'd like to create the master database and allow them to highlight a field (just like in the rev-IDE) via something like control-rightclick and then if the agree to the selection hit the delete key (or similar) to hide/delete the field/fields. Any IDEa's (excuse the pun)? Cheers Bob From klaus at major-k.de Fri Sep 16 05:32:41 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 16 Sep 2005 11:32:41 +0200 Subject: highlight and hide field from standalone In-Reply-To: <20050916102328.dy953g5uyo08wowk@webmail.armbase.com> References: <20050916102328.dy953g5uyo08wowk@webmail.armbase.com> Message-ID: <0145BFE9-B1B3-46DC-BF63-B491443017B6@major-k.de> Hi Bob, > Hi All. > > I want to add a script into a field in a substack that allows the > user to > highlight and hide a field. > > Ihe reason for this is simple. I have a master database and read a > csv file then > adds item one into field one (then repeat for each item). > > Now this is OK, however, the end user need not require all the > fields in view. > Indeed the first 5-6 are not required at all. Therefore, I'd like > to create the > master database and allow them to highlight a field (just like in > the rev-IDE) > via something like control-rightclick and then if the agree to the > selection > hit the delete key (or similar) to hide/delete the field/fields. > > Any IDEa's (excuse the pun)? :-) Quick and dirty idea: on mouseup whichone global field2delete if whichone = 3 then set the rect of grc "my hilite border in red or whatever" to the rect of fld "xyz" set the loc of grc "my hilite border in red or whatever" to the loc of fld "xyz" put "xyz" into field2delete show grc "my hilite border in red or whatever" end if .... end mouseup on deletekey global field2delete if the visible of grc "my hilite border in red or whatever" then hide fld field2delete hide grc "my hilite border in red or whatever" end if end deletekey You get the picture, should be easily doable. But you might want to use a shorter name for the graphic ;-) > Cheers > Bob Regards Klaus Major klaus at major-k.de http://www.major-k.de From rev at armbase.com Fri Sep 16 05:56:40 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 16 Sep 2005 10:56:40 +0100 Subject: highlight and hide field from standalone Message-ID: <20050916105640.rt5xoj6vy8w4wcsk@webmail.armbase.com> Hi Bob, Hi Klaus. Thanks for the info... I'll give it a go later on (when I'm at the Airport). It is for a wee freebie for you all. :-) Cheers Bob [Hide Quoted Text] Hi All. I want to add a script into a field in a substack that allows the user to highlight and hide a field. Ihe reason for this is simple. I have a master database and read a csv file then adds item one into field one (then repeat for each item). Now this is OK, however, the end user need not require all the fields in view. Indeed the first 5-6 are not required at all. Therefore, I'd like to create the master database and allow them to highlight a field (just like in the rev-IDE) via something like control-rightclick and then if the agree to the selection hit the delete key (or similar) to hide/delete the field/fields. Any IDEa's (excuse the pun)? :-) Quick and dirty idea: on mouseup whichone global field2delete if whichone = 3 then set the rect of grc "my hilite border in red or whatever" to the rect of fld "xyz" set the loc of grc "my hilite border in red or whatever" to the loc of fld "xyz" put "xyz" into field2delete show grc "my hilite border in red or whatever" end if .... end mouseup on deletekey global field2delete if the visible of grc "my hilite border in red or whatever" then hide fld field2delete hide grc "my hilite border in red or whatever" end if end deletekey You get the picture, should be easily doable. But you might want to use a shorter name for the graphic ;-) Cheers Bob Regards Klaus Major From david at openpartnership.net Fri Sep 16 06:13:03 2005 From: david at openpartnership.net (david bovill) Date: Fri, 16 Sep 2005 12:13:03 +0200 Subject: External Script Editor In-Reply-To: References: Message-ID: Hee hee, that's what I was thinking of - so when we get bored in the office we can have a go at collaborative scripting - live! In fact we could even do it over the internet - now there is a scripting conference for you :) On 15 Sep 2005, at 21:10, Ken Ray wrote: > On 9/15/05 1:29 PM, "Stephen Barncard" > > wrote: > > >> sorry, wrong plug, wrong guy. >> >> you need the MLXEditor from Alex Rice at MindLube software: >> http://www.mindlube.com/developer/index.html >> >> Recipes for BBEDIT,EMACS,TextEdit and for Windoze, Notepad and >> Wordpad. Might be more available now. >> > > Yes, actually I've used it with SubEthaEdit, along with Christian > Langers' > Transcript syntax colorization module for SubEthaEdit. Works nicely! From beat.c at hetnet.nl Fri Sep 16 06:47:37 2005 From: beat.c at hetnet.nl (Beat Cornaz) Date: Fri, 16 Sep 2005 12:47:37 +0200 Subject: Complex Numbers & binary fractions Message-ID: Cubist wrote : >function DecFrac2BinFrac TheFrac, ThePrecision > # TheFrac is *assumed* to have nothing to the *left* of the decimal point > # ThePrecision is *assumed* to be a positive integer > # you can write the code to handle those cases yourself, if need be, right? > > if ThePrecision = "" or ThePrecision < 1 then put 10 into ThePrecision > # so the user can just supply a fraction and not care > > set the numberFormat to "0.#####" > #you want to make sure there's a leading 0 before the decimal > put "." into Rezult > repeat # yes, it's an infinite loop. the escape test will be inside it > multiply TheFrac by 2 > put char 1 of TheFrac after Rezult > # because of numberFormat, char 1 here should be either 0 or 1 > if the length of TheFrac > ThePrecision or TheFrac = 0 then exit repeat > delete char 1 of TheFrac > end repeat > return Rezult > end DecFrac2BinFrac Thanks Cubist. I'm often surprised at the original ways of coding that show up in this group. I'm refering here to > # because of numberFormat, char 1 here should be either 0 or 1. I want to point your attention to a little mistake: > if the length of TheFrac > ThePrecision or TheFrac = 0 then exit repeat I think it should read : if the length of Rezult > ThePrecision or TheFrac = 0 then exit repeat I'm a bit surprised that no one has done anything with complex numbers. So I'll have to whip up something myself. If someone is interested, I'm willing to share the code (once I've coded it). mail me off list if you want to get it. Greetings, Beat -- From rev at armbase.com Fri Sep 16 07:53:15 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 16 Sep 2005 12:53:15 +0100 Subject: highlight and hide field from standalone Message-ID: <20050916125315.xjk5vku1w004k044@webmail.armbase.com> Hi Klaus This works by hiding the field so all I need to do is create a button to show all controls and modify the script slightly. IE have the graphic borderhilite hidden and show it on right click. I can now select the field using a mouseenter on mousewithin whichone global field2delete if whichone = 3 then set the rect of grc "borderhilite" to the rect of fld "xyz" set the loc of grc "borderhilite" to the loc of fld "xyz" put "xyz" into field2delete show grc "borderhilite" end if end mousewithin That should keep me going at the airport. :-) Cheers Bob From howard.bornstein at gmail.com Fri Sep 16 08:11:30 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Fri, 16 Sep 2005 08:11:30 -0400 Subject: preOpenStack Weirdness In-Reply-To: <200509091121.j89BLVME000495@ms-smtp-03.rdc-nyc.rr.com> References: <200509091121.j89BLVME000495@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc2605091605112d889c19@mail.gmail.com> On 9/9/05, David Burgun wrote: > Hi, > > I have a stack that has a preOpenStack handler in the Stack Script. > When I try to do the following I get a error: > > start using stack "/Documents/RunRev/Stacks/Main.rev" > > This statement causes an error saying that the Stack Cannot be found > but I know's is there and if I run this script in a mouseUp handler > or in the openStack handler it works ok. > > Why doesn't this work as expected?? > Does it work if you put the preOpenStack handler in the script of the first card? Also "/Documents/RunRev/Stacks/Main.rev" is not a fully qualified path (unless your root directory starts with Documents). Could this be part of the problem? -- Regards, Howard Bornstein ----------------------- www.designeq.com From klaus at major-k.de Fri Sep 16 08:15:56 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 16 Sep 2005 14:15:56 +0200 Subject: highlight and hide field from standalone In-Reply-To: <20050916125315.xjk5vku1w004k044@webmail.armbase.com> References: <20050916125315.xjk5vku1w004k044@webmail.armbase.com> Message-ID: <7120692B-6984-4821-90EB-CD860A867FF9@major-k.de> Hi Bob, > Hi Klaus > > This works by hiding the field so all I need to do is create a > button to show > all controls and modify the script slightly. IE have the graphic > borderhilite > hidden and show it on right click. I can now select the field using a > mouseenter > > on mousewithin whichone > global field2delete > if whichone = 3 then > set the rect of grc "borderhilite" to the rect of fld "xyz" > set the loc of grc "borderhilite" to the loc of fld "xyz" > put "xyz" into field2delete > show grc "borderhilite" > end if > end mousewithin > > That should keep me going at the airport. :-) But this will not work, since "mousewithin" does not accept an argument -> "whichone" like "mouseup", where "whichone" will hold the mousebutton pressed! 1 = normal/left click 2 = middle click 3 = right-click > Cheers > Bob Best Klaus Major klaus at major-k.de http://www.major-k.de From rev at armbase.com Fri Sep 16 08:39:07 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 16 Sep 2005 13:39:07 +0100 Subject: highlight and hide field from standalone Message-ID: <20050916133907.fg5aqglxc08csoos@webmail.armbase.com> >>Hi Bob, Hi Klaus Ok I thought of another thing. I'm playing with this one.... It seems quite nice. IMHO :-) On mouseup whgichone global field2delete if the controlkey is down then if whichone = 3 then put "xyz" into field2delete set the bordercolor of fld field2delete to "red" --this should make the border red but it does not??? --Q? any idea what the edge of a field is called? I tried changing all the --colours to red without any luck end if else exit to top end mouseup -- so pressing the right key when control is down puts the field into the --variable on deletekey global field2delete if the bordercolor of fld feld2delete is "red" then hide fld field2delete end deletekey --deletes the field only if the border is red :-) on escapekey set the bordercolor of fld field2delete to empty end escapekey --escape key clears the border colour so the delete key wont work :-) But now the problem I cant see the edge of the field being red but I can see it red in the object inspector. What is the boundary of a field cazlled if it is not the border colour? Cheers Bob From rev at armbase.com Fri Sep 16 08:42:08 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 16 Sep 2005 13:42:08 +0100 Subject: highlight and hide field from standalone In-Reply-To: <20050916133907.fg5aqglxc08csoos@webmail.armbase.com> References: <20050916133907.fg5aqglxc08csoos@webmail.armbase.com> Message-ID: <20050916134208.xv6v0a4qskc8c4k8@webmail.armbase.com> > On mouseup whgichone Don't wory about this typo... It is not in the script. I'm on a desktop without runrev but with interenet access and my laptop has runrev but no interenet. cheers bob From klaus at major-k.de Fri Sep 16 08:54:39 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 16 Sep 2005 14:54:39 +0200 Subject: highlight and hide field from standalone In-Reply-To: <20050916133907.fg5aqglxc08csoos@webmail.armbase.com> References: <20050916133907.fg5aqglxc08csoos@webmail.armbase.com> Message-ID: Hi Bob, >>> > > Hi Klaus > > Ok I thought of another thing. > I'm playing with this one.... It seems quite nice. IMHO :-) > > On mouseup whgichone > global field2delete > if the controlkey is down then > if whichone = 3 then > put "xyz" into field2delete > set the bordercolor of fld field2delete to "red" > --this should make the border red but it does not??? > --Q? any idea what the edge of a field is called? I tried changing > all the > --colours to red without any luck See below... > end if > else exit to top > end mouseup > -- so pressing the right key when control is down puts the field > into the > --variable > on deletekey > global field2delete > if the bordercolor of fld feld2delete is "red" then > hide fld field2delete > end deletekey > --deletes the field only if the border is red :-) > on escapekey > set the bordercolor of fld field2delete to empty > end escapekey > > --escape key clears the border colour so the delete key wont work :-) > > But now the problem I cant see the edge of the field being red but > I can see it > red in the object inspector. What is the boundary of a field > cazlled if it is > not the border colour? the (border-)color will only appear when you set the "threeD" of that field to false. But then you have this simple and butt-ugly "flat" border :-/ > Cheers > Bob Regards Klaus Major klaus at major-k.de http://www.major-k.de From ptrendler at bigpond.com Fri Sep 16 09:13:54 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri, 16 Sep 2005 23:13:54 +1000 Subject: highlight and hide field from standalone References: <20050916133907.fg5aqglxc08csoos@webmail.armbase.com> Message-ID: <003101c5bac0$93475560$0100000a@super> With 3D on - Outset bevel and Inset bevel in the inspector. Topcolor and bottomcolor in script. You probably have to make the border thicker than 2 to be able see the colour.(or may be it's just my eyes) HTH Pat patrend at bigpond.com ----- Original Message ----- From: To: "How to use Revolution" Sent: Friday, September 16, 2005 10:39 PM Subject: Re: highlight and hide field from standalone >>>Hi Bob, > > Hi Klaus > > > > Ok I thought of another thing. > I'm playing with this one.... It seems quite nice. IMHO :-) > > On mouseup whgichone > global field2delete > if the controlkey is down then > if whichone = 3 then > put "xyz" into field2delete > set the bordercolor of fld field2delete to "red" > --this should make the border red but it does not??? > --Q? any idea what the edge of a field is called? I tried changing all the > --colours to red without any luck > end if > else exit to top > end mouseup > > -- so pressing the right key when control is down puts the field into the > --variable > > on deletekey > global field2delete > if the bordercolor of fld feld2delete is "red" then > hide fld field2delete > end deletekey > > --deletes the field only if the border is red :-) > > on escapekey > set the bordercolor of fld field2delete to empty > end escapekey > > --escape key clears the border colour so the delete key wont work :-) > > > But now the problem I cant see the edge of the field being red but I can > see it > red in the object inspector. What is the boundary of a field cazlled if it > is > not the border colour? > > > Cheers > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 15/09/2005 > > From 3mcgrath at adelphia.net Fri Sep 16 09:19:52 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 16 Sep 2005 09:19:52 -0400 Subject: Teleo from makingthings.com In-Reply-To: References: <47BF578B-A0D2-407A-94FE-E052341A38BB@mac.com> Message-ID: Sarah, Hi, What did you manage to do with the I/O from weedtech? Anything you can share? A stack etc.? I am interested. Thanks Tom McGrath On Sep 15, 2005, at 5:38 PM, Sarah Reichelt wrote: > On 9/15/05, liamlambert wrote: > >> Has anyone use rev with teleo from makingthings.com I am looking for >> a stack that will connect to there starter kit and read a single >> Digital in put >> Liam . L >> > > Unfortunately, Telo uses a USB interface and Revolution currently has > no mechanism for reading & writing to a USB port directly, although I > understand that Altuit are working on an external to do this. However > Rev can write to a serial port or to a USB-serial adapter to you might > find these Weeder devices useful . I have > successfully used the Digital I/O, Analog Input & Thermocouple Input > modules with a Revolution program. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mswindel at santacruz.k12.ca.us Fri Sep 16 10:49:05 2005 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Fri, 16 Sep 2005 07:49:05 -0700 Subject: Text to speech engines for Windows In-Reply-To: References: Message-ID: <9f38d18cf7a4a3f7caf16dfae7393f04@santacruz.k12.ca.us> When I was investigating this a couple of months ago I felt that ATT had the most natural speech. But the cost was prohibitive for what I was doing. Mark On Sep 15, 2005, at 9:33 AM, Bob Earp wrote: > What's the best English text to speech engine for Windows? I see > there are ones from Microsoft, WinSpeech, Lernout & Hauspie, AT&T, and > maybe others. > > Are there others for Spanish, Portuguese and French ? > > Also, through searching I see references to SAPI 4.0, SAPI 5.0 and > SAPI 5.1 (I assume) standards for these engines. Are there any > problems associated with a particular version and a release of Windows > ? > > Tnx, Bob... > > Bob Earp - White Rock, BC > > _________________________________________________________________ > Take charge with a pop-up guard built on patented Microsoft? > SmartScreen Technology > http://join.msn.com/?pgmarket=en-ca&page=byoa/ > prem&xAPID=1994&DI=1034&SU=http://hotmail.com/ > enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? > Premium right now and get the first two months FREE*. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From AbilityForms at aol.com Fri Sep 16 11:48:10 2005 From: AbilityForms at aol.com (AbilityForms at aol.com) Date: Fri, 16 Sep 2005 11:48:10 EDT Subject: My first print out. Message-ID: <7d.71173ff0.305c433a@aol.com> Hi Helpful people, I just made my first print out and needless to say I have 2 questions. 1. Why was a screen inserted over the entire printable area? Can I delete this screen? 2. I have a HP 2200d printer and use Mac OS X. What's the largest card size I can have and print only one 8 1/2 x 11 sheet? Joe, Orlando, FL From masmit at gmail.com Fri Sep 16 12:01:59 2005 From: masmit at gmail.com (Mark Smith) Date: Fri, 16 Sep 2005 17:01:59 +0100 Subject: My first print out. In-Reply-To: <7d.71173ff0.305c433a@aol.com> References: <7d.71173ff0.305c433a@aol.com> Message-ID: <797BE439-98AD-4EA4-805B-C913D8307EAF@gmail.com> I'm guessing that when you say screen, you mean the fact that the background is grey. You have to set the background of the card or stack you're printing explicitly to white. If there is no colour set, then it will show white on screen, but grey on the page. I think the way to calculate card sizes for printing means assuming a printer resolution of 72 dots per inch, and then equating 1 dot to 1 pixel on the screen. Cheers, Mark On 16 Sep 2005, at 16:48, AbilityForms at aol.com wrote: > Hi Helpful people, > > I just made my first print out and needless to say I have 2 questions. > > 1. Why was a screen inserted over the entire printable area? Can I > delete > this screen? > > 2. I have a HP 2200d printer and use Mac OS X. What's the largest > card size I > can have and print only one 8 1/2 x 11 sheet? > > Joe, > Orlando, FL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From SimPLsol at aol.com Fri Sep 16 12:42:34 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Fri, 16 Sep 2005 12:42:34 EDT Subject: My first print out. Message-ID: <210.93393cd.305c4ffa@aol.com> Joe, I believe Mark answered your first question, and most of your second question. The only thing I'd add is before printing set the printMargins to "15". This will give you a 15 pixel border around your card. It compensates for the non-printable area on most printers (HPs tend to have the widest margins so you may have to experiment with higher numbers). So the width of the card would be 612 (8.5 inches X 72 pixels per inch = 612) The printable area would be 582 (612 minus 15 pixel margins on each side) Paul Looney From pevensen at siboneylg.com Fri Sep 16 14:26:45 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 16 Sep 2005 13:26:45 -0500 Subject: Windows 2000 Message-ID: <6.2.1.2.2.20050916132446.0b131fc8@exchange.slg.com> Is anyone deploying for Windows 2000? It seems that Rev uses a weird (non-system) scroll bar). Also, a lot of my fields have a border, even though the border is turned off. 3D boarders on a text field aren't complete. Has any one else run into this? If so, what did you do? Is there any way to get Rev to use 2000-native scroll bars? BTW, is there an easy way to substitute one's own graphics for a scroll-bar? As my Java-loving boss said, "That's easy to do in Java..." Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From tjframe at gmail.com Fri Sep 16 14:44:06 2005 From: tjframe at gmail.com (TJ Frame) Date: Fri, 16 Sep 2005 11:44:06 -0700 Subject: Windows 2000 In-Reply-To: <6.2.1.2.2.20050916132446.0b131fc8@exchange.slg.com> References: <6.2.1.2.2.20050916132446.0b131fc8@exchange.slg.com> Message-ID: <7348a9e8050916114453420eb8@mail.gmail.com> I'm using win 2000 and the scrollbars looks almost exactly like the ones in Word and Explorer.. not sure what you mean by "non standard". Also Im not having any border issues - they work the way they should. Im using Rev v 2.6 by the way. On 9/16/05, Peter T. Evensen wrote: > > Is anyone deploying for Windows 2000? It seems that Rev uses a weird > (non-system) scroll bar). Also, a lot of my fields have a border, even > though the border is turned off. 3D boarders on a text field aren't > complete. > > Has any one else run into this? If so, what did you do? Is there any way > to get Rev to use 2000-native scroll bars? > > BTW, is there an easy way to substitute one's own graphics for a > scroll-bar? As my Java-loving boss said, "That's easy to do in Java..." > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 24-hour recorded info hotline: 1-800-624-7671 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From FlexibleLearning at aol.com Fri Sep 16 15:28:59 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 16 Sep 2005 15:28:59 EDT Subject: Moving Wallpaper v2.0 API Message-ID: <1ec.434e359b.305c76fb@aol.com> Moving Wallpaper v2.0 API by www.FlexibleLearning.com/xtalk.htm For those who want to MovingWallpaper in their own project and following feedback, the following enhancements have been implemented... - Trap Callbacks on image changeover - Play images of different dimensions - No minimum image dimension - Error reporting - Dynamic file checking, so images can replaced, added and removed as the program runs. - Save a Documentation file from the "About" screen This means image flexibility, better results for slower machines as smaller images require less processing, as well as the ability to respond to callbacks with 7 display details including time, filename, image dimensions, window dimensions, visual effect, speed, the number of the file, and total number of files. You can now download the stack on its own (25k), or download the full demo (5Mb) at www.FlexibleLearning.com/xtalk.htm Comments and feedback welcome. /H FLCo Home of The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From pevensen at siboneylg.com Fri Sep 16 16:40:53 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 16 Sep 2005 15:40:53 -0500 Subject: mouseDoubleDown Message-ID: <6.2.1.2.2.20050916153339.0b0fbbe8@exchange.slg.com> I have a group with images in it. If I try to double click an image, the mouseDoubleDown is not sent to either the group, nor the image, but the card. Is this the normal behavior? I have an image under everything (to provide a background to the card, but it isn't a Revolution "background" object). This background image gets the mouseDoubleDown first and then the card. It appears mouseDoubleUp is not sent at all. This isn't what I was expecting. Can anyone shed some light on this? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From b.xavier at internet.lu Fri Sep 16 16:55:52 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 16 Sep 2005 22:55:52 +0200 Subject: Windows 2000 In-Reply-To: <7348a9e8050916114453420eb8@mail.gmail.com> Message-ID: <20050916203305.D429B8249FF@mail.runrev.com> Peter sometimes the fields' scrollbarwidth can change... I've seen it happen and it's an old MetaCard bug - particularly when switching windows mode (toplevel to palette for example)... But the hell if it can be reproduced consistently... I've never managed... To fix it, select your field, change the width to small and the back to big and it should look ok from then on... The rectangle looks fine! what's wrong with it? cheers Xavier -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of TJ Frame Sent: Friday, September 16, 2005 8:44 PM To: How to use Revolution Subject: Re: Windows 2000 I'm using win 2000 and the scrollbars looks almost exactly like the ones in Word and Explorer.. not sure what you mean by "non standard". Also Im not having any border issues - they work the way they should. Im using Rev v 2.6 by the way. On 9/16/05, Peter T. Evensen wrote: > > Is anyone deploying for Windows 2000? It seems that Rev uses a weird > (non-system) scroll bar). Also, a lot of my fields have a border, even > though the border is turned off. 3D boarders on a text field aren't > complete. > > Has any one else run into this? If so, what did you do? Is there any > way to get Rev to use 2000-native scroll bars? > > BTW, is there an easy way to substitute one's own graphics for a > scroll-bar? As my Java-loving boss said, "That's easy to do in Java..." > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 24-hour recorded info hotline: 1-800-624-7671 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dleyanna at rtl.org Fri Sep 16 16:58:22 2005 From: dleyanna at rtl.org (Dave LeYanna) Date: Fri, 16 Sep 2005 16:58:22 -0400 Subject: No LF when printing scripts. Message-ID: <432B31EE.7010708@rtl.org> I am not getting a line feed (just carriage return) when printing scripts so long line print on top of themselves. I know that you need to be careful when witting text files and so on and be sensitive to platform issues but I can't seem to find anything about problems with the development environment. I am using Win XP I have searched the archives and have not been able to find anything. Dave From revolution at derbrill.de Fri Sep 16 18:44:58 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 17 Sep 2005 00:44:58 +0200 Subject: Windows 2000 In-Reply-To: <20050916170005.005F0824FBA@mail.runrev.com> Message-ID: <82393A9F-2703-11DA-92CA-0030659A795C@derbrill.de> Hi Peter, >BTW, is there an easy way to substitute one's own graphics for a >scroll-bar? As my Java-loving boss said, "That's easy to do in Java..." Depending on how you define "easy" it is perfectly doable in Rev, but you need to roll your own Scrollbars.You need to do a little calculation of percentage and then you will be able to do that quickly. There are a few demo stacks. One is Klaus Majors famous banana. You find it in revOnline. User: Klausimausi Stack: Custom volume slider And I have scripted a scrollbar with a proportional thumb: Revonline User: Malte Stack: Propscroll Hope that helps, Malte From AbilityForms at aol.com Fri Sep 16 19:25:32 2005 From: AbilityForms at aol.com (AbilityForms at aol.com) Date: Fri, 16 Sep 2005 19:25:32 EDT Subject: Printing Problem Message-ID: <191.47bd434b.305cae6c@aol.com> Hi Everyone, OK so the gray area on my printout is gone and I have the image area size under control. Now my problem is that the image is off center and I have a non printing area of an inch at the top and left. Can this be changed? If it matters I'm on a Mac OS X and I'm using an HP laser printer. Joe, Orlando, Florida From gilbert at isphlg.rimed.cu Fri Sep 16 20:18:27 2005 From: gilbert at isphlg.rimed.cu (Gilberto Cuba Ricardo) Date: Fri, 16 Sep 2005 20:18:27 -0400 Subject: Copy image content for object image empty. (Image moving) References: <01b901c5ba6b$9bbcb5f0$1c037b98@cuba> <33FB2EFC-E352-4D2A-BE82-B6436BE61008@major-k.de> Message-ID: <001601c5bb1d$a1f12bb0$23037b98@cuba> Hi, > you can simply put one image into another one :-) > > But this only works with imported images, NOT with referenced images! I understand this. > > on mouseUp > put image "img01" into image "Visor" ##of cd 17 of stack "another cool > stack" > end mouseUp This works to the a thousand marvels. Thanks. > > This is a little less scripting and you do not have to take care that the > dimensions As you spoke of the dimensions I stayed thinking and when carrying out a code I found a detail that I wanted to be able to clarify. I made the following script in the image. on mouseUp lock screen put image "img01" of stack "myStack" into image "Visor" set the width of image "Visor" to 200 set the height of image "Visor" to 200 unlock screen end mouseUp And it happens that when I press the click in the image, the image goes moving up in a position and me the only thing that I make is to change their dimensions. Why does this happen? I don't have neither the smallest idea. > of both images are identical(!) as you have with "imagedata". > > Hope that heps. Yes and thanks you. > >> Greetings, >> >> Gilberto Cuba > > Regards from germany > > Klaus Major > klaus at major-k.de > http://www.major-k.de > Greetings, My name is Gilberto Cuba and I live in Cuba. From katir at hindu.org Fri Sep 16 20:26:06 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 16 Sep 2005 14:26:06 -1000 Subject: Poke a Shell Variable with xTalk? In-Reply-To: References: <902D7A23-0727-41CC-B535-EF1F9B6D195B@hindu.org> Message-ID: Aloha, David: Thanks for that tip... but the "(text file + shelling to sendmail)" cat someFoo.txt | sendmail etc. is what we use now, and honestly we are shooting in the dark as to when and why a CRLF is inserted into a line that is longer than 1024 characters. The attempt to use echo makes a big assumption (possibly wrong) that it would handle long lines without that CRLF being introduced... but without *any* line delimiters at all from echo, it's a futile attempt to test for an unknown result. I'll look at postalias... but as often happens with such things,-- where lo-level programming eats so much time for so little result, and you end up going back to find an xTalk solution-- I am about ready to "move up" and use Shao's SMTP libs... If I had started this whole foray with that and ditched the shell thing completely last week, I would probably be home free already...and I would have a grip on a nice tool box I can use for other projects... Anyway, I think we can let this thread die for now.. Thanks Sivakatirswami On Sep 15, 2005, at 4:40 AM, david bovill wrote: > My suggestion would be to go with the (text file + shelling to > sendmail) combination, and not the (shell + echo + pipe) > combination to get variables into anything but the simplest stuff. > > I have not done this with sendmail but looking at the man page, > would indicate that you need to use the : > > Postfix sendmail relies on the postdrop(1) command to create > a queue file in the maildrop directory. > > Which you can find at: > > /var/spool/postfix, mail queue > > However as this says use postdrop which in return takes input from > STDIN you are back to square one. > > newaliases > Initialize the alias database. If no input file > is specified > (with the -oA option, see below), the program > processes the > file(s) specified with the alias_database > configuration parame- > ter. If no alias database type is specified, the > program uses > the type specified with the default_database_type > configuration > parameter. This mode of operation is implemented by > running the > postalias(1) command. > > Where: > > -oAalias_database > Non-default alias database. Specify pathname or > type:pathname. > See postalias(1) for details. > > So this is not looking simple:) The postalias command seems to be > the thing you need to create the queue files in the maildrop > directory (from files): > > POSTALIAS(1) > POSTALIAS(1) > > NAME > postalias - Postfix alias database maintenance > > SYNOPSIS > postalias [-Nfinoprvw] [-c config_dir] [-d key] [-q key] > [file_type:]file_name ... > > So by issuing a series of simple commands passing the right > fileNames you should get the result you want? NB ie use merge() to > create the right shell commands... > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Sep 16 20:57:41 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 16 Sep 2005 19:57:41 -0500 Subject: mouseDoubleDown In-Reply-To: <6.2.1.2.2.20050916153339.0b0fbbe8@exchange.slg.com> Message-ID: On 9/16/05 3:40 PM, "Peter T. Evensen" wrote: > I have a group with images in it. If I try to double click an image, the > mouseDoubleDown is not sent to either the group, nor the image, but the > card. Is this the normal behavior? I have an image under everything (to > provide a background to the card, but it isn't a Revolution "background" > object). This background image gets the mouseDoubleDown first and then the > card. > > It appears mouseDoubleUp is not sent at all. > > This isn't what I was expecting. Can anyone shed some light on this? Thanks! Peter, I'm not getting this behavior... I imported an image set the script to: on mouseDoubleDown put "DoubleDown" end mouseDoubleDown on mouseDoubleUp put "DoubleUp" end mouseDoubleUp Then I grouped the image (so it was in a group), and then 2x-clicked it with the browse tool and got "DoubleDown" and then "DoubleUp" in the message box. Perhaps it's something else? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mark at maseurope.net Fri Sep 16 21:01:00 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 17 Sep 2005 02:01:00 +0100 Subject: Printing Problem In-Reply-To: <191.47bd434b.305cae6c@aol.com> References: <191.47bd434b.305cae6c@aol.com> Message-ID: <1592028E-E75B-402E-A8C2-B88818DB6E66@maseurope.net> Have you experimented with the printMargins? It may be that if you've set them to a smaller value than your printer supports, some value (like 1 inch) gets used. I've had various difficulties when printing, but experimenting with the printMargins has usually sorted this kind of problem. I'm certainly no expert, so maybe someone else here can suggest something more specific... Mark On 17 Sep 2005, at 00:25, AbilityForms at aol.com wrote: > Hi Everyone, > > OK so the gray area on my printout is gone and I have the image > area size > under control. Now my problem is that the image is off center and I > have a non > printing area of an inch at the top and left. Can this be changed? > > If it matters I'm on a Mac OS X and I'm using an HP laser printer. > > Joe, > Orlando, Florida > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From engleerica at yahoo.com Sat Sep 17 01:55:27 2005 From: engleerica at yahoo.com (Eric Engle) Date: Fri, 16 Sep 2005 22:55:27 -0700 (PDT) Subject: java? In-Reply-To: <20050916170004.C7B43824E0C@mail.runrev.com> Message-ID: <20050917055527.35226.qmail@web60524.mail.yahoo.com> My current development strategy is to use hypercard for classic and then port to metacard for windows and os x. It seems a workable strategy. However I keep hoping for transcript as a scripting language (a tag like