From b.xavier at internet.lu Wed Dec 1 01:01:06 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 1 Dec 2004 07:01:06 +0100 Subject: ANN: ControlN2O Plugin In-Reply-To: Message-ID: <20041201055300.4256F930070@mail.runrev.com> Hi Everyone, After a big battle to get it all back to normal, the ControlsBrowser plugin is now available again and in much better form! I've renamed it ControlsN2O to avoid the confusion with the MetaCard ControlBrowser although I'll be working on a port for metacard with a GM engine of my own in the future. The new app with quite a few revisions is available at http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=69 (zipped and only 120KBs) Story and screenshots are for this weekend. This is still a beta, some unwanted window behaviors are still under ironing. The editing has been tested and should be solid however, dont forget to make a backup just in case - it is a beta and I couldn't test everything but it looks and works great. - For those still waiting, - there is a full properties editor along with a custom prop and custom property sets editor. - There's a nice appearance editor - You can now zoom the editor or controls list - The filters work again - Hopefully no more GM probs (fixed 2 more this morning!) -- Note: Currently under construction: the layering buttons will soon work in and out of groups (including moving controls into or out of a group). I will have an update soon for those probably thursday night at the latest. This is the last "lite" version of ControlsN2O meaning features are frozen. But suggestions are welcome as usual. If someone can send any MacOS or linux screenshots of GUI oddities, i would much appreciate it. Time to blow the shell out of the next versions for the Pros! Revs Xavier -- MonsieurX.com - Rev development with Nitrous! From lince at river-valley.com Wed Dec 1 02:13:06 2004 From: lince at river-valley.com (Lince M Lawrence) Date: Wed, 1 Dec 2004 12:43:06 +0530 (IST) Subject: Polling the mouse Message-ID: What will be the consequence of polling the mouse in Revolution. repeat until the mouse is up set the loc of btn "dragBtn" to the mouseLoc end repeat Certain people discourage use of this in MetaCard and Revolution? Thanking you, Lince M Lawrence FOCAL IMAGE (INDIA) PVT. LTD. [ mailto:lince at river-valley.com ] From janschenkel at yahoo.com Wed Dec 1 02:20:29 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 30 Nov 2004 23:20:29 -0800 (PST) Subject: Polling the mouse In-Reply-To: Message-ID: <20041201072029.50269.qmail@web60507.mail.yahoo.com> --- Lince M Lawrence wrote: > What will be the consequence of polling the mouse in > Revolution. > > repeat until the mouse is up > set the loc of btn "dragBtn" to the mouseLoc > end repeat > > Certain people discourage use of this in MetaCard > and Revolution? > > Thanking you, > > Lince M Lawrence > Hi Lince, The main problem with the above construct is that the engine needs to constantly check if the mouse state happened to change. All you'll ever want to know about mouse polling, including how to achieve the same effect withut hogging the CPU, can be found at : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From klaus at major-k.de Wed Dec 1 03:40:37 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Dec 2004 09:40:37 +0100 Subject: Polling the mouse In-Reply-To: References: Message-ID: Hi Lince, > What will be the consequence of polling the mouse in Revolution. Eternal damnation and a special x-talk purgatory! :-D > repeat until the mouse is up > set the loc of btn "dragBtn" to the mouseLoc > end repeat > > Certain people discourage use of this in MetaCard and Revolution? Jan (or his current clone on duty ;-) is right. It will eat CPU time unecessarily. And this is a very good read indeed: http://www.hyperactivesw.com/polling.html > Thanking you, > > Lince M Lawrence > FOCAL IMAGE (INDIA) PVT. LTD. > [ mailto:lince at river-valley.com ] Regards Klaus Major klaus at major-k.de http://www.major-k.de From xbury.cs at clearstream.com Wed Dec 1 04:02:35 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 1 Dec 2004 10:02:35 +0100 Subject: Polling the mouse Message-ID: Hi Lince, While this routine may eat a few more CPU cycles than usual, it poses absolutely no problems. Since RunRev doesn't thread anyway, there no impact on would be rev-background running applications. CPU hogging is only 20% more than resizing or moving any window in windows (out of runrev). Moving or resizing a stack in rev will equally eat as much if not more CPU! It's also much easier to implement, edit and debug IMOHO. The mousedown event is usually pretty short anyway (depending on the application naturally.) My 2 cents Xavier On 01.12.2004 09:40:37 use-revolution-bounces wrote: >Hi Lince, > >> What will be the consequence of polling the mouse in Revolution. > >Eternal damnation and a special x-talk purgatory! :-D > >> repeat until the mouse is up >> set the loc of btn "dragBtn" to the mouseLoc >> end repeat >> >> Certain people discourage use of this in MetaCard and Revolution? > >Jan (or his current clone on duty ;-) is right. >It will eat CPU time unecessarily. > >And this is a very good read indeed: >http://www.hyperactivesw.com/polling.html > >> Thanking you, >> >> Lince M Lawrence >> FOCAL IMAGE (INDIA) PVT. LTD. >> [ mailto:lince at river-valley.com ] > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From alex at tweedly.net Wed Dec 1 04:13:59 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Dec 2004 09:13:59 +0000 Subject: stacks interacting over LAN? (newbie) In-Reply-To: References: <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> At 21:23 30/11/2004 +0100, Bj?rnke von Gierke wrote: >Well actually that's Mark Schonewille's implementation, not mine :) >And soon there will be a third chat client, confusion everywhere abounds! Sorry. The effort to build and contribute an open-source chat program (or programs) is fantastic, and credit should go to the correct people - so I'm very sorry about getting this wrong. Thanks for the correct url of http://chatrev.cjb.net:8080 -- Alex. From klaus at major-k.de Wed Dec 1 04:34:50 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Dec 2004 10:34:50 +0100 Subject: Polling the mouse In-Reply-To: References: Message-ID: <3F84D38C-437C-11D9-9C39-000A27B49A96@major-k.de> Hi Lince, > What will be the consequence of polling the mouse in Revolution. > > repeat until the mouse is up > set the loc of btn "dragBtn" to the mouseLoc > end repeat in this case the following would be more effective: Script of btn "dragBtn" on mousedown grab me end mousedown No damnation and no purgatory ;-) > Thanking you, > > Lince M Lawrence > FOCAL IMAGE (INDIA) PVT. LTD. > [ mailto:lince at river-valley.com ] Regards Klaus Major klaus at major-k.de http://www.major-k.de From psahores at easynet.fr Wed Dec 1 04:56:52 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 1 Dec 2004 10:56:52 +0100 Subject: lessons from Java, OOP In-Reply-To: <41ACF774.5080304@fourthworld.com> References: <41ACF774.5080304@fourthworld.com> Message-ID: <536C08E7-437F-11D9-B382-000A95C61E96@easynet.fr> Le 30 nov. 04, ? 23:43, Richard Gaskin a ?crit : > > Theory aside, the practical benefits of OOP involve productivity, > through ease of maintenance and reuse. For all of the talk of > portable C++ objects over the years, few have materialized and very > few are cross-platform. That is, unless you adopt an entire > framework, like CodeWarrior's PowerPlant or Apple's XCode, but then > you're moving past a portable object and are talking about a > generalized application foundation, which is a much bigger thing. > Trying to reuse a single widget in C++ or Java often means pulling a > long chain of superclasses along with it, so that what was described > as a reusable object is really a large folder full of .c and .h files. > ;) > > With Transcript, there are many practices which can help facilitate > those practical benefits. While they may not satisfy OOP purists, > such folks are probably happily using Java anyway so we can ignore > them and get back to our own productivity. > Because there is no way to get the Master of distribued application of the Ecole Pratique des Hautes-Etudes Institute (Sorbonne University - Paris, France), i worked, last year in coding some J2EE apps and deployed them under the Tomcat (JSP) and JBoss (EJB2) platforms... In my own humble idea, there is still nothing that can be deployed in using a Revolution's application server that could be best coded and deployed in using the Java 1.4 platform. To code "academically", apps in Java 2, we need UML, 20 different frameworks (Eclipse or NetBeans one side, Ant, CVS, XDoclet, SWT, Struts, Andromda, Hibernate, JUnit,...) where we only need one framework (Rev) to go head with the same kind of project in using our prefered XTalk. About OOP, Rev is from ground build to let us design as we want : 100% OOP or, best in my mind 50% OOP / 50% functionnal. In Java, we have no choice : 100% OOP only and only one hierarchical heritance way is available (from bottom to top) where Transcript let us free to design all the heritances we need (bottom-top, transversal messages beerwin handler and stacks, start using, send message) + the ability to use recursivity procs and functions... To the end, the Java deployed apps are build by teams, running from 20 to 60 times slower than the Revolution 2.5 one and can't be coded at once and deployed anywhere. Anyone is free to choose Java instead of XTalk to code great networked apps but we have to understand and remember that Revolution is still the perfect tool to let us code in days and weeks ALL what can be build and deployed in weeks and months in using the J2EE platform. In opposition, there is no issues to code in Java all what can be coded in Transcript. In my mind, Java lacks in some critical aera, alike the client-side security of the connected apps or alike the ways the SQL back-ends are binded to the application's servers. In my mind, Java is a little outdated but, because marketing and ideology, it seems mainly a more usefull language than it is in reality. It's my job to build critical networked apps with tousands of write-mode connections peer second. My customers don't care about what languages i'm using to delivry to them the apps they are paying for. They just remember that the delivred apps are always working as expected, for years... Perhaps is Java - mainly - a bureaucratic and ideologic development paradigm, perhaps ;-)... > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From sims at ezpzapps.com Wed Dec 1 05:02:33 2004 From: sims at ezpzapps.com (sims) Date: Wed, 1 Dec 2004 11:02:33 +0100 Subject: stacks interacting over LAN? (newbie) In-Reply-To: <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> References: <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> Message-ID: > >The effort to build and contribute an open-source chat program (or >programs) is fantastic, and credit should go to the correct people - >so I'm very sorry about getting this wrong. I'm curious about what security concerns that a chat (or sockets in general) might open up for the user and what (if any) precautions need to be taken. Also, when setting up a chat for someone who has a firewall (uses a proxy) in place and the Rev "set the HTTPProxy to host:portNumber" is used, are other security concerns presented? My questions spring from an appalling lack of knowledge of sockets :-/ sims EuroRevCon 2006! From wow at together.net Wed Dec 1 06:48:08 2004 From: wow at together.net (Richard Miller) Date: Wed, 1 Dec 2004 06:48:08 -0500 Subject: Credit card processing In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: I'd like to create a very simple custom browser to process one quick credit card subscription that requires filling out only three fields: the credit card number, expiration date and 3-digit card code. Our access device (a kiosk) does not provide a mouse. It does have a small numeric keypad. What are the options for doing this through Rev today.. I'd like to know the simplest way possible! Thanks. Richard Miller Imprinter Technologies From yoursignup at yahoo.com Wed Dec 1 06:53:11 2004 From: yoursignup at yahoo.com (Jim Bufalini) Date: Wed, 1 Dec 2004 03:53:11 -0800 (PST) Subject: barcode scanner Message-ID: <20041201115311.73967.qmail@web52204.mail.yahoo.com> Many years ago I developed a system that collected data from a large number of barcode readers, as well as, other electronic systems. Most barcode readers then transmitted serially and could attach a prefix and postfix to the scan. We attached the individual readers to MUXs and the MUXs to a large serial switch (actually bank of serial switches). The serial switch had memory (most do). This then goes, of course, attachesto one serial port on the computer. So, depending on the nature of your app, you can then either let the reads accumulate in the switch and have your program poll the serial port when your application is ready, or set up your program to be interrupt or event driven by the serial port. Use the prefix and postfix feature of the barcode readers to parse your stream. Jim Bufalini -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of kee nethery Sent: Tuesday, November 30, 2004 6:18 PM To: How to use Revolution Subject: Re: barcode scanner On Nov 30, 2004, at 3:37 AM, Paolo Mazza wrote: > I want my rev-application to collect data from a barcode scanner > in background . In other words, I want to use my PC (WIN-XP) with > other programs and at the same time I want my application to collect > and save data from the barcode scanner. Is it possible? yes but the input has to be through something other than the normal keyboard interface. You'll need an alternate input stream and you'll need code to watch that input stream. The most common, but becoming obsolete quickly, is a serial interface. Then you have your app watch the serial interface and handle the data it receives. Beyond my abilities, I think Sarah has done much more work in this area. Kee Nethery _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From klaus at major-k.de Wed Dec 1 07:30:54 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Dec 2004 13:30:54 +0100 Subject: Credit card processing In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: Hi Richard, > I'd like to create a very simple custom browser to process one quick > credit card subscription that requires filling out only three fields: > the credit card number, expiration date and 3-digit card code. Our > access device (a kiosk) does not provide a mouse. It does have a small > numeric keypad. > > What are the options for doing this through Rev today.. I'd like to > know the simplest way possible! create 3 fields and set their "autotab" to true (check it in the inspector)... This will cause the cursor to go to the next field when the user hits the RETURN and/or ENTER key... To make sure that only numbers are being entered in the fields put this into the script of the credit card number and 3-digit fields: on keydown t_key if t_key is a number then pass keydown end keydown Add this to the script of the 3-digit field: on closefield if the num of chars of me <> 3 then put empty into me select text of me end if end closefield To make sure that the expiration date field contains a valid date, put this into the script of that field, supposed you demand the xx/xx/xx format for your date: on keydown t_key if t_key is a number OR t_key = "/" then pass keydown end keydown on closefield if me is not a date then put empty into me select text of me end if end closefield That will delete the wrong date and sets the cursor again in that field... Sorry no idea how to validate a credit card number ;-) Hope that helps... > Thanks. > Richard Miller > Imprinter Technologies Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From xbury.cs at clearstream.com Wed Dec 1 05:13:51 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 1 Dec 2004 11:13:51 +0100 Subject: lessons from Java, OOP Message-ID: Pierre, Very insightful! In your experience, is RunRev server side performance as good as Java? cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Pierre Sahores Sent by: use-revolution-bounces at lists.runrev.com 01.12.2004 10:56 Please respond to How to use Revolution To: How to use Revolution cc: (bcc: Xavier Bury/CLEARSTREAM/GDB) Subject: Re: lessons from Java, OOP .. Le 30 nov. 04, ? 23:43, Richard Gaskin a ?crit : > > Theory aside, the practical benefits of OOP involve productivity, > through ease of maintenance and reuse. For all of the talk of > portable C++ objects over the years, few have materialized and very > few are cross-platform. That is, unless you adopt an entire > framework, like CodeWarrior's PowerPlant or Apple's XCode, but then > you're moving past a portable object and are talking about a > generalized application foundation, which is a much bigger thing. > Trying to reuse a single widget in C++ or Java often means pulling a > long chain of superclasses along with it, so that what was described > as a reusable object is really a large folder full of .c and .h files. > ;) > > With Transcript, there are many practices which can help facilitate > those practical benefits. While they may not satisfy OOP purists, > such folks are probably happily using Java anyway so we can ignore > them and get back to our own productivity. > Because there is no way to get the Master of distribued application of the Ecole Pratique des Hautes-Etudes Institute (Sorbonne University - Paris, France), i worked, last year in coding some J2EE apps and deployed them under the Tomcat (JSP) and JBoss (EJB2) platforms... In my own humble idea, there is still nothing that can be deployed in using a Revolution's application server that could be best coded and deployed in using the Java 1.4 platform. To code "academically", apps in Java 2, we need UML, 20 different frameworks (Eclipse or NetBeans one side, Ant, CVS, XDoclet, SWT, Struts, Andromda, Hibernate, JUnit,...) where we only need one framework (Rev) to go head with the same kind of project in using our prefered XTalk. About OOP, Rev is from ground build to let us design as we want : 100% OOP or, best in my mind 50% OOP / 50% functionnal. In Java, we have no choice : 100% OOP only and only one hierarchical heritance way is available (from bottom to top) where Transcript let us free to design all the heritances we need (bottom-top, transversal messages beerwin handler and stacks, start using, send message) + the ability to use recursivity procs and functions... To the end, the Java deployed apps are build by teams, running from 20 to 60 times slower than the Revolution 2.5 one and can't be coded at once and deployed anywhere. Anyone is free to choose Java instead of XTalk to code great networked apps but we have to understand and remember that Revolution is still the perfect tool to let us code in days and weeks ALL what can be build and deployed in weeks and months in using the J2EE platform. In opposition, there is no issues to code in Java all what can be coded in Transcript. In my mind, Java lacks in some critical aera, alike the client-side security of the connected apps or alike the ways the SQL back-ends are binded to the application's servers. In my mind, Java is a little outdated but, because marketing and ideology, it seems mainly a more usefull language than it is in reality. It's my job to build critical networked apps with tousands of write-mode connections peer second. My customers don't care about what languages i'm using to delivry to them the apps they are paying for. They just remember that the delivred apps are always working as expected, for years... Perhaps is Java - mainly - a bureaucratic and ideologic development paradigm, perhaps ;-)... > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From gwalias-rev at yahoo.com Wed Dec 1 09:45:29 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Wed, 1 Dec 2004 06:45:29 -0800 (PST) Subject: "Plugin" stacks Message-ID: <20041201144529.2724.qmail@web51103.mail.yahoo.com> Dear Revolutionaries If I create a standalone app that's essentially just a splash screen that loads the other stacks of the app as runtime "plugins", can't people view and/or alter the contents of those stacks? I notice that when I load a rev stack into e.g. WordPad, some of it is gobbledygook but I can inspect a fair amount of the contents. Best Gordon From k.r.hauge at east.uio.no Wed Dec 1 09:53:45 2004 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Wed, 1 Dec 2004 15:53:45 +0100 Subject: Czech apples Message-ID: The letter "y-acute" (hex 00FD, dec 235) is essential for Czech. If I import UTF-16 text from a file or copy it from an application, this character displays as the well-known Apple trademark (on a Mac with 10.3.6. RR 2.5). The htmltext of a field with this character will be < p>ý< /p> (spaces deliberately inserted to avoid messing up mailreaders). I can type this character from the keyboard (Unicode Hex Input kbd, opt+00FD) and it shows up fine. The htmltext is < p>< font face="Geneva" lang="en-UC">ý< /font>< /p>. I can fix the problem in a way with an ugly replace hack in the htmltext, but it won't put its head down - if add add text to a field by: set the unicodetext of fld 1 to the unicodetext of fld 1 & the unicodetext of fld 2 - then any proper y-acutes in field 2 are again converted into apples when added to field 1. I can avoid this by clumsy copy-and-paste routines, but this shouldn't be necessary. I have reported this as a bug some time under 2.0 (#542), but it was returned as non-reproducible. -- --- Kjetil R? Hauge, U. of Oslo, PO Box 1030 Blindern, N-0315 Oslo, Norway Tel. +47/22856710, fax +47/22854140 From klaus at major-k.de Wed Dec 1 10:00:55 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Dec 2004 16:00:55 +0100 Subject: "Plugin" stacks In-Reply-To: <20041201144529.2724.qmail@web51103.mail.yahoo.com> References: <20041201144529.2724.qmail@web51103.mail.yahoo.com> Message-ID: Hi Gordon, > Dear Revolutionaries > > If I create a standalone app that's essentially just a > splash screen that loads the other stacks of the app > as runtime "plugins", can't people view and/or alter > the contents of those stacks? I notice that when I > load a rev stack into e.g. WordPad, some of it is > gobbledygook but I can inspect a fair amount of the > contents. apply a password to your stacks, then the complete content will be gobbledygook when opened in any editor :-) You might have to use the messagebox: set the password of stack "xyz" to "your password here..." Hope that helps... > Best > > Gordon Regards Klaus Major klaus at major-k.de http://www.major-k.de From fde101 at fjrhome.net Wed Dec 1 09:59:05 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 1 Dec 2004 09:59:05 -0500 Subject: Credit card processing In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: <8BE43BE3-43A9-11D9-AD62-0050E410655F@fjrhome.net> Found these sites which might be helpful: http://www.beachnet.com/~hstiles/cardtype.html http://www.sislands.com/jscript/week6/ccvalidation.htm Google is your friend! Note that the algorithm presented at these sites does not actually verify the credit card itself, it simply checks the card number against the card security code to see if they work together as they should. As far as validating the card against the official databases, that may be a bit more complex... On Dec 1, 2004, at 7:30 AM, Klaus Major wrote: > Hi Richard, > >> I'd like to create a very simple custom browser to process one quick >> credit card subscription that requires filling out only three fields: >> the credit card number, expiration date and 3-digit card code. Our >> access device (a kiosk) does not provide a mouse. It does have a >> small numeric keypad. >> >> What are the options for doing this through Rev today.. I'd like to >> know the simplest way possible! > > create 3 fields and set their "autotab" to true (check it in the > inspector)... > > This will cause the cursor to go to the next field when the user hits > the RETURN > and/or ENTER key... > > To make sure that only numbers are being entered in the fields put > this into the > script of the credit card number and 3-digit fields: > > on keydown t_key > if t_key is a number then pass keydown > end keydown > > Add this to the script of the 3-digit field: > > on closefield > if the num of chars of me <> 3 then > put empty into me > select text of me > end if > end closefield > > > To make sure that the expiration date field contains a valid date, put > this into the script of that > field, supposed you demand the xx/xx/xx format for your date: > > on keydown t_key > if t_key is a number OR t_key = "/" then pass keydown > end keydown > > on closefield > if me is not a date then > put empty into me > select text of me > end if > end closefield > > That will delete the wrong date and sets the cursor again in that > field... > > Sorry no idea how to validate a credit card number ;-) > > Hope that helps... > >> Thanks. >> Richard Miller >> Imprinter Technologies > > Regards from germany > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Dec 1 10:00:40 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 1 Dec 2004 10:00:40 -0500 Subject: "Plugin" stacks In-Reply-To: <20041201144529.2724.qmail@web51103.mail.yahoo.com> References: <20041201144529.2724.qmail@web51103.mail.yahoo.com> Message-ID: You can "read" a standalone that way too if you do not set a password for it (encrypt it). On Dec 1, 2004, at 9:45 AM, Gordon wrote: > Dear Revolutionaries > > If I create a standalone app that's essentially just a > splash screen that loads the other stacks of the app > as runtime "plugins", can't people view and/or alter > the contents of those stacks? I notice that when I > load a rev stack into e.g. WordPad, some of it is > gobbledygook but I can inspect a fair amount of the > contents. > > Best > > Gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From gwalias-rev at yahoo.com Wed Dec 1 10:05:50 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Wed, 1 Dec 2004 07:05:50 -0800 (PST) Subject: Stack Passwords Message-ID: <20041201150550.21119.qmail@web51106.mail.yahoo.com> Thanks Klaus :-) If I set a stack password, does my app have to "unlock" the stack with the same password, when it loads it? Best Gordon From harrison at all-auctions.com Wed Dec 1 10:09:14 2004 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 1 Dec 2004 10:09:14 -0500 Subject: Credit card processing In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: On Dec 1, 2004, at 7:30 AM, Klaus Major wrote: > > > Sorry no idea how to validate a credit card number ;-) > > Hope that helps... > > Klaus Major > A good start to this is to check what the first digit is. If it begins with a 4 it is a VISA card. If it begins with a 5 it is a MasterCard. Good Luck! Rick Harrison From klaus at major-k.de Wed Dec 1 10:13:23 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Dec 2004 16:13:23 +0100 Subject: Stack Passwords In-Reply-To: <20041201150550.21119.qmail@web51106.mail.yahoo.com> References: <20041201150550.21119.qmail@web51106.mail.yahoo.com> Message-ID: <8B355CE7-43AB-11D9-B0F8-000A27B49A96@major-k.de> Hi Gordon, > Thanks Klaus :-) > > If I set a stack password, does my app have to > "unlock" the stack with the same password, when it > loads it? No! Only if you want to edit the scripts of these stacks later in Dev mode... > Best > > Gordon Best from germany Klaus Major klaus at major-k.de http://www.major-k.de P.S. Please remember to load my little "X-mas tree" via REV-Online! Tis the season :-) I have been asked, so i will also put a standalone of this little stack on my website the next days... From klaus at major-k.de Wed Dec 1 10:16:05 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Dec 2004 16:16:05 +0100 Subject: Credit card processing In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: Hi Rick, > On Dec 1, 2004, at 7:30 AM, Klaus Major wrote: >> ... >> Sorry no idea how to validate a credit card number ;-) >> Hope that helps... >> >> Klaus Major > A good start to this is to check what the first digit is. > If it begins with a 4 it is a VISA card. If it begins with a 5 > it is a MasterCard. Thanks, yes, that's a good start, although i didn't want to know ;-) Now only 11 digits left to check :-) > Good Luck! > > Rick Harrison Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From wow at together.net Wed Dec 1 10:22:22 2004 From: wow at together.net (Richard Miller) Date: Wed, 1 Dec 2004 10:22:22 -0500 Subject: Credit card processing In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: Thanks Klaus, Frank and Rick for your feedback. Still, the key issue remains, which is actually processing a credit card transaction securely through a custom Rev-enabled browser. What are the current options available through Rev for doing that? Richard From kkaufman at snet.net Wed Dec 1 10:25:36 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 1 Dec 2004 07:25:36 -0800 (PST) Subject: Rev and non-SQL databases (beginner's question) Message-ID: <20041201152536.10017.qmail@web81608.mail.yahoo.com> I know that database formats are a FAQ here, but I was not able to locate a reference to this specific question; if someone knows that the subject has already been covered, please point me to the discussion. I've long used the "basic HyperCard" model (one card per account, much like a Rolodex) as a quick way to whip up an accounting program. Problem is, if I'd like to add an entry or an additional variable to each account, it means looping through each card with the required modification. I'm also a bit concerned about eventual size of the stack; the app and data being one and the same. This is a situation where an actual server is not used, (a single computer). Would storing the data in this form of text file work? account1item1,account1item2,account1item3, etc. account2item1,account2item2,account2item3, etc. account3item1, etc..... When the app is opened, the text file would be read into memory. I'd only need one card with fields that would display the various "accountXitems" from the text file. The number of lines in the text file (number of accounts) could reach several thousand eventually. Super speed is not an issue here, but obviously, having to wait more than a few seconds for the account's data to display is not acceptable either. Thanks in advance for any suggestions. -Kurt From yoursignup at yahoo.com Wed Dec 1 10:36:46 2004 From: yoursignup at yahoo.com (Jim Bufalini) Date: Wed, 1 Dec 2004 07:36:46 -0800 (PST) Subject: Credit card processing Message-ID: <20041201153647.49285.qmail@web52210.mail.yahoo.com> There are "no options" of processing a credit card transaction through ANY programming language. CC transactions are processed through the banking network. To obtain API access to the VERY secure banking network you need to talk to someone like LinkPointCentral or Card Com. You need a merchant account, credit references, etc. Jim Bufalini Thanks Klaus, Frank and Rick for your feedback. Still, the key issue remains, which is actually processing a credit card transaction securely through a custom Rev-enabled browser. What are the current options available through Rev for doing that? Richard _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From kevin at runrev.com Wed Dec 1 10:31:15 2004 From: kevin at runrev.com (Kevin Miller) Date: Wed, 01 Dec 2004 15:31:15 +0000 Subject: OOP with Revolution In-Reply-To: <20041201014243.15289.qmail@web51104.mail.yahoo.com> Message-ID: On 1/12/04 1:42 am, "Gordon" wrote: > How about a Rev component with no interactive features > that could be used simply as a container for scripts > and custom properties. It could be set in the rev > preferences as visible or invisible on a card, but > would otherwise inherit the properties of the general > class of object from which I imagine all the other > components are descended. > > Perhaps I could just create such a thing myself as a > custom control - if I knew enough about rev - which I > don't :( > > I know that people use buttons and the like for this > purpose right now, but this new component might > simplify and clarify the design of rev stacks a > little. Of course it depends on exactly what you are trying to achieve, but I see no problem in principal that would prevent you from coming up with something fairly close to that based on Rev as it stands. You can certainly run it faceless and design the sort of inheritance you need, provided that you do so relatively early on in the design of your solution. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From klaus at major-k.de Wed Dec 1 10:42:59 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Dec 2004 16:42:59 +0100 Subject: Rev and non-SQL databases (beginner's question) In-Reply-To: <20041201152536.10017.qmail@web81608.mail.yahoo.com> References: <20041201152536.10017.qmail@web81608.mail.yahoo.com> Message-ID: Hi Kurt, > I know that database formats are a FAQ here, but I was > not able to locate a reference to this specific > question; if someone knows that the subject has > already been covered, please point me to the > discussion. > > I've long used the "basic HyperCard" model (one card > per account, much like a Rolodex) as a quick way to > whip up an accounting program. Problem is, if I'd > like to add an entry or an additional variable to each > account, it means looping through each card with the > required modification. I'm also a bit concerned about > eventual size of the stack; the app and data being one > and the same. > > This is a situation where an actual server is not > used, (a single computer). > Would storing the data in this form of text file work? > > account1item1,account1item2,account1item3, etc. > account2item1,account2item2,account2item3, etc. > account3item1, etc..... > > When the app is opened, the text file would be read > into memory. I'd only need one card with fields that > would display the various "accountXitems" from the > text file. > > The number of lines in the text file (number of > accounts) could reach several thousand eventually. > > Super speed is not an issue here, but obviously, > having to wait more than a few seconds for the > account's data to display is not acceptable either. > > Thanks in advance for any suggestions. I have created exactly what you described here: A one-card adress stack and a textfile. Just for fun i created a 15 MB textfile with about 100.000 lines, 10 items each, (with random content, not that i knew that much people) and EVERYTHING is working in realtime, even on a 400 Mhz G4 Mac. Sorting and even searching for a specific line that "contains" or "starts with" xxx (lineoffset IS fast :-) works with no noticable delay... So i think this is the way to go, if you don't want and/or need a "real" database engine like Valentina, mySQL etc... Hope that helps > -Kurt Regards Klaus Major klaus at major-k.de http://www.major-k.de From wow at together.net Wed Dec 1 10:50:23 2004 From: wow at together.net (Richard Miller) Date: Wed, 1 Dec 2004 10:50:23 -0500 Subject: Credit card processing In-Reply-To: <20041201153647.49285.qmail@web52210.mail.yahoo.com> References: <20041201153647.49285.qmail@web52210.mail.yahoo.com> Message-ID: OK, let me try again. Here's want I want to do (and I know it can be done through numerous other programming environments). 1. Create a simple custom web browser in Rev. Not difficult, correct? 2. Allow the user to enter a credit card number and expiration date. 3. User hits "Go" button. 4. Within a secure environment, that credit card information is passed to any one of dozens of Internet-based credit card processing companies that then process that transaction. If the transaction is good, that company sends back a "yes" to my Rev application. My Rev application can then continue to offer services to the user. This is no different than the hundreds of solutions already provided on the Internet for processing a credit card through any given web site...except that this is done through a custom Rev browser; not Explorer. What Rev options are available to do this? Richard On Dec 1, 2004, at 10:36 AM, Jim Bufalini wrote: > There are "no options" of processing a credit card > transaction through ANY > programming language. CC transactions are processed > through the banking > network. To obtain API access to the VERY secure > banking network you need to > talk to someone like LinkPointCentral or Card Com. You > need a merchant > account, credit references, etc. > > Jim Bufalini > > > Thanks Klaus, Frank and Rick for your feedback. Still, > the key issue > remains, which is actually processing a credit card > transaction > securely through a custom Rev-enabled browser. What > are the current > options available through Rev for doing that? > > Richard > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Wed Dec 1 10:51:44 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 1 Dec 2004 07:51:44 -0800 (PST) Subject: use-revolution Digest, Vol 15, Issue 1 In-Reply-To: <20041201144934.20D599300EA@mail.runrev.com> Message-ID: <20041201155144.77587.qmail@web81605.mail.yahoo.com> Klaus M. wrote: "... Sorting and even searching for a specific line that "contains" or "starts with" xxx (lineoffset IS fast :-) works with no noticable delay... So i think this is the way to go, if you don't want and/or need a "real" database engine like Valentina, mySQL etc... Hope that helps..." It certainly does; thanks Klaus! -Kurt From psahores at easynet.fr Wed Dec 1 10:57:56 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 1 Dec 2004 16:57:56 +0100 Subject: lessons from Java, OOP Message-ID: Hello Xavier, It's not a joke : Rev performances are in any case better than Tomcat/JSP ones and many more better than the JBoss/EJB2 ones, at least with apps binded to PostgreSQL (Web and ERP) or QTSS (live and on-dmand video streaming). - Support, if needed, of thousands of write-mode connections peer second on x86 Linux servers (Web and ERP apps) with very lightweight bandwidth consommation, - Very good results in about serving QTSS videostreams to Web or Rev client-side apps (Silver G4 and XServe G4 as servers, Renater3 providing backbone), - High level of security against intrusive attacks (beside firewalling, routing and DMZ, multi-level proxying application's protection), - Ease of development, maintenance and updates of the apps, - Leightweight of the final production applications, - Satisfaction of the customers, - Good returns, in about financial incomes. Kind Regards, Pierre PS : In my previous mail, please read, instead of the first issue : > Because there is no way to get the Master of distribued application of > the Ecole Pratique des Hautes-Etudes Institute (Sorbonne University - > Paris, France) without building some Java apps, i worked, last year > in coding some J2EE apps and deployed them under the Tomcat (JSP) > and JBoss (EJB2) platforms... Le 1 d?c. 04, ? 11:13, xbury.cs at clearstream.com a ?crit : > Pierre, > > Very insightful! > > In your experience, is RunRev server side performance as good as Java? > > cheers > ---------------------=--------------------- > Xavier Bury > Clearstream Services > TNS NT LAN Server > ext 36465 > Voice: +352 4656 43 6465 > Fax: +352 4656 493 6465 -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From userev at canelasoftware.com Wed Dec 1 11:24:27 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 1 Dec 2004 08:24:27 -0800 Subject: Credit card processing In-Reply-To: References: <20041201153647.49285.qmail@web52210.mail.yahoo.com> Message-ID: <785442BF-43B5-11D9-A520-000393C3F5BC@canelasoftware.com> On Dec 1, 2004, at 7:50 AM, Richard Miller wrote: > This is no different than the hundreds of solutions already provided > on the Internet for processing a credit card through any given web > site...except that this is done through a custom Rev browser; not > Explorer. > > What Rev options are available to do this? > > Richard You need to get a merchant account. Which account makes a difference. Some companies will allow you to process data over the net while others will not. Some leg work on your end will find the correct solution. The company that will allow you to do this will provide an API to access their network through your software. Using the new SSL encryption capabilities will be needed since I assume the data will be done via the net automatically. Your only obstacle is finding the right credit card processing company. The other suggestions pretty much cover your user input code. You will just need to write the sending and receiving code after you know their API. You might contact Kagi. If the services and items you are selling are inputed into their system, I think they will hand the processing for you. Not really sure, but your research will let you know. -- Best regards, Mark Talluto http://www.canelasoftware.com From troy at rpsystems.net Wed Dec 1 11:17:41 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 1 Dec 2004 11:17:41 -0500 Subject: lessons from Java, OOP In-Reply-To: References: Message-ID: <86BEB75D-43B4-11D9-8C5C-000A95A09CF8@rpsystems.net> On Dec 1, 2004, at 10:57 AM, Pierre Sahores wrote: > It's not a joke : Rev performances are in any case better than > Tomcat/JSP ones and many more better than the JBoss/EJB2 ones, at > least with apps binded to PostgreSQL (Web and ERP) or QTSS (live and > on-dmand video streaming). Pierre, Do you have any example stacks which show the nature of the QTSS interaction you are doing server-side? Sounds very interesting. -- Troy RPSystems, Ltd. http://www.rpsystems.net From b.xavier at internet.lu Wed Dec 1 11:36:50 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 1 Dec 2004 17:36:50 +0100 Subject: Lessons from Themes In-Reply-To: Message-ID: <20041201162842.B9297930075@mail.runrev.com> Hey scripters! As i imagined, the appearance-manager in RunRev doesn't tell you everything! ;) Fields that look far apart enough in Windows dont in OSX... I was wondering if there is a plan to make the OSX Aqua GUI available for testing multiplatformness Appearances in stacks? IOW, add XP and OSX to the "Look and feel" sub-menu of the View menu... I'll make a theme for it before holding my breath but seems kind of not fair we can't visually style our apps for OSX from windows. Similarly, you can't preview the XP theme when in windows 2000. Is that possible on the mac side? Should I bugzilla this enhancement request? Has anyone requested it before? I'll gladly vote 20 on that! Yes, ThemeN2O is coming ;) cheers Xavier -- MonsieurX.com -- Rev in Style! From fde101 at fjrhome.net Wed Dec 1 11:37:19 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 1 Dec 2004 11:37:19 -0500 Subject: Lessons from Themes In-Reply-To: <20041201162842.B9297930075@mail.runrev.com> References: <20041201162842.B9297930075@mail.runrev.com> Message-ID: <448CF481-43B7-11D9-AD62-0050E410655F@fjrhome.net> My "Look and Feel" list under Rev 2.5, OS X, has these options: Default Appearance Manager (let OS X do the work) MacOS Platinum Emulated Windows Emulated Motif Emulated Note that this was discussed previously, and it is unlikely that a real "OS X" appearance will be possible under Windows, although you might think they could get close enough to at least deal with button border offsets, field offsets, etc... On Dec 1, 2004, at 11:36 AM, MisterX wrote: > Hey scripters! > > As i imagined, the appearance-manager in RunRev doesn't tell you > everything! > ;) > > Fields that look far apart enough in Windows dont in OSX... > > I was wondering if there is a plan to make the OSX Aqua GUI available > for > testing > multiplatformness Appearances in stacks? IOW, add XP and OSX to the > "Look > and feel" > sub-menu of the View menu... > > I'll make a theme for it before holding my breath but seems kind of > not fair > we > can't visually style our apps for OSX from windows. > > Similarly, you can't preview the XP theme when in windows 2000. Is that > possible on > the mac side? > > Should I bugzilla this enhancement request? > Has anyone requested it before? I'll gladly vote 20 on that! > > Yes, ThemeN2O is coming ;) > > cheers > Xavier > -- > MonsieurX.com -- Rev in Style! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From bvg at mac.com Wed Dec 1 11:53:38 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 1 Dec 2004 17:53:38 +0100 Subject: stacks interacting over LAN? (newbie) In-Reply-To: References: <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> Message-ID: <8C21AD63-43B9-11D9-BEF2-000D932AE9E0@mac.com> On Dec 01 2004, at 11:02, sims wrote: >> >> The effort to build and contribute an open-source chat program (or >> programs) is fantastic, and credit should go to the correct people - >> so I'm very sorry about getting this wrong. > > I'm curious about what security concerns that a chat (or sockets in > general) might open up > for the user and what (if any) precautions need to be taken. This of course varies with the implementation, but talking about chatrev, I can assure you that there is no security risk whatsoever for the client. This is mainly due to the fact that the client never opens a port. However this is about to change, as we are incorporating file transfer (Which needs a accept connection at one end). Still, the opened port is occupied by rev and closed swiftly after finishing transfer, and because of that you won't get any malicious attempt trough. > > Also, when setting up a chat for someone who has a firewall (uses a > proxy) in place and > the Rev "set the HTTPProxy to host:portNumber" is used, are other > security concerns > presented? no, why should it? > > My questions spring from an appalling lack of knowledge of sockets :-/ > > sims > EuroRevCon 2006! <>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<> official ChatRev page: http://chatrev.cjb.net:8080 Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.2.5.rev" From graham.samuel at blueyonder.co.uk Wed Dec 1 11:53:49 2004 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Wed, 1 Dec 2004 16:53:49 +0000 Subject: Presenting successive file names in 'Open' In-Reply-To: <20041129234728.BF63F9300F4@mail.runrev.com> References: <20041129234728.BF63F9300F4@mail.runrev.com> Message-ID: <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> Folks I'm not sure how to approach this problem: I want a user to see the contents of a series of text files, all in the same folder. Let's say the files are called A01,A02... G99 or something like that. The sequence of operations is - 1. The user is offered a normal 'open' dialog to select a file, initially navigating to the folder in question and picking A01 to read. 2. The user looks at the file, does some action and disposes of it. 3. The user usually then wishes to look at the next file in the alphabetical sequence (A02 in my example, but it might be any text string). Clearly she/he can navigate to this name by: a) remembering the name of the last file looked at; b) scrolling down to the file below the last file looked at in the normal 'open' dialog If there are a lot of files, this scrolling becomes tedious on most OSs (e.g in OSX the OS 'open' dialog doesn't hilite the last file read, nor does it scroll down to it), so I would prefer to propose the name of the next file in the sequence in the 'open' dialog for the user to accept or reject. What would be the best way to do this? So far I've only thought of traversing the folder somehow before the user starts work, and putting all the file names in a list field for the user to pick from. Seems kind of overkill, though. All thoughts gratefully received. TIA Graham ------------------------------------------------------------------------ --- Graham Samuel / The Living Fossil Co. / UK and France From fde101 at fjrhome.net Wed Dec 1 12:03:11 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 1 Dec 2004 12:03:11 -0500 Subject: Presenting successive file names in 'Open' In-Reply-To: <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> References: <20041129234728.BF63F9300F4@mail.runrev.com> <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> Message-ID: If the filenames are always sequential and in that format, you could do something like this in a button (say, "Next File"): on mouseUp put into x put char 1 of x into aLetter put char 2 to 3 of x into aNumber add 1 to aNumber if aNumber is 100 then -- next letter put 0 into aNumber end if put aLetter & format("%02d", aNumber) into theNewFileName -- open the file end mouseUp Alternately, let the user pick the folder rather than the file, then do something like this: -- get the list of files and put them in hidden field "fileList" sort lines of field "fileList" -- open the file listed on the first line of field "fileList" delete line 1 of field "fileList" then for your "Next File" button: on mouseUp -- open the file listed on the first line of field "fileList" delete line 1 of field "fileList" if field "fileList" is empty then disable me end mouseUp On Dec 1, 2004, at 11:53 AM, Graham Samuel wrote: > Folks > > I'm not sure how to approach this problem: > > I want a user to see the contents of a series of text files, all in > the same folder. Let's say the files are called A01,A02... G99 or > something like that. The sequence of operations is - > > 1. The user is offered a normal 'open' dialog to select a file, > initially navigating to the folder in question and picking A01 to > read. > > 2. The user looks at the file, does some action and disposes of it. > > 3. The user usually then wishes to look at the next file in the > alphabetical sequence (A02 in my example, but it might be any text > string). Clearly she/he can navigate to this name by: > > a) remembering the name of the last file looked at; > > b) scrolling down to the file below the last file looked at in the > normal 'open' dialog > > If there are a lot of files, this scrolling becomes tedious on most > OSs (e.g in OSX the OS 'open' dialog doesn't hilite the last file > read, nor does it scroll down to it), so I would prefer to propose the > name of the next file in the sequence in the 'open' dialog for the > user to accept or reject. > > What would be the best way to do this? So far I've only thought of > traversing the folder somehow before the user starts work, and putting > all the file names in a list field for the user to pick from. Seems > kind of overkill, though. > > All thoughts gratefully received. > > TIA > > Graham > ----------------------------------------------------------------------- > ---- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From chipp at chipp.com Wed Dec 1 12:07:59 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 01 Dec 2004 09:07:59 -0800 Subject: Presenting successive file names in 'Open' In-Reply-To: <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> References: <20041129234728.BF63F9300F4@mail.runrev.com> <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> Message-ID: <41ADFA6F.10902@chipp.com> Graham, Take a look at answer folder instead of answer file best, Chipp Graham Samuel wrote: > I want a user to see the contents of a series of text files, all in the > same folder. From frank at backtalk.com Wed Dec 1 12:06:26 2004 From: frank at backtalk.com (Frank Leahy) Date: Wed, 1 Dec 2004 17:06:26 +0000 Subject: Credit card processing In-Reply-To: <20041201164923.2E39793012E@mail.runrev.com> References: <20041201164923.2E39793012E@mail.runrev.com> Message-ID: <55B8EDEE-43BB-11D9-810E-000A9580FCCE@backtalk.com> On Dec 1, 2004, at 4:49 PM, use-revolution-request at lists.runrev.com wrote: > From: Richard Miller > Subject: Re: Credit card processing > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > OK, let me try again. Here's want I want to do (and I know it can be > done through numerous other programming environments). > > What Rev options are available to do this? > None directly, you'll have to code it yourself using the SSL features in 2.5. You will need to find a credit card processor that supports a web-based protocol (e.g. XML over HTTPS) that let's you send the CC info, and get back a response (e.g. ok, declined, etc.). There are several processors out there who have such a protocol -- http://www.concordefsnet.com/ is one such, and you can find others by Googling for "credit card processor https xml". Good luck, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From frank at backtalk.com Wed Dec 1 12:11:48 2004 From: frank at backtalk.com (Frank Leahy) Date: Wed, 1 Dec 2004 17:11:48 +0000 Subject: Presenting successive file names in 'Open' In-Reply-To: <20041201164923.2E39793012E@mail.runrev.com> References: <20041201164923.2E39793012E@mail.runrev.com> Message-ID: <16008F7F-43BC-11D9-810E-000A9580FCCE@backtalk.com> On Dec 1, 2004, at 4:49 PM, use-revolution-request at lists.runrev.com wrote: > From: Graham Samuel > Subject: Presenting successive file names in 'Open' > To: use-revolution at lists.runrev.com > Message-ID: <9306FA9F-43B9-11D9-96E2-000D93B82F6C at blueyonder.co.uk> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Folks > > I'm not sure how to approach this problem: > > I want a user to see the contents of a series of text files, all in the > same folder. Let's say the files are called A01,A02... G99 or something > like that. The sequence of operations is - > ... > All thoughts gratefully received. > > TIA > > Graham I'd recommend writing your own file list chooser. It's easy enough -- create a new stack, add a list field, a couple of buttons, and you're done. Look up the files names, then present them to the user in a way that works best for you (and them). -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From webmaster at dreamscapesoftware.com Wed Dec 1 12:17:48 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 1 Dec 2004 11:17:48 -0600 Subject: Reading the WAB Message-ID: <001d01c4d7c9$af4c0650$5218113f@DOWNSTAIRS> Anyone have any idea on how to parse the Windows Address Book? I looked at one of the .wab files and everything is garbled. Does anyone know how to parse it? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From ambassador at fourthworld.com Wed Dec 1 12:27:30 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 Dec 2004 09:27:30 -0800 Subject: stacks interacting over LAN? (newbie) In-Reply-To: <8C21AD63-43B9-11D9-BEF2-000D932AE9E0@mac.com> References: <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> <8C21AD63-43B9-11D9-BEF2-000D932AE9E0@mac.com> Message-ID: <41ADFF02.5090205@fourthworld.com> Bj?rnke von Gierke wrote: > On Dec 01 2004, at 11:02, sims wrote: >> I'm curious about what security concerns that a chat (or sockets in >> general) might open up for the user and what (if any) precautions >> need to be taken. > > This of course varies with the implementation, but talking about > chatrev, I can assure you that there is no security risk whatsoever > for the client. This is mainly due to the fact that the client never > opens a port. How does it create a socket connection without opening a port? > However this is about to change, as we are incorporating file > transfer (Which needs a accept connection at one end). Still, > the opened port is occupied by rev and closed swiftly after > finishing transfer, and because of that you won't get any > malicious attempt trough. I'm no security expert, and this may be just a case of my own ignorance getting the best of me, but for my own wares I would be very careful about offering such broad assurances for anything involving network software. Maybe "unlikely to" is more accurate than "won't". Anytime one computer talks to another there are at least two risks: - One of the computers may be in the hands of someone with malicious intent - While in transit the data may be intercepted by a malicious third party The beauty of TCP is that it's a ubiquitous standard that's been around for a long, long time, so everyone uses it and all tools can be interoperable with it. The downside of its ubiquity and maturity is that there are people out who devote a sad majority of their lives to mastering TCP specifically to destroy other people's constructive activity. Most of those misanthropes are far smarter than me, and have a deeper knowledge of TCP and its implementations across operating systems than I'll ever have. I believe that absolute security is not achievable, and that the best we can aim for is to slow down exploits. That's no so bad, and is good enough for businesses and even governments to go about their business more productively than without software. But I would be wary of giving people the impression that a software provides absolute security. Instead, communicating what it does to protect itself may be all that's needed for the user to make their own risk assessment. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From psahores at easynet.fr Wed Dec 1 12:30:56 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 1 Dec 2004 18:30:56 +0100 Subject: lessons from Java, OOP In-Reply-To: <86BEB75D-43B4-11D9-8C5C-000A95A09CF8@rpsystems.net> References: <86BEB75D-43B4-11D9-8C5C-000A95A09CF8@rpsystems.net> Message-ID: Troy, If you are accessing the Web trought, at least, a 1 Mb/s link (xDSL or so), i can send you some more off-list... Best, Pierre Le 1 d?c. 04, ? 17:17, Troy Rollins a ?crit : > > On Dec 1, 2004, at 10:57 AM, Pierre Sahores wrote: > >> It's not a joke : Rev performances are in any case better than >> Tomcat/JSP ones and many more better than the JBoss/EJB2 ones, at >> least with apps binded to PostgreSQL (Web and ERP) or QTSS (live and >> on-dmand video streaming). > > Pierre, > > Do you have any example stacks which show the nature of the QTSS > interaction you are doing server-side? > > Sounds very interesting. > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jerry at daniels-mara.com Wed Dec 1 12:45:52 2004 From: jerry at daniels-mara.com (Jerry Daniels) Date: Wed, 1 Dec 2004 11:45:52 -0600 Subject: Rev-to-HyperCard-to-Rev (There and Back Again) Message-ID: Fellow X-talkers... This is not a question, but a simple reflection based upon a very recent experience. I am working away on a commercial, vertical market application that needs to be ported from HyperCard to Revolution; from Mac OS9 to Mac OSX and Windows XP. Migration: 1. I have, with the help of Chipp and Dan, built a brand new UI for the new application. 2. I am, however, migrating 100% of the data from HyperCard on OS9 to the new application and its platforms (Rev and the OS's). To migrate the data, I have been working in HyperCard for a few days for the first time in nearly ten years. Observations: 1. HyperCard was the king of data parsing in its day. 2. Revolution development time in this area is nearly TEN TIMES faster than HyperCard. 3. Revolution performance is nearly TEN TIMES faster than HyperCard. 4. I REALLY appreciate Revolution! Without filter, replace, remote access of data (put line 1 of fld "Name" of stack "Mailing List 2" into theName), htmlText, and a host of other conveniences, we would be operating in the dark ages. Bravo, to the Rev/MetaCard team over these last 15 years! That said, there is one thing we could use from HyperCard: script formating/coloring built into the binary. This was built into HyperCard 1.x and 2.x. I think it would be a big plus for Rev 3.x in the future. Imagine...set the colors when the IDE opens, and, when it comes time to format a script, pass a field ID with a single call, and--WHAMMO--it formats the field into beautiful, indented, color-coded text. I'm talking full-bore formatting here: no saving htmlText or skimping by only formatting the current handler. Just a thought...and maybe a point for future discussion. Best, Jerry Daniels http://www.daniels-mara.com From kray at sonsothunder.com Wed Dec 1 12:43:42 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 01 Dec 2004 11:43:42 -0600 Subject: Reading the WAB In-Reply-To: <001d01c4d7c9$af4c0650$5218113f@DOWNSTAIRS> Message-ID: On 12/1/04 11:17 AM, "Derek Bump" wrote: > Anyone have any idea on how to parse the Windows Address Book? I looked at > one of the .wab files and everything is garbled. Does anyone know how to > parse it? There's some information on the file format here: http://www.devcity.net/forums/topic.asp?tid=46944&highlight=read%7Cwab Looks like you need to parse the binary of the file. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From fde101 at fjrhome.net Wed Dec 1 12:51:27 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 1 Dec 2004 12:51:27 -0500 Subject: stacks interacting over LAN? (newbie) In-Reply-To: <41ADFF02.5090205@fourthworld.com> References: <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> <8C21AD63-43B9-11D9-BEF2-000D932AE9E0@mac.com> <41ADFF02.5090205@fourthworld.com> Message-ID: <9FF728A8-43C1-11D9-AD62-0050E410655F@fjrhome.net> On Dec 1, 2004, at 12:27 PM, Richard Gaskin wrote: > Bj?rnke von Gierke wrote: > > On Dec 01 2004, at 11:02, sims wrote: > >> I'm curious about what security concerns that a chat (or sockets in > >> general) might open up for the user and what (if any) precautions > >> need to be taken. Intercepted messages, forged messages, corrupted messages, ... > > > > This of course varies with the implementation, but talking about > > chatrev, I can assure you that there is no security risk whatsoever > > for the client. This is mainly due to the fact that the client never > > opens a port. Not true. First of all, clients open a port in order to connect to the port on the server. Both ends of a socket connection use a port. The one at the server end accepts connections from other ports, while the one at the client end serves as a means by which to manage a connection to the server's port. Also, there is always a security risk in everything done in any way with anything, and security is more than just preventing root access to a UNIX box and preventing transmission of unexpected data. Your chat client does not control the protocol drivers in the operating system. Opening the client port may introduce vulnerabilities in the form of bugs in the underlying TCP/IP suite used by the operating system -- even though your code might be perfect, this could still create security risks to the client machine. Additionally, depending on your chat client's protocol, there is the possibility that messages could be forged or intercepted. SSL or other encryption packages can help to reduce, but not eliminate that risk. > > How does it create a socket connection without opening a port? > > > However this is about to change, as we are incorporating file > > transfer (Which needs a accept connection at one end). Still, > > the opened port is occupied by rev and closed swiftly after > > finishing transfer, and because of that you won't get any > > malicious attempt trough. Not guaranteed. If someone between the two systems on the connection intercepts the request to transfer a file, he could beat the other system to opening the connection to that port and send malicious or invalid data to it. So instead of the screen saver user X expected, that EXE file installs a virus or some kind of spyware... When one computer requests a file from another, the one granting the file transfer might have its attempt to send intercepted by someone in between, and the one intercepting the attempt could receive a copy of some sensitive document... > > I'm no security expert, and this may be just a case of my own > ignorance getting the best of me, but for my own wares I would be very > careful about offering such broad assurances for anything involving > network software. Maybe "unlikely to" is more accurate than "won't". > > Anytime one computer talks to another there are at least two risks: > > - One of the computers may be in the hands of someone > with malicious intent > > - While in transit the data may be intercepted > by a malicious third party > > The beauty of TCP is that it's a ubiquitous standard that's been > around for a long, long time, so everyone uses it and all tools can be > interoperable with it. > > The downside of its ubiquity and maturity is that there are people out > who devote a sad majority of their lives to mastering TCP specifically > to destroy other people's constructive activity. Most of those > misanthropes are far smarter than me, and have a deeper knowledge of > TCP and its implementations across operating systems than I'll ever > have. > > I believe that absolute security is not achievable, and that the best > we can aim for is to slow down exploits. That's no so bad, and is > good enough for businesses and even governments to go about their > business more productively than without software. > > But I would be wary of giving people the impression that a software > provides absolute security. Instead, communicating what it does to > protect itself may be all that's needed for the user to make their own > risk assessment. True. Security is relative to the task at hand, and to the perceived desirability of breaking that security. This is definitely a moving target. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From b.xavier at internet.lu Wed Dec 1 13:14:50 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 1 Dec 2004 19:14:50 +0100 Subject: Reading the WAB In-Reply-To: <001d01c4d7c9$af4c0650$5218113f@DOWNSTAIRS> Message-ID: <20041201180824.73D5493014D@mail.runrev.com> start looking at technet.microsoft.com or google "windows outlook wab file format source code vb script" or a combo of... a little VBS might be the best way to get the data out... hope you find it... Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Derek Bump > Sent: Wednesday, December 01, 2004 18:18 > To: How to use Revolution > Subject: Reading the WAB > > Anyone have any idea on how to parse the Windows Address > Book? I looked at one of the .wab files and everything is > garbled. Does anyone know how to parse it? > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > > From rcozens at pon.net Wed Dec 1 13:28:57 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 1 Dec 2004 10:28:57 -0800 Subject: Presenting successive file names in 'Open' In-Reply-To: <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> References: <20041129234728.BF63F9300F4@mail.runrev.com> <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> Message-ID: Hi Graham, >I want a user to see the contents of a series of text files, all in >the same folder. Let's say the files are called A01,A02... G99 or >something like that. The sequence of operations is - > >1. The user is offered a normal 'open' dialog to select a file, >initially navigating to the folder in question and picking A01 to >read. > >2. The user looks at the file, does some action and disposes of it. > >3. The user usually then wishes to look at the next file in the >alphabetical sequence (A02 in my example, but it might be any text >string). Clearly she/he can navigate to this name by: > > a) remembering the name of the last file looked at; > >b) scrolling down to the file below the last file looked at in the >normal 'open' dialog > >If there are a lot of files, this scrolling becomes tedious on most >OSs (e.g in OSX the OS 'open' dialog doesn't hilite the last file >read, nor does it scroll down to it), so I would prefer to propose >the name of the next file in the sequence in the 'open' dialog for >the user to accept or reject. > >What would be the best way to do this? So far I've only thought of >traversing the folder somehow before the user starts work, and >putting all the file names in a list field for the user to pick >from. Seems kind of overkill, though. > >All thoughts gratefully received. If you were content to simply have the user pick among all files in the folder last visited, you could simply set the defaultFolder to the folder containing the last file selected after each selection. Placing a list of the files in a field may seem like overkill; but it allows additional options. Example: With SDB's folder archive stack the user can deselect/select individual files by clicking on them and folders by ctrl-clicking on any file in a folder. Deselected items are colored gray; selected items inherit the field's textColor. You could use the same technique to mark which files on the list have already been visited. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From zink at newmex.com Wed Dec 1 13:46:37 2004 From: zink at newmex.com (Nelson Zink) Date: Wed, 01 Dec 2004 11:46:37 -0700 Subject: Application vs. Player In-Reply-To: <20041201144934.2DF129300D9@mail.runrev.com> Message-ID: Jeanne A. E. DeVoto, > On OS X: choose any stack file in the Finder and choose Get Info from > the File menu. In the Info window, under "Open With", choose the Rev > application and click "Change All". May holiday blessings be upon you, exactly what I wanted! Nelson From bvg at mac.com Wed Dec 1 14:21:18 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 1 Dec 2004 20:21:18 +0100 Subject: stacks interacting over LAN? (newbie) In-Reply-To: <41ADFF02.5090205@fourthworld.com> References: <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> <8C21AD63-43B9-11D9-BEF2-000D932AE9E0@mac.com> <41ADFF02.5090205@fourthworld.com> Message-ID: <2D00853F-43CE-11D9-BEA7-000D932AE9E0@mac.com> Dear Frank, Richard You both raise valid concerns. However there is barelay a chance getting someone to interrupt your communication. In fact, I have yet to hear of such an attempt executed, anywhere (besides rumors about the US government). While direct exploits of programmatically errors I have heard of quite often. The chatrev protocol is strict. The client ignores every malformed message, the server disconnects you if you send wrong data. Of course I can not guarantee the integrity of the underlying TCP/IP stack, but then who can? There is a certain degree of trust involved. Chatrev users trust me, as I both "made" the protocol, and I do host the server. I trust RunRev to deliver a secure internet expirience. They trust the people that made the tcp implementation they use. And so on. If you both are so concerned about the security of the Chatrev users, why don't you join us in the chat, or try to dissect the protocol and give us some security tips? As for my mail it was in fact written too quickly and without much thoughts about all the possible risks, even if I myself deem them minor. greetings Bjoernke von Gierke <>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<> official ChatRev page: http://chatrev.cjb.net:8080 Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.2.5.rev" From kray at sonsothunder.com Wed Dec 1 14:35:53 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 01 Dec 2004 13:35:53 -0600 Subject: Reading the WAB In-Reply-To: <20041201180824.73D5493014D@mail.runrev.com> Message-ID: On 12/1/04 12:14 PM, "MisterX" wrote: > windows outlook wab file format source code vb script Did you try this search? Most of the entries are third-party utilities or file extension definitions... if would be helpful if you could point to one or more actual sites that contain source code that would help solve the problem... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From zink at newmex.com Wed Dec 1 14:45:01 2004 From: zink at newmex.com (Nelson Zink) Date: Wed, 01 Dec 2004 12:45:01 -0700 Subject: Credit card processing In-Reply-To: <20041201144934.2DF129300D9@mail.runrev.com> Message-ID: To all, For what it's worth here is an algorithm to identify 'good' credit card numbers: ---- Determine the number of digits if the number of chars of temp =16 or the number of chars of temp=13 then ------Verification Algorithm if the number of chars of temp=16 then repeat with zz=1 to 8 put 2*(char ((2*zz)-1) of temp) into CC if CC>=10 then put (cc mod 10)+1 into char ((2*zz)-1) of temp else put CC into char ((2*zz)-1) of temp end repeat end if if the number of chars of temp=13 then repeat with zz=1 to 6 put 2*(char (2*zz) of temp) into CC if CC>=10 then put (cc mod 10)+1 into char (2*zz) of temp else put CC into char (2*zz) of temp end repeat end if ------ Sum all digits put empty into TT repeat with zz=1 to the number of chars of temp add char zz of temp to TT end repeat if TT mod 10 is not 0 then put "Number in error, re-enter Credit Card number." else put "Re-enter Credit Card number-- incorrect number of digits." end if Nelson From hershrev at realtorsgroup.us Wed Dec 1 15:10:57 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 1 Dec 2004 15:10:57 -0500 Subject: Credit card processing In-Reply-To: Message-ID: <1D1F7AE6-43D5-11D9-933E-0030654C1E62@realtorsgroup.us> Hi gentlemen , you are missing the point . the question is the same way you could do CC payment thru an ms internet explorer app. that connects to certain clearing houses this should be done from within a RR window ? and the answer is there is an external from ???? I think from Alt. to run explorer or ??? the other name from within RR. Hershel On Wednesday, December 1, 2004, at 02:45 PM, Nelson Zink wrote: > To all, > > For what it's worth here is an algorithm to identify 'good' credit card > numbers: > > ---- Determine the number of digits > if the number of chars of temp =16 or the number of chars of > temp=13 > then > ------Verification Algorithm > if the number of chars of temp=16 then > repeat with zz=1 to 8 > put 2*(char ((2*zz)-1) of temp) into CC > if CC>=10 then put (cc mod 10)+1 into char ((2*zz)-1) of temp > else put CC into char ((2*zz)-1) of temp > end repeat > end if > > if the number of chars of temp=13 then > repeat with zz=1 to 6 > put 2*(char (2*zz) of temp) into CC > if CC>=10 then put (cc mod 10)+1 into char (2*zz) of temp > else put CC into char (2*zz) of temp > end repeat > end if > > ------ Sum all digits > put empty into TT > repeat with zz=1 to the number of chars of temp > add char zz of temp to TT > end repeat > if TT mod 10 is not 0 then put "Number in error, re-enter Credit > Card > number." > > else put "Re-enter Credit Card number-- incorrect number of > digits." > > end if > > > Nelson > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Dec 1 15:24:36 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 Dec 2004 12:24:36 -0800 Subject: stacks interacting over LAN? (newbie) In-Reply-To: <2D00853F-43CE-11D9-BEA7-000D932AE9E0@mac.com> References: <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> <8C21AD63-43B9-11D9-BEF2-000D932AE9E0@mac.com> <41ADFF02.5090205@fourthworld.com> <2D00853F-43CE-11D9-BEA7-000D932AE9E0@mac.com> Message-ID: <41AE2884.1050903@fourthworld.com> Bj?rnke von Gierke wrote: > If you both are so concerned about the security of the Chatrev users, > why don't you join us in the chat, or try to dissect the protocol and > give us some security tips? I'm not concerned about the implementation at all. I'm sure any risks are well managed and below the threshold for the uses it's put to. Mine was just a generic concern for any network software that might claim to be entirely risk-free. And as I said in that post, I'm no expert on security, far from it, so many others would be able to contribute much more there than me. Sorry if my post was worded clumsily. I have no problem with the software at all, but I do think it's useful to remind people that nothing is without risk, and encourage them to do their own risk assessment when possible. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Wed Dec 1 15:36:45 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Dec 2004 20:36:45 +0000 Subject: Presenting successive file names in 'Open' In-Reply-To: <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> References: <20041129234728.BF63F9300F4@mail.runrev.com> <20041129234728.BF63F9300F4@mail.runrev.com> Message-ID: <5.1.0.14.0.20041201201017.0307ffe8@mail.tweedly.net> At 16:53 01/12/2004 +0000, Graham Samuel wrote: >Folks > >I'm not sure how to approach this problem: > >I want a user to see the contents of a series of text files, all in the >same folder. Let's say the files are called A01,A02... G99 or something >like that. The sequence of operations is - > >1. The user is offered a normal 'open' dialog to select a file, >initially navigating to the folder in question and picking A01 to read. > >2. The user looks at the file, does some action and disposes of it. > >3. The user usually then wishes to look at the next file in the >alphabetical sequence (A02 in my example, but it might be any text >string). Clearly she/he can navigate to this name by: > > a) remembering the name of the last file looked at; > >b) scrolling down to the file below the last file looked at in the >normal 'open' dialog > >If there are a lot of files, this scrolling becomes tedious on most OSs >(e.g in OSX the OS 'open' dialog doesn't hilite the last file read, nor >does it scroll down to it), so I would prefer to propose the name of >the next file in the sequence in the 'open' dialog for the user to >accept or reject. > >What would be the best way to do this? So far I've only thought of >traversing the folder somehow before the user starts work, and putting >all the file names in a list field for the user to pick from. Seems >kind of overkill, though. This is actually much easier than you might think .... The docs for "answer file" say >The defaultPath is the name and location of the folder whose contents are >listed when the dialog box appears. If no defaultPath is specified, the >dialog box lists the contents of the last folder you used with a file >dialog box. But in fact, the defaultPath can be the name and location of A FILE within a folder. Thus, for example, answer file "Test" with "D:/Our Documents/Alex/RunRev/Boggal.rev" opens the dialog at the correct folder, with the file "Boggal" pre-selected. So you can allow the user to open the first file as normal, then on subsequent opens, do something like > set itemDel to "/" > put item 1 to -2 of lastFile into theFolder > put item -1 of lastFile into theName > put theFolder & "/" into theDefault > if lastFile <> "" then > set the defaultfolder to theFolder > put the short files into fList > sort flist > set wholeMatches to true > put lineOffset(theName, fList) into t > if t > 0 then > put item -1 of line (t+1) of fList after theDefault > end if > end if > answer file "Your Prompt" with theDefault > put it into lastFile (I'm sure you could re-write that code fragment into something neater - but it does work :-) -- Alex. From alex at tweedly.net Wed Dec 1 15:36:45 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Dec 2004 20:36:45 +0000 Subject: Presenting successive file names in 'Open' In-Reply-To: <9306FA9F-43B9-11D9-96E2-000D93B82F6C@blueyonder.co.uk> References: <20041129234728.BF63F9300F4@mail.runrev.com> <20041129234728.BF63F9300F4@mail.runrev.com> Message-ID: <5.1.0.14.0.20041201201017.0307ffe8@mail.tweedly.net> At 16:53 01/12/2004 +0000, Graham Samuel wrote: >Folks > >I'm not sure how to approach this problem: > >I want a user to see the contents of a series of text files, all in the >same folder. Let's say the files are called A01,A02... G99 or something >like that. The sequence of operations is - > >1. The user is offered a normal 'open' dialog to select a file, >initially navigating to the folder in question and picking A01 to read. > >2. The user looks at the file, does some action and disposes of it. > >3. The user usually then wishes to look at the next file in the >alphabetical sequence (A02 in my example, but it might be any text >string). Clearly she/he can navigate to this name by: > > a) remembering the name of the last file looked at; > >b) scrolling down to the file below the last file looked at in the >normal 'open' dialog > >If there are a lot of files, this scrolling becomes tedious on most OSs >(e.g in OSX the OS 'open' dialog doesn't hilite the last file read, nor >does it scroll down to it), so I would prefer to propose the name of >the next file in the sequence in the 'open' dialog for the user to >accept or reject. > >What would be the best way to do this? So far I've only thought of >traversing the folder somehow before the user starts work, and putting >all the file names in a list field for the user to pick from. Seems >kind of overkill, though. This is actually much easier than you might think .... The docs for "answer file" say >The defaultPath is the name and location of the folder whose contents are >listed when the dialog box appears. If no defaultPath is specified, the >dialog box lists the contents of the last folder you used with a file >dialog box. But in fact, the defaultPath can be the name and location of A FILE within a folder. Thus, for example, answer file "Test" with "D:/Our Documents/Alex/RunRev/Boggal.rev" opens the dialog at the correct folder, with the file "Boggal" pre-selected. So you can allow the user to open the first file as normal, then on subsequent opens, do something like > set itemDel to "/" > put item 1 to -2 of lastFile into theFolder > put item -1 of lastFile into theName > put theFolder & "/" into theDefault > if lastFile <> "" then > set the defaultfolder to theFolder > put the short files into fList > sort flist > set wholeMatches to true > put lineOffset(theName, fList) into t > if t > 0 then > put item -1 of line (t+1) of fList after theDefault > end if > end if > answer file "Your Prompt" with theDefault > put it into lastFile (I'm sure you could re-write that code fragment into something neater - but it does work :-) -- Alex. From userev at canelasoftware.com Wed Dec 1 15:39:03 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 1 Dec 2004 12:39:03 -0800 Subject: Credit card processing In-Reply-To: <1D1F7AE6-43D5-11D9-933E-0030654C1E62@realtorsgroup.us> References: <1D1F7AE6-43D5-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: <09F6084D-43D9-11D9-B621-000393C3F5BC@canelasoftware.com> On Dec 1, 2004, at 12:10 PM, Hershel Fisch wrote: > Hi gentlemen , you are missing the point . the question is the same > way you could do CC payment thru an ms internet explorer app. that > connects to certain clearing houses this should be done from within a > RR window ? and the answer is there is an external from ???? I think > from Alt. to run explorer or ??? the other name from within RR. > Hershel This can be done from Rev directly with no need for an external nor Explorer. No need for anything other than the needed hooks (APIs provided by the card processing company). They will of course require the maker of this software to have an account with them. In fact, the requirements are the same as if you wanted a credit card processor (device) in your office. The only difference is that you do not need the swiper. -- Best regards, Mark Talluto http://www.canelasoftware.com From dsc at swcp.com Wed Dec 1 15:55:13 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 1 Dec 2004 13:55:13 -0700 Subject: lessons from Java, OOP In-Reply-To: References: Message-ID: <4BD42370-43DB-11D9-ABE2-000A9567A3E6@swcp.com> On Nov 29, 2004, at 12:35 PM, Ivers, Doug E wrote: > Perhaps many of the best scriptors among us implement OOP concepts > (consciously or not). For example, custom properties might be a good > way to encapsulate data in a field (or other control). The key here > would be to write "get" and "set" scripts in the field script and > never touch the data except by sending messages to these handlers. If > you do this, please send me tips/advice. I use custom properties in custom controls and in certain cards and stacks. I write setProp handlers for these in most cases and getProp handlers in many cases. Unfortunately, it is not possible to write such handlers for built-in properties, so I have to use names based on my own abstractions. Also, I can't define a custom property named 'text' and use that as the default property as in fields and images. For a custom control, the custom properties of the enclosing group completely define the state of the control in my style. All interaction is through these. I do not fiddle with the enclosed objects. (When I'm obeying my rules, which is usually the case.) I also do this for stacks and sometimes cards. For example, a stack representing the printed page of an invoice might be specified by a collection of custom properties. In some cases, most properties are design time (say margins) and only a few are runtime. Often, actions are not appropriately state related and using custom controls may seem silly. In these cases I define handlers that are called. However, I find that state via custom controls tends to model how I think of the object in most cases and for most features. Sometimes I share scripts among custom controls by using a stack library or an invisible group with a cute image on card 1 (which I call a badge) or both. There are other issues with custom controls and I'm still experimenting. I'm still learning and would be glad to hear of any insights that your Java experience provides. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From fde101 at fjrhome.net Wed Dec 1 15:27:53 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 1 Dec 2004 15:27:53 -0500 Subject: Credit card processing In-Reply-To: <1D1F7AE6-43D5-11D9-933E-0030654C1E62@realtorsgroup.us> References: <1D1F7AE6-43D5-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: <7A8C3608-43D7-11D9-AD62-0050E410655F@fjrhome.net> You would need to figure out what the requirements of the clearing house are. Send the data they need, then parse the results they give you. There is no simple answer for this question, it all depends on the company you are dealing with. Does any of the data get sent as part of the URL? How about as cookies? Will the resulting data be in HTML? XML? Some proprietary custom format? Maybe the clearing house doesn't use HTTP/HTTPS at all... maybe there is a custom protocol and you will need to deal with it at the socket level. There is no straight answer here because it will vary depending on the clearing house. You need to obtain info from them *first*, then you can start to consider how to handle communications from Rev. On Dec 1, 2004, at 3:10 PM, Hershel Fisch wrote: > Hi gentlemen , you are missing the point . the question is the same > way you could do CC payment thru an ms internet explorer app. that > connects to certain clearing houses this should be done from within a > RR window ? and the answer is there is an external from ???? I think > from Alt. to run explorer or ??? the other name from within RR. > Hershel > On Wednesday, December 1, 2004, at 02:45 PM, Nelson Zink wrote: > >> To all, >> >> For what it's worth here is an algorithm to identify 'good' credit >> card >> numbers: >> >> ---- Determine the number of digits >> if the number of chars of temp =16 or the number of chars of >> temp=13 >> then >> ------Verification Algorithm >> if the number of chars of temp=16 then >> repeat with zz=1 to 8 >> put 2*(char ((2*zz)-1) of temp) into CC >> if CC>=10 then put (cc mod 10)+1 into char ((2*zz)-1) of temp >> else put CC into char ((2*zz)-1) of temp >> end repeat >> end if >> >> if the number of chars of temp=13 then >> repeat with zz=1 to 6 >> put 2*(char (2*zz) of temp) into CC >> if CC>=10 then put (cc mod 10)+1 into char (2*zz) of temp >> else put CC into char (2*zz) of temp >> end repeat >> end if >> >> ------ Sum all digits >> put empty into TT >> repeat with zz=1 to the number of chars of temp >> add char zz of temp to TT >> end repeat >> if TT mod 10 is not 0 then put "Number in error, re-enter Credit >> Card >> number." >> >> else put "Re-enter Credit Card number-- incorrect number of >> digits." >> >> end if >> >> >> Nelson >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From hershrev at realtorsgroup.us Wed Dec 1 15:53:03 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 1 Dec 2004 15:53:03 -0500 Subject: Credit card processing In-Reply-To: <09F6084D-43D9-11D9-B621-000393C3F5BC@canelasoftware.com> Message-ID: On Wednesday, December 1, 2004, at 03:39 PM, Mark Talluto wrote: > > On Dec 1, 2004, at 12:10 PM, Hershel Fisch wrote: > >> Hi gentlemen , you are missing the point . the question is the same >> way you could do CC payment thru an ms internet explorer app. that >> connects to certain clearing houses this should be done from within a >> RR window ? and the answer is there is an external from ???? I think >> from Alt. to run explorer or ??? the other name from within RR. >> Hershel > > > This can be done from Rev directly with no need for an external nor > Explorer. No need for anything other than the needed hooks (APIs > provided by the card processing company). They will of course require > the maker of this software to have an account with them. In fact, the > requirements are the same as if you wanted a credit card processor > (device) in your office. The only difference is that you do not need > the swiper. The reason why I didn't say RR direct is because of security. Hershel > > -- > Best regards, > Mark Talluto > http://www.canelasoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Wed Dec 1 16:07:02 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 1 Dec 2004 16:07:02 -0500 Subject: controls in flds Message-ID: Hi all , is there any way to place controls into scrolling flds meaning as long as you scroll the control is in your fld ? Hershel From alex at tweedly.net Wed Dec 1 16:20:29 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Dec 2004 21:20:29 +0000 Subject: stacks interacting over LAN? (newbie) In-Reply-To: <2D00853F-43CE-11D9-BEA7-000D932AE9E0@mac.com> References: <41ADFF02.5090205@fourthworld.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <5.1.0.14.0.20041201090949.027d2728@mail.tweedly.net> <8C21AD63-43B9-11D9-BEF2-000D932AE9E0@mac.com> <41ADFF02.5090205@fourthworld.com> Message-ID: <5.1.0.14.0.20041201205611.03085790@mail.tweedly.net> At 20:21 01/12/2004 +0100, Bj?rnke von Gierke wrote: >Dear Frank, Richard > >You both raise valid concerns. However there is barelay a chance getting >someone to interrupt your communication. In fact, I have yet to hear of >such an attempt executed, anywhere (besides rumors about the US >government). While direct exploits of programmatically errors I have heard >of quite often. There have been attempts to hijack TCP connections in the course of them being opened. There was a spate of them around ten years ago, aimed at the backbone routers in Europe; I've never heard of any being successful, but there have certainly been attacks aimed at that vulnerability. >The chatrev protocol is strict. The client ignores every malformed >message, the server disconnects you if you send wrong data. Of course I >can not guarantee the integrity of the underlying TCP/IP stack, but then >who can? There is a certain degree of trust involved. Chatrev users trust >me, as I both "made" the protocol, and I do host the server. I trust >RunRev to deliver a secure internet expirience. They trust the people that >made the tcp implementation they use. And so on. >If you both are so concerned about the security of the Chatrev users, why >don't you join us in the chat, or try to dissect the protocol and give us >some security tips? I'd agree that this is a minimal risk, but if you decided it was worth worrying about, there are some possibilities ..... ranging from a simple password which must be supplied in the start of the transfer, through to md5 keys (a la rfc 2385, though implemented in the application since most TCPs won't support it). The most interesting would be to simply pass the file transfer via the server. This would avoid any client ever having to "accept" connections. This would have the added side benefit that it would allow two clients, both behind firewalls and/or NATs to transfer files, which they probably cannot do directly. -- Alex. P.S. I will be joining the chat ... any particular time(s) you tend to "meet" ? From userev at canelasoftware.com Wed Dec 1 16:20:30 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 1 Dec 2004 13:20:30 -0800 Subject: Credit card processing In-Reply-To: References: Message-ID: On Dec 1, 2004, at 12:53 PM, Hershel Fisch wrote: > On Wednesday, December 1, 2004, at 03:39 PM, Mark Talluto wrote: > >> >> On Dec 1, 2004, at 12:10 PM, Hershel Fisch wrote: >> >>> Hi gentlemen , you are missing the point . the question is the same >>> way you could do CC payment thru an ms internet explorer app. that >>> connects to certain clearing houses this should be done from within >>> a RR window ? and the answer is there is an external from ???? I >>> think from Alt. to run explorer or ??? the other name from within >>> RR. >>> Hershel >> >> >> This can be done from Rev directly with no need for an external nor >> Explorer. No need for anything other than the needed hooks (APIs >> provided by the card processing company). They will of course >> require the maker of this software to have an account with them. In >> fact, the requirements are the same as if you wanted a credit card >> processor (device) in your office. The only difference is that you >> do not need the swiper. > The reason why I didn't say RR direct is because of security. > Hershel Developing the app in Rev will not hinder the security of the data provided the processing company is compatible with SSL. I think the hardest yet doable part of this whole thing is to find a processor that will allow this to take place at all. My guess is that there are plenty of companies set up to do this. Google searching will be needed here. -- Best regards, Mark Talluto http://www.canelasoftware.com From edgore at shinra.com Wed Dec 1 16:22:47 2004 From: edgore at shinra.com (Edwin Gore) Date: Wed, 1 Dec 2004 14:22:47 -0700 Subject: controls in flds Message-ID: <200412012122.iB1LMlW9023484@mmm1505.boca15-verio.com> No, but you could probably fake it up using a group with a scrollbar... >----- ------- Original Message ------- ----- >From: Hershel Fisch >To: use-revolution at lists.runrev.com >Sent: Wed, 1 Dec 2004 16:07:02 > >Hi all , is there any way to place controls into >scrolling flds meaning >as long as you scroll the control is in your fld ? >Hershel > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From zink at newmex.com Wed Dec 1 16:27:03 2004 From: zink at newmex.com (Nelson Zink) Date: Wed, 01 Dec 2004 14:27:03 -0700 Subject: Credit card processing In-Reply-To: <20041201202922.9122E9300F7@mail.runrev.com> Message-ID: use-revolution-request at lists.runrev.com, > Hi gentlemen , you are missing the point . the question is the same > way you could do CC payment thru an ms internet explorer app. that > connects to certain clearing houses this should be done from within a > RR window ? and the answer is there is an external from ???? I think > from Alt. to run explorer or ??? the other name from within RR. No, the task is to get the website to talk to the Merchant Bankcard Processor. Setting the browser to secure mode isn't much of a trick, this just facilitates the transfer. It would probably be best to phone your MBP and see what format, etc. they want the data in. My bank just (Nov 12) sent me notification that they're changing their MBP to another firm--means I have to get new numbers, codes and so on. This whole area (online commerce) is disgustingly arcane and offers an opportunity to anyone who'll create a slick Rev package. Nelson From hershrev at realtorsgroup.us Wed Dec 1 16:30:27 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 1 Dec 2004 16:30:27 -0500 Subject: controls in flds In-Reply-To: <200412012122.iB1LMlW9023484@mmm1505.boca15-verio.com> Message-ID: <37C2BFF0-43E0-11D9-933E-0030654C1E62@realtorsgroup.us> On Wednesday, December 1, 2004, at 04:22 PM, Edwin Gore wrote: > No, but you could probably fake it up using a group with a scrollbar... how would I do that , what would the group give more then a table fld ? Hershel > >> ----- ------- Original Message ------- ----- >> From: Hershel Fisch >> To: use-revolution at lists.runrev.com >> Sent: Wed, 1 Dec 2004 16:07:02 >> >> Hi all , is there any way to place controls into >> scrolling flds meaning >> as long as you scroll the control is in your fld ? >> Hershel >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolu >> tion > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Dec 1 16:49:32 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 1 Dec 2004 14:49:32 -0700 Subject: OOP with Revolution In-Reply-To: <20041201014243.15289.qmail@web51104.mail.yahoo.com> References: <20041201014243.15289.qmail@web51104.mail.yahoo.com> Message-ID: On Nov 30, 2004, at 6:42 PM, Gordon wrote: > How about a Rev component with no interactive features > that could be used simply as a container for scripts > and custom properties. It could be set in the rev > preferences as visible or invisible on a card, but > would otherwise inherit the properties of the general > class of object from which I imagine all the other > components are descended. I have experimented with something that uses arrays and thus is outside the usual that folks are looking for OOPS, but you might find it fun or interesting. All members including methods are array elements. Inheritance is by initialization copying (left to right for mixins). Maybe you can think of a better way. Methods might be full handlers or references to handlers. The first is very slow and the latter a little slow since 'do' and 'value' do not cache or do other related optimization (no enhancement request in bugzilla, yet?). I have tinkered mostly with the latter. Arrays have some limitations that make them hard to use as values, unfortunately. An array element cannot be an array (bugzilla 555). You cannot nest functions involving array values (no enhancement request yet?). Arrays cannot be in send parameters (bugzilla 1240). Keys cannot be binary in general (bugzilla 761). Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From edgore at shinra.com Wed Dec 1 17:44:10 2004 From: edgore at shinra.com (Edwin Gore) Date: Wed, 1 Dec 2004 15:44:10 -0700 Subject: controls in flds Message-ID: <200412012244.iB1MiB5R045098@mmm1505.boca15-verio.com> Well, I am assuming that youwant the control to move as you scroll the field, since if you didn't want that, you would just put the field beside the control. If you wanted the control to move when you scroll the field, you can create your field (with no scroll bar of it's own) put the control on top of the field, group them both, assign a scroll bar to the group, then reduce the size of the group so the scroll bar is active. Now when you move the scroll bar, both the field and the control will appear to scroll. Is this what you are looking for? >----- ------- Original Message ------- ----- >From: hershrev at realtorsgroup.us >To: edgore at shinra.com, >use-revolution at lists.runrev.com >Sent: Wed, 1 Dec 2004 16:30:27 > > >On Wednesday, December 1, 2004, at 04:22 PM, Edwin >Gore wrote: > >> No, but you could probably fake it up using a >group with a scrollbar... >how would I do that , what would the group give >more then a table fld ? >Hershel >> >>> ----- ------- Original Message ------- ----- >>> From: Hershel Fisch >>> To: use-revolution at lists.runrev.com >>> Sent: Wed, 1 Dec 2004 16:07:02 >>> >>> Hi all , is there any way to place controls into > >>> scrolling flds meaning >>> as long as you scroll the control is in your fld >? >>> Hershel >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> >http://lists.runrev.com/mailman/listinfo/use-revolu > >>> tion >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> >http://lists.runrev.com/mailman/listinfo/use-revolu >tion >> From nrkweto03 at hotmail.com Wed Dec 1 17:47:23 2004 From: nrkweto03 at hotmail.com (kweto) Date: Thu, 2 Dec 2004 07:47:23 +0900 Subject: stacks interacting over LAN? (newbie) References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <63963E1E-42F6-11D9-894A-000D93373366@canelasoftware.com> Message-ID: Hello again All, I've begun learning and putting into effect everyone's kind advise about linking stacks thru sockets. Especially useful were the chat stacks. I think I have a strong sense now of how to make it all work. Thank you to all! Now, a related-but-OT question. If messages from several computers/stacks are sent out "simultaneously" to the one computer/stack which is intended for accepting messages, in what order are those in-coming messages likely to be handled? Of course, computers are fast so maybe there's nothing to worry about, but a group of young learners can surprise teachers in unpredicted ways, especially if they're clicking madly on the "I know the answer!" buzzer-like button of the LAN-based, interconnected stacks I'm now planning. I'm worried/scared that, even though given things being equal (such as computer make and operating system), either the central stack itself or perhaps even the router might re-shuffle "simultaneous" messages in some sort of order other than a real-time one, and thus one learner will seem to be winning all the time. As always, thank you for all. Cheers, Nicolas Cueto niconiko language school (Japan) From userev at canelasoftware.com Wed Dec 1 17:53:25 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 1 Dec 2004 14:53:25 -0800 Subject: stacks interacting over LAN? (newbie) In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <63963E1E-42F6-11D9-894A-000D93373366@canelasoftware.com> Message-ID: On Dec 1, 2004, at 2:47 PM, kweto wrote: > Hello again All, > > I've begun learning and putting into effect everyone's kind advise > about > linking stacks thru sockets. Especially useful were the chat stacks. I > think > I have a strong sense now of how to make it all work. Thank you to all! > > Now, a related-but-OT question. If messages from several > computers/stacks > are sent out "simultaneously" to the one computer/stack which is > intended > for accepting messages, in what order are those in-coming messages > likely to > be handled? Of course, computers are fast so maybe there's nothing to > worry > about, but a group of young learners can surprise teachers in > unpredicted > ways, especially if they're clicking madly on the "I know the answer!" > buzzer-like button of the LAN-based, interconnected stacks I'm now > planning. > I'm worried/scared that, even though given things being equal (such as > computer make and operating system), either the central stack itself or > perhaps even the router might re-shuffle "simultaneous" messages in > some > sort of order other than a real-time one, and thus one learner will > seem to > be winning all the time. > > Given that your users will be on a lan in the same physical location, the one that presses their button first should be the one to hit the server first. If going over the net, lag time could affect the outcome, but should not be that critical. -- Best regards, Mark Talluto http://www.canelasoftware.com From hershrev at realtorsgroup.us Wed Dec 1 17:45:48 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 1 Dec 2004 17:45:48 -0500 Subject: controls in flds In-Reply-To: <200412012244.iB1MiB5R045098@mmm1505.boca15-verio.com> Message-ID: On Wednesday, December 1, 2004, at 05:44 PM, Edwin Gore wrote: > Well, I am assuming that youwant the control to move as you scroll the > field, since if you didn't want that, you would just put the field > beside the control. > > If you wanted the control to move when you scroll the field, you can > create your field (with no scroll bar of it's own) put the control on > top of the field, group them both, assign a scroll bar to the group, > then reduce the size of the group so the scroll bar is active. > > Now when you move the scroll bar, both the field and the control will > appear to scroll. > > Is this what you are looking for? I didn't understand exactly , but what I need is to have btns in a table fld and while you scroll it should always produce a btn at the bottom of of the fld (the last line) Thanks, Hershel > >> ----- ------- Original Message ------- ----- >> From: hershrev at realtorsgroup.us >> To: edgore at shinra.com, >> use-revolution at lists.runrev.com >> Sent: Wed, 1 Dec 2004 16:30:27 >> >> >> On Wednesday, December 1, 2004, at 04:22 PM, Edwin >> Gore wrote: >> >>> No, but you could probably fake it up using a >> group with a scrollbar... >> how would I do that , what would the group give >> more then a table fld ? >> Hershel >>> >>>> ----- ------- Original Message ------- ----- >>>> From: Hershel Fisch >>>> To: use-revolution at lists.runrev.com >>>> Sent: Wed, 1 Dec 2004 16:07:02 >>>> >>>> Hi all , is there any way to place controls into >> >>>> scrolling flds meaning >>>> as long as you scroll the control is in your fld >> ? >>>> Hershel >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> >> http://lists.runrev.com/mailman/listinfo/use-revolu >> >>>> tion >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> >> http://lists.runrev.com/mailman/listinfo/use-revolu >> tion >>> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rogerguay at centurytel.net Wed Dec 1 17:55:42 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Wed, 1 Dec 2004 14:55:42 -0800 Subject: Still Confused About Launch Message-ID: <20A0C124-43EC-11D9-859E-000D933610BE@centurytel.net> Thanks, Frank. It's always the simple things that cause you grief!! On Nov 30, 2004, at 5:38 PM, use-revolution-request at lists.runrev.com wrote: > From: "Frank D. Engel, Jr." > Subject: Re: Still Confused About Launch > To: How to use Revolution > Message-ID: <061FC661-431D-11D9-B3CD-0050E410655F at fjrhome.net> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Only by opening another copy of the program, unless the program has a > program-specific method of allowing this. > > On the Mac, there is a standard way of doing this, but not under *NIX > or Windows. > > > On Nov 30, 2004, at 3:51 PM, Roger Guay wrote: > >> I really did research the archive but I'm still a little confused >> about Launch. Is there any way to launch a Windows document who's >> application is already open/launched? >> >> Thanks, Roger From graham.samuel at blueyonder.co.uk Wed Dec 1 18:00:17 2004 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Wed, 1 Dec 2004 23:00:17 +0000 Subject: Presenting successive file names in 'Open' In-Reply-To: <20041201202922.C801D9300F8@mail.runrev.com> References: <20041201202922.C801D9300F8@mail.runrev.com> Message-ID: Thanks all who replied so quickly (two Franks, Chipp, Rob and Alex! I may have misled some readers by my example where the files were called A01, A02 etc - this was just an example. In fact they're just the titles of text files that need a certain kind of conversion: the titles reflect the contents and aren't really a numerically complete set. Also, I didn't want to open the file for the user, since in some cases he/she might choose to skip it. What I wanted to do was to point directly at the file to prevent all that tedious scrolling which one gets in OS 'open' dialogs that don't remember the last file you opened but just start at the top of the list again. As far as I remember, Mac OSX is worse at this than OS9 was. This is why Alex's idea would work best for me if I could make it work: >> This is actually much easier than you might think .... >> >> The docs for "answer file" say >>> The defaultPath is the name and location of the folder whose >>> contents are >>> listed when the dialog box appears. If no defaultPath is specified, >>> the >>> dialog box lists the contents of the last folder you used with a file >>> dialog box. >> >> But in fact, the defaultPath can be the name and location of A FILE >> within >> a folder. >> Thus, for example, >> answer file "Test" with "D:/Our >> Documents/Alex/RunRev/Boggal.rev" >> opens the dialog at the correct folder, with the file "Boggal" >> pre-selected. >> >> So you can allow the user to open the first file as normal, then on >> subsequent opens, do something like >> >>> set itemDel to "/" >>> put item 1 to -2 of lastFile into theFolder >>> put item -1 of lastFile into theName >>> put theFolder & "/" into theDefault >>> if lastFile <> "" then >>> set the defaultfolder to theFolder >>> put the short files into fList >>> sort flist >>> set wholeMatches to true >>> put lineOffset(theName, fList) into t >>> if t > 0 then >>> put item -1 of line (t+1) of fList after theDefault >>> end if >>> end if >>> answer file "Your Prompt" with theDefault >>> put it into lastFile >> >> (I'm sure you could re-write that code fragment into something neater >> - but >> it does work :-) The trouble is, my version of this code displays the right folder and within it the usual scrolling file list (this is OSX) but it doesn't preselect the file. Strange, since it worked for Alex, but I have quite carefully tested that my equivalent of his 'theDefault' is the complete path to the last file read (I've not yet reached the refinement of picking the actual next file). I guess I may have to go back to one of the private-list based solutions. Puzzled Graham ------------------------------------------------------------------------ --- Graham Samuel / The Living Fossil Co. / UK and France From userev at canelasoftware.com Wed Dec 1 18:01:03 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 1 Dec 2004 15:01:03 -0800 Subject: controls in flds In-Reply-To: References: Message-ID: On Dec 1, 2004, at 2:45 PM, Hershel Fisch wrote: > I didn't understand exactly , but what I need is to have btns in a > table fld and while you scroll it should always produce a btn at the > bottom of of the fld (the last line) > Thanks, Hershel This can be done easily enough. Just check the scrollBarDrag message in the docs. I have never used tables before since I roll my own. I am not sure if they are made up of fields or what. You would need to see if you can check the top of every field that needs to have a button. Then set the bottom of every button to that top value. -- Best regards, Mark Talluto http://www.canelasoftware.com From shaosean at unitz.ca Wed Dec 1 18:08:25 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Wed, 01 Dec 2004 18:08:25 -0500 Subject: Reading the WAB In-Reply-To: <20041201202922.629129300F4@mail.runrev.com> References: <20041201202922.629129300F4@mail.runrev.com> Message-ID: the actual file format of the WAB file isn't publicly available from microsoft (from at least all the research i've done).. supposedly it was released on one of their development cd's what microsoft recommends is to use their API's to access the information in the WAB.. -Sean From sarahr at genesearch.com.au Wed Dec 1 18:12:29 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 2 Dec 2004 09:12:29 +1000 Subject: Credit card processing In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> Message-ID: <790325E7-43EE-11D9-AA47-0003937A97B8@genesearch.com.au> >> Sorry no idea how to validate a credit card number ;-) >> > A good start to this is to check what the first digit is. > If it begins with a 4 it is a VISA card. If it begins with a 5 > it is a MasterCard. > That may be true in the USA but it isn't true in Australia. Here Mastercard start with 5 but Visa can start with 4 or 5 :-) Sarah From tsj at unimelb.edu.au Wed Dec 1 18:16:22 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 2 Dec 2004 10:16:22 +1100 Subject: Still Confused About Launch In-Reply-To: <20041201225546.EE401930128@mail.runrev.com> References: <20041201225546.EE401930128@mail.runrev.com> Message-ID: <04033120-43EF-11D9-96FA-0003930D06A0@unimelb.edu.au> > Thanks, Frank. It's always the simple things that cause you grief!! > > > On Nov 30, 2004, at 5:38 PM, use-revolution-request at lists.runrev.com > wrote: > >> From: "Frank D. Engel, Jr." >> Subject: Re: Still Confused About Launch >> To: How to use Revolution >> Message-ID: <061FC661-431D-11D9-B3CD-0050E410655F at fjrhome.net> >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> Only by opening another copy of the program, unless the program has a >> program-specific method of allowing this. >> >> On the Mac, there is a standard way of doing this, but not under *NIX >> or Windows. Actually... get shell("start"&&shortFilePath(someFilePath)) ...works for me on Windows. You need to use the shortFilePath() function to overcome problems caused by spaces etc. in long version filepaths. Cheers, Terry... >> >> >> On Nov 30, 2004, at 3:51 PM, Roger Guay wrote: >> >>> I really did research the archive but I'm still a little confused >>> about Launch. Is there any way to launch a Windows document who's >>> application is already open/launched? >>> >>> Thanks, Roger >>> Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From sarahr at genesearch.com.au Wed Dec 1 18:17:32 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 2 Dec 2004 09:17:32 +1000 Subject: barcode scanner In-Reply-To: References: <6F2ACB4B-42B3-11D9-BB1A-000393680A94@libero.it> Message-ID: <2D9B4BAB-43EF-11D9-AA52-0003937A97B8@genesearch.com.au> >> I want my rev-application to collect data from a barcode scanner >> in background . In other words, I want to use my PC (WIN-XP) with >> other programs and at the same time I want my application to collect >> and save data from the barcode scanner. Is it possible? > > yes but the input has to be through something other than the normal > keyboard interface. You'll need an alternate input stream and you'll > need code to watch that input stream. The most common, but becoming > obsolete quickly, is a serial interface. Then you have your app watch > the serial interface and handle the data it receives. Beyond my > abilities, I think Sarah has done much more work in this area. > There is a Serial test stack on my web site if you want to check out Kee's suggestion. Alternatively, can you check if any field has the focus and if so, pass any keyDown or rawKeyDown, if not assume it is a barcode. You would need to make sure that the focus left fields after they had been edited or used, but I can't offer any suggestions on that without knowing your setup. Or (more manually) have a checkbox that the user clicks (preferably with a keyboard shortcut) to toggle input from barcode scanner to keyboard. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From alex at tweedly.net Wed Dec 1 18:23:51 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Dec 2004 23:23:51 +0000 Subject: Presenting successive file names in 'Open' In-Reply-To: References: <20041201202922.C801D9300F8@mail.runrev.com> <20041201202922.C801D9300F8@mail.runrev.com> Message-ID: <5.1.0.14.0.20041201232133.02f4d058@mail.tweedly.net> At 23:00 01/12/2004 +0000, Graham Samuel wrote: >This is why Alex's idea would work best for me if I could make it work: .... >The trouble is, my version of this code displays the right folder and >within it the usual scrolling file list (this is OSX) but it doesn't >preselect the file. Strange, since it worked for Alex, but I have quite >carefully tested that my equivalent of his 'theDefault' is the complete >path to the last file read (I've not yet reached the refinement of >picking the actual next file). Sorry - I should have said that I was on Windows ..... it's probably a Windows-only variant to allow this. >I guess I may have to go back to one of the private-list based >solutions. Yeah, I you might need to do that ... -- Alex. From davis.phil at comcast.net Wed Dec 1 18:42:33 2004 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 01 Dec 2004 15:42:33 -0800 Subject: Credit card processing In-Reply-To: <790325E7-43EE-11D9-AA47-0003937A97B8@genesearch.com.au> References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <790325E7-43EE-11D9-AA47-0003937A97B8@genesearch.com.au> Message-ID: <41AE56E9.6050201@comcast.net> If you Google "validate credit card number" you'll come up with a whole list of sources for code examples in various dev tools and languages. Here's a pretty good explanation in English: http://www.beachnet.com/~hstiles/cardtype.html Phil Davis Sarah Reichelt wrote: >>> Sorry no idea how to validate a credit card number ;-) >>> >> A good start to this is to check what the first digit is. >> If it begins with a 4 it is a VISA card. If it begins with a 5 >> it is a MasterCard. >> > > That may be true in the USA but it isn't true in Australia. Here > Mastercard start with 5 but Visa can start with 4 or 5 > > :-) > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Wed Dec 1 19:52:50 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 02 Dec 2004 00:52:50 +0000 Subject: stacks interacting over LAN? (newbie) In-Reply-To: References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <63963E1E-42F6-11D9-894A-000D93373366@canelasoftware.com> Message-ID: <5.1.0.14.0.20041202004419.0307fe78@mail.tweedly.net> At 07:47 02/12/2004 +0900, kweto wrote: >Hello again All, > >I've begun learning and putting into effect everyone's kind advise about >linking stacks thru sockets. Especially useful were the chat stacks. I think >I have a strong sense now of how to make it all work. Thank you to all! > >Now, a related-but-OT question. If messages from several computers/stacks >are sent out "simultaneously" to the one computer/stack which is intended >for accepting messages, in what order are those in-coming messages likely to >be handled? Of course, computers are fast so maybe there's nothing to worry >about, but a group of young learners can surprise teachers in unpredicted >ways, especially if they're clicking madly on the "I know the answer!" >buzzer-like button of the LAN-based, interconnected stacks I'm now planning. >I'm worried/scared that, even though given things being equal (such as >computer make and operating system), either the central stack itself or >perhaps even the router might re-shuffle "simultaneous" messages in some >sort of order other than a real-time one, and thus one learner will seem to >be winning all the time. As Marl says, not a technical problem. Though it is a good reminder to think about the potential load that a number of over-eager students might impose on a central server. Probably also not a big issue, given how fast computers are these days. Nevertheless, I'd be inclined to treat this as an "educational opportunity". 1. Ensure that there is very clear visual feedback when a click has been detected (and the message sent ....) 2. Tell the pupils that there is no benefit to be gained from pressing the same button repeatedly. (Of course, they've been telling us that for years about elevator call buttons, or pedestrian crosswalk buttons, and it's not stopped all those people you see pressing the same button over and over :-) so, consider also, 3. Let it "leak out" that there might be a penalty for repeatedly pressing the same button. Hmmmm, in fact - why not impose a minor penalty for frantically pressing the same button; indicates that someone is unwilling, or unable, to follow instructions. Of course, you could simply disable the button after the first message has been sent, until the teacher has asked the next question or reset the test, or .... but seeing who won't listen when told there is no point in doing something appeals to my sense of fun much more. -- Alex. From 3mcgrath at adelphia.net Wed Dec 1 20:37:51 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 1 Dec 2004 20:37:51 -0500 Subject: Credit card processing In-Reply-To: <41AE56E9.6050201@comcast.net> References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <5.1.0.14.0.20041130101814.0300f520@mail.tweedly.net> <790325E7-43EE-11D9-AA47-0003937A97B8@genesearch.com.au> <41AE56E9.6050201@comcast.net> Message-ID: I signed up for PayPal Credit Card support and checked out the provided link. It was very straight forward. Sending the info with a product identifier and how to handle the payment etc. FWIW Tom On Dec 1, 2004, at 6:42 PM, Phil Davis wrote: > If you Google "validate credit card number" you'll come up with a > whole list of sources for code examples in various dev tools and > languages. > > Here's a pretty good explanation in English: > http://www.beachnet.com/~hstiles/cardtype.html > > > Phil Davis > > > > Sarah Reichelt wrote: >>>> Sorry no idea how to validate a credit card number ;-) >>>> >>> A good start to this is to check what the first digit is. >>> If it begins with a 4 it is a VISA card. If it begins with a 5 >>> it is a MasterCard. >>> >> That may be true in the USA but it isn't true in Australia. Here >> Mastercard start with 5 but Visa can start with 4 or 5 >> :-) >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From xbury.cs at clearstream.com Thu Dec 2 03:22:09 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 2 Dec 2004 09:22:09 +0100 Subject: Lessons from Themes Message-ID: Frank, >Note that this was discussed previously, and it is unlikely that a real >"OS X" appearance will be possible under Windows, although you might >think they could get close enough to at least deal with button border >offsets, field offsets, etc... First of all, windows 2000 doesn't offer an XP theme. So, all you can do is simulate Windows 95 technology (9 years old!). Second, if RR is going to be multiplatform, or even just WinPlatformed you can't prepare the GUI for the other environments without investing into that platform. There is no OSX GUI for windows and the differenses for offsets are enormous IMOHO. The MacOS platinum GUI (note there is no MacOS7 GUI) is absolutely horrible in RunRev over windows! Doesn't feel at all like a Mac! And I was hopping to replace explorer with a Finder of my own ;)) The GUI that looks great in Windows 95 is only a bit changed when in Win XP (usually 1 pixel here or there) but with OSX, it's as far as 10 pixels for a TabButton, 4 pixels for an option menu and all scrollbars are different! The fonts is yet another story! What looked great in Win32, looks completely unprofessional in OSX. Text is no longuer aligned to its base as it was in windows (in the case of a label field with a row of buttons in a horizontal line). Not having a vertical text alignment is also a needed feature... While this may be normal as far as font changes, it means that all the text heights are different across platforms and nothing is aligned anymore. So far, this means that I have to rethink ALL my geometry again in ControlsN2O... Dreadful... Even across Win95 and WinXP look and feel the differences are significant even in terms of "features". For example the groups are no longuer opaque if there isn't a border! XP theme buttons are not automatic either... So in a few words, the Look and Feel is nice to have but rather useless unless your clients haven't upgraded their PCs or Macs for the last 5 years! Even GIMP or Gnome or KDE is not implemented... Anyone still using motif? My only solution right now is to build a OSX GUI with OSX screenshot parts to make sure they dont overlap! And the right solution might be to just make a MacOSX stack, and a WinXP version separately. And that's not very efficient! There's a lot of things to consider regarding this including customer satisfaction on your end. What will be their first impression?!! All your suggestions and tips are welcome! regards, Xavier On 01.12.2004 17:37:19 use-revolution-bounces wrote: >My "Look and Feel" list under Rev 2.5, OS X, has these options: > >Default Appearance Manager (let OS X do the work) >MacOS Platinum Emulated >Windows Emulated >Motif Emulated > >Note that this was discussed previously, and it is unlikely that a real >"OS X" appearance will be possible under Windows, although you might >think they could get close enough to at least deal with button border >offsets, field offsets, etc... > >On Dec 1, 2004, at 11:36 AM, MisterX wrote: > >> Hey scripters! >> >> As i imagined, the appearance-manager in RunRev doesn't tell you >> everything! >> ;) >> >> Fields that look far apart enough in Windows dont in OSX... >> >> I was wondering if there is a plan to make the OSX Aqua GUI available >> for >> testing >> multiplatformness Appearances in stacks? IOW, add XP and OSX to the >> "Look >> and feel" >> sub-menu of the View menu... >> >> I'll make a theme for it before holding my breath but seems kind of >> not fair >> we >> can't visually style our apps for OSX from windows. >> >> Similarly, you can't preview the XP theme when in windows 2000. Is that >> possible on >> the mac side? >> >> Should I bugzilla this enhancement request? >> Has anyone requested it before? I'll gladly vote 20 on that! >> >> Yes, ThemeN2O is coming ;) >> >> cheers >> Xavier >> -- >> MonsieurX.com -- Rev in Style! ----------------------------------------- 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 Thu Dec 2 03:45:42 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 2 Dec 2004 03:45:42 EST Subject: controls in flds Message-ID: <1e4.2f77bc0c.2ee03036@aol.com> >Hi all , is there any way to place controls into scrolling flds meaning >as long as you scroll the control is in your fld ? >Hershel No, but you can useimageSource to represent the control. For example, if you want to include check-boxes that toggle their state then... put the imagesource of the clickCharChunk into tIMSref switch tIMSref case "ticked" ... break case "unticked" ... break ... end switch Hope this helps. /H Hugh Senior The Flexible Learning Company Web: www.FlexibleLearning.com E: h at flexiblelearning.com T/F: +44(0)1483.27 87 27 From runrev at jkvaldez.com Thu Dec 2 10:07:38 2004 From: runrev at jkvaldez.com (runrev at jkvaldez.com) Date: Thu, 2 Dec 2004 10:07:38 -0500 (EST) Subject: Serial comm differences between PC & Mac? Message-ID: <38002.127.0.0.1.1102000058.squirrel@127.0.0.1> First, as always, thanks for the tremendous participation on this list! Your efforts are very appreciated. Short version I'm connected via a serial cable to a device on OSX & all's well. I read "1 int1" of data & receive data including control characters like 4, 7, 6. Unplug serial cable & plug into PC. Now the control characters are unusual values like -84 & other unexpected values occur along with the expected values. Any idea why the data is different from OSX to PC? Long version I am connected via a serial cable (on OSX with a Keyspan serial adapter) to our phone system to capture our call data. Thanks to Sarah's serial stack (THANKS, SARAH!), I got up & running quickly & everything works great. But when I unplug from my mac & plug into com1 on the PC & use my program, I'm getting different results. I'm filtering out control characters sent by our phone system & using only the alphanumeric values. On OSX I may read 4, 7, 6, 67, 65, etc. I drop the control characters (4, 7, 6) & convert the others to characters (numToChar(67)=C, numToChar(65)=A). On the PC, however, the control characters are very different, but the alphanumeric characters are fine. On the PC I may read -84, 36 (which is a numToChar(36)=$, but a $ should never appear from the phone system). But the actual call data is fine. So my question is, why would the same program using the same cable yield different results? Is there a difference in the values read by "read from driver" verses "read from file"? Any ideas? TIA!!! From chipp at chipp.com Thu Dec 2 10:11:18 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 02 Dec 2004 07:11:18 -0800 Subject: Lessons from Themes In-Reply-To: References: Message-ID: <41AF3096.1000602@chipp.com> Xavier, There are indeed a number of cross-platform positioning issues as you describe. Though, I don't think of them as RR's fault or responsibility, as they do provide tools to manage it. Just check out 'profiles.' You can set the loc, width, height, (in fact any property) of a control and then move it on startup. It's not that hard. Also, as I'm sure many others have done, I have written my own positioning layout library with specific toggles for specific platforms. Lastly, there are a number of major cross platform applications who ignore the repective native platform GUI's in favor of their own custom versions. If you create a custom GUI with it's own tabs, buttons, etc., then you need only concern yourself with the font setting in fields (I like Tahoma, it seems fairly consistent across Mac and PC platforms). I hope this helps. Chipp xbury.cs at clearstream.com wrote: >>Note that this was discussed previously, and it is unlikely that a real >>"OS X" appearance will be possible under Windows, although you might >>think they could get close enough to at least deal with button border >>offsets, field offsets, etc... From b.xavier at internet.lu Thu Dec 2 10:32:28 2004 From: b.xavier at internet.lu (MisterX) Date: Thu, 2 Dec 2004 16:32:28 +0100 Subject: Lessons from Themes In-Reply-To: <41AF3096.1000602@chipp.com> Message-ID: <20041202152430.611F89300DE@mail.runrev.com> Thanks Chipp, That will certainly help out! Although I like to keep GUIs in their most native form. And in the case of compact GUI like ControlsN2O this is a hard to see factor... I feel like I keep saying the emperor is naked without realizing he's taking a bath ;)) Do you have a tutorial on profiles or know where I can dig it? TIA Xa > -----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, December 02, 2004 16:11 > To: How to use Revolution > Subject: Re: Lessons from Themes > > Xavier, > > There are indeed a number of cross-platform positioning > issues as you describe. Though, I don't think of them as RR's > fault or responsibility, as they do provide tools to manage > it. Just check out 'profiles.' You can set the loc, width, > height, (in fact any property) of a control and then move it > on startup. It's not that hard. > > Also, as I'm sure many others have done, I have written my > own positioning layout library with specific toggles for > specific platforms. > > Lastly, there are a number of major cross platform > applications who ignore the repective native platform GUI's > in favor of their own custom versions. If you create a custom > GUI with it's own tabs, buttons, etc., then you need only > concern yourself with the font setting in fields (I like > Tahoma, it seems fairly consistent across Mac and PC platforms). > > I hope this helps. > > Chipp > > xbury.cs at clearstream.com wrote: > > >>Note that this was discussed previously, and it is unlikely that a > >>real "OS X" appearance will be possible under Windows, although you > >>might think they could get close enough to at least deal > with button > >>border offsets, field offsets, etc... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From got at mindspring.com Thu Dec 2 10:57:20 2004 From: got at mindspring.com (Gordon Tillman) Date: Thu, 2 Dec 2004 09:57:20 -0600 Subject: Serial comm differences between PC & Mac? In-Reply-To: <38002.127.0.0.1.1102000058.squirrel@127.0.0.1> References: <38002.127.0.0.1.1102000058.squirrel@127.0.0.1> Message-ID: Howdy! About this: > I am connected via a serial cable (on OSX with a Keyspan serial > adapter) > to our phone system to capture our call data. Thanks to Sarah's serial > stack (THANKS, SARAH!), I got up & running quickly & everything works > great. But when I unplug from my mac & plug into com1 on the PC & use > my > program, I'm getting different results. I'm working on a form scanner application in RR that runs on Mac OS X and Windows. I, too, use a KeySpan serial adapter to hook the form scanner to the Mac. I found something very interesting. As you know, you put your settings into the serialControlString before you open the connection. I found that if I used a parity setting that was correct according to the device I was hooked to then I would get extra characters in the data that was read from the external device. But I found that if I changed the PARITY value in the serialControlString to us no parity; e.g., PARITY=N, then the data was read correctly, with no extraneous characters, even though the device was using odd parity. I am thinking that the KeySpan driver was massaging the data somehow, or else automatically doing the parity negotiation with the external device. NOTE: When I used the same device with the same KeySpan adapter, plugged into the USB port on my Windows machine, I did not see this phenomenon. I don't know if this is what is causing your problem or not, but it may be worth looking in to. --gordon From fde101 at fjrhome.net Thu Dec 2 11:09:57 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 2 Dec 2004 11:09:57 -0500 Subject: stacks interacting over LAN? (newbie) In-Reply-To: <5.1.0.14.0.20041202004419.0307fe78@mail.tweedly.net> References: <20041130043949.20515.qmail@web51104.mail.yahoo.com> <63963E1E-42F6-11D9-894A-000D93373366@canelasoftware.com> <5.1.0.14.0.20041202004419.0307fe78@mail.tweedly.net> Message-ID: <9C9D9868-447C-11D9-AD62-0050E410655F@fjrhome.net> Or you could send a timestamp along with the message. If you are going to "beep" do it immediately after recv'g the first message, but wait a few msecs to retrieve additional messages before deciding who was first. Whenever you get one and there is already one pending, check the timestamps, and retain the earlier one. This only works, of course, if the computers' clocks are in sync. You should run some kind of network time sync on the computers in the school's lab just to be safe (I know there are free ones avail. for Windows and Linux/UNIX; OS X has one built-in, and I think OS 9 does as well...). On Dec 1, 2004, at 7:52 PM, Alex Tweedly wrote: > At 07:47 02/12/2004 +0900, kweto wrote: > >> Hello again All, >> >> I've begun learning and putting into effect everyone's kind advise >> about >> linking stacks thru sockets. Especially useful were the chat stacks. >> I think >> I have a strong sense now of how to make it all work. Thank you to >> all! >> >> Now, a related-but-OT question. If messages from several >> computers/stacks >> are sent out "simultaneously" to the one computer/stack which is >> intended >> for accepting messages, in what order are those in-coming messages >> likely to >> be handled? Of course, computers are fast so maybe there's nothing to >> worry >> about, but a group of young learners can surprise teachers in >> unpredicted >> ways, especially if they're clicking madly on the "I know the answer!" >> buzzer-like button of the LAN-based, interconnected stacks I'm now >> planning. >> I'm worried/scared that, even though given things being equal (such as >> computer make and operating system), either the central stack itself >> or >> perhaps even the router might re-shuffle "simultaneous" messages in >> some >> sort of order other than a real-time one, and thus one learner will >> seem to >> be winning all the time. > > > As Marl says, not a technical problem. Though it is a good reminder to > think about the potential load that a number of over-eager students > might impose on a central server. Probably also not a big issue, given > how fast computers are these days. > > Nevertheless, I'd be inclined to treat this as an "educational > opportunity". > > 1. Ensure that there is very clear visual feedback when a click has > been detected (and the message sent ....) > > 2. Tell the pupils that there is no benefit to be gained from pressing > the same button repeatedly. > > (Of course, they've been telling us that for years about elevator call > buttons, or pedestrian crosswalk buttons, and it's not stopped all > those people you see pressing the same button over and over :-) > > so, consider also, > > 3. Let it "leak out" that there might be a penalty for repeatedly > pressing the same button. > > Hmmmm, in fact - why not impose a minor penalty for frantically > pressing the same button; indicates that someone is unwilling, or > unable, to follow instructions. > > Of course, you could simply disable the button after the first message > has been sent, until the teacher has asked the next question or reset > the test, or .... but seeing who won't listen when told there is no > point in doing something appeals to my sense of fun much more. > > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From frank at backtalk.com Thu Dec 2 12:23:21 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 2 Dec 2004 17:23:21 +0000 Subject: Lessons from Themes In-Reply-To: <20041202170015.1B610930065@mail.runrev.com> References: <20041202170015.1B610930065@mail.runrev.com> Message-ID: On Dec 2, 2004, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > From: xbury.cs at clearstream.com > Subject: Re: Lessons from Themes > To: How to use Revolution > Message-ID: > boerse.de> > > First of all, windows 2000 doesn't offer an XP theme. > So, all you can do is simulate Windows 95 technology (9 years old!). > Second, if RR is going to be multiplatform, or even just WinPlatformed > you can't prepare the GUI for the other environments without investing > into > that platform. ... > All your suggestions and tips are welcome! > > regards, > Xavier > Native themes are the way to go, there's no reason for RunRev to spend 1 minute on porting non-native themes to other platforms. If your clients are still using 2000 then they don't expect it to look like XP. It may be a cross-platform development tool, but they don't make it easy to actually get an app out the door on multiple platforms...I picked the worst offenders (in terms of controls that don't line up cross-platform) and use two profiles, one for MacOSX and one for Windows, to jiggle them up or down as needed. That said, it would be nice if they would take even the littlest bit of care and make sure that control font-baselines actually lined up across platforms. I submitted a bug before 2.5 went out, showing that there's a problem with fields and controls not lining up when you move a stack cross-platform, along with a very simple way to see how this happens, but they decided it wasn't important enough to fix. Oh well... -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From rogerguay at centurytel.net Thu Dec 2 12:45:34 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Thu, 2 Dec 2004 09:45:34 -0800 Subject: Still Confused about Launch Message-ID: Terry, I was under the impression that this would just open the application? What I want to do is open a document who's application is already open. Thanks, Roger On Dec 2, 2004, at 9:00 AM, use-revolution-request at lists.runrev.com wrote: > Actually... > > get shell("start"&&shortFilePath(someFilePath)) > > ...works for me on Windows. > > You need to use the shortFilePath() function to overcome problems > caused by spaces etc. in long version filepaths. > > Cheers, > > Terry... From jperryl at ecs.fullerton.edu Thu Dec 2 12:53:46 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Dec 2004 09:53:46 -0800 (PST) Subject: Lessons from Themes In-Reply-To: <20041202152430.611F89300DE@mail.runrev.com> Message-ID: I would also appreciate viewing such a tutorial if anyone has one handy... Judy On Thu, 2 Dec 2004, MisterX wrote: > Do you have a tutorial on profiles or know where I can dig it? From jperryl at ecs.fullerton.edu Thu Dec 2 13:00:32 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Dec 2004 10:00:32 -0800 (PST) Subject: OT: Request for Screenshot In-Reply-To: Message-ID: Hi, I know that this is a really stupid request, but I am looking for a screenshot of Rev's colorized script editing window. I thought that they had one on their website a while back but, in quickly looking, I couldn't find it. So, why don't I roll my own? Because my two main machines with a legit version of Rev on them are ailing on life support until I can do serious data recovery on one (yes, it had a backup system -- it was the backup system that went kaput and took everything down with it!) and get the other to boot at all and get files transferred (probably a cracked motherboard courtesy of the kiddies). I write this on my new, 2-day old iBook with no OS9 and the only unlock code I can find is OS9 only... Thanks if you can help... or for your time reading my tale of woe even if you cannot. Judy From b.xavier at internet.lu Thu Dec 2 13:27:20 2004 From: b.xavier at internet.lu (MisterX) Date: Thu, 2 Dec 2004 19:27:20 +0100 Subject: Lessons from Themes In-Reply-To: Message-ID: <20041202181907.DE829930068@mail.runrev.com> > Native themes are the way to go, there's no reason for RunRev > to spend > 1 minute on porting non-native themes to other platforms. If your > clients are still using 2000 then they don't expect it to > look like XP. I dont mean to make aqua apps in windows. although, that's quite a poke for a long awaited MacOS port for Windows (to make old or forced mac users on PCs feel at home)! ;)) I mean, to deliver apps to a wide-os audience. I hope their GUI appearance managers will show up correctly by nature or be ready for the design of controls - that's all - that's what the Look and Feel feature is for which is great but it's missing a couple OS's that have been around for a while! Adding a theme capability to RunRev this way, WOULD BE COOL NONETHELESS (hint... ;) Send me the text baseline bug number and I vote for it! > Message-ID: On 12/2/04 12:00 PM, "Judy Perry" wrote: > Hi, > > I know that this is a really stupid request, but I am looking for a > screenshot of Rev's colorized script editing window. I thought that they > had one on their website a while back but, in quickly looking, I couldn't > find it. Just let me know what OS (or OSes) you need, and I'll send it over... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Dec 2 13:28:13 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 02 Dec 2004 12:28:13 -0600 Subject: Still Confused about Launch In-Reply-To: Message-ID: On 12/2/04 11:45 AM, "Roger Guay" wrote: > Terry, I was under the impression that this would just open the > application? What I want to do is open a document who's application > is already open. Actually, it acts like 2x-clicking the file/application at , but if the application is already open, it will most likely create another instance in memory. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Thu Dec 2 13:44:49 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 2 Dec 2004 11:44:49 -0700 Subject: Serial comm differences between PC & Mac? In-Reply-To: <38002.127.0.0.1.1102000058.squirrel@127.0.0.1> References: <38002.127.0.0.1.1102000058.squirrel@127.0.0.1> Message-ID: <3F13208A-4492-11D9-A09C-000A9567A3E6@swcp.com> On Dec 2, 2004, at 8:07 AM, runrev at jkvaldez.com wrote: > Short version > I'm connected via a serial cable to a device on OSX & all's well. I > read > "1 int1" of data & receive data including control characters like 4, > 7, 6. > Unplug serial cable & plug into PC. Now the control characters are > unusual > values like -84 & other unexpected values occur along with the expected > values. Any idea why the data is different from OSX to PC? Is the port already open when you plug it in? You might be getting garbage characters as you plug in the cable. You might need to sync on something good. I only use the chunktype of char. Maybe you have stumbled on a feature of int1. If you do switch to char and use charToNum(), you won't get the negative character value. You might want to set the serialControlString. I have a vague memory of a problem in relying on the default. The -84 looks like a "." with the high bit set. Maybe there is a problem with parity. Are you seeing every other letter correctly, such as A, C, E? There are other differences between the platforms, but they might not apply here. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From jperryl at ecs.fullerton.edu Thu Dec 2 14:11:49 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Dec 2004 11:11:49 -0800 (PST) Subject: OT: Request for Screenshot In-Reply-To: Message-ID: Any should be fine... Thank you :-D Judy On Thu, 2 Dec 2004, Ken Ray wrote: > On 12/2/04 12:00 PM, "Judy Perry" wrote: > > > Hi, > > > > I know that this is a really stupid request, but I am looking for a > > screenshot of Rev's colorized script editing window. I thought that they > > had one on their website a while back but, in quickly looking, I couldn't > > find it. > > Just let me know what OS (or OSes) you need, and I'll send it over... > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Thu Dec 2 14:34:07 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 2 Dec 2004 14:34:07 -0500 Subject: controls in flds In-Reply-To: <1e4.2f77bc0c.2ee03036@aol.com> Message-ID: <21F9890C-4499-11D9-933E-0030654C1E62@realtorsgroup.us> On Thursday, December 2, 2004, at 03:45 AM, FlexibleLearning at aol.com wrote: > > > No, but you can useimageSource to represent the control. For example, > if you > want to include check-boxes that toggle their state then... Thanks, now where do I get a btn image or any other image that is not in the image library , e.g. a check Box ? Hershel > > put the imagesource of the clickCharChunk into tIMSref > switch tIMSref > case "ticked" > ... > break > case "unticked" > ... > break > ... > end switch > > Hope this helps. > > /H > Hugh Senior > The Flexible Learning Company > Web: www.FlexibleLearning.com > E: h at flexiblelearning.com > T/F: +44(0)1483.27 87 27 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Thu Dec 2 14:56:54 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Dec 2004 11:56:54 -0800 Subject: Reading the WAB In-Reply-To: References: <20041201202922.629129300F4@mail.runrev.com> Message-ID: <112808692.20041202115654@ahsoftware.net> shaosean- Wednesday, December 1, 2004, 3:08:25 PM, you wrote: suc> the actual file format of the WAB file isn't publicly available from suc> microsoft (from at least all the research i've done).. supposedly it was ...but if you study the source code for any of the current spate of windows viruses you'll see how to (mis)use it. -- -Mark Wieder mwieder at ahsoftware.net From RGould8 at aol.com Thu Dec 2 15:01:18 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 2 Dec 2004 15:01:18 EST Subject: DMG compatibilty with browsers Message-ID: <12d.50d8579f.2ee0ce8e@aol.com> Can anyone tell me, from a Mac perspective, what various browsers to by default when one clicks on a hyperlink on a web-page that is a .DMG file? I'm finding that on my Mac, Safari downloads the .DMG and automatically mounts it. IE just downloads it and does not auto-mount. Curious if that's the way it's working on your Macs as well. Also curious what FireFox does, and Opera, etc. From ambassador at fourthworld.com Thu Dec 2 15:06:49 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Dec 2004 12:06:49 -0800 Subject: controls in flds In-Reply-To: <21F9890C-4499-11D9-933E-0030654C1E62@realtorsgroup.us> References: <21F9890C-4499-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: <41AF75D9.7010500@fourthworld.com> Hershel Fisch wrote: > > On Thursday, December 2, 2004, at 03:45 AM, FlexibleLearning at aol.com wrote: >> No, but you can useimageSource to represent the control. For example, >> if you >> want to include check-boxes that toggle their state then... > > Thanks, now where do I get a btn image or any other image that is not in > the image library , e.g. a check Box ? > Hershel You're welcome to use the images and code from the 4W devolution Setup plugin: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From fde101 at fjrhome.net Thu Dec 2 15:06:33 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 2 Dec 2004 15:06:33 -0500 Subject: DMG compatibilty with browsers In-Reply-To: <12d.50d8579f.2ee0ce8e@aol.com> References: <12d.50d8579f.2ee0ce8e@aol.com> Message-ID: Ditto as to Safari, though I avoid IE (no comment here). FireFox pops up a box asking you what to do, but the only available option is "Save to Disk", which results in the file being saved, but not mounted. On Dec 2, 2004, at 3:01 PM, RGould8 at aol.com wrote: > Can anyone tell me, from a Mac perspective, what various browsers to by > default when one clicks on a hyperlink on a web-page that is a .DMG > file? > > I'm finding that on my Mac, Safari downloads the .DMG and automatically > mounts it. IE just downloads it and does not auto-mount. Curious > if that's the > way it's working on your Macs as well. Also curious what FireFox > does, and > Opera, etc. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From BNZ2 at CDC.GOV Thu Dec 2 14:50:14 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 2 Dec 2004 14:50:14 -0500 Subject: Progress on preventing multiple instances of a program from running in windows Message-ID: <64878EF567131D4596246171F75FD4A90EC5A3@m-epo-1.epo.cdc.gov> Hello... the following script seems to work. Factors to consider: 1) The stack should be set to purge itself from memory upon closing 2) Some firewalls might prevent the program from accepting connections on a port 3) This prevents multiple instances, but still does not quite allow the two instances to communicate. Writing to a socket from one instance seems to steal the ability of the other instance to listen to that socket - I am still trying to work out how to do that. 4) You might want to consider hiding the windows console and setting the cursor to watch while the script performs the shell command. 5) This will not work with the opensockets function, because that does not return the sockets opened by the other instance. The shell command for this works quite well (at least on my computer). Cheers, Jonathan on preopenstack get shell("netstat -a") put it into OPS put the number of lines in OPS into Z set the itemdelimiter to ":" repeat with X = 1 to Z put word 2 of line X of OPS into WPS if item 2 of WPS = "48953" then put "open" into queryold end repeat if queryold = "open" then answer "This program is already running, do you wish to run another instance of it?" with "No" and "Yes" put it into AAA if AAA = "No" then close this stack end if else accept connections on port 48953 with message "queryinstance" end if end preopenstack on queryinstance skt -- to be used for further development end queryinstance From fde101 at fjrhome.net Thu Dec 2 15:21:21 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 2 Dec 2004 15:21:21 -0500 Subject: DMG compatibilty with browsers In-Reply-To: References: <12d.50d8579f.2ee0ce8e@aol.com> Message-ID: Opera also pops up a box and asks, but also gives you the option to "Open", which mounts the image. On Dec 2, 2004, at 3:06 PM, Frank D. Engel, Jr. wrote: > Ditto as to Safari, though I avoid IE (no comment here). > > FireFox pops up a box asking you what to do, but the only available > option is "Save to Disk", which results in the file being saved, but > not mounted. > > On Dec 2, 2004, at 3:01 PM, RGould8 at aol.com wrote: > >> Can anyone tell me, from a Mac perspective, what various browsers to >> by >> default when one clicks on a hyperlink on a web-page that is a .DMG >> file? >> >> I'm finding that on my Mac, Safari downloads the .DMG and >> automatically >> mounts it. IE just downloads it and does not auto-mount. Curious >> if that's the >> way it's working on your Macs as well. Also curious what FireFox >> does, and >> Opera, etc. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From chipp at chipp.com Thu Dec 2 15:34:50 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 02 Dec 2004 14:34:50 -0600 Subject: new altAnswerColor substack.. Message-ID: <41AF7C6A.4060703@chipp.com> altAnswerColor subStack Tired of the lame answer color dialog in WinXP? Replace it with the altAnswerColor substack. Works in both XP and Mac. One of the coolest features is the ability to 'lift' a color from anyplace on the screen. Plus, it has access to the standard color picker as well. Instructions for using: Insert the substack "altAnswerColor" into your main stack. Then check out the script of the btn "set color" below to see how to call it. Bottom of page: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm or type in the message box: go URL "http://www.altuit.com/webs/altuit2/RunRev/altAnswerColor.rev" enjoy, Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.4 - Release Date: 11/30/2004 From runrev at jkvaldez.com Thu Dec 2 16:06:42 2004 From: runrev at jkvaldez.com (runrev at jkvaldez.com) Date: Thu, 2 Dec 2004 16:06:42 -0500 (EST) Subject: Serial comm differences between PC & Mac? Message-ID: <49692.127.0.0.1.1102021602.squirrel@127.0.0.1> Gordon, great suggestion! Unfortunately when I altered my parity settings in any manner I actually got more superfluous characters than before on OSX, so I didn't try on my PC. (BTW, your app sounds really interesting! I'd like to know more about it off list.) Dar, you're the expert of experts on Rev & serial comm: Thanks for your reply! Before I answer your question, I should tell you I'm trying to access call data (SMDR) from our Legend phone system. It uses a modified DB9 adapter, but the adapter appears to work fine. I can, for example, use it to program the phone system. To answer your questions: Yes, the port is closed before plugging in the cable. (I'm now making double-sure to check it.) Sorry, but I'm new to serial comm so I don't know specifically how to "sync on something good" with rev. If you have a code snippet handy.... :) Regarding char, I'm not getting good results using it. With char, it usually just sits there & is slow to collect the data (but I think it does work, just not very well). When I use int1, I can see all of the activity, including control chars. But on my XP box, I see strange numbers that I never get on the mac. Maybe I'll try on my Linux box, but it's a strange inconsistency! (See below for an example.) Yeah, my serialControlString is set to "BAUD=1200 PARITY=N DATA=8 STOP=1". And the weird part is yes, the data I expect does come across ok, generally speaking. See, I sometimes get these strange characters in between, but the characters are there. Here's an example. I'll read from the serial port in OSX: 6 67 32 49 50 47 48 50 47 48 52 32 49 52 58 51 56 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 73 78 32 32 48 48 58 48 48 58 49 55 32 32 32 56 48 57 32 32 52 50 51 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 13 10 7 5 5 4 5 6 5 6 4 Using numToChar() on each value CORRECTLY reveals: C 12/02/04 14:38 IN 00:00:17 809 423 But in XP, I read: -52 67 32 49 50 47 48 50 47 48 52 32 49 52 58 52 52 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 73 78 32 32 48 48 58 48 48 58 52 55 32 32 32 56 49 48 32 32 52 48 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 13 10 12 -100 12 -100 12 -100 -100 -100 -100 12 -84 12 Which CORRECTLY turns into: C 12/02/04 14:44 IN 00:00:47 810 400 But notice the first few values in each raw data list. In OSX, I read 6 (a control char) then 67 (which is "C" & is the beginning of the call data). After the data, I get more control chars 4, 5, 6, & 7. In XP, I first read -52! What's that? Then the trailing control chars are 12, -100, -84, etc. Strange. Anyway, thank you both so much for the helpful advice! From mwieder at ahsoftware.net Thu Dec 2 16:23:09 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Dec 2004 13:23:09 -0800 Subject: ANN: StacKnowledge v1.4 Message-ID: <1245983854.20041202132309@ahsoftware.net> After some great feedback from beta users, I've revamped the preliminary version of StacKnowledge and am making it publicly available. The user experience has been changed a bit and it now analyzes a whole stack at a time, rather than individual scripts (for better or worse - it obviously takes more time).From the website: StacKnowledge brings the power of C lint error-checking to Runtime Revolution. StacKnowledge allows you to find potential problem areas in your application before you ship. StacKnowledge is a powerful Quality Assurance tool for Runtime Revolution developers who are serious about their compile-and-debug cycle. It allows the developer to put more resources into creating code and fewer into runtime debugging. (hint: it's also useful for other xtalk environments) With StacKnowledge you can: * See at a glance the constants, global variables, local variables with both script and handler scope, and handler parameters * Find unused constants, global and local variables * Find variables used only once * Find and fix undeclared variables (explicitVars) * Find mistyped variable names the compiler misses * Locate functions in your scripts that are only included for HyperCard and SuperCard compatibility (useful when importing stacks) * Warn about functions that may not work on specific platforms (Macintosh, Windows, linux) * See where variables are used * Move script variables to the top of a script for maintainability * Find empty handlers (probably unused code, but may block message passing) * ...and more... StacKnowledge can be used as a plugin or as a standalone tool. Comprehensive configuration options are available to allow you to control the depth of the evaluation process and the granularity of examination. You can pick up StacKnowledge either in my revOnline space (mwieder) or at http://www.ahsoftware.net/StacKnowledge.html -- -Mark Wieder mwieder at ahsoftware.net From hershrev at realtorsgroup.us Thu Dec 2 16:28:01 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 2 Dec 2004 16:28:01 -0500 Subject: controls in flds In-Reply-To: <41AF75D9.7010500@fourthworld.com> Message-ID: <0B79DA68-44A9-11D9-933E-0030654C1E62@realtorsgroup.us> Thanks a million, Hershel Fisch On Thursday, December 2, 2004, at 03:06 PM, Richard Gaskin wrote: > Hershel Fisch wrote: >> On Thursday, December 2, 2004, at 03:45 AM, FlexibleLearning at aol.com >> wrote: >>> No, but you can useimageSource to represent the control. For >>> example, if you >>> want to include check-boxes that toggle their state then... >> Thanks, now where do I get a btn image or any other image that is not >> in the image library , e.g. a check Box ? >> Hershel > > You're welcome to use the images and code from the 4W devolution Setup > plugin: > > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Thu Dec 2 16:31:59 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 2 Dec 2004 16:31:59 -0500 Subject: trigger in edit cell Message-ID: <9942432E-44A9-11D9-933E-0030654C1E62@realtorsgroup.us> Hi all How can trigger a script when a fld "table edit cell" going from cell to cell ? I tried the "tabKey" DW rawKey DW . what should I try ? Thanks, Hershel From dsc at swcp.com Thu Dec 2 17:21:15 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 2 Dec 2004 15:21:15 -0700 Subject: Serial comm differences between PC & Mac? In-Reply-To: <49692.127.0.0.1.1102021602.squirrel@127.0.0.1> References: <49692.127.0.0.1.1102021602.squirrel@127.0.0.1> Message-ID: <7B4A45AF-44B0-11D9-A09C-000A9567A3E6@swcp.com> On Dec 2, 2004, at 2:06 PM, runrev at jkvaldez.com wrote: > In XP, I first read -52! What's that? Then the trailing control chars > are > 12, -100, -84, etc. Strange. The negative sign is from the MSB being set. For example the -100 would be 28 if the MSB was cleared. But, 28 is not one of the values you expect, so I'm stumped. A grounding problem can cause some errors with some characters and will often set the MSB (the last bit sent), but this does not look like a pattern I have seen. Make sure the ground pin is wired. While tinkering, try reading until empty several times collecting the characters and then charToNum those to dump. My comment on syncing was simply to look for a pattern at the start of a message if you might get garbage characters at the start. Some systems with isolated RS-232 use RTS to power transmission back. I would think you would get much less, if that was your problem. Are you using "read from file" on Windows? As you can probably tell, I'm grasping at straws. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From webmaster at dreamscapesoftware.com Thu Dec 2 17:34:31 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 2 Dec 2004 16:34:31 -0600 Subject: Reading the WAB References: <20041201202922.629129300F4@mail.runrev.com> <112808692.20041202115654@ahsoftware.net> Message-ID: <002201c4d8bf$1910efb0$8474113f@DOWNSTAIRS> > suc> the actual file format of the WAB file isn't publicly available from > suc> microsoft (from at least all the research i've done).. supposedly it was > > ...but if you study the source code for any of the current spate of > windows viruses you'll see how to (mis)use it. That makes me wonder if any protection has been placed on the Windows Address Book. I think at this point I'll just forget my integration ideas with the WAB. Besides, with all of these Security Alert programs, most Windows Scripting Host scripts tend to throw up alerts now. Why, oh why, do people feel the need to make viruses! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Thu Dec 2 17:40:23 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 2 Dec 2004 16:40:23 -0600 Subject: new altAnswerColor substack.. References: <41AF7C6A.4060703@chipp.com> Message-ID: <003901c4d8bf$ea9da690$8474113f@DOWNSTAIRS> > Tired of the lame answer color dialog in WinXP? Replace it with the > altAnswerColor substack. Works in both XP and Mac. One of the coolest > features is the ability to 'lift' a color from anyplace on the screen. > Plus, it has access to the standard color picker as well. This is a nice stack, but my opinion on this is that it still does not replace the color picker. Now if you could make a color picker like the ones in Adobe PhotoShop or MacOS (Remember the Crayons!) then I would definately include the stack in on of my projects. I do like the "lifting" ability. That is a nice touch! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From fde101 at fjrhome.net Thu Dec 2 17:55:55 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 2 Dec 2004 17:55:55 -0500 Subject: Apple scriptable standalones In-Reply-To: <85F39D36-3C16-11D9-865D-0003937A97B8@genesearch.com.au> References: <20041117160245.E482B930107@mail.runrev.com> <7D7BA6CA-3ACA-11D9-B885-0030657D0A8E@igame3d.com> <85F39D36-3C16-11D9-865D-0003937A97B8@genesearch.com.au> Message-ID: <5321425F-44B5-11D9-AD62-0050E410655F@fjrhome.net> Making a little progress here, but can anyone tell me how to return a boolean value to AppleScript using Rev's "reply" command? I can't seem to get this to work. I tried things like "reply false" and "reply 0" but this did not work. Or is there a different command for replying with boolean values? On Nov 21, 2004, at 6:39 PM, Sarah Reichelt wrote: > I haven't tried this but I think that when you send an AppleScript > command to your application, it creates an AppleEvent message with > class = "misc" and ID = "dosc". If you have an AppleEvent handler in > your heirarchy, it can check for "dosc" events, use "request > appleEvent" to find out what data is being sent, and then "do" the > script. As Klaus suggested, the command sent should be the name of a > handler in your message hierarchy, preferably in the mainStack's stack > script. > > However this doesn't help with an AppleScript dictionary. Looking in > the application bundle for Apple's Mail, I see several files that look > promising. They have extensions of "scriptSuite" and > "scriptTerminology" and are pList files i.e. XML. You would have to > examine the structure to work out how to construct your own dictionary > for your app. > > Cheers, > Sarah > > On 20 Nov 2004, at 6:04 pm, william griffin wrote: > >> Out of curiosity I decided to build a standalone and see >> what effects Applescript could have on it. >> >> Script edit gave me an error as soon as I compiled this: >> tell application "iGame3d" >> do script "quit" >> end tell >> >> So I went looking for the dictionary and there was none. >> >> How does one provide a dictionary for a rev standalone? >> >> I went digging through it in the revolution application folder >> and package but no clue can be found. >> >> Mr Bill > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From Roger at logram.com Thu Dec 2 18:03:51 2004 From: Roger at logram.com (Roger Amar) Date: Fri, 3 Dec 2004 00:03:51 +0100 Subject: DLL problem Message-ID: <028383377603B34D9728A1E80EA9B43B0131B2@srv.Logram.local> I'm using CodeWarrior for Windows to write a dll. My OS is XP Pro SP2. It compiles with no error, but the externalFunctions of my stack returns empty. Then, my function return "error in function handler". The same code compiled on my G4 as a xfcn is working perfectly. What's wrong ? Anyone has an idea ? Thanks, Roger; From got at mindspring.com Thu Dec 2 18:20:04 2004 From: got at mindspring.com (Gordon Tillman) Date: Thu, 2 Dec 2004 17:20:04 -0600 Subject: DLL problem In-Reply-To: <028383377603B34D9728A1E80EA9B43B0131B2@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B0131B2@srv.Logram.local> Message-ID: Hi Roger, I have an external dll that I wrote for Mac OSX and Windows. The Mac side is built using xtools, but the Windows side is built using CW. Now I did use CW for Mac (it can build windows code), but that shouldn't matter as the .mcp files are cross-platform. I have archived the whole thing and posted it here: http://homepage.mac.com/gordyt/FileSharing13.html If you like, download and unzip the file and take a look at what I have there. I'm no expert or anything, but the external does work very well. --gordon On Dec 2, 2004, at 17:03, Roger Amar wrote: > I'm using CodeWarrior for Windows to write a dll. My OS is XP Pro SP2. > It compiles with no error, but the externalFunctions of my stack > returns > empty. Then, my function return "error in function handler". > The same code compiled on my G4 as a xfcn is working perfectly. > What's wrong ? Anyone has an idea ? > > Thanks, > > Roger; > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Thu Dec 2 18:50:09 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 2 Dec 2004 16:50:09 -0700 Subject: Serial comm differences between PC & Mac? In-Reply-To: <49692.127.0.0.1.1102021602.squirrel@127.0.0.1> References: <49692.127.0.0.1.1102021602.squirrel@127.0.0.1> Message-ID: On Dec 2, 2004, at 2:06 PM, runrev at jkvaldez.com wrote: > Regarding char, I'm not getting good results using it. Well, I can learn. I did some quick tests and I think you might be right. In a quick test, I dropped characters with char and did not with int1. Weird. With int1, all looked good. I sent out all 256 codes using numToChar(), that is, 0 to 255, and read them back in using uint1 and got what I expected: 0 to 127 and then -128 to -1 This was on Windows XP using the built-in com1: on my PC. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From benr_mc at cogapp.com Thu Dec 2 18:55:58 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 02 Dec 2004 23:55:58 +0000 Subject: Wanted: idiot's guide to using Unicode in Rev Message-ID: I've just fiddled (and part of my problem is that I don't know any non-roman languages, so have very limited capability to understand if I'm doing something right). I have an app in which users edit text in a field; simple controls let them apply simple styling (bold/italic/both) and some more perverse markup; a popup stack menu assists in entering intering interesting non-roman characters. To date these have all been characters accomodated in the 8-bit ISO 8859 1 character set - now I need to handle some which come from extended code blocks, for example o-macron, that is a latin small letter o with a horizontal bar above. I set the unicodeText of a field to the hex bytes 59 01 4D, which should be "Y", followed by o-macron. I got some interesting japanese characters in the field. What was going on there? Should I have set the font to something first, to avoid misinterpretation - but surely the whole point of saying that it's unicode is that I'm specifying code points, there's no interpretation needed. And if I do have to set a font, how do I know which one to specify? The documentation talks about "Unicode fonts", and mentions "Osaka,Japanese" as an example. How can I find out which Unicode fonts are available - on my system, on my user's system? And if I found them, would it tell me which language they relate to? And in any case, how should I know which language o-macron relates to? If I construct an HTML file to include the text Yō or Yō and open this in a browser, I see in each case a capital Y followed by an o-macron. If I set the htmltext of a Rev field to the first of these, it is reflected exactly, ie "Yō". If I set the htmlText of the field to the second, it appears as "YM". If I copy the text from the browser ("Y"), and paste it into the field, it appears correctly. If I then get the htmlText of the field, it is:

Yō

or sometimes I've got

Yō

Again, can some kind soul help me understand the relation of fonts to using Unicode? If I want to set a character in a field to one outside the first 255 Unicode code points, do I need to do so in the context of a font? Another specific question: can I set the label of a button to a unicode string, or more generally to anything which requires more than simple roman character set? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From dsc at swcp.com Thu Dec 2 19:33:32 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 2 Dec 2004 17:33:32 -0700 Subject: Serial comm differences between PC & Mac? In-Reply-To: References: <49692.127.0.0.1.1102021602.squirrel@127.0.0.1> Message-ID: On Dec 2, 2004, at 4:50 PM, Dar Scott wrote: >> Regarding char, I'm not getting good results using it. > > Well, I can learn. I did some quick tests and I think you might be > right. In a quick test, I dropped characters with char and did not > with int1. Weird. > > With int1, all looked good. I sent out all 256 codes using > numToChar(), that is, 0 to 255, and read them back in using uint1 and > got what I expected: 0 to 127 and then -128 to -1 > > This was on Windows XP using the built-in com1: on my PC. I tried the tests on OS X. For char I still lost some characters. I actually lost a little more. All chars after the first LF are thrown away. This is with binary update! For uint1, I ran into several problems. The read would read random chars that aren't there. Also, the characters with codes 10, 11 and 12 are garbled. The characters with codes 254 and 255 are often garbled. My test sent all codes in order so that might affect which ones got garbled. I think the last two bytes got lost so that is why those got garbled; the read got data that was not real. I'm using a keyspan USA-19QW on the Mac. All tests opened for binary update. At this point, I would trust the PC results over the Mac results. BUT... I went back and changed my PC test and... Yes. uint will input garbage data. Maybe those "control characters" are not real? Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alw918 at earthlink.net Thu Dec 2 22:58:39 2004 From: alw918 at earthlink.net (Andrew) Date: Thu, 2 Dec 2004 19:58:39 -0800 Subject: Windows standalone no-nos In-Reply-To: <20041201144934.20D599300EA@mail.runrev.com> Message-ID: <9D42C46A-44DF-11D9-B52D-000393DD0724@earthlink.net> Hi, quick question. I remember that when creating a Revolution stack that I intend to turn into a Windows standalone that I need to avoid certain characters like the greater-than equals sign, etc. But I have forgotten what other symbols I'm not allowed to use. Is there a comprehensive list available somewhere of these Windows no-nos? Thanks From jacque at hyperactivesw.com Thu Dec 2 23:20:35 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Dec 2004 22:20:35 -0600 Subject: DMG compatibilty with browsers In-Reply-To: <12d.50d8579f.2ee0ce8e@aol.com> References: <12d.50d8579f.2ee0ce8e@aol.com> Message-ID: <41AFE993.5020302@hyperactivesw.com> On 12/2/04 2:01 PM, RGould8 at aol.com wrote: > Can anyone tell me, from a Mac perspective, what various browsers to by > default when one clicks on a hyperlink on a web-page that is a .DMG file? A related question, if anyone knows the answer: In general my browser will download a .dmg file to disk, as there is a MIME type in preferences set correctly to recognize .dmg files. But on some sites, they come through as plain text which displays in a browser window. Is this due to a setting on the server? Or something about that particular file itself? Or what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From erikhans08 at yahoo.com Fri Dec 3 01:08:46 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 2 Dec 2004 22:08:46 -0800 (PST) Subject: select non-adjacent lines in a field? In-Reply-To: <20041201072029.50269.qmail@web60507.mail.yahoo.com> Message-ID: <20041203060847.4993.qmail@web61107.mail.yahoo.com> this has come up. is there a good keyword for archive searching? thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 From briany at qldlearning.com Fri Dec 3 01:17:41 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 2 Dec 2004 22:17:41 -0800 Subject: DMG compatibilty with browsers In-Reply-To: <41AFE993.5020302@hyperactivesw.com> Message-ID: <0A014AAD-44F3-11D9-96BE-000393AA08D2@qldlearning.com> > Is this due to a setting on the server? Or something about that > particular file itself? Or what? It's probably a server setting issue- just as your browser is set to act on certain MIME types, web servers are setup to _send_ MIME types based on file extensions. Most likely the webserver doesn't recognize ".dmg" and is sending the default- either text/html or text/plain. It's an easy 1-line config change for most web servers, but of course the common problem would be having access to those settings at all. HTH, Brian From dcragg at lacscentre.co.uk Fri Dec 3 03:20:11 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 3 Dec 2004 08:20:11 +0000 Subject: DMG compatibilty with browsers In-Reply-To: <12d.50d8579f.2ee0ce8e@aol.com> References: <12d.50d8579f.2ee0ce8e@aol.com> Message-ID: <26C056BC-4504-11D9-96AD-000A9569F8B0@lacscentre.co.uk> On 2 Dec 2004, at 20:01, RGould8 at aol.com wrote: > Can anyone tell me, from a Mac perspective, what various browsers to by > default when one clicks on a hyperlink on a web-page that is a .DMG > file? > > I'm finding that on my Mac, Safari downloads the .DMG and automatically > mounts it. Safari has a Preferences setting -- Open "safe" files after downloading. This covers disk images. It is unchecked on my machine, but I don't know if it was that way by default. Dave From jamesjrichards at lineone.net Fri Dec 3 05:23:52 2004 From: jamesjrichards at lineone.net (James Richards) Date: Fri, 3 Dec 2004 10:23:52 +0000 Subject: DMG compatibilty with browsers In-Reply-To: <20041202213537.979E4930112@mail.runrev.com> References: <20041202213537.979E4930112@mail.runrev.com> Message-ID: <6DC0B098-4515-11D9-8322-0050E400C679@lineone.net> This automount behaviour can be toggled in Safari Preferences > General which offers a checkbox option to 'Open "safe" files automatically' and lists the kind of files it applies to. I think the default setting is to open such files but obviously users might choose to reverse that, in other words you can't count on the particular behaviour. IE (5.2.3) by contrast only automatically (depending on preferences set) handles MacBinary and BinHex files. I haven't tried this (I don't use IE) but I guess if you assigned DiskUtility as a helper application to DMG files then they might automount. Regards James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 On Thu, 2 Dec 2004 15:01:18 EST, RGould8 via use-revolution-request at lists.runrev.com wrote: > Can anyone tell me, from a Mac perspective, what various browsers to by > default when one clicks on a hyperlink on a web-page that is a .DMG > file? > > I'm finding that on my Mac, Safari downloads the .DMG and automatically > mounts it. IE just downloads it and does not auto-mount. Curious > if that's the way it's working on your Macs as well. Also curious > what FireFox > does, and Opera, etc. From douez at wanadoo.fr Fri Dec 3 05:52:23 2004 From: douez at wanadoo.fr (thierry) Date: Fri, 3 Dec 2004 11:52:23 +0100 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5A3@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5A3@m-epo-1.epo.cdc.gov> Message-ID: <349428534.20041203115223@wanadoo.fr> Hi, LJ> Hello... the following script seems to work. LJ> Factors to consider: LJ> 1)The stack should be set to purge itself from memory upon closing LJ> 2)Some firewalls might prevent the program from accepting LJ> connections on a port LJ> 3)This prevents multiple instances, but still does not quite allow LJ> the two instances to communicate. Writing to a socket from one instance LJ> seems to steal the ability of the other instance to listen to that LJ> socket - I am still trying to work out how to do that. humm, with my little experience, you probably need to differenciate the 1st instance from the second. if the first do a accept connection ( Server mode ) the second instance should do a connect as a client. So, if you see yourself in the netstat result then run a open socket on the port. LJ> 4)You might want to consider hiding the windows console and LJ> setting the cursor to watch while the script performs the shell command. LJ> 5)This will not work with the opensockets function, because that LJ> does not return the sockets opened by the other instance. The shell LJ> command for this works quite well (at least on my computer). LJ> Cheers, LJ> Jonathan LJ> on preopenstack LJ> get shell("netstat -a") LJ> put it into OPS LJ> put the number of lines in OPS into Z LJ> set the itemdelimiter to ":" LJ> repeat with X = 1 to Z LJ> put word 2 of line X of OPS into WPS LJ> if item 2 of WPS = "48953" then put "open" into queryold LJ> end repeat LJ> if queryold = "open" then LJ> answer "This program is already running, do you wish to run another LJ> instance of it?" with "No" and "Yes" LJ> put it into AAA LJ> if AAA = "No" then LJ> close this stack LJ> end if LJ> else LJ> accept connections on port 48953 with message "queryinstance" LJ> end if LJ> end preopenstack Running get shell("netstat -a") , i got this on a Win98 box : Active Connections Proto Local Address Foreign Address State TCP xxxxx:1068 0.0.0.0:0 LISTENING TCP xxxxx:2530 0.0.0.0:0 LISTENING TCP xxxxx:1068 127.0.0.1:2530 ESTABLISHED TCP xxxxx:2530 127.0.0.1:1068 ESTABLISHED what i don't understand is that i do only one , and then only one external process read the socket. So, why this 4 lines ? Regards, thierry From Roger at logram.com Fri Dec 3 07:06:06 2004 From: Roger at logram.com (Roger Amar) Date: Fri, 3 Dec 2004 13:06:06 +0100 Subject: DLL problem Message-ID: <028383377603B34D9728A1E80EA9B43B0131B6@srv.Logram.local> Thanks a lot Gordon ! I'll try to find what is wrong and keep you informed. Roger; -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon Tillman Envoy? : vendredi 3 d?cembre 2004 00:20 ? : How to use Revolution Objet : Re: DLL problem Hi Roger, I have an external dll that I wrote for Mac OSX and Windows. The Mac side is built using xtools, but the Windows side is built using CW. Now I did use CW for Mac (it can build windows code), but that shouldn't matter as the .mcp files are cross-platform. I have archived the whole thing and posted it here: http://homepage.mac.com/gordyt/FileSharing13.html If you like, download and unzip the file and take a look at what I have there. I'm no expert or anything, but the external does work very well. --gordon On Dec 2, 2004, at 17:03, Roger Amar wrote: > I'm using CodeWarrior for Windows to write a dll. My OS is XP Pro SP2. > It compiles with no error, but the externalFunctions of my stack > returns empty. Then, my function return "error in function handler". > The same code compiled on my G4 as a xfcn is working perfectly. > What's wrong ? Anyone has an idea ? > > Thanks, > > Roger; > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From rbarber at yhb.att.ne.jp Fri Dec 3 07:47:30 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri, 3 Dec 2004 06:47:30 -0600 Subject: Wanted: idiot's guide to using Unicode in Rev In-Reply-To: References: Message-ID: <7ECB0DCC-4529-11D9-AB6F-000A95DAEEF0@yhb.att.ne.jp> Hi Ben, On Dec 2, 2004, at 5:55 PM, Ben Rubinstein wrote: > I've just fiddled (and part of my problem is that I don't know any > non-roman > languages, so have very limited capability to understand if I'm doing > something right). > And if I do have to set a font, how do I know which one to specify? > The > documentation talks about "Unicode fonts", and mentions > "Osaka,Japanese" as > an example. How can I find out which Unicode fonts are available - on > my > system, on my user's system? And if I found them, would it tell me > which > language they relate to? And in any case, how should I know which > language > o-macron relates to? Have you tried setting the textfont to ",Unicode" or you can specify a name like "Arial,Unicode" > Another specific question: can I set the label of a button to a unicode > string, or more generally to anything which requires more than simple > roman > character set? Create a field, start typing text into it. Then set the textfont of the button to an appropriate unicode font and set the text of the btn to the unicodetext of the field. IMPORTANT to make sure that no non-unicode chars are introduced into the btn name or contents if it is popup etc. HTH Ron From got at mindspring.com Fri Dec 3 09:25:28 2004 From: got at mindspring.com (Gordon Tillman) Date: Fri, 3 Dec 2004 08:25:28 -0600 Subject: DLL problem In-Reply-To: <028383377603B34D9728A1E80EA9B43B0131B6@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B0131B6@srv.Logram.local> Message-ID: <2E28B8A0-4537-11D9-AD99-000A95ADFC4C@mindspring.com> Howdy Roger, Please do let me know how it goes. Holler at me if you have any questions. On Dec 3, 2004, at 06:06, Roger Amar wrote: > Thanks a lot Gordon ! > I'll try to find what is wrong and keep you informed. > Roger; Feel free to try out the externals that are included in that project. One does a crc32 calculation on a file (osx / windows), and on the windows there are externals to put an icon in the system tray and remove it. When the user clicks on the icon it shows your stack. This lets you have a stack that can run with no window but still be made visible when desired. --gordon From alex at tweedly.net Fri Dec 3 09:27:32 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 03 Dec 2004 14:27:32 +0000 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <349428534.20041203115223@wanadoo.fr> References: <64878EF567131D4596246171F75FD4A90EC5A3@m-epo-1.epo.cdc.gov> <64878EF567131D4596246171F75FD4A90EC5A3@m-epo-1.epo.cdc.gov> Message-ID: <5.1.0.14.0.20041203140555.030107c8@mail.tweedly.net> At 11:52 03/12/2004 +0100, thierry wrote: >Hi, > >LJ> Hello... the following script seems to work. > >LJ> Factors to consider: >LJ> 1)The stack should be set to purge itself from memory upon closing >LJ> 2)Some firewalls might prevent the program from accepting >LJ> connections on a port >LJ> 3)This prevents multiple instances, but still does not quite allow >LJ> the two instances to communicate. Writing to a socket from one instance >LJ> seems to steal the ability of the other instance to listen to that >LJ> socket - I am still trying to work out how to do that. > >humm, with my little experience, you probably need to differenciate the 1st >instance from the second. if the first do a accept connection ( Server mode ) >the second instance should do a connect as a client. So, if you see yourself >in the netstat result then run a open socket on the port. That's right. Since we're using sockets anyway, there's no need to use netstat at all. Executive Summary : the first instance goes into server mode, and accepts connections from subsequent instances Technical Summary: when an instance starts up, it attempts to open a connection to the chosen port. If it succeeds, then there is already an instance running - and we have a connection to it. If it fails, then there is no instance running - become the "server" and accept connections from others. Exercise (left to the reader): if the initial instance (server) is closed down, the client(s) should react to the "socket closed" event, such that one of them becomes a server, and the other clients re-connect to it. Here's some code to do the initial problem - it has a bunch of error checking you could take it if you really wanted to, so it doesn't need to be quite this long. Note - I did this as a handler called "startUp" rather than in OpenStack or preOpenStack because I pulled most of this code out of an existing app and this was easier. >local lConns > >on startUp > if the openSockets <> empty then > resetAll > put "reset" into field "My Status" > wait for 100 millisecs > end if > -- See if there is already an instance running > open socket to "127.0.0.1:7654" with message "setMode" >end startUp > >on setMode pMode > if pMode = "Server" then > -- we should be in server mode > put pMode into field "My Status" > accept connections on port "7654" with message "connectionMade" > else > -- another instance is running as server - need to be a client > put "Client" into field "My Status" > -- send a message to confirm > write "this is my input line" & cr to socket "127.0.0.1:7654" > read from socket "127.0.0.1:7654" until CR with message > "receivedResponse" > end if >end setMode > >-- Because this object does the Accepts and Opens, it gets close and error >notifications >on socketClosed s > put lineOffset(s, lConns) into NConn > if NConn = 0 then > logWrite "Attempt to close a socket that is not open." > else > logWrite "Socket" && s && "closed." > delete line NConn of lConns > put lConns into field "Connections" > end if >end socketClosed > >on socketError pSocket, pError > if offset("10061", pError) > 0 then > -- Connection refused - no-one is listening on this port already > setMode "Server" > else > logWrite "Error :" && param(1) && param(2) > end if >end socketError > >-- client functions >on receivedResponse > logWrite "Received response : " & param(2) >end receivedResponse > >-- Server mode handlers >on connectionMade pOtherOne > if char 1 to 9 of pOtherOne <> "127.0.0.1" then > logWrite "Connection attempt from another machine - reject" > close socket theOtherOne > exit connectionMade > end if > if the number of lines in lConns >= 4 then > logWrite "Too many connections - rejected." > close socket theOtherOne > exit connectionMade > end if > put pOtherOne & cr after lConns > read from socket pOtherOne until CR with message "readsome" >end connectionMade > > >on readsome fromSocket, theInput > put lineOffset(fromSocket, lConns) into NConn > if NConn = 0 then > logWrite "Input rejected - unknown Connection" & fromSocket > read from socket fromSocket until CR with message "readsome" > exit readsome > end if > -- echo it > write "echo " & theInput & cr to socket fromSocket > logWrite fromSocket & theInput > read from socket fromSocket until CR with message "readsome" >end readsome > >on logWrite m > put m & cr after field "Connections" >end logWrite This works fine for me (Win2000), running one instance in the Player and the other within Rev itself. (And also running an echo server or clients written in other languages). Note that it *should* be even easier than this - it makes no sense to have two applications listening on the same port; in Python or C you get an error (EADDRINUSE) return from the bind call (approx equivalent of Rev's "Accept") when another instance has already done an Accept on the port. Unfortunately, Rev doesn't seem to send an error in this case. I will play with this a bit more to make sure that I haven't done anything stupid, and then Bugzilla it. -- Alex. From BNZ2 at CDC.GOV Fri Dec 3 09:57:27 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 3 Dec 2004 09:57:27 -0500 Subject: Progress on preventing multiple instances of a program from running in windows Message-ID: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> I found that checking the opensockets did not find the socket that was opened by another instance of revolution - only sockets opened by the instance of revolution that checked for opensockets. On the other hand - the get shell(netstat -a) command checks for all open sockets from all processes. I also figured out how to get the two instances to communicate last night. The problem was that, when the second instance wrote to the port that the first instance was listening on, then the second instance took over the listening activity on that port. What was happening was that both instances were set to listen to that port, but once the port was read by one instance, it was not read by the other. The solution is like this: Open socket to "127.0.0.1:48953" Write "QueryInstance" to socket "127.0.0.1:48953" Close socket "127.0.0.1:48953" Close socket "48953" Notice that 4th line that closes the port. After the 2nd instance writes to the port that the first instance is listening on, it closes off its access to listening to port 48953. That allows the first instance (which is still set to listen to port 48953) to continue accessing information on port 48953. When the second instance realizes that 48953 is in use, it needs to accept connections on a different port - say 48954. That way, when the first instance sends a message back to the second instance, it will be listening on a port not used by the first instance, and won't interfere. I guess that sounds rather confusing doesn't it? I am working on the script that does that, and will have the full bit of code ready soon. Cheers -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alex Tweedly Sent: Friday, December 03, 2004 9:28 AM To: How to use Revolution Subject: Re: Progress on preventing multiple instances of a program from running in windows At 11:52 03/12/2004 +0100, thierry wrote: >Hi, > >LJ> Hello... the following script seems to work. > >LJ> Factors to consider: >LJ> 1)The stack should be set to purge itself from memory upon closing >LJ> 2)Some firewalls might prevent the program from accepting >LJ> connections on a port >LJ> 3)This prevents multiple instances, but still does not quite allow >LJ> the two instances to communicate. Writing to a socket from one instance >LJ> seems to steal the ability of the other instance to listen to that >LJ> socket - I am still trying to work out how to do that. > >humm, with my little experience, you probably need to differenciate the 1st >instance from the second. if the first do a accept connection ( Server mode ) >the second instance should do a connect as a client. So, if you see yourself >in the netstat result then run a open socket on the port. That's right. Since we're using sockets anyway, there's no need to use netstat at all. Executive Summary : the first instance goes into server mode, and accepts connections from subsequent instances Technical Summary: when an instance starts up, it attempts to open a connection to the chosen port. If it succeeds, then there is already an instance running - and we have a connection to it. If it fails, then there is no instance running - become the "server" and accept connections from others. Exercise (left to the reader): if the initial instance (server) is closed down, the client(s) should react to the "socket closed" event, such that one of them becomes a server, and the other clients re-connect to it. Here's some code to do the initial problem - it has a bunch of error checking you could take it if you really wanted to, so it doesn't need to be quite this long. Note - I did this as a handler called "startUp" rather than in OpenStack or preOpenStack because I pulled most of this code out of an existing app and this was easier. >local lConns > >on startUp > if the openSockets <> empty then > resetAll > put "reset" into field "My Status" > wait for 100 millisecs > end if > -- See if there is already an instance running > open socket to "127.0.0.1:7654" with message "setMode" >end startUp > >on setMode pMode > if pMode = "Server" then > -- we should be in server mode > put pMode into field "My Status" > accept connections on port "7654" with message "connectionMade" > else > -- another instance is running as server - need to be a client > put "Client" into field "My Status" > -- send a message to confirm > write "this is my input line" & cr to socket "127.0.0.1:7654" > read from socket "127.0.0.1:7654" until CR with message > "receivedResponse" > end if >end setMode > >-- Because this object does the Accepts and Opens, it gets close and error >notifications >on socketClosed s > put lineOffset(s, lConns) into NConn > if NConn = 0 then > logWrite "Attempt to close a socket that is not open." > else > logWrite "Socket" && s && "closed." > delete line NConn of lConns > put lConns into field "Connections" > end if >end socketClosed > >on socketError pSocket, pError > if offset("10061", pError) > 0 then > -- Connection refused - no-one is listening on this port already > setMode "Server" > else > logWrite "Error :" && param(1) && param(2) > end if >end socketError > >-- client functions >on receivedResponse > logWrite "Received response : " & param(2) >end receivedResponse > >-- Server mode handlers >on connectionMade pOtherOne > if char 1 to 9 of pOtherOne <> "127.0.0.1" then > logWrite "Connection attempt from another machine - reject" > close socket theOtherOne > exit connectionMade > end if > if the number of lines in lConns >= 4 then > logWrite "Too many connections - rejected." > close socket theOtherOne > exit connectionMade > end if > put pOtherOne & cr after lConns > read from socket pOtherOne until CR with message "readsome" >end connectionMade > > >on readsome fromSocket, theInput > put lineOffset(fromSocket, lConns) into NConn > if NConn = 0 then > logWrite "Input rejected - unknown Connection" & fromSocket > read from socket fromSocket until CR with message "readsome" > exit readsome > end if > -- echo it > write "echo " & theInput & cr to socket fromSocket > logWrite fromSocket & theInput > read from socket fromSocket until CR with message "readsome" >end readsome > >on logWrite m > put m & cr after field "Connections" >end logWrite This works fine for me (Win2000), running one instance in the Player and the other within Rev itself. (And also running an echo server or clients written in other languages). Note that it *should* be even easier than this - it makes no sense to have two applications listening on the same port; in Python or C you get an error (EADDRINUSE) return from the bind call (approx equivalent of Rev's "Accept") when another instance has already done an Accept on the port. Unfortunately, Rev doesn't seem to send an error in this case. I will play with this a bit more to make sure that I haven't done anything stupid, and then Bugzilla it. -- Alex. From got at mindspring.com Fri Dec 3 10:13:21 2004 From: got at mindspring.com (Gordon Tillman) Date: Fri, 3 Dec 2004 09:13:21 -0600 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> Message-ID: Howdy Folks, I'm jumping in on this thread a bit late, but I wanted to let you know what we are doing to handle this issue. I have a preferences library that any application can use to manage, well, preferences. It does the right thing and stores the preferences at the proper location for mac, windows, and linux. During the application startup code, before I start opening sockets but after having initialized the preferences, I check for the presence of a preference called "running" that has a value of "yes" or "no". If the preference has a value of "yes", then the application displays a message to the effect of "It appears that another instance of this program may be running. That can also be caused if it had terminated abnormally before. Do you wish to continue starting up?" The user can click Yes or No. Normal operation is as follows: Application starts up. Checks the pref. Sets it to "yes" and saves preferences (to flush the updated value out to the file). The on shutdown handler sets the value back to "no". --gordon From signe.sanne at roman.uib.no Fri Dec 3 10:19:26 2004 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Fri, 03 Dec 2004 16:19:26 +0100 Subject: RevOnLine Message-ID: <5.2.0.8.2.20041203161147.00c02d68@alf.uib.no> Hello, I have uploaded two stacks: PlayWavMCI and SaveStackInStack. The first one shows how to play a wav-file without QuickTime on Windows. The second shows how to save a stack in another as a custom property as well as a custom property in a property set. Then it shows how the data from the custom property is retrieved and recreates the stack with scripts available to the current stack. This is useful for reusable code (recently discussed on this list). Please feel free to comment and suggest changes. Regards Signe Marie Sanne 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 ?isteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/Info/sms.html Norway From BNZ2 at CDC.GOV Fri Dec 3 10:31:55 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 3 Dec 2004 10:31:55 -0500 Subject: Progress on preventing multiple instances of a program fromrunning in windows Message-ID: <64878EF567131D4596246171F75FD4A90EC5A6@m-epo-1.epo.cdc.gov> I thought about something like that - but was concerned that the app would not know if the value had been changed in the file, and then terminated. That would not matter if the program is running as a visible window, because the user could just see that the window is not open, and tell the program to go ahead and run anyway. However, I need to use this for a program that will run invisibly. If it is running invisibly, then most users will not know how to check for running processes to determine if the program really is running. Using sockets allows for the program to see if it is running. My plan is to make it so that if it is already running, the second instance will check to see that the first instance is responsive, then when it confirms that it is working, it will tell the first instance to make itself visible. Then the second instance will turn itself off. This way, the program can run invisibly, but whenever the user clicks on the icon (which will be automatically inserted into the start menu) the program will just appear on the screen. The user can then change preferences and close it, and it goes back to running invisibly. (With a separate button for shutting down the program, so the user does have the option to turn it off, if desired) -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon Tillman Sent: Friday, December 03, 2004 10:13 AM To: How to use Revolution Subject: Re: Progress on preventing multiple instances of a program fromrunning in windows Howdy Folks, I'm jumping in on this thread a bit late, but I wanted to let you know what we are doing to handle this issue. I have a preferences library that any application can use to manage, well, preferences. It does the right thing and stores the preferences at the proper location for mac, windows, and linux. During the application startup code, before I start opening sockets but after having initialized the preferences, I check for the presence of a preference called "running" that has a value of "yes" or "no". If the preference has a value of "yes", then the application displays a message to the effect of "It appears that another instance of this program may be running. That can also be caused if it had terminated abnormally before. Do you wish to continue starting up?" The user can click Yes or No. Normal operation is as follows: Application starts up. Checks the pref. Sets it to "yes" and saves preferences (to flush the updated value out to the file). The on shutdown handler sets the value back to "no". --gordon _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Dec 3 10:55:50 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Dec 2004 07:55:50 -0800 Subject: CSV-parsing post? Message-ID: <41B08C86.1080200@fourthworld.com> I could have sworn I'd seen a post here in parsing CSV files recently, but now that I'm in a position to test it I can't turn it up. Would the poster kindly re-post? Thanks in advnance - -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From fde101 at fjrhome.net Fri Dec 3 10:57:38 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 3 Dec 2004 10:57:38 -0500 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: References: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> Message-ID: <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> The operating system should prevent two different applications from listening on the same port. Rev shouldn't have to worry about that at all. Rev has to go through the same APIs that C programs do (it is, after all, written in C/C++, is it not?) so at some level or another, it will be blocked from doing that, just as any other program would. OTOH, if Rev does not generate an error when this happens, it is indeed a problem that Rev will need to deal with. It *does* generate an error for me, though; check the value of "the result" right after the "accept" command. If the socket does not bind, it will be nonempty. At least, for me it is. On Dec 3, 2004, at 9:27 AM, Alex Tweedly wrote: > At 11:52 03/12/2004 +0100, thierry wrote: > >> Hi, >> >> LJ> Hello... the following script seems to work. >> >> LJ> Factors to consider: >> LJ> 1)The stack should be set to purge itself from memory upon closing >> LJ> 2)Some firewalls might prevent the program from accepting >> LJ> connections on a port >> LJ> 3)This prevents multiple instances, but still does not quite allow >> LJ> the two instances to communicate. Writing to a socket from one ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From runrev at jkvaldez.com Fri Dec 3 11:24:16 2004 From: runrev at jkvaldez.com (runrev at jkvaldez.com) Date: Fri, 3 Dec 2004 11:24:16 -0500 (EST) Subject: Serial comm differences between PC & Mac? Message-ID: <36029.127.0.0.1.1102091056.squirrel@127.0.0.1> Wow! Thanks for your efforts, Dar. Your results are interesting, if not confusing. Do you think this is a bug (& therefore should be entered in bugzilla)? Fortunately, since the phone system only uses a certain set of chars, I can filter out all of the junk, & make this work for my needs. BTW, I'm using both the keyspan usa-28 & usa-28x on OSX, & com1 on the PC. The results are the same with either keyspan adapter. From b.xavier at internet.lu Fri Dec 3 11:29:54 2004 From: b.xavier at internet.lu (MisterX) Date: Fri, 3 Dec 2004 17:29:54 +0100 Subject: CSV-parsing post? In-Reply-To: <41B08C86.1080200@fourthworld.com> Message-ID: <20041203162138.88392930118@mail.runrev.com> c for commas or c for concurrent ;) I did the comma sep. values from xcell... X > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Friday, December 03, 2004 16:56 > To: How to use Revolution > Subject: CSV-parsing post? > > I could have sworn I'd seen a post here in parsing CSV files > recently, but now that I'm in a position to test it I can't > turn it up. > > Would the poster kindly re-post? Thanks in advnance - > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Fri Dec 3 11:28:53 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 03 Dec 2004 16:28:53 +0000 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> References: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> Message-ID: <5.1.0.14.0.20041203160830.02fc1320@mail.tweedly.net> At 10:57 03/12/2004 -0500, Frank D. Engel, Jr. wrote: >The operating system should prevent two different applications from >listening on the same port. Rev shouldn't have to worry about that at >all. Indeed - it does. If I start my Python server first, it gets all the connection attempts, the Rev server doesn't give an error, but of course doesn't get any connections. >Rev has to go through the same APIs that C programs do (it is, after >all, written in C/C++, is it not?) so at some level or another, it will >be blocked from doing that, just as any other program would. > >OTOH, if Rev does not generate an error when this happens, it is indeed >a problem that Rev will need to deal with. > >It *does* generate an error for me, though; check the value of "the >result" right after the "accept" command. If the socket does not bind, >it will be nonempty. At least, for me it is. That's what pretty much what I had expected (though I didn't know if it would be an error from Accept or an errorSocket) - naturally the docs don't say. That's what I am checking ..... >on startUp > accept connections on port "7654" with message "connectionMade" > put the result into tResult > logWrite "The result from accept is ::" & tResult & "::" > send "setMode Server" to me in 100 millisecs >end startUp and tResult is empty. That's on Win2000. What are you running on Frank ? I'll go try it on XP as well .... Thanks -- Alex. From webmaster at dreamscapesoftware.com Fri Dec 3 11:33:51 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 3 Dec 2004 10:33:51 -0600 Subject: Making "We" into more than 1 person Message-ID: <009601c4d955$e8775a00$6501a8c0@DOWNSTAIRS> Greetings Revolutionaries! I am posting this message with the hopes that I may find someone who would be interested in becoming a partner in Dreamscape Software. I am looking for anyone interested in achieving the same goal that I have of creating products that are easy to use and do exactly what they are intended to do. No advertising, gimicks, tricks or ploys. I have multiple projects going on right now and I need help. So if your interested then please send me an email (Offlist) and we'll talk. Thank you for your time. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From dsc at swcp.com Fri Dec 3 11:34:44 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 09:34:44 -0700 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> References: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> Message-ID: <3D5B6DD5-4549-11D9-BE4C-000A9567A3E6@swcp.com> On Dec 3, 2004, at 8:57 AM, Frank D. Engel, Jr. wrote: > The operating system should prevent two different applications from > listening on the same port. Rev shouldn't have to worry about that at > all. > > Rev has to go through the same APIs that C programs do (it is, after > all, written in C/C++, is it not?) so at some level or another, it will > be blocked from doing that, just as any other program would. > > OTOH, if Rev does not generate an error when this happens, it is indeed > a problem that Rev will need to deal with. > > It *does* generate an error for me, though; check the value of "the > result" right after the "accept" command. If the socket does not bind, > it will be nonempty. At least, for me it is. I assume you mean "does bind". What OS? For me, on Mac OS 9.2 and on Windows XP I'm getting something fishy. It was some time ago on the Mac. It might be that its listed twice but is not really opened twice. On Windows XP, I'm getting no errors and netstat shows muliple listening sockets on the same port. I reported this as part of bug 828, the original entry for the Mac problem. It might be that my system is messed up somehow. Anybody else see this? However, since I have seen this on the Mac... Maybe not. Maybe Revolution is setting the bit to allow address-port pairs to be re-used. Maybe by accident or maybe for some purpose that I don't understand. I don't have a problem on OS X. There I get an error message in the result if the port is in use for accept. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From got at mindspring.com Fri Dec 3 11:38:33 2004 From: got at mindspring.com (Gordon Tillman) Date: Fri, 3 Dec 2004 10:38:33 -0600 Subject: Progress on preventing multiple instances of a program fromrunning in windows In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5A6@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5A6@m-epo-1.epo.cdc.gov> Message-ID: Makes sense Jonathan! I would be interested in knowing how that works out.. --gordon On Dec 3, 2004, at 09:31, Lynch, Jonathan wrote: > I thought about something like that - but was concerned that the app > would not know if the value had been changed in the file, and then > terminated. That would not matter if the program is running as a > visible > window, because the user could just see that the window is not open, > and > tell the program to go ahead and run anyway. > > However, I need to use this for a program that will run invisibly. If > it > is running invisibly, then most users will not know how to check for > running processes to determine if the program really is running. > > Using sockets allows for the program to see if it is running. My plan > is > to make it so that if it is already running, the second instance will > check to see that the first instance is responsive, then when it > confirms that it is working, it will tell the first instance to make > itself visible. Then the second instance will turn itself off. > > This way, the program can run invisibly, but whenever the user clicks > ontthe icon (which will be automatically inserted into the start menu) > the > program will just appear on the screen. The user can then change > preferences and close it, and it goes back to running invisibly. (With > a > separate button for shutting down the program, so the user does have > the > option to turn it off, if desired) > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon > Tillman > Sent: Friday, December 03, 2004 10:13 AM > To: How to use Revolution > Subject: Re: Progress on preventing multiple instances of a program > fromrunning in windows > > Howdy Folks, > > I'm jumping in on this thread a bit late, but I wanted to let you know > what we are doing to handle this issue. > > I have a preferences library that any application can use to manage, > well, preferences. It does the right thing and stores the preferences > at the proper location for mac, windows, and linux. > > During the application startup code, before I start opening sockets but > after having initialized the preferences, I check for the presence of a > preference called "running" that has a value of "yes" or "no". > > If the preference has a value of "yes", then the application displays a > message to the effect of "It appears that another instance of this > program may be running. That can also be caused if it had terminated > abnormally before. Do you wish to continue starting up?" The user can > click Yes or No. > > Normal operation is as follows: > > Application starts up. Checks the pref. Sets it to "yes" and saves > preferences (to flush the updated value out to the file). The on > shutdown handler sets the value back to "no". > > --gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Dec 3 11:52:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Dec 2004 08:52:53 -0800 Subject: CSV-parsing post? In-Reply-To: <20041203162138.88392930118@mail.runrev.com> References: <20041203162138.88392930118@mail.runrev.com> Message-ID: <41B099E5.9010701@fourthworld.com> MisterX wrote: >>Richard Gaskin wrote: >> I could have sworn I'd seen a post here in parsing CSV files >> recently, but now that I'm in a position to test it I can't >> turn it up. >> >>W ould the poster kindly re-post? Thanks in advnance - > > c for commas or c for concurrent ;) In "CSV" the "C" stands for "comma" ("comma-separated values"). "C" stands for "concurrent" in "CVS". You and I both currently use a method that walks through the data character by character, but the method I'm looking for uses the split command in a novel way with a ten-fold speed improvement. Earlier versions of that algorithm failed in testing some files here, but fortunately I was able to find the post that addresses the fix, by Alex Tweedly: Thanks for that, Alex. I'll run the fix through some tests and see if it works well here.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From klaus at major-k.de Fri Dec 3 12:07:53 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Dec 2004 18:07:53 +0100 Subject: arrowkey bug? Message-ID: Hi friends, i had a script for arrowkeys like (a little abbreviated, the syntax is correct in my script, of course!!!!!): on arrowkey what switch what case "up" do1 break "down" do2 "left" do3 "right" do4 end... end ... There were NO other scripts that could interfere! "left" and "right" were working as exspected, but when pressing "down" do2 AND do3 were executed, when pressing "up" do1 AND do4 were executed on after another...??? ... put what ... only showed the appropriate and correct arrowkey in the msg...? Anyone else noticed this? Food for godzilla? I worked aroud this by using "rawkeydown" which works as it should. Regards Klaus Major klaus at major-k.de http://www.major-k.de From alex at tweedly.net Fri Dec 3 12:14:58 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 03 Dec 2004 17:14:58 +0000 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <3D5B6DD5-4549-11D9-BE4C-000A9567A3E6@swcp.com> References: <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> Message-ID: <5.1.0.14.0.20041203164642.02f430b8@mail.tweedly.net> At 09:34 03/12/2004 -0700, Dar Scott wrote: >On Dec 3, 2004, at 8:57 AM, Frank D. Engel, Jr. wrote: > >>The operating system should prevent two different applications from >>listening on the same port. Rev shouldn't have to worry about that at >>all. >> >>Rev has to go through the same APIs that C programs do (it is, after >>all, written in C/C++, is it not?) so at some level or another, it will >>be blocked from doing that, just as any other program would. >> >>OTOH, if Rev does not generate an error when this happens, it is indeed >>a problem that Rev will need to deal with. >> >>It *does* generate an error for me, though; check the value of "the >>result" right after the "accept" command. If the socket does not bind, >>it will be nonempty. At least, for me it is. > >I assume you mean "does bind". What OS? I think he did mean "does not bind". If it does bind successfully, the result should empty (and the socket is now bound). On the second try, it does NOT bind - so the result should be non-empty - probably some variant of "10048 Address in use". >For me, on Mac OS 9.2 and on Windows XP I'm getting something fishy. > >It was some time ago on the Mac. It might be that its listed twice but is >not really opened twice. > >On Windows XP, I'm getting no errors and netstat shows muliple listening >sockets on the same port. I reported this as part of bug 828, the >original entry for the Mac problem. >It might be that my system is messed up somehow. Anybody else see this? That's the same as I see on Win2000. >However, since I have seen this on the Mac... Maybe not. Maybe >Revolution is setting the bit to allow address-port pairs to be >re-used. Maybe by accident or maybe for some purpose that I don't understand. Cold be something like that - there's something very odd going on: Start one server (in Rev Player) .... it reports no error, and gets any connections. Start another server (in Rev IDE) .... reports no error, and connections continue to go to the Player version. Stop (i.e. resetAll) in the Player server - and connections now go to the Rev IDE instance. Restart the Player instance - connections continue to go to the IDE instance. Stop (resetAll) the IDE version - Player version now gets any connections. BUT ..... close all servers, verify that connections are "refused" - i.e. no server listening on the port. Start up the Rev IDE server ... it gets connections Start up my Python-based server ... it gives error "Address already in use" Stop Rev Server Start Python server - no error, it gets connections Start Rev server - no error AND IT GETS ANY NEW CONNECTIONS. The rev server has pre-empted an existing, listening server. Very odd. >I don't have a problem on OS X. There I get an error message in the >result if the port is in use for accept. Maybe I'll just give up this Windows nonsense and switch to Mac :-) -- Alex. From dsc at swcp.com Fri Dec 3 12:22:48 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 10:22:48 -0700 Subject: Serial comm differences between PC & Mac? In-Reply-To: <36029.127.0.0.1.1102091056.squirrel@127.0.0.1> References: <36029.127.0.0.1.1102091056.squirrel@127.0.0.1> Message-ID: On Dec 3, 2004, at 9:24 AM, runrev at jkvaldez.com wrote: > Your results are interesting, if not confusing. Do you think this is a > bug > (& therefore should be entered in bugzilla)? IIRC, it looks like 3 bugs: Char read commands come up short on XP for reading 256 chars. Multi-char read commands throw away data after LF on OS X. Codes 10, 11 and 12 are garbled in reading uint1 on OS X. Multi-uint1 read commands sometimes come up short on OS X based on garbage at end (?). uint1 read commands input garbage if the data is not there. > Fortunately, since the phone system only uses a certain set of chars, I > can filter out all of the junk, & make this work for my needs. BTW, I'm > using both the keyspan usa-28 & usa-28x on OSX, & com1 on the PC. The > results are the same with either keyspan adapter. It looks like you might get garbage if you try to read a uint1 and none is there. The time might come when one of the garbage bytes looks like a valid letter. It might be that my short data for 256 char reads does not apply to single char reads. There are several reported bugs for serial on OS X; you will have to work around those. Windows serial I/O is blocking (up to 2 seconds) and OS X serial I/O is not (except for a weird OS X feature in opening the modem where a 3 second delay is forced). I think someone (Sarah?) has reported better luck with usa-28 than with usa-19. I suspect that Rev is not setting some terminal parameters on ports, leaving them as they are, on OS X. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Fri Dec 3 12:25:07 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 10:25:07 -0700 Subject: arrowkey bug? In-Reply-To: References: Message-ID: <472528C4-4550-11D9-BE4C-000A9567A3E6@swcp.com> On Dec 3, 2004, at 10:07 AM, Klaus Major wrote: > on arrowkey what > switch what > case "up" > do1 > break > "down" > do2 > "left" > do3 > "right" > do4 > end... > end ... Do you have 'break' in all the right places in the real script? Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From fde101 at fjrhome.net Fri Dec 3 12:34:31 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 3 Dec 2004 12:34:31 -0500 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <3D5B6DD5-4549-11D9-BE4C-000A9567A3E6@swcp.com> References: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> <3D5B6DD5-4549-11D9-BE4C-000A9567A3E6@swcp.com> Message-ID: <971193EC-4551-11D9-960E-0050E410655F@fjrhome.net> Under Mac OS X 10.3.6, the result is empty if the "accept" command works, and nonempty if it does not work. If the "accept" command gives a port number which is in use, the "accept" command fails, and the result is nonempty. That is the behavior I am seeing. On Dec 3, 2004, at 11:34 AM, Dar Scott wrote: > > On Dec 3, 2004, at 8:57 AM, Frank D. Engel, Jr. wrote: > >> The operating system should prevent two different applications from >> listening on the same port. Rev shouldn't have to worry about that at >> all. >> >> Rev has to go through the same APIs that C programs do (it is, after >> all, written in C/C++, is it not?) so at some level or another, it >> will >> be blocked from doing that, just as any other program would. >> >> OTOH, if Rev does not generate an error when this happens, it is >> indeed >> a problem that Rev will need to deal with. >> >> It *does* generate an error for me, though; check the value of "the >> result" right after the "accept" command. If the socket does not >> bind, >> it will be nonempty. At least, for me it is. > > I assume you mean "does bind". What OS? > > For me, on Mac OS 9.2 and on Windows XP I'm getting something fishy. > > It was some time ago on the Mac. It might be that its listed twice > but is not really opened twice. > > On Windows XP, I'm getting no errors and netstat shows muliple > listening sockets on the same port. I reported this as part of bug > 828, the original entry for the Mac problem. > > It might be that my system is messed up somehow. Anybody else see > this? > > However, since I have seen this on the Mac... Maybe not. Maybe > Revolution is setting the bit to allow address-port pairs to be > re-used. Maybe by accident or maybe for some purpose that I don't > understand. > > I don't have a problem on OS X. There I get an error message in the > result if the port is in use for accept. > > Dar > > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From klaus at major-k.de Fri Dec 3 12:37:31 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Dec 2004 18:37:31 +0100 Subject: arrowkey bug? In-Reply-To: <472528C4-4550-11D9-BE4C-000A9567A3E6@swcp.com> References: <472528C4-4550-11D9-BE4C-000A9567A3E6@swcp.com> Message-ID: <0244B1AF-4552-11D9-AB87-000A27B49A96@major-k.de> Hi Dar, > On Dec 3, 2004, at 10:07 AM, Klaus Major wrote: > >> on arrowkey what >> switch what >> case "up" >> do1 >> break >> "down" >> do2 >> "left" >> do3 >> "right" >> do4 >> end... >> end ... > > Do you have 'break' in all the right places in the real script? From my last mail: >> i had a script for arrowkeys like (a little abbreviated, the syntax >> is correct in my script, of course!!!!!): c'mon Dar, i wasn't born yesterday :-D > Dar Regards Klaus Major klaus at major-k.de http://www.major-k.de From dsc at swcp.com Fri Dec 3 12:39:47 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 10:39:47 -0700 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <5.1.0.14.0.20041203164642.02f430b8@mail.tweedly.net> References: <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> <5.1.0.14.0.20041203164642.02f430b8@mail.tweedly.net> Message-ID: <53493DB1-4552-11D9-BE4C-000A9567A3E6@swcp.com> On Dec 3, 2004, at 10:14 AM, Alex Tweedly wrote: >>> It *does* generate an error for me, though; check the value of "the >>> result" right after the "accept" command. If the socket does not >>> bind, >>> it will be nonempty. At least, for me it is. >> >> I assume you mean "does bind". What OS? > > I think he did mean "does not bind". > If it does bind successfully, the result should empty (and the socket > is now bound). > On the second try, it does NOT bind - so the result should be > non-empty - probably some variant of "10048 Address in use". Brain fault. I filter most out before mail gets out. I beg patience. > That's the same as I see on Win2000. Could you mention it on bug 828? >> However, since I have seen this on the Mac... Maybe not. Maybe >> Revolution is setting the bit to allow address-port pairs to be >> re-used. Maybe by accident or maybe for some purpose that I don't >> understand. > > Cold be something like that - there's something very odd going on: > he rev server has pre-empted an existing, listening server. Very odd. [scenarios deleted] You have just convinced me that Rev is setting the option to re-use the port. There is no good reason to do this. I make tenacious listeners by simply retrying after a little while if the port is in use. A server application should be free to give up, or keep trying to accept connections and in the latter it should be able to indicate as status that the port is in use. A socket implementation (according to my reference) is free to ignore this option and that may be what OS X is doing. I don't know if the exact meaning is defined anywhere, anyway. Maybe the code is using an option mask that sets some option in unix, but that bit corresponds to the re-use-port option in other systems. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Fri Dec 3 12:44:12 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 10:44:12 -0700 Subject: arrowkey bug? In-Reply-To: <0244B1AF-4552-11D9-AB87-000A27B49A96@major-k.de> References: <472528C4-4550-11D9-BE4C-000A9567A3E6@swcp.com> <0244B1AF-4552-11D9-AB87-000A27B49A96@major-k.de> Message-ID: On Dec 3, 2004, at 10:37 AM, Klaus Major wrote: >>> i had a script for arrowkeys like (a little abbreviated, the syntax >>> is correct in my script, of course!!!!!): > > c'mon Dar, i wasn't born yesterday :-D Yeah, I saw the caveat. Well, for me, I might _know_ what it should be, but be completely blind to what I actually did. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Fri Dec 3 12:46:05 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 10:46:05 -0700 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <971193EC-4551-11D9-960E-0050E410655F@fjrhome.net> References: <64878EF567131D4596246171F75FD4A90EC5A5@m-epo-1.epo.cdc.gov> <0E765742-4544-11D9-960E-0050E410655F@fjrhome.net> <3D5B6DD5-4549-11D9-BE4C-000A9567A3E6@swcp.com> <971193EC-4551-11D9-960E-0050E410655F@fjrhome.net> Message-ID: <34BE8294-4553-11D9-BE4C-000A9567A3E6@swcp.com> On Dec 3, 2004, at 10:34 AM, Frank D. Engel, Jr. wrote: > Under Mac OS X 10.3.6, the result is empty if the "accept" command > works, and nonempty if it does not work. > > If the "accept" command gives a port number which is in use, the > "accept" command fails, and the result is nonempty. > > That is the behavior I am seeing. That is what I see on OS X, too. I think we are seeing a consistent pattern with the few comments. This works as expected on OS X and not as expected on Windows. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From BNZ2 at CDC.GOV Fri Dec 3 12:59:19 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 3 Dec 2004 12:59:19 -0500 Subject: Progress on preventing multiple instances of a program fromrunning in windows Message-ID: <64878EF567131D4596246171F75FD4A90EC5A7@m-epo-1.epo.cdc.gov> The fact that, on my windows XP computer, Rev is automatically setting itself up to listen to a port to which it just wrote a message seems awfully odd. My understanding of ports and sockets is weak - but shouldn't it be able to write to socket "127.0.0.1:48953" without setting itself up as listening to port 48953? Is there a shell command for writing to a socket that could be used that might not have this behavior? My method of closing port 48953 after writing to "127.0.0.1:48953" (and doing the same with port 48954 for communicating in the reverse direction) works to allow two instances of a stack, running under two different instances of Rev, to communicate with each other - however, when I save the same stack as a standalone and try it with two instances of that standalone, they only manage to pass a couple messages before getting confused. If it were possible to write to socket without trying to steal the listening of that stack, it would be much easier. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dar Scott Sent: Friday, December 03, 2004 12:46 PM To: How to use Revolution Subject: Re: Progress on preventing multiple instances of a program fromrunning in windows On Dec 3, 2004, at 10:34 AM, Frank D. Engel, Jr. wrote: > Under Mac OS X 10.3.6, the result is empty if the "accept" command > works, and nonempty if it does not work. > > If the "accept" command gives a port number which is in use, the > "accept" command fails, and the result is nonempty. > > That is the behavior I am seeing. That is what I see on OS X, too. I think we are seeing a consistent pattern with the few comments. This works as expected on OS X and not as expected on Windows. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Fri Dec 3 13:00:36 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 3 Dec 2004 10:00:36 -0800 Subject: arrowkey bug? In-Reply-To: References: Message-ID: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> On Dec 3, 2004, at 9:07 AM, Klaus Major wrote: > on arrowkey what > switch what > case "up" > do1 > break > "down" > do2 > "left" > do3 > "right" > do4 > end... > end ... I am using it currently in one of my projects and it is working as it should. Any chance you could post the actual code? Are you running any front scripts? -- Best regards, Mark Talluto http://www.canelasoftware.com From dsc at swcp.com Fri Dec 3 13:12:00 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 11:12:00 -0700 Subject: Progress on preventing multiple instances of a program fromrunning in windows In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5A7@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5A7@m-epo-1.epo.cdc.gov> Message-ID: On Dec 3, 2004, at 10:59 AM, Lynch, Jonathan wrote: > My understanding of ports and sockets is weak - but shouldn't it be > able > to write to socket "127.0.0.1:48953" without setting itself up as > listening to port 48953? If any application on the computer is listening on that port, then then a connection to it can be opened. There are less constraints for UDP. The particular "feature" that came up is that on some OSes, Rev seems to force a TCP listen (Rev accept) to succeed even then there is a clash. As Alex Tweedly showed (that is, as I interpret his results), other apps typically do not do this. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alex at tweedly.net Fri Dec 3 13:18:30 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 03 Dec 2004 18:18:30 +0000 Subject: Progress on preventing multiple instances of a program from running in windows In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5A7@m-epo-1.epo.cdc.gov > Message-ID: <5.1.0.14.0.20041203180640.0305b738@mail.tweedly.net> At 12:59 03/12/2004 -0500, Lynch, Jonathan wrote: >The fact that, on my windows XP computer, Rev is automatically setting >itself up to listen to a port to which it just wrote a message seems >awfully odd. > >My understanding of ports and sockets is weak - but shouldn't it be able >to write to socket "127.0.0.1:48953" without setting itself up as >listening to port 48953? Yes, it should (and can - as verified by the echo server I sent earlier ....) Your previous email implied something slightly different from what you say here or at least, I read it slightly differently ...) You said then (my emphasis) >What was happening was that BOTH INSTANCES WERE SET TO LISTEN to that >port, but once the port was read by one instance, it was not read by the >other. > >The solution is like this: >Open socket to "127.0.0.1:48953" >Write "QueryInstance" to socket "127.0.0.1:48953" >Close socket "127.0.0.1:48953" >Close socket "48953" I think what you are seeing is some variant of the re-use socket problem. Because Rev is telling the OS to re-use the same socket address, things are acting a bit screwy. I can't exactly explain what you're seeing - but I'm pretty sure there's something about reusing sockets behind it. If you want to send a more complete code fragment, I can give it a try - but I suspect that port re-use will catch us out one way or another. Note that my long post earlier (which first tried to open the port - and if that failed, only then went into server mode and did an Accept) avoids the re-use issue completely, and should work on any OS. >Is there a shell command for writing to a socket that could be used that >might not have this behavior? Nothing very convenient. >My method of closing port 48953 after writing to "127.0.0.1:48953" (and >doing the same with port 48954 for communicating in the reverse >direction) works to allow two instances of a stack, running under two >different instances of Rev, to communicate with each other - however, >when I save the same stack as a standalone and try it with two instances >of that standalone, they only manage to pass a couple messages before >getting confused. It's also quite inefficient (opening and closing ports). I wonder if it may be running into problems with Time-Wait (ports that are closed are put into a temporary time-wait state to avoid problems of late packet arrival - and that can cause problems when you are rapidly binding and closing the same port). >If it were possible to write to socket without trying to steal the >listening of that stack, it would be much easier. Try the long code fragment I sent - I'm pretty sure it will work generally, and it definitely is OK on Windows (2000 and I also tested it on XP under Dreamcard Player). -- Alex. From BNZ2 at CDC.GOV Fri Dec 3 13:17:53 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 3 Dec 2004 13:17:53 -0500 Subject: Progress on preventing multiple instances of a programfromrunning in windows Message-ID: <64878EF567131D4596246171F75FD4A90EC5A8@m-epo-1.epo.cdc.gov> What I am finding is that it is forcing the TCP listen without even using the accept command. The following script: Open socket to "127.0.0.1:48953" Write "Greetings" to socket "127.0.0.1:48953" Close socket "127.0.0.1:48953" Causes the instance that ran this script to start listening to port 48953. Shouldn't it only do that if the script actually uses the accept command? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dar Scott Sent: Friday, December 03, 2004 1:12 PM To: How to use Revolution Subject: Re: Progress on preventing multiple instances of a programfromrunning in windows On Dec 3, 2004, at 10:59 AM, Lynch, Jonathan wrote: > My understanding of ports and sockets is weak - but shouldn't it be > able > to write to socket "127.0.0.1:48953" without setting itself up as > listening to port 48953? If any application on the computer is listening on that port, then then a connection to it can be opened. There are less constraints for UDP. The particular "feature" that came up is that on some OSes, Rev seems to force a TCP listen (Rev accept) to succeed even then there is a clash. As Alex Tweedly showed (that is, as I interpret his results), other apps typically do not do this. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Fri Dec 3 13:18:24 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Dec 2004 10:18:24 -0800 Subject: arrowkey bug? In-Reply-To: Message-ID: Recently, Klaus Major wrote: > i had a script for arrowkeys like (a little abbreviated, the syntax > is correct in my script, of course!!!!!): > > on arrowkey what > switch what > case "up" > do1 > break > "down" > do2 > "left" > do3 > "right" > do4 > end... > end ... > > There were NO other scripts that could interfere! Achtbar Klaus: Did you verify that this behavior occurs in a new, empty stack with no front scripts running? Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From klaus at major-k.de Fri Dec 3 13:19:39 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Dec 2004 19:19:39 +0100 Subject: arrowkey bug? In-Reply-To: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> Message-ID: Hi Mark, > On Dec 3, 2004, at 9:07 AM, Klaus Major wrote: > >> on arrowkey what >> switch what >> case "up" >> do1 >> ... >> end ... > > I am using it currently in one of my projects and it is working as it > should. Hmm, congrats :-) > Any chance you could post the actual code? :-) on arrowkey was put was ## resulted in the correct arrowkey, and ONLY ONE switch was case "up" put "erste" into derbutton break case "right" put "naechste" into derbutton break case "down" put "letzte" into derbutton break case "left" put "vorige" into derbutton break end switch send "mouseup" to btn derbutton of cd 1 of stack (the navistack of me) end arrowkey This script work with key "left" and "right" as exspected... With "up" the "left" with "down" the "right" is also executed immediately... > Are you running any front scripts? No. Just the one of MetaCard, but that does not interfere, honestly! ;-) > Best regards, > Mark Talluto > http://www.canelasoftware.com As is told, using "rawkeydown" works fine... Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Dec 3 13:24:43 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Dec 2004 19:24:43 +0100 Subject: arrowkey bug? In-Reply-To: References: Message-ID: <9A861D0E-4558-11D9-AB87-000A27B49A96@major-k.de> Hi Scott, > Recently, Klaus Major wrote: > >> i had a script for arrowkeys like (a little abbreviated, the syntax >> is correct in my script, of course!!!!!): >> >> on arrowkey what >> switch what >> case "up" >> do1 >> break >> "down" >> do2 >> "left" >> do3 >> "right" >> do4 >> end... >> end ... >> >> There were NO other scripts that could interfere! > > Achtbar Klaus: achtbar = respectable Thank you, Scott :-) You mean "Achtung" = "attention" probably... > Did you verify that this behavior occurs in a new, empty stack with no > front > scripts running? Not yet... Actually this IS in a (only) frontscript... But i am sure it will work as exspected, when i try... > Regards, > > Scott Rossi > Creative Director > Tactile Media, Development & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From BNZ2 at CDC.GOV Fri Dec 3 13:24:36 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Fri, 3 Dec 2004 13:24:36 -0500 Subject: Progress on preventing multiple instances of a program from running in windows Message-ID: <64878EF567131D4596246171F75FD4A90EC5A9@m-epo-1.epo.cdc.gov> Well - both instances were, indeed, set to listen - but I only told one of them to do it. The other just did it on its own after it wrote to the socket. I will try the method you suggested earlier - it seems quite clever! There are bits of it that I do not fully understand, but that's what learning is all about:) Thanks muchly -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alex Tweedly Sent: Friday, December 03, 2004 1:19 PM To: How to use Revolution Subject: RE: Progress on preventing multiple instances of a program from running in windows At 12:59 03/12/2004 -0500, Lynch, Jonathan wrote: >The fact that, on my windows XP computer, Rev is automatically setting >itself up to listen to a port to which it just wrote a message seems >awfully odd. > >My understanding of ports and sockets is weak - but shouldn't it be able >to write to socket "127.0.0.1:48953" without setting itself up as >listening to port 48953? Yes, it should (and can - as verified by the echo server I sent earlier ....) Your previous email implied something slightly different from what you say here or at least, I read it slightly differently ...) You said then (my emphasis) >What was happening was that BOTH INSTANCES WERE SET TO LISTEN to that >port, but once the port was read by one instance, it was not read by the >other. > >The solution is like this: >Open socket to "127.0.0.1:48953" >Write "QueryInstance" to socket "127.0.0.1:48953" >Close socket "127.0.0.1:48953" >Close socket "48953" I think what you are seeing is some variant of the re-use socket problem. Because Rev is telling the OS to re-use the same socket address, things are acting a bit screwy. I can't exactly explain what you're seeing - but I'm pretty sure there's something about reusing sockets behind it. If you want to send a more complete code fragment, I can give it a try - but I suspect that port re-use will catch us out one way or another. Note that my long post earlier (which first tried to open the port - and if that failed, only then went into server mode and did an Accept) avoids the re-use issue completely, and should work on any OS. >Is there a shell command for writing to a socket that could be used that >might not have this behavior? Nothing very convenient. >My method of closing port 48953 after writing to "127.0.0.1:48953" (and >doing the same with port 48954 for communicating in the reverse >direction) works to allow two instances of a stack, running under two >different instances of Rev, to communicate with each other - however, >when I save the same stack as a standalone and try it with two instances >of that standalone, they only manage to pass a couple messages before >getting confused. It's also quite inefficient (opening and closing ports). I wonder if it may be running into problems with Time-Wait (ports that are closed are put into a temporary time-wait state to avoid problems of late packet arrival - and that can cause problems when you are rapidly binding and closing the same port). >If it were possible to write to socket without trying to steal the >listening of that stack, it would be much easier. Try the long code fragment I sent - I'm pretty sure it will work generally, and it definitely is OK on Windows (2000 and I also tested it on XP under Dreamcard Player). -- Alex. From rjb at rz.uni-potsdam.de Fri Dec 3 13:30:33 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri, 3 Dec 2004 19:30:33 +0100 Subject: arrowkey bug? In-Reply-To: References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> Message-ID: >>Any chance you could post the actual code? > >:-) > >on arrowkey was > put was > ## resulted in the correct arrowkey, and ONLY ONE > switch was > case "up" > put "erste" into derbutton > break > case "right" > put "naechste" into derbutton > break > case "down" > put "letzte" into derbutton > break > case "left" > put "vorige" into derbutton > break > end switch > send "mouseup" to btn derbutton of cd 1 of stack (the navistack of me) >end arrowkey > >This script work with key "left" and "right" as exspected... > >With "up" the "left" with "down" the "right" is also executed immediately... I somehow doubt that the problem is with the above script. Have you checked the destination buttons? Duplicate buttons? Messages passed on? Have you tried using message watcher? Robert PS Not that this has any relation to your problem but have you thought to reduce the above script to on arrowkey was send "mouseup" to btn ("der" & was) of cd 1 of stack (the navistack of me) end arrowkey by renaming your four buttons? From sbonham at georgiasouthern.edu Fri Dec 3 13:57:08 2004 From: sbonham at georgiasouthern.edu (Steve Bonham) Date: Fri, 3 Dec 2004 13:57:08 -0500 Subject: on Openstack - on PreOpenStack - neither working Message-ID: Revers, I'm trying to get my stack to read (and put chunks of data into flds & variables) from a text file when the stack opens. Commands such as: open file myFile.txt (I'm using the fullpath) read line x from file myFile.txt until eof put line 1 of it into fld myField put line 2 of it into myVariable etc. in both "on OpenStack" and "on PreOpenStack" handlers (they are located in the stack script) result in no activity when I exit and reopen the stack. Funny thing is; IF I type "Openstack" or "PreOpenstack" into the message box and hit enter-- after opening the stack... it works beautifully! I also want the stack to write to the same file on when the user quits (I'm using "on closestack" and this handler is in the same stack script) and it works! I'm using Revolution 2.5 - on a Mac with OSX. I'm getting the same behavior in: run mode in Rev run mode in Rev when Developer Tools suppressed and in Dreamcard Player Can anyone tell me what's going on?-- or rather why my handlers are being ignored? Thx Steve -- -------------------------------------------------------------------------------------------------- Steve Bonham Director, Faculty Technology Development Laboratory Center for Excellence in Teaching - Georgia Southern University Statesboro, GA 30460-8143 -------------------------------------------------------------------------------------------------- From klaus at major-k.de Fri Dec 3 14:00:59 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Dec 2004 20:00:59 +0100 Subject: arrowkey bug? In-Reply-To: References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> Message-ID: Hi Robert, >>> Any chance you could post the actual code? >> >> :-) >> >> on arrowkey was >> put was >> ## resulted in the correct arrowkey, and ONLY ONE >> switch was >> case "up" >> put "erste" into derbutton >> break >> case "right" >> put "naechste" into derbutton >> break >> case "down" >> put "letzte" into derbutton >> break >> case "left" >> put "vorige" into derbutton >> break >> end switch >> send "mouseup" to btn derbutton of cd 1 of stack (the navistack of >> me) >> end arrowkey >> >> This script work with key "left" and "right" as exspected... >> >> With "up" the "left" with "down" the "right" is also executed >> immediately... > > I somehow doubt that the problem is with the above script. Have you > checked the destination buttons? Yes. > Duplicate buttons? No. > Messages passed on? ??? Sorry, don't get this one... You mean that "mouseup" might not make it to the buttons at all? See below -> "rawkeydown" > Have you tried using message watcher? Not yet. > Robert > > PS Not that this has any relation to your problem but have you thought > to reduce the above script to > > on arrowkey was > send "mouseup" to btn ("der" & was) of cd 1 of stack (the navistack > of me) > end arrowkey > > by renaming your four buttons? No. But sinde i have a working solution with "rawkeydown" i do not want to spend more time on this phenomenon, understandably ;-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From alw918 at earthlink.net Fri Dec 3 14:14:36 2004 From: alw918 at earthlink.net (Andrew) Date: Fri, 3 Dec 2004 11:14:36 -0800 Subject: Coding for windows standalone In-Reply-To: <20041203182030.656B193014D@mail.runrev.com> Message-ID: <927D8F82-455F-11D9-9792-000393DD0724@earthlink.net> Hi, I was hoping you could help me with a little problem. I'm have written a code, but for some reason it doesn't work in the windows standalone version. I understand that certain symbols like the "not-equals" sign are prohibited, and I have taken care to avoid all of these that I am aware of. However, I wonder if there is some sort of symbol or even syntax or possibly card object that I have used which is causing this problem. Can someone please provide me with or refer me to a basic list of things that I should avoid when making a stack with the intention of turning it into a Windows standalone? Thanks a million for all the help. I appreciate it greatly. -Andrew From ambassador at fourthworld.com Fri Dec 3 14:25:39 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Dec 2004 11:25:39 -0800 Subject: Coding for windows standalone In-Reply-To: <927D8F82-455F-11D9-9792-000393DD0724@earthlink.net> References: <927D8F82-455F-11D9-9792-000393DD0724@earthlink.net> Message-ID: <41B0BDB3.20302@fourthworld.com> Andrew wrote: > Can someone please provide me with or refer me to a basic list of > things that I should avoid when making a stack with the intention of > turning it into a Windows standalone? Windows is a big, weird mess. What was the specific problem? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From userev at canelasoftware.com Fri Dec 3 14:25:44 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 3 Dec 2004 11:25:44 -0800 Subject: arrowkey bug? In-Reply-To: References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> Message-ID: <20E23E20-4561-11D9-9878-000393C3F5BC@canelasoftware.com> On Dec 3, 2004, at 10:19 AM, Klaus Major wrote: > This script work with key "left" and "right" as exspected... > > With "up" the "left" with "down" the "right" is also executed > immediately... I know that you have a working solution. For fun, my first guess is that something else is trapping the up and down keys. Is it possible that the variable derbutton still contains the last content of either "right" or "left" (you translate for me to German)? Man...your script looks good to me though. Strange indeed. -- Best regards, Mark Talluto http://www.canelasoftware.com From webmaster at dreamscapesoftware.com Fri Dec 3 14:28:28 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 3 Dec 2004 13:28:28 -0600 Subject: Coding for windows standalone References: <927D8F82-455F-11D9-9792-000393DD0724@earthlink.net> Message-ID: <00f801c4d96e$4486ee60$6501a8c0@DOWNSTAIRS> Andrew, I've been developing stacks on Windows for over 3 years now and I really don't know what types of things to "avoid" that your talking about. Could you be more specific? Possibly an Error message? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From runrev at jkvaldez.com Fri Dec 3 14:58:10 2004 From: runrev at jkvaldez.com (runrev at jkvaldez.com) Date: Fri, 3 Dec 2004 14:58:10 -0500 (EST) Subject: openField won't select all text but Rev reference says it should Message-ID: <42693.127.0.0.1.1102103890.squirrel@127.0.0.1> The built-in rev dictionary says you can select the entire text in a field by: on openField select text of the target end openField This doesn't work for me. I create a new stack, drag out a scrolling text field, enter the above handler/script. It works only if I tab into the fld. But if I click it, I can see it briefly hilite the text but then immediately set the insertion point where I clicked--so no selected text. I'm using OSX 10.3, rev 2.5. I didn't see anything in bugzilla or posted in the list. Anyone experiencing this? From Cubist at aol.com Fri Dec 3 15:05:05 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 3 Dec 2004 15:05:05 EST Subject: Windows standalone no-nos Message-ID: <81.1c302991.2ee220f1@aol.com> sez alw918 at earthlink.net: >Hi, quick question. I remember that when creating a Revolution stack >that I intend to turn into a Windows standalone that I need to avoid >certain characters >like the greater-than equals sign, etc. But I have forgotten what >other symbols I'm not allowed to use. Is there a comprehensive list >available somewhere of these Windows no-nos? >Thanks Anything with an ASCII value higher than 127. This is because the ASCII standard only defines characters for numbers 0 thru 127; anything beyond that, i.e. the so-called "high ASCII" characters, is left to the whim of whichever implementors. This handler will show you all of those bad boys: on ShowMeBadBoys put "" into Rezult repeat with K1 = 128 to 255 put numToChar (K1) after Rezult if (the length of Rezult) mod 32 = 0 then put return after Rezult end repeat answer Rezult end ShowMeBadBoys If you need a more permanent record of Rezult, you can modify this handler to print it out or store it in a field or whatever... From fde101 at fjrhome.net Fri Dec 3 15:19:40 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 3 Dec 2004 15:19:40 -0500 Subject: Coding for windows standalone In-Reply-To: <00f801c4d96e$4486ee60$6501a8c0@DOWNSTAIRS> References: <927D8F82-455F-11D9-9792-000393DD0724@earthlink.net> <00f801c4d96e$4486ee60$6501a8c0@DOWNSTAIRS> Message-ID: As far as symbols to avoid, don't use anything that is not on a typical keyboard. No "option" key stuff. On Dec 3, 2004, at 2:28 PM, Derek Bump wrote: > Andrew, > > I've been developing stacks on Windows for over 3 years now and I > really don't know what types of things to "avoid" that your talking > about. Could you be more specific? Possibly an Error message? > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From dsc at swcp.com Fri Dec 3 15:39:26 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 13:39:26 -0700 Subject: arrowkey bug? In-Reply-To: References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> Message-ID: <6C0C632C-456B-11D9-BE4C-000A9567A3E6@swcp.com> On Dec 3, 2004, at 11:19 AM, Klaus Major wrote: > This script work with key "left" and "right" as exspected... > > With "up" the "left" with "down" the "right" is also executed > immediately... On my system (OS X 10.3.6 with US keyboard), I get "up" and "down" but never "left" or "right". If I suspend dev tools, I do get "left" and "right" and a command put into the command field of the message box. In neither case do I get multiple hits. My card script: on arrowkey was put was & "; " after message end arrowkey Bug? Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Fri Dec 3 16:16:41 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 14:16:41 -0700 Subject: Progress on preventing multiple instances of a programfromrunning in windows In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5A8@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5A8@m-epo-1.epo.cdc.gov> Message-ID: On Dec 3, 2004, at 11:17 AM, Lynch, Jonathan wrote: > What I am finding is that it is forcing the TCP listen without even > using the accept command. The following script: > > Open socket to "127.0.0.1:48953" > Write "Greetings" to socket "127.0.0.1:48953" > Close socket "127.0.0.1:48953" > > Causes the instance that ran this script to start listening to port > 48953. Shouldn't it only do that if the script actually uses the accept > command? Rev is helping you by not waiting around for the open. I put a field and a button on a card with this script in the button: on mouseUp put empty into field "field" open socket to "127.0.0.1:48953" put "open result: " & the result & lf after field "field" write "Greetings" to socket "127.0.0.1.48953" put "write result: " & the result & lf after field "field" put "openSockets(): " & lf & the openSockets & lf after field "field" put "netstat report: " & lf & shell("netstat -a -p TCP") & lf after field "field" close socket "127.0.0.1:48953" put "close result: " & the result & lf after field "field" put "netstat report: " & lf & shell("netstat -a -p TCP") & lf after field "field" end mouseUp This put this in the field (with the netstat reports cut out): open result: write result: socket is not open openSockets(): 127.0.0.1:48953 netstat report: Active Connections Proto Local Address Foreign Address State [no 48953] close result: netstat report: Active Connections Proto Local Address Foreign Address State [no 48953] The open only starts the opening sequence. The socket is put into open sockets tentatively. The write should wait for timeout or success or a refusal. The above example gets the connection refusal and there is an error in the write. The openSockets() still includes the socket even after open fails, which I think is a bug. The close socket gets no error, which I think is part of the same bug. On my system I did not see any reference to 48953 in the netstat report. You might want to add -n to the netstat command and stop it from flashing a window on Windows. I ran the same test on OS X and it worked the same except it (correctly) got an error on the close. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From klaus at major-k.de Fri Dec 3 16:21:10 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Dec 2004 22:21:10 +0100 Subject: arrowkey bug? In-Reply-To: <20E23E20-4561-11D9-9878-000393C3F5BC@canelasoftware.com> References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> <20E23E20-4561-11D9-9878-000393C3F5BC@canelasoftware.com> Message-ID: <40DE519A-4571-11D9-AB87-000A27B49A96@major-k.de> Hi Mark, > On Dec 3, 2004, at 10:19 AM, Klaus Major wrote: > >> This script work with key "left" and "right" as exspected... >> With "up" the "left" with "down" the "right" is also executed >> immediately... > > I know that you have a working solution. For fun, my first guess is > that something else is > trapping the up and down keys. Might be, but what the heck? > Is it possible that the variable derbutton still contains the last > content of either > "right" or "left" (you translate for me to German)? erste = first naechste = next vorige = previous letzte = last But how could that be??? I am setting the content of derbutton (= thebutton :-) all the time! Very "outlandish" explanation :-D > Man...your script looks good to me though. Thanks... > Strange indeed. Right-O :-) > Best regards, > Mark Talluto > http://www.canelasoftware.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Dec 3 16:27:18 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Dec 2004 22:27:18 +0100 Subject: arrowkey bug? In-Reply-To: <6C0C632C-456B-11D9-BE4C-000A9567A3E6@swcp.com> References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> <6C0C632C-456B-11D9-BE4C-000A9567A3E6@swcp.com> Message-ID: <1BDA6742-4572-11D9-AB87-000A27B49A96@major-k.de> Hi Dar, > On Dec 3, 2004, at 11:19 AM, Klaus Major wrote: > >> This script work with key "left" and "right" as exspected... >> >> With "up" the "left" with "down" the "right" is also executed >> immediately... > > On my system (OS X 10.3.6 with US keyboard), I get "up" and "down" but > never "left" or "right". ??? > If I suspend dev tools, I do get "left" and "right" and a command put > into the command field > of the message box. > > In neither case do I get multiple hits. > > My card script: > > on arrowkey was > put was & "; " after message > end arrowkey I also added "put was" to my script and got the correct arrowkey in the message box every time, and always once, as it should be... > Bug? I'd rather say "the ghost in the machine"! I am sure it would work fine tomorrow, if i actually tried... But won't, since i don't believe in ghosts and stuff :-D ("rawkeydown" is more suitable to my needs anyway...) Have a nice weekend :-) > Dar > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** Best Klaus Major klaus at major-k.de http://www.major-k.de From userev at canelasoftware.com Fri Dec 3 16:42:17 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 3 Dec 2004 13:42:17 -0800 Subject: arrowkey bug? In-Reply-To: <6C0C632C-456B-11D9-BE4C-000A9567A3E6@swcp.com> References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> <6C0C632C-456B-11D9-BE4C-000A9567A3E6@swcp.com> Message-ID: <33E98064-4574-11D9-9427-000393C3F5BC@canelasoftware.com> On Dec 3, 2004, at 12:39 PM, Dar Scott wrote: > On my system (OS X 10.3.6 with US keyboard), I get "up" and "down" but > never "left" or "right". > > If I suspend dev tools, I do get "left" and "right" and a command put > into the command field of the message box. > > In neither case do I get multiple hits. > > My card script: > > on arrowkey was > put was & "; " after message > end arrowkey > > Bug? On my system I have disabled in Rev's Prefs the ability to navigate cards via the arrow keys. Maybe this has a positve/negative effect related to this. -- Best regards, Mark Talluto http://www.canelasoftware.com From Roger at logram.com Fri Dec 3 16:43:00 2004 From: Roger at logram.com (Roger Amar) Date: Fri, 3 Dec 2004 22:43:00 +0100 Subject: DLL problem Message-ID: <028383377603B34D9728A1E80EA9B43B0131B9@srv.Logram.local> Hello Gordon, You are a very nice guy ! When I try to compile your project I get 120 errors; here are some samples of them : Error : identifier expected shellapi.h line 53 DECLARE_HANDLE(HDROP); Error : illegal function definition shellapi.h line 55 EXTERN_C DECLSPEC_IMPORT UINT STDAPICALLTYPE Error : illegal function definition XCmdGlue.h line 39 } Xternal; Error : illegal function definition ScanningServerPlugin.h line 5 void XCabort(); Error : illegal function definition ScanningServerPlugin.h line 6 char Xname[]; Error : illegal function definition ScanningServerPlugin.h line 7 Xternal Xtable[]; Maybe is missing something like a library or header ? What do you think about ? Roger; -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon Tillman Envoy? : vendredi 3 d?cembre 2004 15:25 ? : How to use Revolution Objet : Re: DLL problem Howdy Roger, Please do let me know how it goes. Holler at me if you have any questions. On Dec 3, 2004, at 06:06, Roger Amar wrote: > Thanks a lot Gordon ! > I'll try to find what is wrong and keep you informed. > Roger; Feel free to try out the externals that are included in that project. One does a crc32 calculation on a file (osx / windows), and on the windows there are externals to put an icon in the system tray and remove it. When the user clicks on the icon it shows your stack. This lets you have a stack that can run with no window but still be made visible when desired. --gordon _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Dec 3 16:43:13 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Dec 2004 13:43:13 -0800 Subject: CSV spec and the failure that is MSDN Message-ID: <41B0DDF1.4030605@fourthworld.com> Anyone know where I can find the official spec for the CSV formats used by Micro$oft Access, Micro$oft Excel, and the the spec used by the rest of the world? All three differ from one another, and according to some Micro$oft has changed how CSV is implemented in Excel at least once, maybe twice, so it would be good to find historical specs as well. So far the best I can find is this page: Nice, but doesn't cover the change, nor Access at all, and if from a third party so I have no way to know how current or thorough it is. At least with Micro$oft-published specs I can point customers to the source if they have a problem. Some of the differences include how/whether returns, tabs, commas, and quotes are escaped. For example, some programs output CSV with quotes escaped with \q, and others with \", and others with "". Fun eh? And that's just the beginning. I've tried looking through MSDN, but everytime I try to use that archaic search engine I get more headaches than results. If any of you know the secret recipe to finding how Microsoft defines CSV in its products I'd be much obliged. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Fri Dec 3 16:47:59 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 3 Dec 2004 14:47:59 -0700 Subject: arrowkey bug? In-Reply-To: <33E98064-4574-11D9-9427-000393C3F5BC@canelasoftware.com> References: <3C202F8C-4555-11D9-9878-000393C3F5BC@canelasoftware.com> <6C0C632C-456B-11D9-BE4C-000A9567A3E6@swcp.com> <33E98064-4574-11D9-9427-000393C3F5BC@canelasoftware.com> Message-ID: On Dec 3, 2004, at 2:42 PM, Mark Talluto wrote: > On my system I have disabled in Rev's Prefs the ability to navigate > cards via the arrow keys. Maybe this has a positve/negative effect > related to this. Doh! From got at mindspring.com Fri Dec 3 17:09:55 2004 From: got at mindspring.com (Gordon Tillman) Date: Fri, 3 Dec 2004 16:09:55 -0600 Subject: DLL problem In-Reply-To: <028383377603B34D9728A1E80EA9B43B0131B9@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B0131B9@srv.Logram.local> Message-ID: <105B9BF7-4578-11D9-8DA1-000A95ADFC4C@mindspring.com> Hi Roger! I'm wondering if the problem is with different version of Codewarrior? check the following: User Paths: {Project} {Project}../RunRevExternalSDK/ System Paths {Compiler}MSL/ {Compiler}Win32-x86 Support C/C++ Preprocessor #define WIN32 Windows RC / Prefix File: ResourcePrefix.h C/C++ Language enable bool support enable wchar_t support require function prototypes enums always int reuse strings auto-inline bottom-up inlining If you have questions you can give me a call: 800-937-8227 Just ask for me. --gordon On Dec 3, 2004, at 15:43, Roger Amar wrote: > Hello Gordon, > > You are a very nice guy ! > When I try to compile your project I get 120 errors; here are some > samples of them : > > Error : identifier expected > shellapi.h line 53 DECLARE_HANDLE(HDROP); > > Error : illegal function definition > shellapi.h line 55 EXTERN_C DECLSPEC_IMPORT UINT STDAPICALLTYPE > > Error : illegal function definition > XCmdGlue.h line 39 } Xternal; > > Error : illegal function definition > ScanningServerPlugin.h line 5 void XCabort(); > > Error : illegal function definition > ScanningServerPlugin.h line 6 char Xname[]; > > Error : illegal function definition > ScanningServerPlugin.h line 7 Xternal Xtable[]; > > Maybe is missing something like a library or header ? > > What do you think about ? > > Roger; > > > -----Message d'origine----- > De : use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon > Tillman > Envoy? : vendredi 3 d?cembre 2004 15:25 > ? : How to use Revolution > Objet : Re: DLL problem > > Howdy Roger, > > Please do let me know how it goes. Holler at me if you have any > questions. > > On Dec 3, 2004, at 06:06, Roger Amar wrote: > >> Thanks a lot Gordon ! >> I'll try to find what is wrong and keep you informed. >> Roger; > > Feel free to try out the externals that are included in that project. > One does a crc32 calculation on a file (osx / windows), and on the > windows there are externals to put an icon in the system tray and > remove it. When the user clicks on the icon it shows your stack. > This lets you have a stack that can run with no window but still be > made visible when desired. > > --gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger at logram.com Fri Dec 3 17:33:28 2004 From: Roger at logram.com (Roger Amar) Date: Fri, 3 Dec 2004 23:33:28 +0100 Subject: DLL problem Message-ID: <028383377603B34D9728A1E80EA9B43B0131BA@srv.Logram.local> Hi Gordon, Unfortunately, no changes. Since it is 23:32 here in France, I'm going to bed ! I'll try again tomorrow and keep you informed. Thanks again, Roger; -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon Tillman Envoy? : vendredi 3 d?cembre 2004 23:10 ? : How to use Revolution Objet : Re: DLL problem Hi Roger! I'm wondering if the problem is with different version of Codewarrior? check the following: User Paths: {Project} {Project}../RunRevExternalSDK/ System Paths {Compiler}MSL/ {Compiler}Win32-x86 Support C/C++ Preprocessor #define WIN32 Windows RC / Prefix File: ResourcePrefix.h C/C++ Language enable bool support enable wchar_t support require function prototypes enums always int reuse strings auto-inline bottom-up inlining If you have questions you can give me a call: 800-937-8227 Just ask for me. --gordon On Dec 3, 2004, at 15:43, Roger Amar wrote: > Hello Gordon, > > You are a very nice guy ! > When I try to compile your project I get 120 errors; here are some > samples of them : > > Error : identifier expected > shellapi.h line 53 DECLARE_HANDLE(HDROP); > > Error : illegal function definition > shellapi.h line 55 EXTERN_C DECLSPEC_IMPORT UINT STDAPICALLTYPE > > Error : illegal function definition > XCmdGlue.h line 39 } Xternal; > > Error : illegal function definition > ScanningServerPlugin.h line 5 void XCabort(); > > Error : illegal function definition > ScanningServerPlugin.h line 6 char Xname[]; > > Error : illegal function definition > ScanningServerPlugin.h line 7 Xternal Xtable[]; > > Maybe is missing something like a library or header ? > > What do you think about ? > > Roger; > > > -----Message d'origine----- > De : use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon > Tillman Envoy? : vendredi 3 d?cembre 2004 15:25 ? : How to use > Revolution Objet : Re: DLL problem > > Howdy Roger, > > Please do let me know how it goes. Holler at me if you have any > questions. > > On Dec 3, 2004, at 06:06, Roger Amar wrote: > >> Thanks a lot Gordon ! >> I'll try to find what is wrong and keep you informed. >> Roger; > > Feel free to try out the externals that are included in that project. > One does a crc32 calculation on a file (osx / windows), and on the > windows there are externals to put an icon in the system tray and > remove it. When the user clicks on the icon it shows your stack. > This lets you have a stack that can run with no window but still be > made visible when desired. > > --gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From immunoteam at yahoo.com Fri Dec 3 19:54:11 2004 From: immunoteam at yahoo.com (Anna Shn) Date: Fri, 3 Dec 2004 16:54:11 -0800 (PST) Subject: Fwd: CrossPlatform Usability and Text Formatting Message-ID: <20041204005411.9221.qmail@web50907.mail.yahoo.com> Hello, I created a Revolution-Dreamcard standalone application. I chose OS10 and Windows in the Standalone Application Settings but, when I go to a PC and open "immunology.exe", I lose all of the text [size, style, font, etc] formatting I prepared in the OS10 editing version. How can I make an application which is truly cross-platform? Is there any way to preserve the text formatting when I go to Windows [I already tried changing all the font to Times New Roman, which solved the problem of style but since Times in Windows is slightly different than in OS10, the text was shifted when I tried to run the standalone application on a PC]? As a separate question, how it is possible to use HTML within a field. Can I do something like "Hello! my name is Anna? Where Hello is bold and Anna is italicized within a single field? Thank you! Anna __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From runrev at jkvaldez.com Fri Dec 3 21:23:27 2004 From: runrev at jkvaldez.com (runrev at jkvaldez.com) Date: Fri, 3 Dec 2004 21:23:27 -0500 (EST) Subject: "select text of" won't select text but Rev docs says it does. (was openField....) Message-ID: <45147.127.0.0.1.1102127007.squirrel@127.0.0.1> Sorry to resubmit this topic, but the subject I had used earlier is misleading. This should make the problem more clear. The built-in rev dictionary (located in Help: Objects > Field > Message > openField) says you can select the entire text in a field by: on openField -- when clicking in the field, select all its text select text of the target end openField This doesn't work for me. Create a new stack, drag out a scrolling text field, enter the above handler/script. It works only if I tab into the fld. But if I click it, I can see it briefly hilite the text but then it immediately sets the insertion point where I clicked--so no text is selected. I'm using OSX 10.3, rev 2.5. I didn't see anything in bugzilla or posted in the list. Anyone experiencing this? From ambassador at fourthworld.com Fri Dec 3 22:35:02 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Dec 2004 19:35:02 -0800 Subject: Fwd: CrossPlatform Usability and Text Formatting In-Reply-To: <20041204005411.9221.qmail@web50907.mail.yahoo.com> References: <20041204005411.9221.qmail@web50907.mail.yahoo.com> Message-ID: <41B13066.5030707@fourthworld.com> Anna Shn wrote: > I created a Revolution-Dreamcard standalone > application. I chose OS10 and Windows in the > Standalone Application Settings but, when I go to a PC > and open "immunology.exe", I lose all of the text > [size, style, font, etc] formatting I prepared in the > OS10 editing version. How can I make an application > which is truly cross-platform? Is there any way to > preserve the text formatting when I go to Windows > [I already tried changing all the font to Times > New Roman, which solved the problem of style but > since Times in Windows is slightly different than > in OS10, the text was shifted when I tried to run > the standalone application on a PC]? Welcome to cross-platform computing. If you think making cross-platform software is hard, try making web sites that look even remotely related across platforms. ;) Windows and OS X use very different mechanisms and for the most part different font definitions to render text on screen. Since most of my apps are production tools I tend to prefer having different fonts on each platform, adhering to the HIGs for each where practical, but I understand that for multimedia and other specialized applications it can sometimes be desirable to try to get the same look on both systems. There was a thread here a couple weeks ago on this -- anyone have the time to put that into the FAQ? > As a separate question, how it is possible to use HTML > within a field. Can I do something like "Hello! > my name is Anna? Where Hello is bold and Anna > is italicized within a single field? set the htmlText of fld 1 to "Hello! My name is"\ &"Anna" -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Sat Dec 4 00:26:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Dec 2004 21:26:53 -0800 Subject: QT->MP3? In-Reply-To: <1101819352.27948.58.camel@rachmaninov.runtime> References: <20041130102517.BBDE29300D4@mail.runrev.com> <41AC57AD.1000301@fourthworld.com> <1101819352.27948.58.camel@rachmaninov.runtime> Message-ID: <41B14A9D.3080300@fourthworld.com> Mark Waddingham wrote: > I'd imagine one reason Apple pulled support for MP3 from the QT API was > the software patents held by Frauhoffer in several countries (including > Germany and the US). From what I understand of the situation Frauhoffer > are 'entitled' to (and enforce) a fee for every 'MP3 encoder' > distributed (whether it be for no cost or not). > > Unfortunately, the legal issues surrounding the incorporation of support > for MP3 encoding/decoding in the engine are muddy at best and would > probably require many hours of a patent lawyer's time to correctly > determine. On my planet we have a rule: If you keep silent about your patent and only choose to enforce _after_ you've seduced the entire world into using your work, that's recognized as bait-and-switch and your patent awarded to the public domain. We've seen this with GIF, JPEG, and now MP3. Where is the patent holder with the honesty to enforce a patent _before_ tens of millions of people invest in it? Thank gawd Compton's was backed down, or we'd all be paying them royalties everytime we backup with two or more different file formats on the CD.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION at barncard.com Sat Dec 4 00:46:42 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 3 Dec 2004 21:46:42 -0800 Subject: devolution available Message-ID: Richard - beautiful work on your Devolution tools - however I've run into a snag on the 4W script editor section - selecting that generates an error when opening and closing the "Editor Card". It appears you have alternate versions of that part that didn't get properly linked. I might be able to hack a fix, however I'm not totally familiar on it's hooked up, and also also you might be preparing a fix as I speak! Anyway, great design, nice coding and really useful tools.. thanks stephen barncard >While the "official" release of devolution isn't until next week, >you folks can download it today: > > > >Please send any bug reports to devo at fourthworld.com > >Enjoy! > >-- > Richard Gaskin > Fourth World Media Corporation From ambassador at fourthworld.com Sat Dec 4 01:42:25 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Dec 2004 22:42:25 -0800 Subject: devolution available In-Reply-To: References: Message-ID: <41B15C51.2010904@fourthworld.com> Stephen Barncard wrote: > Richard - beautiful work on your Devolution tools - however I've run > into a snag on the 4W script editor section - selecting that generates > an error when opening and closing the "Editor Card". It appears you > have alternate versions of that part that didn't get properly linked. I > might be able to hack a fix, however I'm not totally familiar on it's > hooked up, and also also you might be preparing a fix as I speak! > > Anyway, great design, nice coding and really useful tools.. thanks Thank you for the kind words. I should probably note in the docs that the Script Editor was designed for use in the MC IDE. It would be nice if it worked in Rev, but Rev already has the only feature I cloned mine out of MC to modify: the handler list on the left. If you feel like modifying it maybe the best thing might be for me to break that out into a separate stack file. Then you and/or anyone else could each contribute a little here and a little there and one day it might become a good editor. :) Anyone else interested in working on a script editor if it were open source? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sat Dec 4 01:58:54 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Dec 2004 22:58:54 -0800 Subject: devolution available In-Reply-To: <41B15C51.2010904@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > Anyone else interested in working on a script editor if it were open source? I might go for that. Regardless, breaking it out into a separate stack would make it much easier to deal with. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Sat Dec 4 01:59:21 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 04 Dec 2004 00:59:21 -0600 Subject: CSV-parsing post? In-Reply-To: <41B099E5.9010701@fourthworld.com> Message-ID: On 12/3/04 10:52 AM, "Richard Gaskin" wrote: > MisterX wrote: > >>> Richard Gaskin wrote: >>> I could have sworn I'd seen a post here in parsing CSV files >>> recently, but now that I'm in a position to test it I can't >>> turn it up. >>> >>> W ould the poster kindly re-post? Thanks in advnance - >> >> c for commas or c for concurrent ;) > > In "CSV" the "C" stands for "comma" ("comma-separated values"). "C" > stands for "concurrent" in "CVS". > > You and I both currently use a method that walks through the data > character by character, but the method I'm looking for uses the split > command in a novel way with a ten-fold speed improvement. Here's what I have from Alex Tweedly that uses split: function CSV2Tab3 pData local tNuData -- contains tabbed copy of data local tReturnPlaceholder -- replaces cr in field data to avoid line -- breaks which would be misread as records; -- replaced later during dislay local tEscapedQuotePlaceholder -- used for keeping track of quotes -- in data local tInQuotedText -- flag set while reading data between quotes -- put numtochar(11) into tReturnPlaceholder -- vertical tab as -- placeholder put numtochar(2) into tEscapedQuotePlaceholder -- used to simplify -- distinction between quotes in data and those -- used in delimiters -- -- Normalize line endings: replace crlf with cr in pData -- Win to UNIX replace numtochar(13) with cr in pData -- Mac to UNIX -- -- Put placeholder in escaped quote (non-delimiter) chars: replace ("\""e) with tEscapedQuotePlaceholder in pData replace quote"e with tEscapedQuotePlaceholder in pData -- Message-ID: On 12/4/04 12:42 AM, "Richard Gaskin" wrote: > Anyone else interested in working on a script editor if it were open source? Count me in... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dick.kriesel at mail.com Sat Dec 4 02:53:41 2004 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 03 Dec 2004 23:53:41 -0800 Subject: devolution available In-Reply-To: <41B15C51.2010904@fourthworld.com> Message-ID: On 12/3/04 10:42 PM, "Richard Gaskin" wrote: > Anyone else interested in working on a script editor if it were open source? If it would be integrated with the Rev debugger, then I'd want to join in the effort. Would it? -- Dick From jsng at wayoflife.org Sat Dec 4 08:25:56 2004 From: jsng at wayoflife.org (Jesse Sng) Date: Sat, 4 Dec 2004 21:25:56 +0800 Subject: RealBasic 5.5 vs Revolution article In-Reply-To: <5.2.0.8.2.20041203161147.00c02d68@alf.uib.no> References: <5.2.0.8.2.20041203161147.00c02d68@alf.uib.no> Message-ID: Hi, Just thought you might want to know that there was a brief comparison between Revolution and RealBasic 5.5 in this article: http://www.applelust.com/reviews/archives/realbasic55/ Jesse From jsng at wayoflife.org Sat Dec 4 08:32:34 2004 From: jsng at wayoflife.org (Jesse Sng) Date: Sat, 4 Dec 2004 21:32:34 +0800 Subject: Cross platform search database In-Reply-To: <5.2.0.8.2.20041203161147.00c02d68@alf.uib.no> References: <5.2.0.8.2.20041203161147.00c02d68@alf.uib.no> Message-ID: Hi, I would like to build a cross platform app that would be shipped on a CD-ROM that contains a whole collection of html files. Previously, we had to depend on a Java applet, but that had all sorts of problems with XP and also OS X and works on certain browsers only. I would like to abandon that and use Revolution as the engine if possible. My question is this: What would be the best approach to building this? I did have some preliminary code to recursively decend down a series of folders and then the general idea would be to load up the text into cards and allow text searching on those cards? My understanding from some of the previous discussions is that the entire stack is loaded into memory and that would mean that the more content there is, the more memory would be required for that. Are there any other approaches to this? Can a stack keep most of its data on the hard disk and still be searchable for its text? I don't have a problem with keeping the redundant text inside Revolution stacks. My goal in the long term is to do away with the html files totally (lots of legacy files) and to have everything presented from within Revolution itself. The goal is to allow text searching, which will show up a bunch of hits in a window and a scrolling list and then allow the user to click on one of those choices and then launch back into the browser window to see the actual file. I would appreciate it if there are any pointers or suggestions as to how to best go about doing this. In the old days of Hypercard and Supercard, it would have been a matter of just throwing everything into individual cards on a stack and the stack contents are paged from the hard drive. If everything is preloaded into memory in Revolution, then I might have a problem ultimately as the contents grow before I am able to make a full transition a cd-rom that's entirely done using Revolution. Jesse Sng From b.xavier at internet.lu Sat Dec 4 09:41:52 2004 From: b.xavier at internet.lu (MisterX) Date: Sat, 4 Dec 2004 15:41:52 +0100 Subject: CSV spec and the failure that is MSDN In-Reply-To: <41B0DDF1.4030605@fourthworld.com> Message-ID: <20041204143332.1DC5D93008D@mail.runrev.com> Welcome to Windows! It might be easiest to write a vbs exporter to correct their crap... I would search in that direction first. Second option: use tab file export or DBF (I think DBF is uppercase ASCII data but i might be wrong). Moft sux in exporting data - they've never had any any or any consistency at all for crossplatformness - in the very least. But a bit of vbs would be the way to go. You can invoke vbs or wsh (windows scripting host) with the shell and just type your scripts in a stack. There's also export options if I remember in excel. Access I avoid az muuuch az pazeebel. Crapware warning. Dont use msdn, use technet.microsoft.com! ;) cheerios man! Xav I use RunRev to evade Windows daily! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Friday, December 03, 2004 22:43 > To: How to use Revolution > Subject: CSV spec and the failure that is MSDN > > Anyone know where I can find the official spec for the CSV > formats used by Micro$oft Access, Micro$oft Excel, and the > the spec used by the rest of the world? > > All three differ from one another, and according to some > Micro$oft has changed how CSV is implemented in Excel at > least once, maybe twice, so it would be good to find > historical specs as well. > > So far the best I can find is this page: > > > Nice, but doesn't cover the change, nor Access at all, and if > from a third party so I have no way to know how current or > thorough it is. At least with Micro$oft-published specs I > can point customers to the source if they have a problem. > > Some of the differences include how/whether returns, tabs, > commas, and quotes are escaped. For example, some programs > output CSV with quotes escaped with \q, and others with \", > and others with "". Fun eh? And that's just the beginning. > > I've tried looking through MSDN, but everytime I try to use > that archaic search engine I get more headaches than results. > > If any of you know the secret recipe to finding how Microsoft > defines CSV in its products I'd be much obliged. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Dec 4 09:59:06 2004 From: b.xavier at internet.lu (MisterX) Date: Sat, 4 Dec 2004 15:59:06 +0100 Subject: Cross platform search database In-Reply-To: Message-ID: <20041204145045.94BB19300C2@mail.runrev.com> Hi Jesse! > I would like to build a cross platform app that would be > shipped on a CD-ROM that contains a whole collection of html files. We'll see about that! I'll give you another approach list that could maybe fit... > Previously, we had to depend on a Java applet, but that had > all sorts of problems with XP and also OS X and works on > certain browsers only. > I would like to abandon that and use Revolution as the engine > if possible. Very good choice! You'll see that you can go beyond HTML in no time without much trouble and better results just like in the old days! > My question is this: What would be the best approach to building this? Since HyperCard, the stack is the dataholder and the application. This is one approach. The other which is the application accessing the data stored externally is the lighter approach. Memory isn't usually a problem but oversized stacks can be. So you can easily create a GUI to browse through the folders and load the data from text files. I find it easier to grab data off stack files (which can be encrypted and loaded hidden!) It all depends on the data... > I did have some preliminary code to recursively decend down a > series of folders and then the general idea would be to load > up the text into cards and allow text searching on those cards? Well, if the stack has the text files imported, you wont need to reload them after. A stack is also very easy to search... > My understanding from some of the previous discussions is > that the entire stack is loaded into memory and that would > mean that the more content there is, the more memory would be > required for that. The optimal size depends on the granularity of your data. Lots of records or huge records or both? Lots of searching "what?" You can always index stack content and distribute it like a linked list or double linked list record database (you keep a link to a card in a stack and that's a link! This is really fast for multi leveled records or hierarchical databases. Imagine you have a dictionary or encyclopedia. You can't put it all in one stack! So you can break it down into subjects or alphabetical groupings or usage frequency or by geographical / ethimological source! > Are there any other approaches to this? Can a stack keep most > of its data on the hard disk and still be searchable for its text? Yes. Yes! But I would keep images separated... If there's over a hundred images, keep them off-stack with the relative path to the image. You can ammend the real path at runtime or preload the images into the stack you display - choices are infinite... > I don't have a problem with keeping the redundant text inside > Revolution stacks. My goal in the long term is to do away > with the html files totally (lots of legacy files) and to > have everything presented from within Revolution itself. no prob. RunRev apps run locally or off the pc without installers. I would assume the same from Macs or Linux but not sure as I've not tried them yet. > The goal is to allow text searching, which will show up a > bunch of hits in a window and a scrolling list and then allow > the user to click on one of those choices and then launch > back into the browser window to see the actual file. > I would appreciate it if there are any pointers or > suggestions as to how to best go about doing this. There's at least a million stacks out there with examples of databases. Lots of links to show... But I can proudly say you can find examples for all you want in monsieurx.com. You have HTML parsers - the DiscreteBrowser stack You have databases - Search for csv (a simple csv file importer with field parser to create a stack database. Or search for xos an advanced virtual database meta-format OS. There's an example self documenting of sorts stack too... > In the old days of Hypercard and Supercard, it would have > been a matter of just throwing everything into individual > cards on a stack and the stack contents are paged from the > hard drive. If everything is preloaded into memory in > Revolution, then I might have a problem ultimately as the > contents grow before I am able to make a full transition a > cd-rom that's entirely done using Revolution. Still is actually! Just with mo features to throw at the client! Cheers Xavier From Meitnik at aol.com Sat Dec 4 12:49:22 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sat, 4 Dec 2004 12:49:22 EST Subject: open source script editor... Message-ID: <1a2.2c453830.2ee352a2@aol.com> In a message dated 12/4/04 12:07:52 PM, use-revolution-request at lists.runrev.com writes: > Anyone else interested in working on a script editor if it were open > source? > -- count me in. Andrew From jacque at hyperactivesw.com Sat Dec 4 13:49:53 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Dec 2004 12:49:53 -0600 Subject: "select text of" won't select text but Rev docs says it does. (was openField....) In-Reply-To: <45147.127.0.0.1.1102127007.squirrel@127.0.0.1> References: <45147.127.0.0.1.1102127007.squirrel@127.0.0.1> Message-ID: <41B206D1.5000504@hyperactivesw.com> On 12/3/04 8:23 PM, runrev at jkvaldez.com wrote: > Sorry to resubmit this topic, but the subject I had used earlier is > misleading. This should make the problem more clear. > > The built-in rev dictionary (located in Help: Objects > Field > Message > > openField) says you can select the entire text in a field by: > > on openField -- when clicking in the field, select all its text > select text of the target > end openField > > This doesn't work for me. Create a new stack, drag out a scrolling text > field, enter the above handler/script. It works only if I tab into the > fld. But if I click it, I can see it briefly hilite the text but then it > immediately sets the insertion point where I clicked--so no text is > selected. > > I'm using OSX 10.3, rev 2.5. I didn't see anything in bugzilla or posted > in the list. Anyone experiencing this? Yes, but it isn't a bug, it is the natural result of the message sending hierarchy. When the field opens, the handler runs and selects all the text, but then Rev's built-in behavior sets the cursor in the text, which deselects it and places the insertion point at the location of the click. I was able to get the text to remain selected by changing the handler name from "openfield" to "selectionchanged": on selectionChanged select text of the target end selectionChanged This isn't ideal, since any time the user clicks in the field -- even if the field is already open for editing -- the text will become selected. This only happens every other time though, since if the user clicks a second time within the fully-selected text, the text deselects and the insertion point is placed (just like what happens in your openField handler.) Depending on how your stack works, this may be good enough. If not, write again and maybe we can brainstorm. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 4 13:57:08 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Dec 2004 12:57:08 -0600 Subject: Fwd: CrossPlatform Usability and Text Formatting In-Reply-To: <20041204005411.9221.qmail@web50907.mail.yahoo.com> References: <20041204005411.9221.qmail@web50907.mail.yahoo.com> Message-ID: <41B20884.1080306@hyperactivesw.com> On 12/3/04 6:54 PM, Anna Shn wrote: > Hello, > > I created a Revolution-Dreamcard standalone > application. I chose OS10 and Windows in the > Standalone Application Settings but, when I go to a PC > and open "immunology.exe", I lose all of the text > [size, style, font, etc] formatting I prepared in the > OS10 editing version. How can I make an application > which is truly cross-platform? Is there any way to > preserve the text formatting when I go to Windows [I already tried changing all the font to Times New Roman, which solved the problem of style but since Times in Windows is slightly different than in OS10, the text was shifted when I tried to run the standalone application on a PC]? As Richard pointed out, there isn't any 100% effective way to handle the differences in fonts between Windows and Macs, but in general it is a good idea to set a font that is common between platforms, and then leave a good amount of extra room in the size of the field to allow for Window's somewhat wider font spacing. Some fonts that are common to both Mac and Windows are Times New Roman and Courier; there are others. Another way that sometimes works is to have a handler check the platform that is running, and set the font size in Windows a bit smaller than it is on a Mac. You can do this in a preOpenCard handler if the changes affect only that card, or do it more generally in a preOpenStack handler if the changes need to be widespread. For example, set the textsize to 12 on Mac and 11 on Windows. You'll want to experiment to see exactly how much different the sizes need to be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Roger at logram.com Sat Dec 4 16:17:08 2004 From: Roger at logram.com (Roger Amar) Date: Sat, 4 Dec 2004 22:17:08 +0100 Subject: DLL problem -> Good News ! Message-ID: <028383377603B34D9728A1E80EA9B43B0131BB@srv.Logram.local> Hello Gordon, I'm back. My dll started to work by adding a .def file to export the getXtable function. The "DLL Article" provided by Revolution as a documentation on how to write External DLLs for Runtime Revolution is unnecessarily talkative and confusing. For example this piece of code... extern "C" { void getXtable() } ... generates an error either with VC++ or with CodeWarrior. Other example : "The Metacard / Revolution engine uses the Microsoft OBJ convention for Windows DLLs. Here's the convention you need to support: 1. arguments passed on the stack, not in registers 2. no prepended underscores in function names 3. function names are mixed case 4. calling, not called, function cleans up the stack " How to know? The last example : the "Article" has forgotten to talk about the .def file ! ( __declspec( dllexport ) void __cdecl getXtable(); is not able to export to >RR even with the full parameter set) The so-called "Externals.rev" generates incomplete code where the .def is missing and no example is provided about the setting of the compiler/linker On another words, this documentation is discouraging for those who want to develop a DLL. My DLL is designed to return the physical address (MAC address) of the first lan controller. If you are interested, just ask by email to roger at logram.com and I'll send it to you with the source. This offer is also available for those who want to receive it. Thanks again for your very kind help. Roger; -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon Tillman Envoy? : vendredi 3 d?cembre 2004 23:10 ? : How to use Revolution Objet : Re: DLL problem Hi Roger! I'm wondering if the problem is with different version of Codewarrior? check the following: User Paths: {Project} {Project}../RunRevExternalSDK/ System Paths {Compiler}MSL/ {Compiler}Win32-x86 Support C/C++ Preprocessor #define WIN32 Windows RC / Prefix File: ResourcePrefix.h C/C++ Language enable bool support enable wchar_t support require function prototypes enums always int reuse strings auto-inline bottom-up inlining If you have questions you can give me a call: 800-937-8227 Just ask for me. --gordon On Dec 3, 2004, at 15:43, Roger Amar wrote: > Hello Gordon, > > You are a very nice guy ! > When I try to compile your project I get 120 errors; here are some > samples of them : > > Error : identifier expected > shellapi.h line 53 DECLARE_HANDLE(HDROP); > > Error : illegal function definition > shellapi.h line 55 EXTERN_C DECLSPEC_IMPORT UINT STDAPICALLTYPE > > Error : illegal function definition > XCmdGlue.h line 39 } Xternal; > > Error : illegal function definition > ScanningServerPlugin.h line 5 void XCabort(); > > Error : illegal function definition > ScanningServerPlugin.h line 6 char Xname[]; > > Error : illegal function definition > ScanningServerPlugin.h line 7 Xternal Xtable[]; > > Maybe is missing something like a library or header ? > > What do you think about ? > > Roger; > > > -----Message d'origine----- > De : use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon > Tillman Envoy? : vendredi 3 d?cembre 2004 15:25 ? : How to use > Revolution Objet : Re: DLL problem > > Howdy Roger, > > Please do let me know how it goes. Holler at me if you have any > questions. > > On Dec 3, 2004, at 06:06, Roger Amar wrote: > >> Thanks a lot Gordon ! >> I'll try to find what is wrong and keep you informed. >> Roger; > > Feel free to try out the externals that are included in that project. > One does a crc32 calculation on a file (osx / windows), and on the > windows there are externals to put an icon in the system tray and > remove it. When the user clicks on the icon it shows your stack. > This lets you have a stack that can run with no window but still be > made visible when desired. > > --gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From harrison at all-auctions.com Sat Dec 4 16:34:48 2004 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 4 Dec 2004 16:34:48 -0500 Subject: Opacity Percentage? In-Reply-To: References: Message-ID: <530A5ABB-463C-11D9-AFFD-000393C10758@all-auctions.com> Hi there, I wanted to create a bunch of different color filters and to be able to change the opacity by percentages. I thought I'd use a basic rectangle and see if I could change the opacity so that the object beneath it shows through. So far I haven't found a way to do this in Revolution. Is there a way? Thanks in advance. Rick From gwalias-rev at yahoo.com Sat Dec 4 16:45:00 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sat, 4 Dec 2004 13:45:00 -0800 (PST) Subject: Animation Tool Message-ID: <20041204214500.11636.qmail@web51104.mail.yahoo.com> Dear Revolutionaries I just sprung for the Rev Studio 2.5 and manuals, but the manuals will take soe time to arrive so for now I'm stuck with the rather scant built-in documentation. Looking through this documentation, I was reading about an "Animation Tool" in the "Tools" menu, but I don't see it in the menu. Is this feature an extra I have to pay for? How do I use the revPlayAnimation command? What does it do exactly? Another question - how do any of you deal with drawing and manipulating 3D objects? Are there any rev libraries/commands for this? Does rev offer pixel-level control for drawing and graphics? It's really not clear from the docs I have, what sort of graphics capability Rev has apart from the kind of "ready-made" graphics it handles as multimedia? Thanks to all of you who have helped me so far - this list is great and now that I've committed to using Rev seriously, I'm sure I will be a regular here. Best Gordon From david at kwinter.ca Sat Dec 4 16:46:00 2004 From: david at kwinter.ca (David Kwinter) Date: Sat, 4 Dec 2004 13:46:00 -0800 Subject: Opacity Percentage? References: <530A5ABB-463C-11D9-AFFD-000393C10758@all-auctions.com> Message-ID: <000f01c4da4a$a5a36340$6502a8c0@davidvq5o4w7vw> You'll need to use images and manipulate their alphadata. See http://www.sonsothunder.com/devres/metacard/tips/imag005.htm ----- Original Message ----- From: "Rick Harrison" To: "How to use Revolution" Sent: Saturday, December 04, 2004 1:34 PM Subject: Opacity Percentage? > Hi there, > > I wanted to create a bunch of different color filters > and to be able to change the opacity by percentages. > > I thought I'd use a basic rectangle and see if I could > change the opacity so that the object beneath it > shows through. > > So far I haven't found a way to do this in Revolution. > > Is there a way? > > Thanks in advance. > > Rick > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sat Dec 4 17:02:25 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 4 Dec 2004 15:02:25 -0700 Subject: Opacity Percentage? In-Reply-To: <000f01c4da4a$a5a36340$6502a8c0@davidvq5o4w7vw> References: <530A5ABB-463C-11D9-AFFD-000393C10758@all-auctions.com> <000f01c4da4a$a5a36340$6502a8c0@davidvq5o4w7vw> Message-ID: <2E730C25-4640-11D9-804E-000A9567A3E6@swcp.com> On Dec 4, 2004, at 2:46 PM, David Kwinter wrote: > You'll need to use images and manipulate their alphadata. Also, consider blendLevel which applies to the whole image. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From troy at rpsystems.net Sat Dec 4 17:13:27 2004 From: troy at rpsystems.net (Troy Rollins) Date: Sat, 4 Dec 2004 17:13:27 -0500 Subject: Animation Tool In-Reply-To: <20041204214500.11636.qmail@web51104.mail.yahoo.com> References: <20041204214500.11636.qmail@web51104.mail.yahoo.com> Message-ID: On Dec 4, 2004, at 4:45 PM, Gordon wrote: > Looking through this documentation, I was reading > about an "Animation Tool" in the "Tools" menu, but I > don't see it in the menu. Is this feature an extra I > have to pay for? How do I use the revPlayAnimation > command? What does it do exactly? It is a no longer supported feature, which was supposed to let you do timeline-style authoring (sort of like Flash or Director.) I think the stack is still distributed with the package somehow, but it tended to act a bit flaky, and most people abandoned it for some solution of their own. Last I heard, RunRev had plans to produce something more up-to-date to replace it, but I imagine that isn't all that high on the development list. Unless you specifically need that sort of thing, I wouldn't get too caught up with it. And if you do, I still wouldn't get too caught up with it, since it really didn't function very well - which is the reason RunRev felt it wasn't up to the standards of the rest of the product and removed it from the line-up - at least for now. -- Troy RPSystems, Ltd. http://www.rpsystems.net From malte.brill at t-online.de Sat Dec 4 17:21:15 2004 From: malte.brill at t-online.de (malte.brill at t-online.de) Date: Sat, 04 Dec 2004 23:21:15 +0100 (CET) Subject: Animation Tool In-Reply-To: <20041203222901.4028B930103@mail.runrev.com> References: <20041203222901.4028B930103@mail.runrev.com> Message-ID: <1102198340.41b2364436b74@modem.webmail.t-online.de> Hi Gordon, the Animation Tool you?re referring to is no longer supported in rev 2.5. I guess they just didn?t take it from the docs because of backwards compatibility. It was an animation manager tool, that didn?t work too good and was a bit complicated. If you want to do nice smooth scripted animations you might download libRMC from my server or revOnline. www.derbrill.de/librmc/libRMC.rev.zip --just the lib www.derbrill.de/librmc/libRMCDemo.rev.zip --a demo stack carrying the lib www.derbrill.de/librmc/docs.pdf --the PDF docs This is for 2D animations only and carries besides other things: moving objects on circular paths moving objects on elliptical paths moving object on linear paths moving objects on polygonal paths circle circle collision detection finding distances and angles between objects The lib is donationware. Best, Malte From alw918 at earthlink.net Sat Dec 4 17:35:58 2004 From: alw918 at earthlink.net (Andrew) Date: Sat, 4 Dec 2004 14:35:58 -0800 Subject: Coding for windows standalone In-Reply-To: <20041203222900.E5C86930101@mail.runrev.com> Message-ID: > Can someone please provide me with or refer me to a basic list of > things that I should avoid when making a stack with the intention of > turning it into a Windows standalone? Thanks a lot for those who responded about my Windows standalone question! :) > Windows is a big, weird mess. What was the specific problem? Windows certainly is a 'weird mess'. Anyway, the problem that I originally had I solved, (and I'll tell you how for those that might have the same problem in the future.) But now it's giving me a new problem that I haven't seen before! Here we go: My stack involves a keydown handler where the user pushes a key and then an "ask" window appears. From there, the user can interact with the CPU in a type of "talk-bot"/AI scenario. (It's actually quite fun, if you want to check it out http//theultimateeverything.com/VI.html) As I said, the Mac standalone works just fine, but the windows standalone had the problem that simply NOTHING would happen when you pushed the first key that is supposed to initiate the "ask" menu. (Yes, I did make sure to include "ask" windows when I was building the standalone settings.) Then, I realized that my code was very long and it was all in the card script. When I broke the code down into two sections and put one half in the script of some button and left the other half in the card script, this seemed to take care of the problem of the "ask" window not appearing. However, now there's a new problem. My ask window appears just fine. You can type things in just fine, but when you push "okay" a field is supposed to appear with the CPU's "response" to your statement. This field does not appear, or at least there is no text in it. Any ideas why this might be happening? (By the way, I didn't make any changes to this field. The field appears just fine on the mac standalone.) Thanks a lot! Andrew From scott at tactilemedia.com Sat Dec 4 17:39:23 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 04 Dec 2004 14:39:23 -0800 Subject: Opacity Percentage? In-Reply-To: <530A5ABB-463C-11D9-AFFD-000393C10758@all-auctions.com> Message-ID: Recently, Rick Harrison wrote: > I wanted to create a bunch of different color filters > and to be able to change the opacity by percentages. > > I thought I'd use a basic rectangle and see if I could > change the opacity so that the object beneath it > shows through. Create an image object, fill it with a color, and set its blendLevel to a value from 0 to 100. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at tweedly.net Sat Dec 4 17:50:08 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 04 Dec 2004 22:50:08 +0000 Subject: CSV-parsing post? In-Reply-To: References: <41B099E5.9010701@fourthworld.com> Message-ID: <5.1.0.14.0.20041204224812.085802d8@mail.tweedly.net> At 00:59 04/12/2004 -0600, Ken Ray wrote: >Here's what I have from Alex Tweedly that uses split: That's the overall approach to CSV parsing that Richard was referring to; the version you have included here is (I think) the end of the original thread (from July). I later found a problem and posted a fix to that in October, at http://lists.runrev.com/pipermail/use-revolution/2004-October/045450.html The problem is the > repeat for each element k in pData because this does the elements in the INTERNAL order of the hashed array - we need them in numeric key order. (It worked OK on testing I did up to about 4000 lines of CSV file but failed (dramatically) after that.) This had to be changed to repeat with tCounter = 1 to the number of lines in the keys of pData put pData[tCounter] into k I don't remember whether I changed anything else or not - I'm fairly sure I didn't but I'd recommend taking the code from the October posting to replace the July version. -- Alex. From alex at tweedly.net Sat Dec 4 18:04:05 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 04 Dec 2004 23:04:05 +0000 Subject: CSV spec and the failure that is MSDN In-Reply-To: <41B0DDF1.4030605@fourthworld.com> Message-ID: <5.1.0.14.0.20041204152443.08529e08@mail.tweedly.net> At 13:43 03/12/2004 -0800, Richard Gaskin wrote: >Anyone know where I can find the official spec for the CSV formats used by >Micro$oft Access, Micro$oft Excel, and the the spec used by the rest of >the world? As far as I know, there is no official spec. (at least, not publicly available). I looked pretty hard about 6 years ago and couldn't find anything official. >All three differ from one another, and according to some Micro$oft has >changed how CSV is implemented in Excel at least once, maybe twice, so it >would be good to find historical specs as well. > >So far the best I can find is this page: > > >Nice, but doesn't cover the change, nor Access at all, and if from a third >party so I have no way to know how current or thorough it is. At least >with Micro$oft-published specs I can point customers to the source if they >have a problem. Perhaps useful to you would be http://python.shopinator.com/peps/pep-0305.html This also doesn't specifically describe Access, but it does have a wider description of the known variations, as well as having a more "authoritative" appearance if you need to quote it customers. -- Alex. From kray at sonsothunder.com Sat Dec 4 23:55:38 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 04 Dec 2004 22:55:38 -0600 Subject: on Openstack - on PreOpenStack - neither working In-Reply-To: Message-ID: On 12/3/04 12:57 PM, "Steve Bonham" wrote: > Can anyone tell me what's going on?-- or rather why my handlers are > being ignored? It's possible that your stack isn't being fully purged when you close it and reopen it. Check to see is "Purge window on close" and "Purge stack on close" (Stack properties in the Inspector palette) are turned on. If not, turn them on and save your stack. Then try again. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chipp at chipp.com Sun Dec 5 00:51:08 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 04 Dec 2004 21:51:08 -0800 Subject: Opacity Percentage? In-Reply-To: <530A5ABB-463C-11D9-AFFD-000393C10758@all-auctions.com> References: <530A5ABB-463C-11D9-AFFD-000393C10758@all-auctions.com> Message-ID: <41B2A1CC.3030101@chipp.com> If all you want to do is change the opacity, then just create a 10x10 pixel color square image (.png should do), set it the size you wish, set the lockloc of it to true (so it won't resize back to 10x10) and then do like Dar suggests: set the blendLevel of img "blue10x10.png" to 50 (sets it to 50% transparent) -Chipp Rick Harrison wrote: > I wanted to create a bunch of different color filters > and to be able to change the opacity by percentages. From alex at tweedly.net Sun Dec 5 10:24:49 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 05 Dec 2004 15:24:49 +0000 Subject: Rotate an image ... Message-ID: <5.1.0.14.0.20041205150935.030a7a70@pop3.btinternet.com> I have a PNG file which I want to rotate 90 degrees. My script does import paint from file "d:/icons/myfile.png" rotate image "myfile.png" by 90 export image "myfile.png" to file "d:/icons/myfilerotated.png" which ALMOST works. It gives me an image with, at first glance, the correct appearance - but the size is 100x100 so there is spurious white border. I had expected to get a new image that was 100x60. Is there a way to rotate an image to get just the original image, but rotated ? Or some other way to trim it back to original size (except rotated) ? Thanks, -- Alex. From richmond at mail.maclaunch.com Sun Dec 5 12:25:55 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Sun, 05 Dec 2004 12:25:55 -0500 Subject: Le coeur de Monsieur X et le travail de Richmond Message-ID: Dear MC and RR afficionados! Monsieur X has very genrously offered to host the Draft PDF of my MSc thesis and the ZIP file of the Prototype software! I have asked him for links to these for my website: wait a few days. I am not interested in making money out of these as such: if you want to send some money somewhere, send it to UNICEF! IF, however, you are suddenly gripped with an urge to offer me a work contract - I am ready and willing! However; I would like credit if any of my work is used or quoted elsewhere. The prototype is just that (it is referred to in the Draft as 'Prototype #2.2) and as such is FULL of hiccups - I am entirely responsible for all the hiccups but will not be held legally liable. If you want to edit and/or muck around with the Prototype you will find that the only way is to evoke the Message Box (Command-M on a Mac) and then do /show menubar/ set the vis of stack "revmenubar" to true/ set the vis of stack "revtools" to true/ set the bacdrop to none. Pray for me while I drive from Scotland to Bulgaria in a 2.5 tonne truck with exactly 45 minutes truck-driving experience! I believe in OpenSource, Collaboration and an acknowledgement that it is perfectly respectable to feel deeply passionate about software development and to be able to express that passion using passionate language !!! I look forwards to reading LOTS of positive criticism of both my Thesis and my Prototype Interface ('Wrapper') when I have recovered from the spiritual (and other) excesses of a Bulgarian Christmas. I wish you (all !!!) the best, Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From johnrule at rcsprogramming.com Sun Dec 5 13:02:32 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Sun, 5 Dec 2004 10:02:32 -0800 Subject: Difference between file and URL In-Reply-To: <20041204170107.9373993011D@mail.runrev.com> Message-ID: <200412051203718.SM02612@minipcxp> I am discovering that open/write/close to a file can be a problem if the original file size is larger than the new data size...it simply overwrites data in the file, leaving the extra data in tact. Using 'put into URL' does not do this (it overwrites the entire file). Is this correct behavior, or a bug? (2.5 engine) JR From got at mindspring.com Sun Dec 5 13:12:57 2004 From: got at mindspring.com (Gordon Tillman) Date: Sun, 5 Dec 2004 12:12:57 -0600 Subject: DLL problem -> Good News ! In-Reply-To: <028383377603B34D9728A1E80EA9B43B0131BB@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B0131BB@srv.Logram.local> Message-ID: <4A476215-46E9-11D9-86E0-000A95A7D4F8@mindspring.com> Hi Roger! On Dec 4, 2004, at 15:17, Roger Amar wrote: > Hello Gordon, I'm back. > > My dll started to work by adding a .def file to export the getXtable > function. Glad you got it working. I think I used a def file for my project as well, although CW does have a mechanism that will automatically export the dll functions for you. --gordon From kray at sonsothunder.com Sun Dec 5 13:47:24 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 05 Dec 2004 12:47:24 -0600 Subject: Rotate an image ... In-Reply-To: <5.1.0.14.0.20041205150935.030a7a70@pop3.btinternet.com> Message-ID: On 12/5/04 9:24 AM, "Alex Tweedly" wrote: > Is there a way to rotate an image to get just the original image, but rotated > ? Try: set the angle of img "myfile.png" to 90 Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sun Dec 5 13:50:44 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 05 Dec 2004 12:50:44 -0600 Subject: Difference between file and URL In-Reply-To: <200412051203718.SM02612@minipcxp> Message-ID: On 12/5/04 12:02 PM, "John Rule" wrote: > > I am discovering that open/write/close to a file can be a problem if the > original file size is larger than the new data size...it simply overwrites > data in the file, leaving the extra data in tact. Using 'put into URL' does > not do this (it overwrites the entire file). Is this correct behavior, or a > bug? John, This is correct behavior because the default form of 'open file' is 'update', which does exactly what you're describing. 'open file' has four forms in the syntax: open file [for [text|binary] {update|read|write|append}] If you were to use: open file for text write it would overwrite the data in the file as you're expecting (and as "put into URL" does). See the Transcript Dictionary for more on this. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From soobaaaa9 at hotmail.com Sun Dec 5 14:10:30 2004 From: soobaaaa9 at hotmail.com (m b) Date: Sun, 05 Dec 2004 19:10:30 +0000 Subject: play sound file after movie finishes Message-ID: Hi, I'm new to programming and Revolution. I'm a speech therapist and I want to create an app where someone can record there speech, then view a movie of me saying the same word. I've been able to do this fine but the next part I can't figure out. I then want the person to be able to click a "compare" button where the movie file plays again and their recorded speech file is played immediately after, basically concatenated on to the end of the movie. How do I do this? Thanks, Mike From harrison at all-auctions.com Sun Dec 5 14:16:23 2004 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 5 Dec 2004 14:16:23 -0500 Subject: Opacity Percentage? In-Reply-To: References: Message-ID: <270A91FE-46F2-11D9-9CBD-000393C10758@all-auctions.com> On Dec 4, 2004, at 5:39 PM, Scott Rossi wrote: >> > > Create an image object, fill it with a color, and set its blendLevel > to a > value from 0 to 100. > > Regards, > > Scott Rossi > The blendLevel setting works perfectly! I hooked it up to a slider bar so I can watch the color changes in real time. Four lines of code did it all! I still marvel at the incredible power of Rev! Many thanks to David, Dar, Scott, and Chipp for such quick answers! Rick Harrison From dsc at swcp.com Sun Dec 5 14:31:20 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 5 Dec 2004 12:31:20 -0700 Subject: Rotate an image ... In-Reply-To: <5.1.0.14.0.20041205150935.030a7a70@pop3.btinternet.com> References: <5.1.0.14.0.20041205150935.030a7a70@pop3.btinternet.com> Message-ID: <3DD95570-46F4-11D9-BCDD-000A9567A3E6@swcp.com> On Dec 5, 2004, at 8:24 AM, Alex Tweedly wrote: > I have a PNG file which I want to rotate 90 degrees. > > My script does > import paint from file "d:/icons/myfile.png" > rotate image "myfile.png" by 90 > export image "myfile.png" to file "d:/icons/myfilerotated.png" > which ALMOST works. > > It gives me an image with, at first glance, the correct appearance - > but the size is 100x100 so there is spurious white border. I had > expected to get a new image that was 100x60. > > Is there a way to rotate an image to get just the original image, but > rotated ? > Or some other way to trim it back to original size (except rotated) ? Here are a couple of approaches (this may take some experimenting): 1. Set the angle, "touch" the image to rebuild the PNG, then crop it, if need be. 2. Get the imageData and alphaData, rotate that by script, put empty into the image object, set the new size and set the rotated imageData and alphaData back into the image. If you need some specific header info in the PNG, you might need to script that. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From rev at armbase.com Sun Dec 5 15:18:19 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 05 Dec 2004 20:18:19 +0000 Subject: Add fields from stack in data directory to standalone Message-ID: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> Hi All. I've not been rev'd up for a while now (new job kept me away). I was looking at the threads regarding saving database data in a file. I'm just trying to get my head roung the grand plan before I do down the wrong path like the last time (see database tutorial thread) Some suggested that you could have a data directory with stack in it and have the standalone reference this... Eureka I thought!!! OK tall me if I'm right on this please. Can I have a premade database eg bob1 and make a standalone. Then have a stack file eg baddresstemplate.rev and have the data put in a .rev fiel. Would it be something liek this (note: the syntax is made up)...... On mouse up (on a button called new entry) Copy addresstemplate.rev to directory C:\Bobdata put the text of field "bobs address" into field1 of card1 of stack addresstemplate.rev end mouse up is this the way to do it? Cheers Bob From 3mcgrath at adelphia.net Sun Dec 5 14:23:06 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 5 Dec 2004 14:23:06 -0500 Subject: play sound file after movie finishes In-Reply-To: References: Message-ID: <170F0B12-46F3-11D9-85BD-000A95DA60FA@adelphia.net> Mike, There are basically two ways to approach this. The first is to check if the movie is done using: the movie movie() the movie repeat until myMovie is not among the lines of the movies See also: done constant, play command, sound function, templateVideoClip keyword Description Use the movie function to synchronize other actions with sounds. Value: The movie function returns a list of video clip names, one per line. Comments: If no video clip is playing, the movie function returns done. The second is if you know the length of the movie and base it upon time then act upon that: Specifies the length of a sound or movie. get the duration of player put (the duration of me/the timeScale of me) into totalSeconds See also: currentTime property, endTime property, play command, playRate property, startTime property, timeScale property Description Use the duration property to find out how long a movie or sound takes to play. Value: The duration of a player is an integer. This property is read-only and cannot be set. Comments: The duration of a player is the number of intervals in the movie or sound contained in the player. (The number of intervals per second is specified by the player's timeScale property.) Look to these and the SEE ALSO section to find a few tools that might help you. HTH Tom On Dec 5, 2004, at 2:10 PM, m b wrote: > Hi, I'm new to programming and Revolution. I'm a speech therapist and > I want to create an app where someone can record there speech, then > view a movie of me saying the same word. I've been able to do this > fine but the next part I can't figure out. I then want the person to > be able to click a "compare" button where the movie file plays again > and their recorded speech file is played immediately after, basically > concatenated on to the end of the movie. How do I do this? > > Thanks, > Mike > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From klaus at major-k.de Sun Dec 5 16:05:18 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 5 Dec 2004 22:05:18 +0100 Subject: Add fields from stack in data directory to standalone In-Reply-To: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> Message-ID: <5E57B83E-4701-11D9-91B9-000A27B49A96@major-k.de> Hi Bob, > Hi All. > > I've not been rev'd up for a while now (new job kept me away). I was > looking at the threads regarding saving database data in a file. > I'm just trying to get my head roung the grand plan before I do down > the wrong path like the last time (see database tutorial thread) > > Some suggested that you could have a data directory with stack in it > and have the standalone reference this... Eureka I thought!!! > > OK tall me if I'm right on this please. > > Can I have a premade database eg bob1 and make a standalone. Yes, sure. > Then have a stack file eg baddresstemplate.rev and have the data put > in a .rev fiel. ??? Maybe that would be overkill, simply because you could actually USE/OPEN/EDIT/SAVE that "premade" database stack!!! > Would it be something liek this (note: the syntax is made up)...... > On mouse up (on a button called new entry) > Copy addresstemplate.rev to directory C:\Bobdata Yes, see below... > put the text of field "bobs address" into field1 of card1 of stack > addresstemplate.rev See above AND below :-) > end mouse up > > is this the way to do it? I suggest the following: Prepare your complete stack/database "baddresstemplate.rev", test it and save it... Then store it in a customproperty of your standalone! ... answer file "Where is Bob?" ##select your "baddresstemplate.rev" stack here... set the my_template_database of stack "xyz" to url("binfile:" & it) ## or "...of this stack..." ... Then put this into the stackscript of your standalone: on preopenstack if there is not a folder "C:/Bobdata" then create folder "C:Bobdata" end if if there is not a file "C:/Bobdata/baddresstemplate.rev" then put the my_template_database of stack "xyz" into url"binfile:C:/Bobdata/baddresstemplate.rev"" end if go stack "C:/Bobdata/baddresstemplate.rev" ... end preopenstack Now on you can simply edit and SAVE that stack as you would do in the REV IDE... Drop a line if you need more info/assistance... Hope that helps. > Cheers > Bob Regards Klaus Major klaus at major-k.de http://www.major-k.de From rev at armbase.com Sun Dec 5 16:29:41 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 05 Dec 2004 21:29:41 +0000 Subject: runrev 404 errors Message-ID: <6.1.2.0.0.20041205212828.019a5f78@mail.armbase.com> I've been trawling the archive fo the list and all the url's to the runrev site return a 404. Have the pages been deleted or moved elsewhere? :-) Cheers Bob From rev at armbase.com Sun Dec 5 16:41:44 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 05 Dec 2004 21:41:44 +0000 Subject: Add fields from stack in data directory to standalone In-Reply-To: <5E57B83E-4701-11D9-91B9-000A27B49A96@major-k.de> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <5E57B83E-4701-11D9-91B9-000A27B49A96@major-k.de> Message-ID: <6.1.2.0.0.20041205213859.01aafb28@mail.armbase.com> At 21:05 05/12/2004, you wrote: Hi Klaus >I suggest the following: > >Prepare your complete stack/database "baddresstemplate.rev", test it and >save it... > >Then store it in a customproperty of your standalone! > >... >answer file "Where is Bob?" >##select your "baddresstemplate.rev" stack here... >set the my_template_database of stack "xyz" to url("binfile:" & it) >## or "...of this stack..." >... >_ Ohh I have been away. I'm totally lost regarding custom properties. I'll get something done and get back to you all in a week. I need to get Dan's book out and have a gander. Cheers Bob; Sunny Scotland >______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sun Dec 5 16:49:26 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 05 Dec 2004 13:49:26 -0800 Subject: Add fields from stack in data directory to standalone In-Reply-To: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> Message-ID: <41B38266.2030308@chipp.com> Hi Bob, I would take a different approach than the one Klaus recommends. I would separate my data completely from the presentation and business logic of the application (the way you currently are thinking). If the data was basically text based (no images, movies, sounds) then I may consider storing it in either a text or XML file (or customTagged file format I build myself). Of course, if there was a LOT of data, I might consider using SQLlite or another DBase. If the data included images, movies and/or sounds, then I would consider storing it in a stack...one that the user would never see. I don't know how Rob Cozens Seredipity Library works, but I suspect this is how he stores his data -- you might want to take a look at it. Then, I would keep all business logic and the presentation (GUI) stuff in a standalone which cannot be written to. I would move data in and out of the standalone stack. I don't like mixing content and business logic/Interface, especially when you'll be adding/deleting from stacks. It's one of my pet peeves about Rev- and I suspect one of the major support issues with the IDE: the fact that it actually saves itself..including business logic and any bugs or bad logic which may have been introduced during the many hours of a users programming. I digress. So, my basic mantra is to never 'save' stacks other than data stacks. And never mix interface and business logic with changing data stacks. hope this doesn't end up even confusing you more;-) best, Chipp Bob Hartley wrote: > I've not been rev'd up for a while now (new job kept me away). I was > looking at the threads regarding saving database data in a file. > I'm just trying to get my head roung the grand plan before I do down the > wrong path like the last time (see database tutorial thread) > > Some suggested that you could have a data directory with stack in it and > have the standalone reference this... Eureka I thought!!! > > OK tall me if I'm right on this please. > > Can I have a premade database eg bob1 and make a standalone. Then have a > stack file eg baddresstemplate.rev and have the data put in a .rev fiel. > > Would it be something liek this (note: the syntax is made up)...... > On mouse up (on a button called new entry) > Copy addresstemplate.rev to directory C:\Bobdata > put the text of field "bobs address" into field1 of card1 of stack > addresstemplate.rev > end mouse up From chipp at chipp.com Sun Dec 5 16:54:09 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 05 Dec 2004 13:54:09 -0800 Subject: Difference between file and URL In-Reply-To: <200412051203718.SM02612@minipcxp> References: <200412051203718.SM02612@minipcxp> Message-ID: <41B38381.7010907@chipp.com> Hi John, I agree with Ken. Try this: (assuming your file is text and not binary) --> PUT THE FILEPATH INTO A VAR put "C:/testfile.txt" into tFilePath --> THIS PUTS THE CONTENTS OF THE FILE INTO A VAR put URL ("file:" & tFilePath) into tTextVariable -->DO STUFF TO tTextVariable put return & "another line" after tTextVariable --> THIS WRITES THE VAR OUT TO THE ORIG FILE put tTextVariable into URL ("file:" & tFilePath) that should do what you want... best, Chipp John Rule wrote: > I am discovering that open/write/close to a file can be a problem if the > original file size is larger than the new data size...it simply overwrites > data in the file, leaving the extra data in tact. Using 'put into URL' does > not do this (it overwrites the entire file). Is this correct behavior, or a > bug? From rev at armbase.com Sun Dec 5 17:02:33 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 05 Dec 2004 22:02:33 +0000 Subject: Add fields from stack in data directory to standalone Message-ID: <6.1.2.0.0.20041205215847.019e87f0@mail.armbase.com> On 05/12/2004 21:49:26, chipp at chipp.com, How to use Revolution (use-revolution at lists.runrev.com) wrote: > Hi Bob, > > I would take a different approach than the one Klaus recommends. I would > separate my data completely from the presentation and business logic of > the application (the way you currently are thinking). > > If the data was basically text based (no images, movies, sounds) then I > may consider storing it in either a text or XML file (or customTagged > file format I build myself). Of course, if there was a LOT of data, I > might consider using SQLlite or another DBase. Hi Chip. OK I think I should concentrate on the xml format since that is what I require to read and write to in the finished app. > > If the data included images, movies and/or sounds, then I would consider > storing it in a stack...one that the user would never see. I don't know > how Rob Cozens Seredipity Library works, but I suspect this is how he > stores his data -- you might want to take a look at it. I looked for that but only got blank pages when I wnet to his site www.onenlog.com (or something liek that) > > Then, I would keep all business logic and the presentation (GUI) stuff > in a standalone which cannot be written to. I would move data in and out > of the standalone stack. OK I think this might be the route although Klaus's method may be better for app2 Why I need xml is this http://www.armbase.com/software_files/software_data/prodinfo_r4_c1.gif regards Bob From bvlahos at mac.com Sun Dec 5 17:30:23 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 5 Dec 2004 14:30:23 -0800 Subject: Add fields from stack in data directory to standalone In-Reply-To: <41B38266.2030308@chipp.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> Message-ID: <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> I have an application which would fit this model but the data that is stored will need to be protected. How would I go about encrypting the data file either in a stack or as a file? Bill Vlahos On Dec 5, 2004, at 1:49 PM, Chipp Walters wrote: > Then, I would keep all business logic and the presentation (GUI) stuff > in a standalone which cannot be written to. I would move data in and > out of the standalone stack. > > I don't like mixing content and business logic/Interface, especially > when you'll be adding/deleting from stacks. It's one of my pet peeves > about Rev- and I suspect one of the major support issues with the IDE: > the fact that it actually saves itself..including business logic and > any bugs or bad logic which may have been introduced during the many > hours of a users programming. I digress. > > So, my basic mantra is to never 'save' stacks other than data stacks. > And never mix interface and business logic with changing data stacks. From chipp at chipp.com Sun Dec 5 17:46:16 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 05 Dec 2004 14:46:16 -0800 Subject: Add fields from stack in data directory to standalone In-Reply-To: <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> Message-ID: <41B38FB8.8010305@chipp.com> Keep the data in a stack and set the password of the stack. Bill Vlahos wrote: > I have an application which would fit this model but the data that is > stored will need to be protected. How would I go about encrypting the > data file either in a stack or as a file? From Roger at logram.com Sun Dec 5 18:01:23 2004 From: Roger at logram.com (Roger Amar) Date: Mon, 6 Dec 2004 00:01:23 +0100 Subject: DLL problem -> Good News ! Message-ID: <028383377603B34D9728A1E80EA9B43B0131BE@srv.Logram.local> Hi Gordon, I did not note that an export mechanism was intrinsic to CodeWarrior. Only the def file saved me from becoming crazy ! Roger; -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de Gordon Tillman Envoy? : dimanche 5 d?cembre 2004 19:13 ? : How to use Revolution Objet : Re: DLL problem -> Good News ! Hi Roger! On Dec 4, 2004, at 15:17, Roger Amar wrote: > Hello Gordon, I'm back. > > My dll started to work by adding a .def file to export the getXtable > function. Glad you got it working. I think I used a def file for my project as well, although CW does have a mechanism that will automatically export the dll functions for you. --gordon _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at mac.com Sun Dec 5 18:04:25 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 5 Dec 2004 15:04:25 -0800 Subject: Add fields from stack in data directory to standalone In-Reply-To: <41B38FB8.8010305@chipp.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> <41B38FB8.8010305@chipp.com> Message-ID: <02431591-4712-11D9-9C6B-003065EC5590@mac.com> My understanding is that just setting the password is not robust enough protection. Bill On Dec 5, 2004, at 2:46 PM, Chipp Walters wrote: > Keep the data in a stack and set the password of the stack. > > Bill Vlahos wrote: >> I have an application which would fit this model but the data that is >> stored will need to be protected. How would I go about encrypting the >> data file either in a stack or as a file? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From benr_mc at cogapp.com Sun Dec 5 18:08:51 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 05 Dec 2004 23:08:51 +0000 Subject: CSV spec and the failure that is MSDN In-Reply-To: <5.1.0.14.0.20041204152443.08529e08@mail.tweedly.net> Message-ID: At 13:43 03/12/2004 -0800, Richard Gaskin wrote: >Anyone know where I can find the official spec for the CSV formats used by >Micro$oft Access, Micro$oft Excel, and the the spec used by the rest of >the world? This isn't exactly an answer to the question you asked (sorry) - but at least for Access (and possibly Excel) could you bypass CSV and use ODBC to retrieve the data more directly? This might be more certain, and more convenient for your users. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From troy at rpsystems.net Sun Dec 5 18:12:03 2004 From: troy at rpsystems.net (Troy Rollins) Date: Sun, 5 Dec 2004 18:12:03 -0500 Subject: Add fields from stack in data directory to standalone In-Reply-To: <02431591-4712-11D9-9C6B-003065EC5590@mac.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> <41B38FB8.8010305@chipp.com> <02431591-4712-11D9-9C6B-003065EC5590@mac.com> Message-ID: <13409F0E-4713-11D9-814C-000A95A09CF8@rpsystems.net> On Dec 5, 2004, at 6:04 PM, Bill Vlahos wrote: > My understanding is that just setting the password is not robust > enough protection. Not even close. It will (mostly) prevent them from viewing its scripts tho'. For whatever thats worth. -- Troy RPSystems, Ltd. http://www.rpsystems.net From rjb at rz.uni-potsdam.de Sun Dec 5 18:19:39 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 6 Dec 2004 00:19:39 +0100 Subject: Add fields from stack in data directory to standalone In-Reply-To: <41B38FB8.8010305@chipp.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> <41B38FB8.8010305@chipp.com> Message-ID: >Keep the data in a stack and set the password of the stack. > >Bill Vlahos wrote: >>I have an application which would fit this model but the data that >>is stored will need to be protected. How would I go about >>encrypting the data file either in a stack or as a file? Chipp, how is setting a password going to protect data? Unless it is entered as scripts it will remain unprotected. Or did I miss some changes and the custom properties can now be password protected? Robert From benr_mc at cogapp.com Sun Dec 5 18:41:51 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 05 Dec 2004 23:41:51 +0000 Subject: Rotate an image ... In-Reply-To: <5.1.0.14.0.20041205150935.030a7a70@pop3.btinternet.com> Message-ID: on 5/12/04 3:24 pm, Alex Tweedly wrote > Is there a way to rotate an image to get just the original image, but rotated > ? Probably several - this is Rev after all! - but here's a code snippet from something that works for me: put the rect of image "KeyImg" into tOldRect rotate image "KeyImg" by 270 put the rect of image "KeyImg" into tNewRect if tOldRect <> tNewRect then -- non square, we need to crop put tNewRect into tLastRect if (item 1 of tOldRect) = (item 1 of tNewRect) then -- assume Portrait add (item 2 of tOldRect) - (item 2 of tNewRect) \ to item 1 of tLastRect subtract (item 4 of tNewRect) - (item 4 of tOldRect) \ from item 3 of tLastRect else -- assume Landscape add (item 1 of tOldRect) - (item 1 of tNewRect) \ to item 2 of tLastRect subtract (item 3 of tNewRect) - (item 3 of tOldRect) \ from item 4 of tLastRect end if crop image "KeyImg" to tLastRect end if As I say - it works for me. However, for this particular application incoming images were always the same rectangle, so I won't swear this code isn't making a dodgy assumption somewhere. HTH, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From alex at tweedly.net Sun Dec 5 20:26:20 2004 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 06 Dec 2004 01:26:20 +0000 Subject: Rotate an image ... In-Reply-To: References: <5.1.0.14.0.20041205150935.030a7a70@pop3.btinternet.com> Message-ID: <5.1.0.14.0.20041206012132.08525870@mail.tweedly.net> At 12:47 05/12/2004 -0600, Ken Ray wrote: >On 12/5/04 9:24 AM, "Alex Tweedly" wrote: > > > Is there a way to rotate an image to get just the original image, but > rotated > > ? > >Try: > > set the angle of img "myfile.png" to 90 Thank you Ken (and others). I think there would be cases where the more complex methods are needed - but this is enough for my simple example. The annoying thing is I had been looking at "set angle" but rejected it because the docs said, quite clearly, > Unlike the rotate command, the angle property affects only the screen > display of the image, not the actual picture data in it. and therefore I assumed that set angle wouldn't affect the data when I exported it. Wrong again ! I should know by now that Rev does "the right thing" unless proven otherwise. Thanks again ! -- Alex. From gwalias-rev at yahoo.com Sun Dec 5 21:06:18 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 5 Dec 2004 18:06:18 -0800 (PST) Subject: Image change on mouseover Message-ID: <20041206020618.18401.qmail@web51110.mail.yahoo.com> Dear Revolutionaries How do I store 2 images so that I can switch between them using the mouseEnter and mouseLeave commands on an image control, making the image change when I mouseover it? I believe there is a way to store an image in a custom property - how does one do this and how would I refer to it to reset the image? Best Gordon From bvlahos at mac.com Sun Dec 5 21:27:29 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 5 Dec 2004 18:27:29 -0800 Subject: Add fields from stack in data directory to standalone In-Reply-To: References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> <41B38FB8.8010305@chipp.com> Message-ID: <6041EED7-472E-11D9-BFE4-0003936A2C42@mac.com> My stack stores its data in custom properties so it should be protected the same way that the scripts are. My understanding is that text in fields is not protected by the password but text in custom properties is. I'm wondering the best way to provide strong encryption of the data. Bill On Dec 5, 2004, at 3:19 PM, Robert Brenstein wrote: >> Keep the data in a stack and set the password of the stack. >> >> Bill Vlahos wrote: >>> I have an application which would fit this model but the data that >>> is stored will need to be protected. How would I go about encrypting >>> the data file either in a stack or as a file? > > Chipp, how is setting a password going to protect data? Unless it is > entered as scripts it will remain unprotected. Or did I miss some > changes and the custom properties can now be password protected? > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at mac.com Sun Dec 5 21:29:48 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 5 Dec 2004 18:29:48 -0800 Subject: Image change on mouseover In-Reply-To: <20041206020618.18401.qmail@web51110.mail.yahoo.com> References: <20041206020618.18401.qmail@web51110.mail.yahoo.com> Message-ID: No need to store an image as a custom property. Simply add the two images to the stack and set them either with mouseEnter/Leave or setting the images and them arming the button (assuming you have set the images in a button). Bill Vlahos On Dec 5, 2004, at 6:06 PM, Gordon wrote: > Dear Revolutionaries > > How do I store 2 images so that I can switch between > them using the mouseEnter and mouseLeave commands on > an image control, making the image change when I > mouseover it? > > I believe there is a way to store an image in a custom > property - how does one do this and how would I refer > to it to reset the image? > > Best > > Gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From sarahr at genesearch.com.au Sun Dec 5 21:36:11 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 6 Dec 2004 12:36:11 +1000 Subject: Serial comm differences between PC & Mac? In-Reply-To: References: <36029.127.0.0.1.1102091056.squirrel@127.0.0.1> Message-ID: <97538D8C-472F-11D9-AA52-0003937A97B8@genesearch.com.au> > IIRC, it looks like 3 bugs: > > Char read commands come up short on XP for reading 256 chars. > Multi-char read commands throw away data after LF on OS X. > Codes 10, 11 and 12 are garbled in reading uint1 on OS X. > Multi-uint1 read commands sometimes come up short on OS X based on > garbage at end (?). > uint1 read commands input garbage if the data is not there. > > >> Fortunately, since the phone system only uses a certain set of chars, >> I >> can filter out all of the junk, & make this work for my needs. BTW, >> I'm >> using both the keyspan usa-28 & usa-28x on OSX, & com1 on the PC. The >> results are the same with either keyspan adapter. > > It looks like you might get garbage if you try to read a uint1 and > none is there. The time might come when one of the garbage bytes > looks like a valid letter. > > It might be that my short data for 256 char reads does not apply to > single char reads. > > There are several reported bugs for serial on OS X; you will have to > work around those. > > Windows serial I/O is blocking (up to 2 seconds) and OS X serial I/O > is not (except for a weird OS X feature in opening the modem where a 3 > second delay is forced). > > I think someone (Sarah?) has reported better luck with usa-28 than > with usa-19. > > I suspect that Rev is not setting some terminal parameters on ports, > leaving them as they are, on OS X. > I use the Keyspan USA28X without any problems, but I have never tried any other Keyspans. My current favourite adapter is a very simple & cheap device called an EasySync USB to RS232 converter. I only use Mac OS X but it comes with drivers for Windows as well. With regard to the original poster's serial problems, do you get the same results on the PC using the Keyspan and plugging the serial connector in directly? Cheers, Sarah From troy at rpsystems.net Sun Dec 5 21:42:58 2004 From: troy at rpsystems.net (Troy Rollins) Date: Sun, 5 Dec 2004 21:42:58 -0500 Subject: Add fields from stack in data directory to standalone In-Reply-To: <6041EED7-472E-11D9-BFE4-0003936A2C42@mac.com> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> <41B38FB8.8010305@chipp.com> <6041EED7-472E-11D9-BFE4-0003936A2C42@mac.com> Message-ID: <89F2D22F-4730-11D9-8CA0-000A95A09CF8@rpsystems.net> On Dec 5, 2004, at 9:27 PM, Bill Vlahos wrote: > My stack stores its data in custom properties so it should be > protected the same way that the scripts are. My understanding is that > text in fields is not protected by the password but text in custom > properties is. Not true. Custom properties are wide-open, even on password protected stacks. They have no protection whatsoever. If you don't believe me, send me one of your stacks. ;-) -- Troy RPSystems, Ltd. http://www.rpsystems.net From ambassador at fourthworld.com Sun Dec 5 21:54:30 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Dec 2004 18:54:30 -0800 Subject: Add fields from stack in data directory to standalone In-Reply-To: <89F2D22F-4730-11D9-8CA0-000A95A09CF8@rpsystems.net> References: <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <41B38266.2030308@chipp.com> <412116EC-470D-11D9-8FE5-003065EC5590@mac.com> <41B38FB8.8010305@chipp.com> <6041EED7-472E-11D9-BFE4-0003936A2C42@mac.com> <89F2D22F-4730-11D9-8CA0-000A95A09CF8@rpsystems.net> Message-ID: <41B3C9E6.5030403@fourthworld.com> Troy Rollins wrote: > > On Dec 5, 2004, at 9:27 PM, Bill Vlahos wrote: > >> My stack stores its data in custom properties so it should be >> protected the same way that the scripts are. My understanding is that >> text in fields is not protected by the password but text in custom >> properties is. > > > Not true. Custom properties are wide-open, even on password protected > stacks. You're both right: custom props are encrypted when saved to disk, so viewing the saved file with a binary editor will yield nothing readable. However, in order for scripts to be able to use custom props they are automatically decrypted at runtime, and can be viewed and edited without the password in the IDE. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From chipp at chipp.com Sun Dec 5 22:08:16 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 05 Dec 2004 19:08:16 -0800 Subject: Image change on mouseover In-Reply-To: <20041206020618.18401.qmail@web51110.mail.yahoo.com> References: <20041206020618.18401.qmail@web51110.mail.yahoo.com> Message-ID: <41B3CD20.5030006@chipp.com> Gordon, If what you're trying to do is create a region which changes on mouseOver mouseDown mouseLeave mouseUp check out "buttons with images" at http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm best, Chipp Gordon wrote: > How do I store 2 images so that I can switch between > them using the mouseEnter and mouseLeave commands on > an image control, making the image change when I > mouseover it? From katir at hindu.org Sun Dec 5 22:40:44 2004 From: katir at hindu.org (Sivakatirswami) Date: Sun, 5 Dec 2004 17:40:44 -1000 Subject: Protecting Log In Data Message-ID: <9C47FA64-4738-11D9-9315-000A959D0AC6@hindu.org> I distribute stacks that allow volunteers access to specific files on our servers... I want to protect the log in info from a text reader which might simply open the stack file... I'm not looking for NASA high clearance security here... (FTP user names and passwords are viewable by packet sniffers anyway.) Just protection from the curious who might get my stack and think "gee I wonder where the log in info is..." ( of course, if he is savvy he could just open a traffic watcher and run the stack and then save the transcript from his traffic watcher and find the user and log in info anyway.. so maybe there is a better way... tell me if I have this right.. 1. create a main stack with all the application tool box.. 2. create a substack, enter the USER and PASS and domain etc stuff in a custom prop(s) in the substack 3. password protect the substack. 4. Now, when the main stack wants to do an upload or download, I just have handlers in the mainstack refer to the custom properties in the substack. Right? And this a) means no one can read the custom props in the substack without the password b) I have to be careful not to try to view the custom props in the application browser if the password has been set. I'm sure someone has invented this wheel already... Thanks Sivakatirswami From chipp at chipp.com Sun Dec 5 23:09:46 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 05 Dec 2004 22:09:46 -0600 Subject: Protecting Log In Data In-Reply-To: <9C47FA64-4738-11D9-9315-000A959D0AC6@hindu.org> References: <9C47FA64-4738-11D9-9315-000A959D0AC6@hindu.org> Message-ID: <41B3DB8A.7040505@chipp.com> You might try out Richard Gaskins PGP routines. There's a tutorial for them I wrote at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm I thought of 'altBranding' the library, but Scott Rossi would just have too much fun with that ;-) best, Chipp Sivakatirswami wrote: > I distribute stacks that allow volunteers access to specific files on > our servers... > I want to protect the log in info from a text reader which might simply > open the stack file... > I'm not looking for NASA high clearance security here... (FTP user names > and passwords are viewable by packet sniffers anyway.) From ambassador at fourthworld.com Mon Dec 6 00:03:51 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Dec 2004 21:03:51 -0800 Subject: Protecting Log In Data In-Reply-To: <41B3DB8A.7040505@chipp.com> References: <9C47FA64-4738-11D9-9315-000A959D0AC6@hindu.org> <41B3DB8A.7040505@chipp.com> Message-ID: <41B3E837.10904@fourthworld.com> Chipp Walters wrote: > You might try out Richard Gaskins PGP routines. There's a tutorial for > them I wrote at: > http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm And the original article which describes how it works, with the complete code listing: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sims at ezpzapps.com Mon Dec 6 00:26:45 2004 From: sims at ezpzapps.com (sims) Date: Mon, 6 Dec 2004 06:26:45 +0100 Subject: Rotate an image ... In-Reply-To: <5.1.0.14.0.20041206012132.08525870@mail.tweedly.net> References: <5.1.0.14.0.20041205150935.030a7a70@pop3.btinternet.com> <5.1.0.14.0.20041206012132.08525870@mail.tweedly.net> Message-ID: > >>On 12/5/04 9:24 AM, "Alex Tweedly" wrote: >> >>> Is there a way to rotate an image to get just the original image, >>>but rotated >>> ? >> >>Try: >> >> set the angle of img "myfile.png" to 90 > >Thank you Ken (and others). I think there would be cases where the >more complex methods are needed - but this is enough for my simple >example. > >The annoying thing is I had been looking at "set angle" but rejected >it because the docs said, quite clearly, > >> Unlike the rotate command, the angle property affects only the >>screen display of the image, not the actual picture data in it. > >and therefore I assumed that set angle wouldn't affect the data when >I exported it. > >Wrong again ! I should know by now that Rev does "the right thing" >unless proven otherwise. Also...player objects can display TIFF files in addition to JPEGS (and others) whereas image objects cannot display TIFFs (as far as I know). With Trevor's most *excellent* QT external you can now rotate a player, iow rotate images with the player object. sims EuroRevCon 2006! From kray at sonsothunder.com Mon Dec 6 00:56:32 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 05 Dec 2004 23:56:32 -0600 Subject: Image change on mouseover In-Reply-To: <20041206020618.18401.qmail@web51110.mail.yahoo.com> Message-ID: On 12/5/04 8:06 PM, "Gordon" wrote: > Dear Revolutionaries > > How do I store 2 images so that I can switch between > them using the mouseEnter and mouseLeave commands on > an image control, making the image change when I > mouseover it? Does it have to be an image control? It would be so much easier to use a button object (you can make it totally transparent so it *looks* just like an image). Then you import your two images, note the IDs, and then set the "autoArm" of the button to true, set the icon of the button to its "normal" state, and set the "armedIcon" of the button to its rollover state. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alw918 at earthlink.net Mon Dec 6 03:16:16 2004 From: alw918 at earthlink.net (Andrew) Date: Mon, 6 Dec 2004 00:16:16 -0800 Subject: Windows standalone problems In-Reply-To: <20041205233205.21FDA93006E@mail.runrev.com> Message-ID: <19ABCA94-475F-11D9-A2F7-000393DD0724@earthlink.net> So, does anyone have want to take a guess why my Windows standalone won't show a card field? Thanks A From signe.sanne at roman.uib.no Mon Dec 6 03:32:24 2004 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Mon, 06 Dec 2004 09:32:24 +0100 Subject: RevOnLine Message-ID: <5.2.0.8.2.20041206092259.00c1e718@alf.uib.no> Hello again, David Squance just made me aware of the fact that I had forgotten to mention my user name: sms (which is my initials), under which you'll find the two small stacks. Another way to access them is Browse by category... and you'll find them under Programming and Utilities. Actually, I did not understand the difference between these two and have managed to put one under each. (SaveStackInStack is under Programming.) Regards Signe Marie Sanne 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 ?isteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/Info/sms.html Norway From signe.sanne at roman.uib.no Mon Dec 6 04:39:03 2004 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Mon, 06 Dec 2004 10:39:03 +0100 Subject: Add fields from stack in data directory to standalone In-Reply-To: <6.1.2.0.0.20041205213859.01aafb28@mail.armbase.com> References: <5E57B83E-4701-11D9-91B9-000A27B49A96@major-k.de> <6.1.2.0.0.20041205200821.0199ab78@mail.armbase.com> <5E57B83E-4701-11D9-91B9-000A27B49A96@major-k.de> Message-ID: <5.2.0.8.2.20041206103659.00c5e0e0@alf.uib.no> At 21:41 05.12.2004 +0000, you wrote: >At 21:05 05/12/2004, you wrote: > >Hi Klaus > > > >>I suggest the following: >> >>Prepare your complete stack/database "baddresstemplate.rev", test it and >>save it... >> >>Then store it in a customproperty of your standalone! >> >>... >>answer file "Where is Bob?" >>##select your "baddresstemplate.rev" stack here... >>set the my_template_database of stack "xyz" to url("binfile:" & it) >>## or "...of this stack..." >>... >>_ >Ohh I have been away. I'm totally lost regarding custom properties. I'll >get something done and get back to you all in a week. > >I need to get Dan's book out and have a gander. My recent uploading to RevOnLine (SaveStackInStack) shows how to save a stack in various ways as a custom property. (See under Username: sms). 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 ?isteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/Info/sms.html Norway From janschenkel at yahoo.com Mon Dec 6 07:36:39 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Dec 2004 04:36:39 -0800 (PST) Subject: select non-adjacent lines in a field? In-Reply-To: <20041203060847.4993.qmail@web61107.mail.yahoo.com> Message-ID: <20041206123639.26124.qmail@web60502.mail.yahoo.com> --- Erik Hansen wrote: > > this has come up. > is there a good keyword > for archive searching? > Let's see how I'd try and track this down: I'll select a field, open the Inspector palette and go to the 'Basic' panel -- in the 'List behaviour' section I'd notice the checkboxes "Multi-lines", "Non-contiguous" and "Click to toggle". If I have my preferences set to use "Description of option" as my property labels, then hovering over these checkboxes will tell me the Transcript name of these properties. Next I'll check out the documentation 1) open the Rev documentation 2) go to the 'Objects' section 3) expand 'Objects' 4) expand 'Field' 5) expand 'Properties' At this point, I'd notice that the field has a property called 'multipleLines', so I click that. Reading the documentation, I see that it's not quite what I want, so on to "noncontiguousHilites" ; and lo and behold, that's what I want. Now that I know the field property that governs this is called "noncontiguousHilites" I'd search the archives for that string. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From janschenkel at yahoo.com Mon Dec 6 07:41:22 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Dec 2004 04:41:22 -0800 (PST) Subject: trigger in edit cell In-Reply-To: <9942432E-44A9-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: <20041206124122.54940.qmail@web60501.mail.yahoo.com> --- Hershel Fisch wrote: > Hi all > How can trigger a script when a fld "table edit > cell" going from cell > to cell ? > I tried the "tabKey" DW rawKey DW . what should I > try ? > Thanks, Hershel > Hi Hershel, If you've turned on the 'table behavior' in the inspector palette, then Revolution will trap the relevant events: tabKey, arrowKey, returnInField, enterInField ; and will do its stuff to select the correct cell. Of course, if you want to use this behavior _and_ receive a message so that you can handle certain aspects yourself, I suggest you create an enhancement request by means of bugzilla. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ambassador at fourthworld.com Mon Dec 6 08:28:03 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 06 Dec 2004 05:28:03 -0800 Subject: Windows standalone problems In-Reply-To: <19ABCA94-475F-11D9-A2F7-000393DD0724@earthlink.net> References: <19ABCA94-475F-11D9-A2F7-000393DD0724@earthlink.net> Message-ID: <41B45E63.8030106@fourthworld.com> Andrew wrote: > So, does anyone have want to take a guess why my Windows standalone > won't show a card field? Not possible without a little more background. For example, do you have any Win standalones in which card fields appear? If so, the answer lies in the differences between the two -- isolate those differences and you will find your answer. If you've checked your scripts, the second step would be to make a test build without Rev's library scripts. If the field appears without those, checking the Profile Manager settings may be a good starting point. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From fde101 at fjrhome.net Mon Dec 6 08:47:09 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 6 Dec 2004 08:47:09 -0500 Subject: Cross platform search database In-Reply-To: <20041204145045.94BB19300C2@mail.runrev.com> References: <20041204145045.94BB19300C2@mail.runrev.com> Message-ID: <5305D6A3-478D-11D9-B0DA-0050E410655F@fjrhome.net> The easiest way to set up all of the searching, etc. for a large database would be to store all of the data in an SQL database and let the database server worry about indexing, searching, and sorting results; however, this would require there to be an SQL database server running on the machine in order to query the results. Not a particularly nice thing for running such a program from a CD. However, there is also the possibility of an *embedded* database server, which would place a miniature database server into your application. I have personally not tried using one of these, but it may be worthwhile for you to research one. Rev supports one called "Valentina" (spl?), the advantage of this approach is that you get the search and sort capabilities of a database server, the database engine handles the disk-to-RAM issues for you, and there is still nothing for the end-users to install: the database server would run inside your created standalone application with no network access or anything to worry about, and all of the data gets stored in a file on your CD. It would be completely transparent for your end users, and simplify your life considerably. On Dec 4, 2004, at 9:59 AM, MisterX wrote: > > Hi Jesse! > >> I would like to build a cross platform app that would be >> shipped on a CD-ROM that contains a whole collection of html files. > > We'll see about that! I'll give you another approach list that could > maybe fit... > >> Previously, we had to depend on a Java applet, but that had >> all sorts of problems with XP and also OS X and works on >> certain browsers only. >> I would like to abandon that and use Revolution as the engine >> if possible. > > Very good choice! You'll see that you can go beyond HTML in no time > without much trouble and better results just like in the old days! > >> My question is this: What would be the best approach to building this? > > Since HyperCard, the stack is the dataholder and the application. > This is one approach. The other which is the application accessing > the data stored externally is the lighter approach. Memory isn't > usually a problem but oversized stacks can be. > > So you can easily create a GUI to browse through the folders and > load the data from text files. I find it easier to grab data off > stack files (which can be encrypted and loaded hidden!) It all > depends on the data... > >> I did have some preliminary code to recursively decend down a >> series of folders and then the general idea would be to load >> up the text into cards and allow text searching on those cards? > > Well, if the stack has the text files imported, you wont need to > reload them after. A stack is also very easy to search... > >> My understanding from some of the previous discussions is >> that the entire stack is loaded into memory and that would >> mean that the more content there is, the more memory would be >> required for that. > > The optimal size depends on the granularity of your data. > > Lots of records or huge records or both? > Lots of searching "what?" > > You can always index stack content and distribute it like a linked > list or double linked list record database (you keep a link to a > card in a stack and that's a link! This is really fast for multi > leveled records or hierarchical databases. > > Imagine you have a dictionary or encyclopedia. > You can't put it all in one stack! > > So you can break it down into subjects or alphabetical groupings > or usage frequency or by geographical / ethimological source! > >> Are there any other approaches to this? Can a stack keep most >> of its data on the hard disk and still be searchable for its text? > > Yes. Yes! But I would keep images separated... If there's over a > hundred images, keep them off-stack with the relative path to the > image. You can ammend the real path at runtime or preload the images > into the stack you display - choices are infinite... > >> I don't have a problem with keeping the redundant text inside >> Revolution stacks. My goal in the long term is to do away >> with the html files totally (lots of legacy files) and to >> have everything presented from within Revolution itself. > > no prob. RunRev apps run locally or off the pc without installers. > I would assume the same from Macs or Linux but not sure as I've > not tried them yet. > >> The goal is to allow text searching, which will show up a >> bunch of hits in a window and a scrolling list and then allow >> the user to click on one of those choices and then launch >> back into the browser window to see the actual file. > >> I would appreciate it if there are any pointers or >> suggestions as to how to best go about doing this. > > There's at least a million stacks out there with examples of > databases. Lots of links to show... But I can proudly say you > can find examples for all you want in monsieurx.com. > > You have HTML parsers - the DiscreteBrowser stack > You have databases - Search for csv (a simple csv file importer > with field parser to create a stack database. > > Or search for xos an advanced virtual database meta-format OS. > There's an example self documenting of sorts stack too... > >> In the old days of Hypercard and Supercard, it would have >> been a matter of just throwing everything into individual >> cards on a stack and the stack contents are paged from the >> hard drive. If everything is preloaded into memory in >> Revolution, then I might have a problem ultimately as the >> contents grow before I am able to make a full transition a >> cd-rom that's entirely done using Revolution. > > Still is actually! Just with mo features to throw at the client! > > Cheers > Xavier > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From heather at runrev.com Mon Dec 6 09:33:03 2004 From: heather at runrev.com (Heather Nagey) Date: Mon, 06 Dec 2004 14:33:03 +0000 Subject: runrev 404 errors In-Reply-To: <20041205233205.589C99300DC@mail.runrev.com> Message-ID: > I've been trawling the archive fo the list and all the url's to the runrev > site return a 404. > > Have the pages been deleted or moved elsewhere? :-) Moved, mostly. The Runrev site recently underwent a complete overhaul, most of the old material was incorporated, updated and expanded upon, except the parts that were deleted... :) This does mean that old links will not work. Try going to www.runrev.com, and surfing around a bit to get a feel for where things have gone. Probably the most useful section of the site for developers in the "resources and support" section, lots of good stuff to find there. I hope this helps, Regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From fde101 at fjrhome.net Mon Dec 6 09:50:14 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 6 Dec 2004 09:50:14 -0500 Subject: Opacity Percentage? In-Reply-To: <000f01c4da4a$a5a36340$6502a8c0@davidvq5o4w7vw> References: <530A5ABB-463C-11D9-AFFD-000393C10758@all-auctions.com> <000f01c4da4a$a5a36340$6502a8c0@davidvq5o4w7vw> Message-ID: <2337A3A2-4796-11D9-B0DA-0050E410655F@fjrhome.net> The blendLevel seems a better solution in this case, but getting back to the handler posted at the URL below, could it not be simplified even further: on mouseUp put empty into aData put numToChar(128) into ch repeat for the number of chars in the alphaData of image 1 put ch after aData end repeat set the alphaData of image 1 of aData end mouseUp On Dec 4, 2004, at 4:46 PM, David Kwinter wrote: > You'll need to use images and manipulate their alphadata. See > http://www.sonsothunder.com/devres/metacard/tips/imag005.htm > > > ----- Original Message ----- From: "Rick Harrison" > > To: "How to use Revolution" > Sent: Saturday, December 04, 2004 1:34 PM > Subject: Opacity Percentage? > > >> Hi there, >> I wanted to create a bunch of different color filters >> and to be able to change the opacity by percentages. >> I thought I'd use a basic rectangle and see if I could >> change the opacity so that the object beneath it >> shows through. >> So far I haven't found a way to do this in Revolution. >> Is there a way? >> Thanks in advance. >> Rick >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From gwalias-rev at yahoo.com Mon Dec 6 10:12:31 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Mon, 6 Dec 2004 07:12:31 -0800 (PST) Subject: Opacity Percentage? In-Reply-To: <2337A3A2-4796-11D9-B0DA-0050E410655F@fjrhome.net> Message-ID: <20041206151231.58403.qmail@web51109.mail.yahoo.com> Dear Rick I experimented with this problem and it seems to have a really straightforward solution (unless I misunderstand the problem) ... I created empty image areas on a card and then used the "fill" tool (in the graphics tools at the bottom of the toolbox) to fill them with colors (e.g. red, green & blue). If I then set the "blend" property to "on" by checking the box on the property inspector for each image area, I could manually set their opacity using the slider on the property inspector, or in a script, by using a command of the form: set the blendLevel of image "myImage" to 50 This seems to have the desired effect for creating colored semi-transparent filters. I guess the colors are innacurate unless you do some more fancy screen calibration - but is this what you were trying to achieve? Best Gordon --- "Frank D. Engel, Jr." wrote: > The blendLevel seems a better solution in this case, > but getting back > to the handler posted at the URL below, could it not > be simplified even > further: > > on mouseUp > put empty into aData > put numToChar(128) into ch > > repeat for the number of chars in the alphaData > of image 1 > put ch after aData > end repeat > > set the alphaData of image 1 of aData > end mouseUp > > > On Dec 4, 2004, at 4:46 PM, David Kwinter wrote: > > > You'll need to use images and manipulate their > alphadata. See > > > http://www.sonsothunder.com/devres/metacard/tips/imag005.htm > > > > > > ----- Original Message ----- From: "Rick Harrison" > > > > > To: "How to use Revolution" > > > Sent: Saturday, December 04, 2004 1:34 PM > > Subject: Opacity Percentage? > > > > > >> Hi there, > >> I wanted to create a bunch of different color > filters > >> and to be able to change the opacity by > percentages. > >> I thought I'd use a basic rectangle and see if I > could > >> change the opacity so that the object beneath it > >> shows through. > >> So far I haven't found a way to do this in > Revolution. > >> Is there a way? > >> Thanks in advance. > >> Rick > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> > http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave > his only begotten > Son, that whosoever believeth in him should not > perish, but have > everlasting life. > $ > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB > Transfer > 10 Personalized POP and Web E-mail Accounts, and > much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Mon Dec 6 13:05:00 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 6 Dec 2004 13:05:00 -0500 Subject: Offset button in "answer" dialogs Message-ID: <58DDDDF6-47B1-11D9-B0DA-0050E410655F@fjrhome.net> Under Mac OS X, Apple's HI guidelines specify that when displaying an alert with a third button which can potentially cause data loss (as opposed to other, "safe" buttons), that button should be offset from the other two buttons. Rev seems to do this automatically when the third button is "Don't Save", but I would like to do this with a button having a different label. In other words, I have a button which has a different title, but may cause data loss. Short of building a custom dialog for this, is there any way to coax the "answer" dialog into offsetting a button with a different name? Thank you! ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From hershrev at realtorsgroup.us Mon Dec 6 13:22:33 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Mon, 6 Dec 2004 13:22:33 -0500 Subject: trigger in edit cell In-Reply-To: <20041206124122.54940.qmail@web60501.mail.yahoo.com> Message-ID: >> > > Hi Hershel, > > If you've turned on the 'table behavior' in the > inspector palette, then Revolution will trap the > relevant events: tabKey, arrowKey, returnInField, > enterInField ; and will do its stuff to select the > correct cell. Thanks, Jan , But this only true when the "edit field" is "not" true, once the "editCell" is set to true then all the above massages fail and that's what I need. Thanks again, Hershel Fisch > > Of course, if you want to use this behavior _and_ > receive a message so that you can handle certain > aspects yourself, I suggest you create an enhancement > request by means of bugzilla. Looks like that bugzilla changed their loc. > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Mon Dec 6 14:33:49 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Dec 2004 11:33:49 -0800 (PST) Subject: trigger in edit cell In-Reply-To: Message-ID: <20041206193350.68027.qmail@web60508.mail.yahoo.com> --- Hershel Fisch wrote: > > Of course, if you want to use this behavior _and_ > > receive a message so that you can handle certain > > aspects yourself, I suggest you create an > enhancement > > request by means of bugzilla. > > Looks like that bugzilla changed their loc. > According to the FAQ on the runrev.com website : Bugzilla has been moved to : Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com From dsquance at elkvalley.net Mon Dec 6 14:40:07 2004 From: dsquance at elkvalley.net (David Squance) Date: Mon, 6 Dec 2004 12:40:07 -0700 Subject: RevOnline Message-ID: Unfortunately, the user name is of no use to me, since it appears RevOnline is restricted to those with RR2.5 which I can't afford. Thanks anyhow. Dave > Hello again, > > David Squance just made me aware of the fact that I had forgotten to > mention my user name: sms (which is my initials), under which you'll > find the two small stacks. Another way to access them is Browse by > category... and you'll find them under Programming and Utilities. > Actually, I did not understand the difference between these two and > have managed to put one under each. (SaveStackInStack is under > Programming.) > > Regards > Signe Marie Sanne From janschenkel at yahoo.com Mon Dec 6 14:42:27 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Dec 2004 11:42:27 -0800 (PST) Subject: RevOnline In-Reply-To: Message-ID: <20041206194228.72419.qmail@web60501.mail.yahoo.com> --- David Squance wrote: > Unfortunately, the user name is of no use to me, > since it appears > RevOnline is restricted to those with RR2.5 which I > can't afford. > Thanks anyhow. > Dave > RevOnline is also in the Dreamcard player -- so just download and install this free player, and you can access the content of RevOnline, just not publish your stacks there... Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 From got at mindspring.com Mon Dec 6 14:42:49 2004 From: got at mindspring.com (Gordon Tillman) Date: Mon, 6 Dec 2004 13:42:49 -0600 Subject: RevOnline In-Reply-To: References: Message-ID: <02A57CC1-47BF-11D9-9171-000A95ADFC4C@mindspring.com> Hi David, On Dec 6, 2004, at 13:40, David Squance wrote: > Unfortunately, the user name is of no use to me, since it appears > RevOnline is restricted to those with RR2.5 which I can't afford. > Thanks anyhow. > Dave I think you can download the free Revolution Dreamcard Player and access the RevOnline stuff with that application. --gordon From gwalias-rev at yahoo.com Mon Dec 6 20:38:12 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Mon, 6 Dec 2004 17:38:12 -0800 (PST) Subject: Grouped objects Message-ID: <20041207013812.32966.qmail@web51110.mail.yahoo.com> Dear Revolutionaries How do I refer to a control in a group, using a script? Here's what I want to do ... I have a group consisting of a label and an image. When the mouse enters the group, I want to change the text format of the label. How do I refer to the label? I cannot say "set the textcolor of me to red" when the group is "me". Best Gordon From gwalias-rev at yahoo.com Mon Dec 6 20:46:52 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Mon, 6 Dec 2004 17:46:52 -0800 (PST) Subject: Grouped objects In-Reply-To: <20041207013812.32966.qmail@web51110.mail.yahoo.com> Message-ID: <20041207014653.591.qmail@web51101.mail.yahoo.com> Dear Revolutionaries Sorry - I just realized how to do this by looking at the title of the script window where it clearly defines the script path of the current object! I entered: set the textcolor of field "myField" of me to "red" Logical! (Transcript, not me) Sorry for that. Gordon --- Gordon wrote: > Dear Revolutionaries > > How do I refer to a control in a group, using a > script? > > Here's what I want to do ... > > I have a group consisting of a label and an image. > When the mouse enters the group, I want to change > the > text format of the label. How do I refer to the > label? > I cannot say "set the textcolor of me to red" when > the > group is "me". > > Best > > Gordon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Mon Dec 6 21:32:04 2004 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 07 Dec 2004 02:32:04 +0000 Subject: Grouped objects In-Reply-To: <20041207014653.591.qmail@web51101.mail.yahoo.com> References: <20041207013812.32966.qmail@web51110.mail.yahoo.com> Message-ID: <5.1.0.14.0.20041207022944.02f6ff58@mail.tweedly.net> At 17:46 06/12/2004 -0800, Gordon wrote: >Dear Revolutionaries > >Sorry - I just realized how to do this by looking at >the title of the script window where it clearly >defines the script path of the current object! > >I entered: > >set the textcolor of field "myField" of me to "red" > >Logical! (Transcript, not me) Yes, but in general you could be here (in the group's handler) due to events with any of the fields in the group, so this won't always work. Check out the docs for "target" -- Alex. From jacque at hyperactivesw.com Mon Dec 6 21:43:23 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Dec 2004 20:43:23 -0600 Subject: Offset button in "answer" dialogs In-Reply-To: <58DDDDF6-47B1-11D9-B0DA-0050E410655F@fjrhome.net> References: <58DDDDF6-47B1-11D9-B0DA-0050E410655F@fjrhome.net> Message-ID: <41B518CB.5000302@hyperactivesw.com> On 12/6/04 12:05 PM, Frank D. Engel, Jr. wrote: > Under Mac OS X, Apple's HI guidelines specify that when displaying an > alert with a third button which can potentially cause data loss (as > opposed to other, "safe" buttons), that button should be offset from the > other two buttons. Rev seems to do this automatically when the third > button is "Don't Save", but I would like to do this with a button having > a different label. > > In other words, I have a button which has a different title, but may > cause data loss. Short of building a custom dialog for this, is there > any way to coax the "answer" dialog into offsetting a button with a > different name? I'm not sure if this will help, but the dialog only checks for the word "don't". So if you can label your button with anything that starts with "don't" you are in business. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Mon Dec 6 23:11:01 2004 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 6 Dec 2004 23:11:01 -0500 Subject: Opacity Percentage? In-Reply-To: <20041206151231.58403.qmail@web51109.mail.yahoo.com> References: <20041206151231.58403.qmail@web51109.mail.yahoo.com> Message-ID: <0175C2C5-4806-11D9-AD43-000393C10758@all-auctions.com> On Dec 6, 2004, at 10:12 AM, Gordon wrote: > Dear Rick > > I experimented with this problem and it seems to have > a really straightforward solution (unless I > misunderstand the problem) ... > > ... > > Gordon > > Gordon, You must have missed my last post. That was the approach I ended up using, and it works great. My initial problem was that the Rev documentation didn't show me a cross reference when I was searching it for opacity. Once I understood that I needed to use "Blendlevel" everything fell into place. Thanks for responding! Rick From ambassador at fourthworld.com Tue Dec 7 02:28:22 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 06 Dec 2004 23:28:22 -0800 Subject: devolution available In-Reply-To: References: Message-ID: <41B55B96.8070305@fourthworld.com> Dick Kriesel wrote: > On 12/3/04 10:42 PM, "Richard Gaskin" wrote: > >>Anyone else interested in working on a script editor if it were open source? > > If it would be integrated with the Rev debugger, then I'd want to join in > the effort. Would it? It would if you chose to make that your first contribution to the effort. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dick.kriesel at mail.com Tue Dec 7 04:55:50 2004 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 07 Dec 2004 01:55:50 -0800 Subject: devolution available In-Reply-To: <41B55B96.8070305@fourthworld.com> Message-ID: On 12/6/04 11:28 PM, "Richard Gaskin" wrote: >> On 12/3/04 10:42 PM, "Richard Gaskin" wrote: >> >>> Anyone else interested in working on a script editor if it were open source? >> >> If it would be integrated with the Rev debugger, then I'd want to join in >> the effort. Would it? > > It would if you chose to make that your first contribution to the effort. ;) There must be quicker alternatives, since I have few clues how complex the interface is between the current editor and the debugger. But since I think their current behavior together is buggy and incomplete, I?m guessing it?s not trivial. So for now I'm hoping someone else will make this key contribution -- or explain how trivial it is. I think integrating the editor with the debugger will happen a lot sooner and better if RR wants to support the project's goals. Then at least we'd get some good clues about the current API and what changes they see coming. Does anybody at RR want to support the goal of integrating the proprietary debugger with a non-proprietary script editor? -- Dick From ambassador at fourthworld.com Tue Dec 7 08:57:26 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 07 Dec 2004 05:57:26 -0800 Subject: devolution available In-Reply-To: References: Message-ID: <41B5B6C6.2080400@fourthworld.com> Dick Kriesel wrote: > I think integrating the editor with the debugger will happen a lot sooner > and better if RR wants to support the project's goals. Then at least we'd > get some good clues about the current API and what changes they see coming. Not necessarly: they have many other priorities that I would prefer them to place ahead of this. Their code is open and waiting to be read, and likely does not differ dramatically from the MC IDE code from which both this editor and their debugger were born. It may not be trivial, but I'm almost certain it could be done faster by a motivated outsider than put into queue with RunRev behind a long list of things only they can do, like engine fixes and enhancements. Speaking of, I just got notice that bug #605 was fixed -- the answer file filters on OS X. Yeah! Thanks Tuv! -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From kevin at runrev.com Tue Dec 7 07:23:00 2004 From: kevin at runrev.com (Kevin Miller) Date: Tue, 07 Dec 2004 12:23:00 +0000 Subject: devolution available In-Reply-To: Message-ID: On 7/12/04 9:55 am, "Dick Kriesel" wrote: >> It would if you chose to make that your first contribution to the effort. ;) > > There must be quicker alternatives, since I have few clues how complex the > interface is between the current editor and the debugger. But since I think > their current behavior together is buggy and incomplete, I?m guessing it?s > not trivial. So for now I'm hoping someone else will make this key > contribution -- or explain how trivial it is. > > I think integrating the editor with the debugger will happen a lot sooner > and better if RR wants to support the project's goals. Then at least we'd > get some good clues about the current API and what changes they see coming. > > Does anybody at RR want to support the goal of integrating the proprietary > debugger with a non-proprietary script editor? Unfortunately, beneficial as I think this project would be, this isn't something we have the resources to support at the moment. I'm sure several people on this list would be capable of figuring out the inner workings of these components and getting this started. We might be able to provide some help with this at a later stage. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From BNZ2 at CDC.GOV Tue Dec 7 10:25:52 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 7 Dec 2004 10:25:52 -0500 Subject: Sending a window to the bottom of all open windows? Message-ID: <64878EF567131D4596246171F75FD4A9469DEF@m-epo-1.epo.cdc.gov> Do you guys know if there is a way to tell a standalone window to set itself to the bottom, in terms of the Z-order of all open windows (not just open rev stacks)? Jonathan Lynch Epi-X Editor 404-498-6061 From gwalias-rev at yahoo.com Tue Dec 7 11:33:30 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Tue, 7 Dec 2004 08:33:30 -0800 (PST) Subject: Revolution, Python and bytecode optimization - A teeny math benchmark Message-ID: <20041207163331.34843.qmail@web51102.mail.yahoo.com> Dear Revolutionaries I really like Python and I was just curious to see how the rev compiled bytecode compared to Python's in a very simple math benchmark. I am definitely NOT making any kind of statement here about Rev. or Python (or any other programming language for that matter). If we simply wanted to do pure math at lightning speeds and cared little about wonderful interfaces or programming flexibility, we'd all be using a command line C compiler. That being said however, I am always interested in any approach that can combine the wonderful flexibility of 4th generation languages with the performance traditionally associated with the statically typed, compiled languages (like C or Fortran). Of course, languages like C will likely always have certain advantages with regards to performance optimization, compared with Rev or Python, but any tricks we can use that can improve the performance of the languages we love, can potentially give us the best of both worlds. This is something the Python community has really taken to heart. Successive releases of Python have gotten ever faster (20 - 30% speed up between Python 2.2 and 2.3, another ~5% for Python 2.4) but it's the Python community at large (arguably the lynchpin of Python's success) that have really stepped up to the plate and provided superb tools for improving Python's performance. Python users can now inline C code with modules like Pyrex and Weave and in an even simpler approach, they can optimize the Python bytecode with modules like Psyco, which can make a really dramatic performance difference. So as Marty DiBergi would say - enough of my yackin' let's boogie! Teeny math benchmark: 10,000,000 iterations of a loop, calculating the square root of the loop index on each pass. Revolution 2.5 repeat with n = 1 to niter put sqrt(n) into tmp end repeat Time = 7.133 seconds (elapsed) Python 2.3 while n <= niter: s = math.sqrt(n) n += 1 Time = 18.1 seconds (elapsed) Python 2.3 with Psyco bytecode optimization One line of code added "psyco.bind(timeit)" where "timeit" is the name of my simple iterative function Time = 1.66 seconds (elapsed) I know I know ... the author of this little benchmark is fully aware that this is just one tiny aspect of each langauge and that it doesn't prove anything and you shouldn't sell the farm based upon this etc. etc. ... He was just curious and wanted to make the point about bytecode optimization. Questions: Could such a bytecode optimization approach work for compiled Rev stacks also? Are there other people out there thinking about such things as how to add C modules for computationally intensive parts of a Rev. program? Is the Rev. externals package easy enough to use that it constitutes a viable solution to improving perfomance through the use of DLLs? Best Gordon ===== :::::::::: Gordon Webster :::::::::: From PatGeorgeA at aol.com Tue Dec 7 11:46:38 2004 From: PatGeorgeA at aol.com (PatGeorgeA at aol.com) Date: Tue, 7 Dec 2004 11:46:38 EST Subject: screen resolution problems Message-ID: <13d.7f6d3b1.2ee7386e@aol.com> Hi, I have been developing software for testing in schools - built as a windows standalone.? The program is made for a 1024 x 768 screen size (the card filling about 2/3rds of the screen with a backdrop) - the stack is quite complex, it contains lots script, lots of cards, each with different fonts, buttons and fields.? Some of the computers we wanted to use are networked and set to a screen resolution of 800 x 600.?? Can anyone suggest a good solution to this?? The easiest solution would be to change the resolution of the host computers during testing - at the end change it back.? Would this be an okay thing to do and does anyone have a script that would allow me to do this??? An alternative solution would be to change everything on the stack?? Is this solution the best and is there any easy way to do this? I would be very grateful for any help. thanks, Patricia George From klaus at major-k.de Tue Dec 7 12:21:43 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Dec 2004 18:21:43 +0100 Subject: screen resolution problems In-Reply-To: <13d.7f6d3b1.2ee7386e@aol.com> References: <13d.7f6d3b1.2ee7386e@aol.com> Message-ID: <76C5E7D2-4874-11D9-871D-000A27B49A96@major-k.de> Hi Pat, > Hi, > I have been developing software for testing in schools - built as a > windows > standalone.? The program is made for a 1024 x 768 screen size (the > card filling > about 2/3rds of the screen with a backdrop) Ehmm, did i understand you right? 1024 / 3 * 2 = about 683 768 / 3 * 2 = 512 This will fit onto a monitor set to 800*600 and parts of the backdrop could still be seen... In THAT case setting the stack to the screenloc would be sufficient :-) on preopenstack set the loc of this stack to the screenloc ... end preopenstack > ... > I would be very grateful for any help. > thanks, > Patricia George Regards Klaus Major klaus at major-k.de http://www.major-k.de From PatGeorgeA at aol.com Tue Dec 7 13:07:03 2004 From: PatGeorgeA at aol.com (PatGeorgeA at aol.com) Date: Tue, 7 Dec 2004 13:07:03 EST Subject: screen resolution problems Message-ID: <6a.4a174c18.2ee74b47@aol.com> Hi Klaus, sorry to mislead you, have tried the software on a screen set to 800 x 600 and it is too big - it doesn't all fit onto the screen. Unfortunately, the original size of the stack is 940 x 600. thanks, Pat > Ehmm, did i understand you right? > > 1024 / 3 * 2 = about 683 > 768 / 3 * 2 = 512 > > This will fit onto a monitor set to 800*600 and parts of the backdrop > could still > From fde101 at fjrhome.net Tue Dec 7 13:57:58 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 7 Dec 2004 13:57:58 -0500 Subject: screen resolution problems In-Reply-To: <6a.4a174c18.2ee74b47@aol.com> References: <6a.4a174c18.2ee74b47@aol.com> Message-ID: From a development perspective, both solutions are less than desirable: 1. Rev does not like to have the screen resolution changed while running; this is an engine flaw (one might say limitation, but since Apple's HI guidelines, and M$'s as well I think, make specific statements that programs should be prepared to deal cleanly with changes in the screen resolution while running, it is *quite* a limitation), so it applies to all standalones as well. While it may be possible to use a script to change the screen resolution, this may not be desirable, and the standalone may not work correctly. Any comments here? Has anyone actually tested Rev's (or a standalone's) behavior when the resolution changes midstream? See the docs for the screenRect function for more details. 2. Depending on how your card was designed, reducing the size of the stack may require you to redo the layouts of some, many, or all objects on each and every card (but ultimately it would work)... Suggested new stack sizes: 720x460, 790x504 The easiest option is to change the screen resolution of those computers *before* starting your program. The "best" option (depending on your situation) would likely be #2, though it could take some time. Another (unfortunate) reality: some monitors, or some video cards, may limit your screen resolution to the point where it may not be possible to get the higher resolution. Also, some security software may prevent the resolution from being changed. On Dec 7, 2004, at 1:07 PM, PatGeorgeA at aol.com wrote: > Hi Klaus, > sorry to mislead you, have tried the software on a screen set to 800 x > 600 > and it is too big - it doesn't all fit onto the screen. > Unfortunately, the > original size of the stack is 940 x 600. > thanks, > Pat > >> Ehmm, did i understand you right? >> >> 1024 / 3 * 2 = about 683 >> 768 / 3 * 2 = 512 >> >> This will fit onto a monitor set to 800*600 and parts of the backdrop >> could still >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From stephenREVOLUTION at barncard.com Tue Dec 7 16:53:54 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 7 Dec 2004 13:53:54 -0800 Subject: Standalone Problems for OSX and OS9 apps Message-ID: so today finally after 2 years of using Rev, I've actually tried to make some standalones, and the process seems to be straightforward and simple. However, the standalones display different results, some of which defeat the usefulness of these apps, and the inconsistency is bothersome. 1. App is created in 2.5, using no externals, etc, all Transcript. Simple loading in of text files, parsing data to send to a second stack window for printing. There are grey cutting guide lines on the printing window (this is for simple CD labeling) and also table boundary lines which show up properly on screen and print just fine on a Laserwriter printer. Everything works in the IDE. OS 10.3.4. I'm using tab-delimited text inserted into table fields from files loaded with open and read. 2. OSX standalone works great, except that all the greyed lines don't appear in the printed output but yet are there in the template stack. Huh? 3. The OS 9 stanalone is worse - the grey lines show up in print, but no text gets loaded into the table field for editing. Another button that loads text from the clipboard works, but loading from a file doesn't - only on the OS9 standalone. Are there any 'gotchas' that I should be looking out for in compiling these apps? The appropriate libraries were checked. Is it the shade of grey that's the problem? disappointed but not down, stephen barncard -- _________________________________________________________________________ CSN FAMILY OF WEBSITES: http://crosbystillsnash.com http://crosbynash.com http://grahamnash.com http://davidcrosby.com Stephen Barncard WEb duDe Record Producer and Mixer stephen at barncard.com Barncard site http://www.barncard.com _________________________________________________________________________ From sarahr at genesearch.com.au Tue Dec 7 17:18:48 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 8 Dec 2004 08:18:48 +1000 Subject: Standalone Problems for OSX and OS9 apps In-Reply-To: References: Message-ID: > 1. App is created in 2.5, using no externals, etc, all Transcript. > Simple loading in of text files, parsing data to send to a second > stack window for printing. There are grey cutting guide lines on the > printing window (this is for simple CD labeling) and also table > boundary lines which show up properly on screen and print just fine on > a Laserwriter printer. Everything works in the IDE. OS 10.3.4. I'm > using tab-delimited text inserted into table fields from files loaded > with open and read. > > 2. OSX standalone works great, except that all the greyed lines don't > appear in the printed output but yet are there in the template stack. > Huh? I don't have any great ideas about this one. Do you create a new stack based on a template stack? If so, it will be it's own mainStack and not inherit any properties from the original's mainStack. Could this be the problem? > > 3. The OS 9 stanalone is worse - the grey lines show up in print, but > no text gets loaded into the table field for editing. Another button > that loads text from the clipboard works, but loading from a file > doesn't - only on the OS9 standalone. This is almost certainly a file path problem as OS 9 operates differently to OS X. Does the app locate the text files itself or do you use answer file to find them? if it is locating them itself, then I would expect that the file path is incorrect. Build an OS 9 app that uses the answer file command and you will be able to see exactly what the file path should be. Cheers, Sarah From wow at together.net Tue Dec 7 17:37:05 2004 From: wow at together.net (Richard Miller) Date: Tue, 7 Dec 2004 17:37:05 -0500 Subject: Battery testing, volume booster In-Reply-To: References: Message-ID: <85977DAA-48A0-11D9-B78B-003065B0423A@together.net> Looking for ideas on how to accomplish two functions from within Rev: 1. Read the status of the internal battery (i.e. % charged); 2. Boost the output of the speaker beyond the built-in volume level. In other words, access/create the functionality of a simple software equalizer (such as the Preamp function in I-Tunes). Any suggestions? Thanks. Richard Miller Imprinter Technologies, LLC From klaus at major-k.de Tue Dec 7 17:45:48 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Dec 2004 23:45:48 +0100 Subject: screen resolution problems In-Reply-To: <6a.4a174c18.2ee74b47@aol.com> References: <6a.4a174c18.2ee74b47@aol.com> Message-ID: Hi Pat, > Hi Klaus, > sorry to mislead you, have tried the software on a screen set to 800 x > 600 > and it is too big - it doesn't all fit onto the screen. > Unfortunately, the > original size of the stack is 940 x 600. > thanks, > Pat Ah, i knew it wouldn't be THAT easy :-) >> Ehmm, did i understand you right? >> ... Best Klaus Major klaus at major-k.de http://www.major-k.de From sarahr at genesearch.com.au Tue Dec 7 17:51:36 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 8 Dec 2004 08:51:36 +1000 Subject: Battery testing, volume booster In-Reply-To: <85977DAA-48A0-11D9-B78B-003065B0423A@together.net> References: <85977DAA-48A0-11D9-B78B-003065B0423A@together.net> Message-ID: <8C6B4ACF-48A2-11D9-AA52-0003937A97B8@genesearch.com.au> Hi Richard, > Looking for ideas on how to accomplish two functions from within Rev: > > 1. Read the status of the internal battery (i.e. % charged); > I can't help with the volume boost, but here is the script I use for reading the battery charge in an iBook. It requires the shell command "battery" which you can download from . I couldn't get that link to work this morning, so if you want the shell command, let me know off-list and I can email you a copy. I put it into the "/usr/bin/" folder but you can put it anywhere you like if you send the full path to the shell function. It can give you a whole heap of info - run it in Terminal and check the help, but the function below just returns the percent charge or "n/a" if there is no battery. -- check battery level using OS X shell command -- battery script needs to be in /usr/bin/ -- -- returns percent charge or "n/a" -- function batteryLevel if isOSX() then put shell("battery csv") into tBatt put last item of line 1 of tBatt into tPercent put item 4 of tBatt into tFlags if char 6 of tFlags = 0 then -- no battery connected put "n/a" into tPercent end if else -- OS 9 can't use shell commands put "n/a" into tPercent end if return tPercent end batteryLevel Cheers, Sarah From stephenREVOLUTION at barncard.com Tue Dec 7 17:56:25 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 7 Dec 2004 14:56:25 -0800 Subject: Standalone Problems for OSX and OS9 apps Message-ID: Thanks Sara, no, this is not a file path problem. The files are selected by the standard file dialog. And by 'template' I mean that one stack is strictly a 'template' for printing with no controls and fields that are stripped down with no scrollbars, focus or border so it will print correctly. Data are inserted by script prior to printing. Both platform apps print the text if it's already in the field. EVERYTHING works great in the IDE in OSX. The application builder downloaded any missing engines. But right now the app is useless in both platforms, for different reasons. Damn. sqb >>1. App is created in 2.5, using no externals, etc, all Transcript. >>Simple loading in of text files, parsing data to send to a second >>stack window for printing. There are grey cutting guide lines on >>the printing window (this is for simple CD labeling) and also table >>boundary lines which show up properly on screen and print just fine >>on a Laserwriter printer. Everything works in the IDE. OS 10.3.4. >>I'm using tab-delimited text inserted into table fields from files >>loaded with open and read. >> >>2. OSX standalone works great, except that all the greyed lines >>don't appear in the printed output but yet are there in the >>template stack. Huh? >I don't have any great ideas about this one. Do you create a new >stack based on a template stack? If so, it will be it's own >mainStack and not inherit any properties from the original's >mainStack. Could this be the problem? >> >>3. The OS 9 stanalone is worse - the grey lines show up in print, >>but no text gets loaded into the table field for editing. Another >>button that loads text from the clipboard works, but loading from a >>file doesn't - only on the OS9 standalone. >This is almost certainly a file path problem as OS 9 operates >differently to OS X. Does the app locate the text files itself or do >you use answer file to find them? if it is locating them itself, >then I would expect that the file path is incorrect. Build an OS 9 >app that uses the answer file command and you will be able to see >exactly what the file path should be. > >Cheers, >Sarah > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Dec 7 18:08:25 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 7 Dec 2004 15:08:25 -0800 Subject: Standalone Problems for OSX and OS9 apps In-Reply-To: References: Message-ID: On Dec 7, 2004, at 1:53 PM, Stephen Barncard wrote: > so today finally after 2 years of using Rev, I've actually tried to > make some standalones, and the process seems to be straightforward and > simple. However, the standalones display different results, some of > which defeat the usefulness of these apps, and the inconsistency is > bothersome. > 3. The OS 9 stanalone is worse - the grey lines show up in print, but > no text gets loaded into the table field for editing. Another button > that loads text from the clipboard works, but loading from a file > doesn't - only on the OS9 standalone. Are you testing the OS 9 standalone on an OS 9 machine or using Classic with OS X? If you are using Classic then reading files will not work. It works fine if running under OS 9 however. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From immunoteam at yahoo.com Tue Dec 7 18:11:11 2004 From: immunoteam at yahoo.com (Anna Shn) Date: Tue, 7 Dec 2004 15:11:11 -0800 (PST) Subject: Setting fonts to be different in OSX and Windows In-Reply-To: <20041204170107.9373993011D@mail.runrev.com> Message-ID: <20041207231111.36035.qmail@web50906.mail.yahoo.com> Hello again! and thank you for your responses! I have some questions about how to actually implement your suggestions: Jacqueline Gay, you said: >>Another way that sometimes works is to have a handler check >>the platform that is running, and set the font size in Windows a >>bit smaller than it is on a Mac. You can do this in a >>preOpenCard handler if the changes affect only that card, or >>do it more generally in a preOpenStack handler if the changes >>need to be widespread. For example, set the textsize to 12 on >>Mac and 11 on Windows. What is preOpenCard/Stack and how do I access these items to change them? >>Richard Gaskin mentioned that "There was a thread here a >>couple weeks ago on this [cross-platform texts] -- anyone have >>the time to put that into the FAQ?" If anyone does that would be great! or if you remember the subject of the thread, I could find it myself in the archives. Thanks again, Anna --------------------------------- Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. From immunoteam at yahoo.com Tue Dec 7 18:14:24 2004 From: immunoteam at yahoo.com (Anna Shn) Date: Tue, 7 Dec 2004 15:14:24 -0800 (PST) Subject: Formatting text within a field Message-ID: <20041207231424.36983.qmail@web50906.mail.yahoo.com> I have another question about fonts: is it possible to format the text within a field without using HTML? I have only been able to make uniform text in a field [i.e. all same size, style: bold, italisized, underlined, and font face.] Thank you! Anna --------------------------------- Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. From alex at tweedly.net Tue Dec 7 18:30:52 2004 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 07 Dec 2004 23:30:52 +0000 Subject: Revolution, Python and bytecode optimization - A teeny math benchmark In-Reply-To: <20041207163331.34843.qmail@web51102.mail.yahoo.com> Message-ID: <5.1.0.14.0.20041207231839.028710f8@mail.tweedly.net> At 08:33 07/12/2004 -0800, Gordon wrote: >Teeny math benchmark: >10,000,000 iterations of a loop, calculating the >square root of the loop index on each pass. > >Revolution 2.5 > repeat with n = 1 to niter > put sqrt(n) into tmp > end repeat > >Time = 7.133 seconds (elapsed) > >Python 2.3 >while n <= niter: > s = math.sqrt(n) > n += 1 > >Time = 18.1 seconds (elapsed) > >I know I know ... the author of this little benchmark >is fully aware that this is just one tiny aspect of >each langauge and that it doesn't prove anything and >you shouldn't sell the farm based upon this etc. etc. >... He was just curious and wanted to make the point >about bytecode optimization. > I'll get around to a longer reply on the underlying issues ..... but a quick comment on your benchmark. I read your disclaimer - but even allowing for that, I don't understand why you used such different forms of loops to compare. If you're doing the Python version >while n <= niters: > n += 1 why not do the Rev as >repeat while n <= niters > add 1 to n >end repeat (For rev, the "repeat while" version is 60% slower than "repeat for".) Or, otoh, why not compare >repeat for n=1 to niters with >for n in range(niters): (the "for" version is about 25% faster in Python than the "while" version) And of course, I still can't figure out why a bytecode optimizer wouldn't achieve what a good compiler optimizer would - i.e. eliminate the entire loop, setting the terminal values for n and tmp. -- Alex. From stephenREVOLUTION at barncard.com Tue Dec 7 18:30:01 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 7 Dec 2004 15:30:01 -0800 Subject: Standalone Problems for OSX and OS9 apps Message-ID: Why on earth won't a simple file read work in Classic? Even Hypercard works fine in classic! that is the most basic thing a program can do! Is this a bug? And this of course does not address the printing differences noted in OSX. Why would any of that be different? >On Dec 7, 2004, at 1:53 PM, Stephen Barncard wrote: > >>so today finally after 2 years of using Rev, I've actually tried to >>make some standalones, and the process seems to be straightforward >>and simple. However, the standalones display different results, >>some of which defeat the usefulness of these apps, and the >>inconsistency is bothersome. > >>3. The OS 9 stanalone is worse - the grey lines show up in print, >>but no text gets loaded into the table field for editing. Another >>button that loads text from the clipboard works, but loading from a >>file doesn't - only on the OS9 standalone. > >Are you testing the OS 9 standalone on an OS 9 machine or using >Classic with OS X? If you are using Classic then reading files will >not work. It works fine if running under OS 9 however. > From sarahr at genesearch.com.au Tue Dec 7 18:34:43 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 8 Dec 2004 09:34:43 +1000 Subject: Formatting text within a field In-Reply-To: <20041207231424.36983.qmail@web50906.mail.yahoo.com> References: <20041207231424.36983.qmail@web50906.mail.yahoo.com> Message-ID: <9247BCBD-48A8-11D9-81A1-0003937A97B8@genesearch.com.au> > I have another question about fonts: is it possible to format the text > within a field without using HTML? I have only been able to make > uniform text in a field [i.e. all same size, style: bold, italisized, > underlined, and font face.] > Yes it is. Try things like: set the textFont of line 3 of fld "Text" to "Verdana" set the textStyle of char 3 to 7 of line 12 of fld "Text" to "bold,italic" set the textSize of line 3 to 6 of fld "Text" to 14 set the foreColor of word 5 of line 2 of fld "Text" to "blue" If you need to copy the text to another field, you will have to use the htmlText as that is the property that holds the formatting. e.g. put fld "Text" into fld "Another" will only copy the actual text. set the htmlText of fld "Another" to the htmlText of fld "Text" will copy all the formatting. This also allows a very quick method of removing all formatting: put fld "Text" into fld "Text" Cheers, Sarah From sarahr at genesearch.com.au Tue Dec 7 18:38:07 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 8 Dec 2004 09:38:07 +1000 Subject: Standalone Problems for OSX and OS9 apps In-Reply-To: References: Message-ID: <0BF57060-48A9-11D9-81A1-0003937A97B8@genesearch.com.au> You can read files in Classic, but as the file paths are different, you need to use the revMacFromUnixPath function to translate your file paths. I haven't got the scripts handy at the moment, but I worked all this out a while ago. I'll look them up this evening and post an example tomorrow, but it CAN be done, although I too used to think otherwise. Sarah On 8 Dec 2004, at 9:32 am, Stephen Barncard wrote: > Why on earth won't a simple file read work in Classic? Even Hypercard > works fine in classic! that is the most basic thing a program can do! > Is this a bug? > > And this of course does not address the printing differences noted in > OSX. Why would any of that be different? > >> On Dec 7, 2004, at 1:53 PM, Stephen Barncard wrote: >> >>> so today finally after 2 years of using Rev, I've actually tried to >>> make some standalones, and the process seems to be straightforward >>> and simple. However, the standalones display different results, some >>> of which defeat the usefulness of these apps, and the inconsistency >>> is bothersome. >> >>> 3. The OS 9 stanalone is worse - the grey lines show up in print, >>> but no text gets loaded into the table field for editing. Another >>> button that loads text from the clipboard works, but loading from a >>> file doesn't - only on the OS9 standalone. >> >> Are you testing the OS 9 standalone on an OS 9 machine or using >> Classic with OS X? If you are using Classic then reading files will >> not work. It works fine if running under OS 9 however. From wow at together.net Tue Dec 7 19:00:33 2004 From: wow at together.net (Richard Miller) Date: Tue, 7 Dec 2004 19:00:33 -0500 Subject: Battery testing, volume booster In-Reply-To: <8C6B4ACF-48A2-11D9-AA52-0003937A97B8@genesearch.com.au> References: <85977DAA-48A0-11D9-B78B-003065B0423A@together.net> <8C6B4ACF-48A2-11D9-AA52-0003937A97B8@genesearch.com.au> Message-ID: <2E7F451C-48AC-11D9-B78B-003065B0423A@together.net> Thanks, Sarah. That seems to work fine. Much appreciated. Still looking for ideas on the volume boost from anyone else. Richard On Dec 7, 2004, at 5:51 PM, Sarah Reichelt wrote: > Hi Richard, > >> Looking for ideas on how to accomplish two functions from within Rev: >> >> 1. Read the status of the internal battery (i.e. % charged); >> > I can't help with the volume boost, but here is the script I use for > reading the battery charge in an iBook. It requires the shell command > "battery" which you can download from > . I couldn't get that link > to work this morning, so if you want the shell command, let me know > off-list and I can email you a copy. > I put it into the "/usr/bin/" folder but you can put it anywhere you > like if you send the full path to the shell function. It can give you > a whole heap of info - run it in Terminal and check the help, but the > function below just returns the percent charge or "n/a" if there is no > battery. > > > -- check battery level using OS X shell command > -- battery script needs to be in /usr/bin/ > -- > -- returns percent charge or "n/a" > -- > function batteryLevel > if isOSX() then > put shell("battery csv") into tBatt > put last item of line 1 of tBatt into tPercent > put item 4 of tBatt into tFlags > if char 6 of tFlags = 0 then > -- no battery connected > put "n/a" into tPercent > end if > else > -- OS 9 can't use shell commands > put "n/a" into tPercent > end if > return tPercent > end batteryLevel > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pdel at noos.fr Tue Dec 7 19:26:17 2004 From: pdel at noos.fr (Pierre Del.) Date: Wed, 8 Dec 2004 01:26:17 +0100 Subject: using links on the web Message-ID: Hi everybody. I have hundred of pages written in a rev stack. In these pages are included numerous links made using the linktext property. When I click on the text, a very simple message like "ABCDE" is sent and leads to another card. My problem is the following : if I put the htlmtext of my pages on a web site, and if the user clicks on the links, the browser searches a page named "ABCDE" and of course finds nothing since it is not a URL. It would be a lot of work to replace each link by an URL. I have a MySQL database with a table associating a correct URL to each "ABCDE", but I can't find a way to recover "ABCDE"as a variable and send it to the database. Maybe a javascript script?? Thanks for your help. Pierre Delain From kray at sonsothunder.com Tue Dec 7 20:38:55 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 07 Dec 2004 19:38:55 -0600 Subject: Formatting text within a field In-Reply-To: <20041207231424.36983.qmail@web50906.mail.yahoo.com> Message-ID: On 12/7/04 5:14 PM, "Anna Shn" wrote: > I have another question about fonts: is it possible to format the text within > a field without using HTML? I have only been able to make uniform text in a > field [i.e. all same size, style: bold, italisized, underlined, and font > face.] Yes... here's an example: set the textColor of word 2 of field 1 to red Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From bfr at nwlink.com Tue Dec 7 20:44:24 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Tue, 07 Dec 2004 17:44:24 -0800 Subject: Cross platform search database In-Reply-To: <5305D6A3-478D-11D9-B0DA-0050E410655F@fjrhome.net> Message-ID: > The easiest way to set up all of the searching, etc. for a large > database would be to store all of the data in an SQL database and let > the database server worry about indexing, searching, and sorting > results; however, this would require there to be an SQL database server > running on the machine in order to query the results. Not a > particularly nice thing for running such a program from a CD. Or just do it all in a Filemaker runtime. From briany at qldlearning.com Tue Dec 7 20:52:34 2004 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 7 Dec 2004 17:52:34 -0800 Subject: Cross platform search database In-Reply-To: Message-ID: Or use the Valentina SQL engine for heavy lifting, which ships with Rev. >> The easiest way to set up all of the searching, etc. for a large >> database would be to store all of the data in an SQL database and let >> the database server worry about indexing, searching, and sorting >> results; however, this would require there to be an SQL database >> server >> running on the machine in order to query the results. Not a >> particularly nice thing for running such a program from a CD. > > Or just do it all in a Filemaker runtime. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mpetrides at earthlink.net Tue Dec 7 21:16:08 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 7 Dec 2004 21:16:08 -0500 Subject: Product Announcements In-Reply-To: <1079532A-A824-11D8-AD3E-000393882F80@runrev.com> References: <1079532A-A824-11D8-AD3E-000393882F80@runrev.com> Message-ID: <1F1DF052-48BF-11D9-A78C-000A959D005E@earthlink.net> Rod, My blood banking software, Transfusion Medicine Interactive, (created with Rev of course) is finally available through the AABB Press. Please refresh my memory on what you need from me/AABB in the way of a product announcement--i.e. how long should it be, any specific information that you require, etc. Thanks. Marian (Petrides, MD) On May 17, 2004, at 1:03 PM, Rod McCall wrote: > Hello everyone, > > There has been quite a few product announcements lately. If you are > intending to announce a product then please get in touch as we can > help with promoting it to the outside world. It doesn't matter if your > product is commercial, shareware, freeware or postcardware we would > like to hear from you! > > Just send me an email (rodmc at runrev.com) if you would like more > information. > > Regards, > > Rod > > Dr Rod McCall ~ rodmc at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Dec 7 22:56:55 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 07 Dec 2004 19:56:55 -0800 Subject: screen resolution problems In-Reply-To: <13d.7f6d3b1.2ee7386e@aol.com> References: <13d.7f6d3b1.2ee7386e@aol.com> Message-ID: <41B67B87.8090005@chipp.com> The easiest solution is to check on startup the screen resolution (get the screenRect) and if it's not big enough popup an answer warning dialog telling the user to please quit and change resolutions and relaunch. The next easiest solution would be to open the stack w/out clipping on the screen (course it's too big) and build yourself a small nav palette like Richard Gaskin has in devolution...not too hard, I built one in a couple hours. The nav palette allows the user to move the larger screen around easily and view all parts of it...think pan and scan. The best solution would be to modify your stack so it works well in both resolutions. See the Geometry Manager or resizeStack handler. hope this helps, Chipp PatGeorgeA at aol.com wrote: > Hi, > I have been developing software for testing in schools - built as a windows > standalone. The program is made for a 1024 x 768 screen size (the card filling > about 2/3rds of the screen with a backdrop) - the stack is quite complex, it > contains lots script, lots of cards, each with different fonts, buttons and > fields. > > Some of the computers we wanted to use are networked and set to a screen > resolution of 800 x 600. Can anyone suggest a good solution to this? The > easiest solution would be to change the resolution of the host computers during > testing - at the end change it back. Would this be an okay thing to do and does > anyone have a script that would allow me to do this? An alternative solution > would be to change everything on the stack? Is this solution the best and is > there any easy way to do this? From alw918 at earthlink.net Wed Dec 8 01:47:51 2004 From: alw918 at earthlink.net (Andrew) Date: Tue, 7 Dec 2004 22:47:51 -0800 Subject: Windows standalone two handlers separated In-Reply-To: <20041208014752.32EBC930132@mail.runrev.com> Message-ID: <14C0C19C-48E5-11D9-BEDC-000393DD0724@earthlink.net> I've got another clue about why my windows standalone is not working. Okay, my script into two halves-- one in the card script and one in the script of a button. At the end if the card script section it says send parttwo to card button "instructions" ...And I made sure to put all of the relevant local variables (only 1) into a global variable, so that it could be accessed in the script of the card button "instructions". However, It seems as though my standalone is only running the card script section, and then not going to the script of cd btn "instructions". Is there any known error that Windows standalones have with, as in this case, one handler calling a handler that's located elsewhere? btw: unrelated thing: if I have a wav file in my stack, how do I a. find out how big it is b. delete it? Thanks :) Andrew From klaus at major-k.de Wed Dec 8 03:25:47 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 8 Dec 2004 09:25:47 +0100 Subject: Windows standalone two handlers separated In-Reply-To: <14C0C19C-48E5-11D9-BEDC-000393DD0724@earthlink.net> References: <14C0C19C-48E5-11D9-BEDC-000393DD0724@earthlink.net> Message-ID: Hi Andrew, > I've got another clue about why my windows standalone is not working. > Okay, my script into two halves-- one in the card script and one in > the script of a button. At the end if the card script section it says > send parttwo to card button "instructions" > > ...And I made sure to put all of the relevant local variables (only 1) > into a global variable, so that it could be accessed in the script of > the card button "instructions". You could even send that local var as a parameter to your button, see below... > However, It seems as though my standalone is only running the card > script section, and then not going to the script of cd btn > "instructions". Is there any known error that Windows standalones > have with, as in this case, one handler calling a handler that's > located elsewhere? If you specify the exact location of the button it will work! Like: ... send "parttwo" to btn "name here" of cd x ## of stack y ## if the button is inanother stack... ... Please note the quotes! Or with the above mentioned parameter: local varname on xyz send "parttwo varname" to btn "name here" of cd x ... And in the button: on parttwo whattheheck ## do something with whattheheck ... Make sure that "varname" is not empty! ;-) > btw: unrelated thing: if I have a wav file in my stack, how do I > a. find out how big it is Sorry, no idea... > b. delete it? In the preerences -> Application Browser check "Show audio clips" (and "Show vieoclips") then you can select your sound and delete it in the App Browser. > Thanks :) > Andrew Regards Klaus Major klaus at major-k.de http://www.major-k.de From rjb at rz.uni-potsdam.de Wed Dec 8 03:50:54 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 8 Dec 2004 09:50:54 +0100 Subject: RevOnline In-Reply-To: <20041206194228.72419.qmail@web60501.mail.yahoo.com> References: <20041206194228.72419.qmail@web60501.mail.yahoo.com> Message-ID: >--- David Squance wrote: >> Unfortunately, the user name is of no use to me, >> since it appears >> RevOnline is restricted to those with RR2.5 which I >> can't afford. >> Thanks anyhow. >> Dave >> > >RevOnline is also in the Dreamcard player -- so just >download and install this free player, and you can >access the content of RevOnline, just not publish your >stacks there... > >Jan Schenkel. Only if not using OS9. The player is crippled in OS9. Bug 2009. Robert From benr_mc at cogapp.com Wed Dec 8 07:10:56 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 08 Dec 2004 12:10:56 +0000 Subject: Standalone Problems for OSX and OS9 apps In-Reply-To: <0BF57060-48A9-11D9-81A1-0003937A97B8@genesearch.com.au> Message-ID: Sarah Reichelt wrote: >>> Trevor DeVore wrote: >>> [snip] >>> Are you testing the OS 9 standalone on an OS 9 machine or using >>> Classic with OS X? If you are using Classic then reading files will >>> not work. It works fine if running under OS 9 however. > > On 8 Dec 2004, at 9:32 am, Stephen Barncard wrote: >> Why on earth won't a simple file read work in Classic? Even Hypercard >> works fine in classic! that is the most basic thing a program can do! >> Is this a bug? >> [snip] > > You can read files in Classic, but as the file paths are different, you > need to use the revMacFromUnixPath function to translate your file > paths. > [snip] No, it really is a bug. As Trevor noted, it applies in Classic, not under true OS 9. http://support.runrev.com/bugdatabase/show_bug.cgi?id=379 http://support.runrev.com/bugdatabase/show_bug.cgi?id=1466 http://support.runrev.com/bugdatabase/show_bug.cgi?id=1468 http://support.runrev.com/bugdatabase/show_bug.cgi?id=2212 At one point it appeared to have been fixed - however I think this may be the continuing confusion between Classic under X versus true OS 9. It is a bug, and it is fantastically annoying for anyone developing under OS X who still needs to support OS 9, as for many apps it is simply impossible to test them under Classic. According to Tuviah's note on the latest of the above reports, the problem is in the development tool (CodeWarrior) that the Mac engine is built in, so RunRev can't fix it until Metrowerks fix that. Which puts me in somwewhat of a biter bit situation, since there are a number of bugs in my products that I tell my users "I can't do anything about it until my development environment [rev] is fixed". Now I know how they feel! Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From benr_mc at cogapp.com Wed Dec 8 09:11:57 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 08 Dec 2004 14:11:57 +0000 Subject: Wanted: idiot's guide to using Unicode in Rev Message-ID: Thanks to Ron Barber for some helpful responses to my previous mail. I'm making very slow and stumbling progress - still, progress! Now I've hit another area in which my incomprehension may be mixing with Rev bugs. Working with a field which has interited Geneva as it's font. Set the htmltext of a field to some text with a unicode character, eg

Hellō, world.

Goodbye.

Expected is a single unicode character (o-macron), in otherwise English text, ie Hell, world. Goodbye. Result is that all the text from the unicode character to the end of the paragraph is displayed as Japanese characters, ie Hell Goodbye. I can construct the desired behaviour by inserting the character after the rest of the text has been set; that is, first I set the field to the text Hello, world. Goodbye. then execute the statements put "ō" into x set the htmlText of char 5 of fld 1 to x Then I get the desired appearance. I then ask for the htmlText of the whole field, I get the string I started with, that is

Hellō, world.

Goodbye.

In other words, setting the htmlText of the field to the htmlText of the field changes it (rendering all the characters after the o-macron to japanese characters. Is this a bug? Is it a known bug? Is it in bugzilla? Is there a workaround? Note that the same does not occur with unicodeText - eg given a field constructed as above, the statement set the unicodeText of fld 1 to the unicodeText of fld 1 doesn't change the text (but of course it does change any style attributes, so this isn't by itself a solution to my problem.) Also note, attempted workaround: explicitly changing the font of the next character works, ie setting the field to:

Hellō, world.

Goodbye.

so forcing the comma that immediately follows o-macron back to english works; but this isn't a great solution in my general case, as the next character might be anything - a plain character, another unicode entity, the opening of another markup tag. Coding for the general case would be a real PITA. (I also tried just using the font tags without enclosing a character, that is

Hellō, world.

Goodbye.

Sadly this didn't work! Any help, tips, pointers to documentation, or answers to the specific questions above would be very gratefully received. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From index at kenjikojima.com Wed Dec 8 10:40:01 2004 From: index at kenjikojima.com (Kenji Kojima) Date: Wed, 8 Dec 2004 10:40:01 -0500 Subject: Wanted: idiot's guide to using Unicode in Rev In-Reply-To: References: Message-ID: <6C48783C-492F-11D9-A140-000D9328738A@kenjikojima.com> Ben, Convert the whole field ascii to unicode. Maybe this is the one of workarounds. AsciiToUni was made by Kiyoshi Kamogawa. on asciiToUni pFldName, pLang if pLang is "" then put ",japanese" into pLang end if put number of lines of fld pFldName into tNumOfLines lock screen repeat with i=1 to tNumOfLines put 0 into tNumOfChars repeat with h=1 to (number of chars of line i of fld pFldName) if (textFont of char h of line i of fld pFldName) contains "," then put tNumOfChars + 2 into tNumOfChars put h + 1 into h else put tNumOfChars + 2 into tNumOfChars end if end repeat repeat with j=1 to tNumOfChars if (textFont of char j of line i of fld pFldName) contains "," then put j + 1 into j else set useUnicode to true put uniEncode(char j of line i of fld pFldName) into tUniChar put tUniChar into char j of line i of fld pFldName set textFont of char j to j+1 of line i of fld pFldName to pLang set useUnicode to false put j+1 into j end if end repeat end repeat end asciiToUni -- Kenji Kojima http://www.kenjikojima.com/ On 2004/12/08, at 9:11, Ben Rubinstein wrote: > Thanks to Ron Barber for some helpful responses to my previous mail. > I'm > making very slow and stumbling progress - still, progress! Now I've > hit > another area in which my incomprehension may be mixing with Rev bugs. > > Working with a field which has interited Geneva as it's font. Set the > htmltext of a field to some text with a unicode character, eg >

Hellō, world.

Goodbye.

> > Expected is a single unicode character (o-macron), in otherwise English > text, ie > Hell, world. > Goodbye. > > Result is that all the text from the unicode character to the end of > the > paragraph is displayed as Japanese characters, ie > Hell > Goodbye. > > I can construct the desired behaviour by inserting the character after > the > rest of the text has been set; that is, first I set the field to the > text > Hello, world. > Goodbye. > > then execute the statements > put "ō" into x > set the htmlText of char 5 of fld 1 to x > > Then I get the desired appearance. I then ask for the htmlText of the > whole > field, I get the string I started with, that is >

Hellō, world.

Goodbye.

> > In other words, setting the htmlText of the field to the htmlText of > the > field changes it (rendering all the characters after the o-macron to > japanese characters. Is this a bug? Is it a known bug? Is it in > bugzilla? > Is there a workaround? > > Note that the same does not occur with unicodeText - eg given a field > constructed as above, the statement > set the unicodeText of fld 1 to the unicodeText of fld 1 > > doesn't change the text (but of course it does change any style > attributes, > so this isn't by itself a solution to my problem.) > > Also note, attempted workaround: explicitly changing the font of the > next > character works, ie setting the field to: > >

Hellō, > world.

Goodbye.

> > so forcing the comma that immediately follows o-macron back to english > works; but this isn't a great solution in my general case, as the next > character might be anything - a plain character, another unicode > entity, the > opening of another markup tag. Coding for the general case would be a > real > PITA. (I also tried just using the font tags without enclosing a > character, > that is > >

Hellō, > world.

Goodbye.

> > Sadly this didn't work! > > Any help, tips, pointers to documentation, or answers to the specific > questions above would be very gratefully received. > > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From BNZ2 at CDC.GOV Wed Dec 8 09:58:45 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 8 Dec 2004 09:58:45 -0500 Subject: Battery testing, volume booster Message-ID: <64878EF567131D4596246171F75FD4A90EC5AC@m-epo-1.epo.cdc.gov> Can the volume boost be affected through VBScript, C, or Jscript? If so, you could maybe create a script in Rev that does the following: 1) Checks to see if the relevant .vbs file (or whichever language you use) is located in the same folder as your stack 2) if it is not found, then writes a .vbs file with the necessary VBScript code 3) uses the shell command with the CScript command-line command to run the VBScript I am working on something like this to force a window to always stay on the bottom level. I think this is probably a very difficult approach, with many opportunities for odd problems - but it might work if nothing else does. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Miller Sent: Tuesday, December 07, 2004 7:01 PM To: How to use Revolution Subject: Re: Battery testing, volume booster Thanks, Sarah. That seems to work fine. Much appreciated. Still looking for ideas on the volume boost from anyone else. Richard On Dec 7, 2004, at 5:51 PM, Sarah Reichelt wrote: > Hi Richard, > >> Looking for ideas on how to accomplish two functions from within Rev: >> >> 1. Read the status of the internal battery (i.e. % charged); >> > I can't help with the volume boost, but here is the script I use for > reading the battery charge in an iBook. It requires the shell command > "battery" which you can download from > . I couldn't get that link > to work this morning, so if you want the shell command, let me know > off-list and I can email you a copy. > I put it into the "/usr/bin/" folder but you can put it anywhere you > like if you send the full path to the shell function. It can give you > a whole heap of info - run it in Terminal and check the help, but the > function below just returns the percent charge or "n/a" if there is no > battery. > > > -- check battery level using OS X shell command > -- battery script needs to be in /usr/bin/ > -- > -- returns percent charge or "n/a" > -- > function batteryLevel > if isOSX() then > put shell("battery csv") into tBatt > put last item of line 1 of tBatt into tPercent > put item 4 of tBatt into tFlags > if char 6 of tFlags = 0 then > -- no battery connected > put "n/a" into tPercent > end if > else > -- OS 9 can't use shell commands > put "n/a" into tPercent > end if > return tPercent > end batteryLevel > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Dec 8 12:05:59 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Dec 2004 09:05:59 -0800 Subject: Standalone Problems for OSX and OS9 apps In-Reply-To: References: Message-ID: <41B73477.70302@fourthworld.com> Ben Rubinstein wrote: > As Trevor noted, it applies in Classic, not under > true OS 9. > > http://support.runrev.com/bugdatabase/show_bug.cgi?id=379 > http://support.runrev.com/bugdatabase/show_bug.cgi?id=1466 > http://support.runrev.com/bugdatabase/show_bug.cgi?id=1468 > http://support.runrev.com/bugdatabase/show_bug.cgi?id=2212 > > ... > According to Tuviah's note on the latest of the above reports, the problem > is in the development tool (CodeWarrior) that the Mac engine is built in, so > RunRev can't fix it until Metrowerks fix that. Which puts me in somwewhat > of a biter bit situation, since there are a number of bugs in my products > that I tell my users "I can't do anything about it until my development > environment [rev] is fixed". Now I know how they feel! Why not just build them a native version for OS X? They'll have a more consistent experience with the rest of the OS, and it'll perform better than running under the Classic layer. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From webmaster at dreamscapesoftware.com Wed Dec 8 12:07:23 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 8 Dec 2004 11:07:23 -0600 Subject: using links on the web References: Message-ID: <005701c4dd48$63ea2690$5363113f@DOWNSTAIRS> > I have a MySQL database with a table associating a correct URL to each > "ABCDE", but I can't find a way to recover "ABCDE" as a variable and > send it to the database. I believe this problem could be solved by including a base url in your html code on the web... A JavaScript would also do the trick, but I do not know what the code for that would be. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From ambassador at fourthworld.com Wed Dec 8 12:38:38 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Dec 2004 09:38:38 -0800 Subject: Reminder: Open Directory listing for Transcript Message-ID: <41B73C1E.2060202@fourthworld.com> I noticed there are still a great many valuable contributions to the Rev community not listed in Open Directory: Open Directory is the world's leading hand-edited web directory, whose contents help feed Goodle, Yahoo, and most other major search engines. Listing your Rev tools and tutorials there helps you get more hits, and helps Rev get more visibility. There's a link on the upper-right of that page to let you add your own stuff there -- it takes only a minute to do, and can be quite valuable to everyone who uses Rev or might like to. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From chipp at chipp.com Wed Dec 8 13:01:55 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 08 Dec 2004 10:01:55 -0800 Subject: Wanted: idiot's guide to using Unicode in Rev In-Reply-To: References: Message-ID: <41B74193.6010605@chipp.com> Ben, Maybe not so much help but a tip. I know there is in existence a Japanese Rev users group. Perhaps you can get some help there? I don't know the URL but you may be able to Google it. best, Chipp From benr_mc at cogapp.com Wed Dec 8 12:59:08 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 08 Dec 2004 17:59:08 +0000 Subject: Standalone Problems for OSX and OS9 apps In-Reply-To: <41B73477.70302@fourthworld.com> Message-ID: Richard wrote: >> According to Tuviah's note on the latest of the above reports, the problem is >> in the development tool (CodeWarrior) that the Mac engine is built in, so >> RunRev can't fix it until Metrowerks fix that. Which puts me in somwewhat of >> a biter bit situation, since there are a number of bugs in my products that I >> tell my users "I can't do anything about it until my development environment >> [rev] is fixed". Now I know how they feel! > > Why not just build them a native version for OS X? They'll have a more > consistent experience with the rest of the OS, and it'll perform better > than running under the Classic layer. Sorry, I lacked clarity. Two separate things. - I have users actually running OS 9 for some of my tools. I need to build them a 'Classic' standalone. The problem is I can't easily test it since my development machine is MacOS X. I sometimes literally have to reboot into Classic - and when this machine packs up (can't be much longer now) I won't even have that option. Currently the weird situation is that I can more easily test my Windows standalones (using VPC) than I can Classic ones. - entirely separate, there are issues such as the - now fixed! - inability to use file extensions in OS X, the consequences of which have been noted and complained of by my users; to who I've given exactly the response that Tuviah has had to for #2212. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From b.xavier at internet.lu Wed Dec 8 13:08:54 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 8 Dec 2004 19:08:54 +0100 Subject: Reminder: Open Directory listing for Transcript In-Reply-To: <41B73C1E.2060202@fourthworld.com> Message-ID: <20041208180016.C0695930080@mail.runrev.com> Rich... It would be nice and even more beneficial to have everyone post everyone's links in their websites! Not all visitors we get on our webs are computer geeks - but this will definitely branch them to the runrev cyberworldwide "culture".... Smatofactly (snippet for as a matter of fact), many of the links I visit miss about 80% of the links related to RunRev. Very fu have taken the time to just fill in 17 addresses at most! It's shameful compared to the help and efforts that are just spilled all over this list, yet it has more value in terms of marketing for new clients than the list has. What about the 40 HC urls still lurking out there? Food for Thought by UB40 - I can improvize on it since tonite on my midi kbd!!! Regards Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Wednesday, December 08, 2004 18:39 > To: How to use Revolution > Subject: Reminder: Open Directory listing for Transcript > > I noticed there are still a great many valuable contributions > to the Rev community not listed in Open Directory: > > > > Open Directory is the world's leading hand-edited web > directory, whose contents help feed Goodle, Yahoo, and most > other major search engines. > > Listing your Rev tools and tutorials there helps you get more > hits, and helps Rev get more visibility. > > There's a link on the upper-right of that page to let you add > your own stuff there -- it takes only a minute to do, and can > be quite valuable to everyone who uses Rev or might like to. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mfstuart at cox.net Wed Dec 8 13:06:30 2004 From: mfstuart at cox.net (mfstuart at cox.net) Date: Wed, 8 Dec 2004 13:06:30 -0500 Subject: DreamCard Player does not "play" my app Message-ID: <20041208180632.DULH16894.fed1rmmtao01.cox.net@smtp.west.cox.net> Hi all, My first time submitting to the mailing list... I've created the MacAddict example at home, and everything works as it should. I emailed the MAForum.rev file to work, then downloaded the DreamCard player. I can open the app, but it doesn't "Load" the Categories from the web site, nor does it load the web page when clicking on the Forum list. Can anyone help with this? Thanx in advance, Mark Stuart From chipp at chipp.com Wed Dec 8 13:08:12 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 08 Dec 2004 10:08:12 -0800 Subject: Battery testing, volume booster In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5AC@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5AC@m-epo-1.epo.cdc.gov> Message-ID: <41B7430C.9030104@chipp.com> Hi Jonathan, You might throw some votes at Bugzilla Bug 704 "Keep window always in the background" - an enhancement request for a new window mode. -Chipp > I am working on something like this to force a window to always stay on > the bottom level. I think this is probably a very difficult approach, > with many opportunities for odd problems - but it might work if nothing > else does. From Meitnik at aol.com Wed Dec 8 13:27:58 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Wed, 8 Dec 2004 13:27:58 EST Subject: interesting patent Message-ID: <1cb.2d7c4839.2ee8a1ae@aol.com> U.S. Patent Awarded for Pageflex's Flexible Template Technology CAMBRIDGE, Mass.--(BUSINESS WIRE)----Pageflex (NASDAQ:BITS) (www.pageflex.com), the leading provider of variable data publishing and Web-to-print technology, today announced that the U.S. Patent and Trademark Office has awarded a patent for Pageflex's flexible template technology. Pageflex template technology enables a document layout to "flex," accommodating variable content within sophisticated designer-specified guidelines. The Pageflex XML-based composition engine handles page content (text and images) separate from page form (layout). When the length or size of custom content is different than the size of the box the content is flowing into, the box can expand in either the horizontal or vertical direction (or both), to accommodate the content. Designer-specified rules determine the maximum and minimum dimensions, as well as behavior of the surrounding elements on the page. The result is the ability to define sophisticated templates that accommodate a wide range of variable content by flexing the page layout. Pageflex's U.S. patent includes all of these capabilities as well as additional claims for related capabilities. "Pageflex solutions are founded on our unique flexible template technology," said Anna Chagnon, Pageflex CEO. "Receiving this patent is an important milestone as we accelerate on our growth plan, ensuring protection for our innovations that help our customers compete successfully." From europe at ehug.info Wed Dec 8 13:29:10 2004 From: europe at ehug.info (Mark Schonewille) Date: Wed, 08 Dec 2004 19:29:10 +0100 Subject: DreamCard Player does not "play" my app In-Reply-To: <20041208180632.DULH16894.fed1rmmtao01.cox.net@smtp.west.cox.net> References: <20041208180632.DULH16894.fed1rmmtao01.cox.net@smtp.west.cox.net> Message-ID: <41B747F6.2030006@ehug.info> Hi Mark, Congratulations. Probably, you got further than anyone else. I, for one, have never been able to get beyond the splash window. A much better approach than using the DreamCard player is to create your own player with all the features you expect to need. Best regards, Mark mfstuart at cox.net wrote: > Hi all, > > My first time submitting to the mailing list... > > I've created the MacAddict example at home, and everything works as it should. > I emailed the MAForum.rev file to work, then downloaded the DreamCard player. > I can open the app, but it doesn't "Load" the Categories from the web site, nor does it load the web page when clicking on the Forum list. > > Can anyone help with this? > > Thanx in advance, > > Mark Stuart -- eHUG coordinator mailto:europe at ehug.info fax: +1 501 633 94 04 http://home.wanadoo.nl/mark.sch http://www.ehug.info From ambassador at fourthworld.com Wed Dec 8 13:31:29 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Dec 2004 10:31:29 -0800 Subject: Reminder: Open Directory listing for Transcript In-Reply-To: <20041208180016.C0695930080@mail.runrev.com> References: <20041208180016.C0695930080@mail.runrev.com> Message-ID: <41B74881.1000004@fourthworld.com> MisterX wrote: >>-----Original Message----- >> >> >>Open Directory is the world's leading hand-edited web >>directory, whose contents help feed Goodle, Yahoo, and most >>other major search engines. >> >>Listing your Rev tools and tutorials there helps you get more >>hits, and helps Rev get more visibility. > > It would be nice and even more beneficial to have everyone post everyone's > links in their websites! Replicate the Open Directory effort on every Rev site? Open Directory is truly open -- you can include feeds from it into your site, so if you want to provide those listings at your own Rev site you can just use this one master resource and there's no re-inventing that wheel. As soon as the DMOZ listing gets as complete as mine I'll replace mine with it in a heartbeat. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed Dec 8 13:37:22 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Dec 2004 10:37:22 -0800 Subject: DreamCard Player does not "play" my app In-Reply-To: <41B747F6.2030006@ehug.info> References: <20041208180632.DULH16894.fed1rmmtao01.cox.net@smtp.west.cox.net> <41B747F6.2030006@ehug.info> Message-ID: <41B749E2.7080203@fourthworld.com> Mark Schonewille wrote: > A much better approach than using the DreamCard player is to create your > own player with all the features you expect to need. It's in RunRev's interest to make that unnecessary. A good player is the second most important external communications tool after their web site. They wouldn't let the web site lie broken, and hopefully they're prioritizing fixes to the player accordingly. Please send feedback to RunRev on what you need from a player that isn't currently addressed, and post bug reports to Bugzilla. The player is critical to the core mission. It would be better not to have one at all than one that's weak enough to motivate folks to build their own. Let's hope that doesn't have to happen: with your feedback there's an opportunity to spruce it up into something you'll enjoy using. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revlist at cableone.net Wed Dec 8 13:59:08 2004 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 8 Dec 2004 11:59:08 -0700 Subject: slightly OT - list of processes under Windows Message-ID: <000801c4dd57$ff8eac10$64fea8c0@chris1> Hi All, I need a command that I can use with the shell() function to list all running processes on Windows 2000 and Windows XP. Actually, I found "tasklist" for Windows XP, but this does not work on Windows 2000. Does anyone know of something similar that can be used for that version of Windows? Thanks, Chris Sheffield Software Development Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.807 / Virus Database: 549 - Release Date: 12/7/2004 From fde101 at fjrhome.net Wed Dec 8 13:59:31 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 8 Dec 2004 13:59:31 -0500 Subject: Windows standalone two handlers separated In-Reply-To: References: <14C0C19C-48E5-11D9-BEDC-000393DD0724@earthlink.net> Message-ID: <4B00D9C2-494B-11D9-8C08-0050E410655F@fjrhome.net> On Dec 8, 2004, at 3:25 AM, Klaus Major wrote: > Hi Andrew, > >> btw: unrelated thing: if I have a wav file in my stack, how do I >> a. find out how big it is > > Sorry, no idea... It's listed as a column in the Application Browser (at least it is in 2.5). It is also displayed in the property inspector for the clip. Or you may check the 'size' property of the audio clip. All of these give values in bytes. ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From b.xavier at internet.lu Wed Dec 8 14:16:02 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 8 Dec 2004 20:16:02 +0100 Subject: slightly OT - list of processes under Windows In-Reply-To: <000801c4dd57$ff8eac10$64fea8c0@chris1> Message-ID: <20041208190724.204A09300D4@mail.runrev.com> try pstools from sysinternals.com pslist for apps pskill for X) psfile for files opened it's free cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chris Sheffield > Sent: Wednesday, December 08, 2004 19:59 > To: RevList > Subject: slightly OT - list of processes under Windows > > Hi All, > > I need a command that I can use with the shell() function to > list all running processes on Windows 2000 and Windows XP. > Actually, I found "tasklist" for Windows XP, but this does > not work on Windows 2000. Does anyone know of something > similar that can be used for that version of Windows? > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.807 / Virus Database: 549 - Release Date: 12/7/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Wed Dec 8 14:28:57 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 8 Dec 2004 14:28:57 -0500 Subject: using links on the web In-Reply-To: <005701c4dd48$63ea2690$5363113f@DOWNSTAIRS> References: <005701c4dd48$63ea2690$5363113f@DOWNSTAIRS> Message-ID: <67CC1E01-494F-11D9-8C08-0050E410655F@fjrhome.net> Another possibility is to do the conversion within Rev, something like this (untested code; note the lookupURL function -- it should be obvious what that is meant to do): put empty into z repeat for each line x in the htmlText of field "Input" put x into y put offset("> I have a MySQL database with a table associating a correct URL to each >> "ABCDE", but I can't find a way to recover "ABCDE" as a variable and >> send it to the database. > > I believe this problem could be solved by including a base url in your > html code on the web... > > > > A JavaScript would also do the trick, but I do not know what the code > for that would be. > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Dec 8 14:37:45 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 8 Dec 2004 14:37:45 -0500 Subject: interesting patent In-Reply-To: <1cb.2d7c4839.2ee8a1ae@aol.com> References: <1cb.2d7c4839.2ee8a1ae@aol.com> Message-ID: Hmm.. sounds like something other programs have been doing for a long time already. Take FileMaker Pro, for example... I wonder if the patent is actually valid? On Dec 8, 2004, at 1:27 PM, Meitnik at aol.com wrote: > U.S. Patent Awarded for Pageflex's Flexible Template Technology > > CAMBRIDGE, Mass.--(BUSINESS WIRE)----Pageflex (NASDAQ:BITS) > (www.pageflex.com), the leading provider of variable data publishing > and Web-to-print > technology, today announced that the U.S. Patent and Trademark Office > has awarded a > patent for Pageflex's flexible template technology. > > Pageflex template technology enables a document layout to "flex," > accommodating variable content within sophisticated designer-specified > guidelines. The > Pageflex XML-based composition engine handles page content (text and > images) > separate from page form (layout). When the length or size of custom > content is > different than the size of the box the content is flowing into, the > box can > expand in either the horizontal or vertical direction (or both), to > accommodate > the content. Designer-specified rules determine the maximum and minimum > dimensions, as well as behavior of the surrounding elements on the > page. The result > is the ability to define sophisticated templates that accommodate a > wide range > of variable content by flexing the page layout. Pageflex's U.S. patent > includes all of these capabilities as well as additional claims for > related > capabilities. > > "Pageflex solutions are founded on our unique flexible template > technology," > said Anna Chagnon, Pageflex CEO. "Receiving this patent is an important > milestone as we accelerate on our growth plan, ensuring protection for > our > innovations that help our customers compete successfully." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From gwalias-rev at yahoo.com Wed Dec 8 14:44:40 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Wed, 8 Dec 2004 11:44:40 -0800 (PST) Subject: interesting patent In-Reply-To: <1cb.2d7c4839.2ee8a1ae@aol.com> Message-ID: <20041208194440.41786.qmail@web51101.mail.yahoo.com> Dear Revolutionaries I have glanced over this patent at the USPTO's web site. The original filing seems to date back to November 1999 and the 74 claims describe a flexible document layout system that outwardly resembles the kind of sequential, nested, vertical and horizontal layout controls of the kind used by the GTK graphics interface. In addition to altering the geometry of the components on the page, there are dependent claims that also allow for alteration of the form and contents of each component. As examples of the scope of the patent, claims 1 & 8 are interesting - I have reproduced them below. NB: I am NOT an attorney NOR am I a patent agent so all opinions expressed herein are utterly worthless and are for entertainment purposes only (Yikes! I sound like one of those Psychic Hotlines - 1-800-YOUR-DESTINY) Best Gordon Here is claim 1: 1. A computerized method of laying out a document containing a combination of text and shape elements, said method comprising: providing a user interface with controls for enabling a user to: place a sequence box, which has a sequencing axis, in the document; cause one or more shape elements to be located in the sequence box; cause a shape element, including one in the sequence box having at least one text or shape element as contents, to have a minimize property in at least one dimension; and cause a shape element, including one in the sequence box, to have a maximize property in at least one dimension; and performing an automatic layout process in which elements of the document are laid out onto a 2-dimensional area in which each such element is given a precise position and size, including: arranging shape elements, if any, placed within the sequence box in a sequence along the sequence box's sequencing axis; minimizing the size given to any shape element which has the minimize property in a given dimension, including any shape element within the sequence box, by making the element as small as its contents, if any, will allow in the given dimension, over a given length range; and maximizing the size given to any shape element which has the maximize property in a given dimension by making the element expand to encompass space available in the given dimension, over a given length range, said maximizing including, if the maximized shape element is within the sequence box, expanding it to encompass space available within the sequence box. Here is the dependent claim 8: 8. A method as in claim 1 wherein: said interface is a WYSIWYG graphical user interface which allows a user to select the placement of said sequence box and the shape elements within it, including allowing a user to use a pointing device to create, position and size said shape elements; and said layout process is performed interactively in response to changes made to the document by the user with said graphical user interface, to enable the user to see a screen display of the layout of the document showing any changes the user has just made to the document. --- Meitnik at aol.com wrote: > U.S. Patent Awarded for Pageflex's Flexible Template > Technology > > CAMBRIDGE, Mass.--(BUSINESS WIRE)----Pageflex > (NASDAQ:BITS) > (www.pageflex.com), the leading provider of variable > data publishing and Web-to-print > technology, today announced that the U.S. Patent and > Trademark Office has awarded a > patent for Pageflex's flexible template technology. > > Pageflex template technology enables a document > layout to "flex," > accommodating variable content within sophisticated > designer-specified guidelines. The > Pageflex XML-based composition engine handles page > content (text and images) > separate from page form (layout). When the length or > size of custom content is > different than the size of the box the content is > flowing into, the box can > expand in either the horizontal or vertical > direction (or both), to accommodate > the content. Designer-specified rules determine the > maximum and minimum > dimensions, as well as behavior of the surrounding > elements on the page. The result > is the ability to define sophisticated templates > that accommodate a wide range > of variable content by flexing the page layout. > Pageflex's U.S. patent > includes all of these capabilities as well as > additional claims for related > capabilities. > > "Pageflex solutions are founded on our unique > flexible template technology," > said Anna Chagnon, Pageflex CEO. "Receiving this > patent is an important > milestone as we accelerate on our growth plan, > ensuring protection for our > innovations that help our customers compete > successfully." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From kee at kagi.com Wed Dec 8 14:49:25 2004 From: kee at kagi.com (kee nethery) Date: Wed, 8 Dec 2004 11:49:25 -0800 Subject: interesting patent In-Reply-To: References: <1cb.2d7c4839.2ee8a1ae@aol.com> Message-ID: <436ECD6E-4952-11D9-9B04-000A959B2940@kagi.com> On Dec 8, 2004, at 11:37 AM, Frank D. Engel, Jr. wrote: > Hmm.. sounds like something other programs have been doing for a long > time already. Take FileMaker Pro, for example... > > I wonder if the patent is actually valid? if it is issued it is valid. Does someone who cares have prior art that would invalidate the patent and does someone who cares and has enough money to invalidate it know about that prior art. That's the big question. If issued, it is valid. Kee Nethery From revlist at cableone.net Wed Dec 8 14:50:30 2004 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 8 Dec 2004 12:50:30 -0700 Subject: slightly OT - list of processes under Windows In-Reply-To: <20041208190724.204A09300D4@mail.runrev.com> Message-ID: <000901c4dd5f$2c9c2a00$64fea8c0@chris1> Perfect! Thanks, I knew there had to be something. :-) Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Wednesday, December 08, 2004 12:16 PM To: 'How to use Revolution' Subject: RE: slightly OT - list of processes under Windows try pstools from sysinternals.com pslist for apps pskill for X) psfile for files opened it's free cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chris Sheffield > Sent: Wednesday, December 08, 2004 19:59 > To: RevList > Subject: slightly OT - list of processes under Windows > > Hi All, > > I need a command that I can use with the shell() function to > list all running processes on Windows 2000 and Windows XP. > Actually, I found "tasklist" for Windows XP, but this does > not work on Windows 2000. Does anyone know of something > similar that can be used for that version of Windows? > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.807 / Virus Database: 549 - Release Date: 12/7/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.807 / Virus Database: 549 - Release Date: 12/7/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.807 / Virus Database: 549 - Release Date: 12/7/2004 From david at kwinter.ca Wed Dec 8 14:58:15 2004 From: david at kwinter.ca (David Kwinter) Date: Wed, 8 Dec 2004 11:58:15 -0800 Subject: interesting patent References: <1cb.2d7c4839.2ee8a1ae@aol.com> <436ECD6E-4952-11D9-9B04-000A959B2940@kagi.com> Message-ID: <002001c4dd60$41852420$6601a8c0@davidvq5o4w7vw> Software patents hinder progress and favor large-caps which can afford the legal battles such patents beg for http://www.nosoftwarepatents.com/ ----- Original Message ----- From: "kee nethery" To: "How to use Revolution" Sent: Wednesday, December 08, 2004 11:49 AM Subject: Re: interesting patent > > On Dec 8, 2004, at 11:37 AM, Frank D. Engel, Jr. wrote: > >> Hmm.. sounds like something other programs have been doing for a long >> time already. Take FileMaker Pro, for example... >> >> I wonder if the patent is actually valid? > > if it is issued it is valid. Does someone who cares have prior art that > would invalidate the patent and does someone who cares and has enough > money to invalidate it know about that prior art. That's the big question. > If issued, it is valid. > > Kee Nethery > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From BNZ2 at CDC.GOV Wed Dec 8 14:59:15 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 8 Dec 2004 14:59:15 -0500 Subject: interesting patent Message-ID: <64878EF567131D4596246171F75FD4A9469E07@m-epo-1.epo.cdc.gov> Is RunRev patented? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Kwinter Sent: Wednesday, December 08, 2004 2:58 PM To: How to use Revolution Subject: Re: interesting patent Software patents hinder progress and favor large-caps which can afford the legal battles such patents beg for http://www.nosoftwarepatents.com/ ----- Original Message ----- From: "kee nethery" To: "How to use Revolution" Sent: Wednesday, December 08, 2004 11:49 AM Subject: Re: interesting patent > > On Dec 8, 2004, at 11:37 AM, Frank D. Engel, Jr. wrote: > >> Hmm.. sounds like something other programs have been doing for a long >> time already. Take FileMaker Pro, for example... >> >> I wonder if the patent is actually valid? > > if it is issued it is valid. Does someone who cares have prior art that > would invalidate the patent and does someone who cares and has enough > money to invalidate it know about that prior art. That's the big question. > If issued, it is valid. > > Kee Nethery > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Dec 8 15:06:10 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2004 14:06:10 -0600 Subject: Setting fonts to be different in OSX and Windows In-Reply-To: <20041207231111.36035.qmail@web50906.mail.yahoo.com> References: <20041207231111.36035.qmail@web50906.mail.yahoo.com> Message-ID: <41B75EB2.3000700@hyperactivesw.com> On 12/7/04 5:11 PM, Anna Shn wrote: > Hello again! and thank you for your responses! I have some questions > about how to actually implement your suggestions: > > Jacqueline Gay, you said: > >>> Another way that sometimes works is to have a handler check >>the >>> platform that is running, and set the font size in Windows a >>> >>bit smaller than it is on a Mac. You can do this in a >>> >>preOpenCard handler if the changes affect only that card, or >>> >>do it more generally in a preOpenStack handler if the changes >>> >>need to be widespread. For example, set the textsize to 12 on >>> >>Mac and 11 on Windows. > > > What is preOpenCard/Stack and how do I access these items to change > them? OpenStack and PreOpenStack are system messages that are sent whenever a stack opens. You can look up these terms in the dictionary. Just as mouseUp is a system message that is sent whenever the user clicks the mouse, you can write an openStack or preOpenStack handler to catch those events too. Whatever commands you place into these handlers will execute when the stack opens. You can also look up the "platform" function in the dictionary. This function tells you what OS is running. You would check the platform to see if your stack is running on a Windows or Mac machine, and make font changes as needed depending on the OS. For example: on preOpenStack put the platform into pPlat if pPlat = "win32" then set the textsize of fld 1 of cd 1 to 12 else if pPlat = "macos" then set the textsize of fld 1 of cd 1 to 14 end if end preOpenStack You'll want to expand the text-setting commands to match your stack requirements. This handler will run every time the stack opens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gwalias-rev at yahoo.com Wed Dec 8 15:09:54 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Wed, 8 Dec 2004 12:09:54 -0800 (PST) Subject: interesting patent In-Reply-To: <436ECD6E-4952-11D9-9B04-000A959B2940@kagi.com> Message-ID: <20041208200954.30859.qmail@web51105.mail.yahoo.com> The word "valid" is misleading here. If a patent has issued it is "valid" in the sense that its owners can drag you before a judge if they have a case that you are infringing the patent - but the real "validity" of the patent only becomes apparent at this point. Many "valid" issued patents turn out not to be worth the paper they are written on because they are so poorly crafted that they are indefensible under examination in a litigtaion process. Patent examiners are obliged to check the facts as far as they are able and if they find no impediment to the patent issuing (existence of prior art, obviousness, adequate disclosure to suport the claims etc. etc. etc.) they will issue the patent - but ultimately, the scope and effectiveness of the patent in assuring exclusivity for its inventors within a particular domain of activity, is never really known until it is challenged in court. BTW: I work in biotech, where "valid" issued patents fall like flies in the legal bugzapper. Best Gordon --- kee nethery wrote: > > On Dec 8, 2004, at 11:37 AM, Frank D. Engel, Jr. > wrote: > > > Hmm.. sounds like something other programs have > been doing for a long > > time already. Take FileMaker Pro, for example... > > > > I wonder if the patent is actually valid? > > if it is issued it is valid. Does someone who cares > have prior art that > would invalidate the patent and does someone who > cares and has enough > money to invalidate it know about that prior art. > That's the big > question. If issued, it is valid. > > Kee Nethery > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From BNZ2 at CDC.GOV Wed Dec 8 15:12:59 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 8 Dec 2004 15:12:59 -0500 Subject: interesting patent Message-ID: <64878EF567131D4596246171F75FD4A9469E08@m-epo-1.epo.cdc.gov> My understanding is that for many, the point of getting a patent is not even to prevent others from using the technology - it may well be too broadly defined or have other problems. However, if you have a patent, it guarantees your right to use what you patented - so others cannot patent the idea later and (if they win in court) keep you from using it. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon Sent: Wednesday, December 08, 2004 3:10 PM To: How to use Revolution Subject: Re: interesting patent The word "valid" is misleading here. If a patent has issued it is "valid" in the sense that its owners can drag you before a judge if they have a case that you are infringing the patent - but the real "validity" of the patent only becomes apparent at this point. Many "valid" issued patents turn out not to be worth the paper they are written on because they are so poorly crafted that they are indefensible under examination in a litigtaion process. Patent examiners are obliged to check the facts as far as they are able and if they find no impediment to the patent issuing (existence of prior art, obviousness, adequate disclosure to suport the claims etc. etc. etc.) they will issue the patent - but ultimately, the scope and effectiveness of the patent in assuring exclusivity for its inventors within a particular domain of activity, is never really known until it is challenged in court. BTW: I work in biotech, where "valid" issued patents fall like flies in the legal bugzapper. Best Gordon --- kee nethery wrote: > > On Dec 8, 2004, at 11:37 AM, Frank D. Engel, Jr. > wrote: > > > Hmm.. sounds like something other programs have > been doing for a long > > time already. Take FileMaker Pro, for example... > > > > I wonder if the patent is actually valid? > > if it is issued it is valid. Does someone who cares > have prior art that > would invalidate the patent and does someone who > cares and has enough > money to invalidate it know about that prior art. > That's the big > question. If issued, it is valid. > > Kee Nethery > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From hershrev at realtorsgroup.us Wed Dec 8 15:08:54 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 8 Dec 2004 15:08:54 -0500 Subject: testing on case Message-ID: HI , all how do I test on the case of a word of a line ? Thanks, Hershel From fde101 at fjrhome.net Wed Dec 8 15:19:36 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 8 Dec 2004 15:19:36 -0500 Subject: testing on case In-Reply-To: References: Message-ID: <7B2C41B2-4956-11D9-8C08-0050E410655F@fjrhome.net> What kind of test do you have in mind? word 4 of line 5 the first word of line 6 the last word of the first line "hello" is among the words of the last line word 3 of line 6 is not word 2 of line 9 On Dec 8, 2004, at 3:08 PM, Hershel Fisch wrote: > HI , all > how do I test on the case of a word of a line ? > Thanks, Hershel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From hershrev at realtorsgroup.us Wed Dec 8 15:19:23 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 8 Dec 2004 15:19:23 -0500 Subject: testing on case In-Reply-To: <7B2C41B2-4956-11D9-8C08-0050E410655F@fjrhome.net> Message-ID: <730B8C33-4956-11D9-933E-0030654C1E62@realtorsgroup.us> Sorry , meant "upper or lower case" (was to engaged in the work) On Wednesday, December 8, 2004, at 03:19 PM, Frank D. Engel, Jr. wrote: > What kind of test do you have in mind? > > word 4 of line 5 > the first word of line 6 > the last word of the first line > > "hello" is among the words of the last line > word 3 of line 6 is not word 2 of line 9 > > On Dec 8, 2004, at 3:08 PM, Hershel Fisch wrote: > >> HI , all >> how do I test on the case of a word of a line ? >> Thanks, Hershel >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Dec 8 15:28:57 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 8 Dec 2004 13:28:57 -0700 Subject: testing on case In-Reply-To: References: Message-ID: On Dec 8, 2004, at 1:08 PM, Hershel Fisch wrote: > how do I test on the case of a word of a line ? Untested: function isCapitalized @x, n, m constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" return char 1 word n of line m of x is in capitalLetters end isCapitalized If that misses the mark, consider matchText(). Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From gizmotron at earthlink.net Wed Dec 8 15:48:02 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 8 Dec 2004 12:48:02 -0800 Subject: interesting patent In-Reply-To: <64878EF567131D4596246171F75FD4A9469E08@m-epo-1.epo.cdc.gov> Message-ID: <73EA3277-495A-11D9-A798-000A95743F7A@earthlink.net> On Wednesday, December 8, 2004, at 12:12 PM, Lynch, Jonathan wrote: > My understanding is that for many, the point of getting a patent is not > even to prevent others from using the technology - it may well be too > broadly defined or have other problems. However, if you have a patent, > it guarantees your right to use what you patented - so others cannot > patent the idea later and (if they win in court) keep you from using > it. Prior art and ? Copyright also give you freedom to protect yourself. This company is a member of W3 consortium and they are using SGML - XML which is a markup language. You can't patent a markup language. It's too late. It's been blown out of the water by prior art. I guess they have patented the process that occurs after parsing the markup language. It must be highly defendable as an application example with regards to copyright. Interesting idea though. my 2 cents Mark From dsc at swcp.com Wed Dec 8 15:46:24 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 8 Dec 2004 13:46:24 -0700 Subject: testing on case In-Reply-To: References: Message-ID: <39CE38AA-495A-11D9-B50C-000A9567A3E6@swcp.com> On Dec 8, 2004, at 1:28 PM, Dar Scott wrote: > Untested: > > function isCapitalized @x, n, m > constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" > return char 1 word n of line m of x is in capitalLetters > end isCapitalized Whoops! on mouseUp put "one two three" & lf & "Alpha beta" into x put isCapitalized(x,2,1) && isCapitalized(x,1,2) end mouseUp function isCapitalized @x, n, m constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" set the caseSensitive to true return char 1 word n of line m of x is in capitalLetters end isCapitalized Now tested. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From rbarber at yhb.att.ne.jp Wed Dec 8 15:54:54 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Wed, 8 Dec 2004 14:54:54 -0600 Subject: Wanted: idiot's guide to using Unicode in Rev In-Reply-To: <41B74193.6010605@chipp.com> References: <41B74193.6010605@chipp.com> Message-ID: <69BA980F-495B-11D9-AB6F-000A95DAEEF0@yhb.att.ne.jp> Hi Group URL : http://www.egroups.co.jp/group/Runtime_Revolution_Users_Japan/ Group Owner: mailto:Runtime_Revolution_Users_Japan-owner at egroups.co.jp Help URL : http://help.yahoo.co.jp/help/jp/groups/ Ron On Dec 8, 2004, at 12:01 PM, Chipp Walters wrote: > Ben, > > Maybe not so much help but a tip. I know there is in existence a > Japanese Rev users group. Perhaps you can get some help there? > > I don't know the URL but you may be able to Google it. > > best, > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gwalias-rev at yahoo.com Wed Dec 8 16:04:37 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Wed, 8 Dec 2004 13:04:37 -0800 (PST) Subject: interesting patent In-Reply-To: <73EA3277-495A-11D9-A798-000A95743F7A@earthlink.net> Message-ID: <20041208210437.51474.qmail@web51108.mail.yahoo.com> There seem to be some misconceptions about what patents are for: A U.S. patent as defined in section 35 of the U.S. code does NOT assure the inventors of the right to practice. It guarantees their exclusivity to practice within the scope of the patent claims, for the lifetime of the patent. If that sounds confusing, here's a real-world example that I am personally familiar with: The use of a particular, naturally ocurring protein for treating a given disease is covered by someone else's patent, but I modify the protein (in some non-obvious way) such that in addition to treating the disease, it now has some new properties (perhaps it is less toxic or it tastes like strawberries). It is a new form of matter with novel properties and therefore patentable. However, I would still need to obtain a license for the original patent to use my own modified protein for treating the disease in question, since that utility falls under the scope of their claims. The original patent holders would in turn have to license my patent to be able to use my new protein to treat this same disease, so that their improved treatment could benefit from the properties of being less toxic or tasting like strawberries, which are covered under the scope of my claims. This actually happens all the time in the biotechnology sector. I hope this is helpful Best Gordon --- Mark Brownell wrote: > > On Wednesday, December 8, 2004, at 12:12 PM, Lynch, > Jonathan wrote: > > > My understanding is that for many, the point of > getting a patent is not > > even to prevent others from using the technology - > it may well be too > > broadly defined or have other problems. However, > if you have a patent, > > it guarantees your right to use what you patented > - so others cannot > > patent the idea later and (if they win in court) > keep you from using > > it. > > Prior art and ? Copyright also give you freedom to > protect yourself. > This company is a member of W3 consortium and they > are using SGML - XML > which is a markup language. You can't patent a > markup language. It's > too late. It's been blown out of the water by prior > art. > > I guess they have patented the process that occurs > after parsing the > markup language. It must be highly defendable as an > application example > with regards to copyright. > > Interesting idea though. > > my 2 cents > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From hershrev at realtorsgroup.us Wed Dec 8 16:09:43 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Wed, 8 Dec 2004 16:09:43 -0500 Subject: testing on case In-Reply-To: <39CE38AA-495A-11D9-B50C-000A9567A3E6@swcp.com> Message-ID: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> Thanks, I think its a bit to much when I wanted it to set up query's , too many functions involved. I hoped that there is a if param(x) "is upperCase" then put xxx else put x On Wednesday, December 8, 2004, at 03:46 PM, Dar Scott wrote: > > On Dec 8, 2004, at 1:28 PM, Dar Scott wrote: > >> Untested: >> >> function isCapitalized @x, n, m >> constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" >> return char 1 word n of line m of x is in capitalLetters >> end isCapitalized > > Whoops! > > on mouseUp > put "one two three" & lf & "Alpha beta" into x > put isCapitalized(x,2,1) && isCapitalized(x,1,2) > end mouseUp > > function isCapitalized @x, n, m > constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" > set the caseSensitive to true > return char 1 word n of line m of x is in capitalLetters > end isCapitalized > > Now tested. > > Dar > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Wed Dec 8 16:40:19 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 8 Dec 2004 22:40:19 +0100 Subject: interesting patent In-Reply-To: <20041208210437.51474.qmail@web51108.mail.yahoo.com> Message-ID: <20041208213142.9C03D930058@mail.runrev.com> way back in industrial economics we learned that all patents are contournable... and since their life is limited... What protection is there? - 1st comers get 35% of the market - barriers to entry (heavy duty investments in finacial or technogical terms) When I was writing my quantum codec algoritm I found out a worldwide patent is worth 100,000 $/EUs... who, here, can affort that? But if you get one client, it can be worth it... Besides, the method is restricted to xml and some obscure process. Just show prior art to save your ass and voila. Patents are however legally defendeable X > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon > Sent: Wednesday, December 08, 2004 22:05 > To: How to use Revolution > Subject: Re: interesting patent > > There seem to be some misconceptions about what patents are for: > > A U.S. patent as defined in section 35 of the U.S. > code does NOT assure the inventors of the right to practice. > It guarantees their exclusivity to practice within the scope > of the patent claims, for the lifetime of the patent. > > If that sounds confusing, here's a real-world example that I > am personally familiar with: > > The use of a particular, naturally ocurring protein for > treating a given disease is covered by someone else's patent, > but I modify the protein (in some non-obvious way) such that > in addition to treating the disease, it now has some new > properties (perhaps it is less toxic or it tastes like > strawberries). It is a new form of matter with novel > properties and therefore patentable. > > However, I would still need to obtain a license for the > original patent to use my own modified protein for treating > the disease in question, since that utility falls under the > scope of their claims. The original patent holders would in > turn have to license my patent to be able to use my new > protein to treat this same disease, so that their improved > treatment could benefit from the properties of being less > toxic or tasting like strawberries, which are covered under > the scope of my claims. > > This actually happens all the time in the biotechnology sector. > > I hope this is helpful > > Best > > Gordon > > --- Mark Brownell wrote: > > > > > On Wednesday, December 8, 2004, at 12:12 PM, Lynch, Jonathan wrote: > > > > > My understanding is that for many, the point of > > getting a patent is not > > > even to prevent others from using the technology - > > it may well be too > > > broadly defined or have other problems. However, > > if you have a patent, > > > it guarantees your right to use what you patented > > - so others cannot > > > patent the idea later and (if they win in court) > > keep you from using > > > it. > > > > Prior art and ) Copyright also give you freedom to protect > yourself. > > This company is a member of W3 consortium and they are using SGML - > > XML which is a markup language. You can't patent a markup language. > > It's too late. It's been blown out of the water by prior art. > > > > I guess they have patented the process that occurs after > parsing the > > markup language. It must be highly defendable as an application > > example with regards to copyright. > > > > Interesting idea though. > > > > my 2 cents > > > > Mark > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > ===== > :::::::::: Gordon Webster :::::::::: > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Wed Dec 8 16:42:53 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2004 15:42:53 -0600 Subject: Windows printing Message-ID: <41B7755D.70003@hyperactivesw.com> I'm hoping someone can save me from having to do a lot of printing tests from my Windows machine. Right now I don't have a printer hooked up there. There used to be a problem with Windows when using revPrintText where the printing font and spacing was rendered oddly -- either tiny 6-point text, or wildly erratic line spacing, or both. Does anyone know if this has been fixed in recent releases of Revolution? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Dec 8 16:46:05 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 8 Dec 2004 14:46:05 -0700 Subject: testing on case In-Reply-To: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> On Dec 8, 2004, at 2:09 PM, Hershel Fisch wrote: > Thanks, I think its a bit to much when I wanted it to set up query's , > too many functions involved. I hoped that there is a > if param(x) "is upperCase" then put xxx else put x I don't understand why a function won't work. Here is a simpler function that you can apply to just a word: function isUpperCase w constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" set the caseSensitive to true return char 1 of w is in capitalLetters end isCapitalized if isUpperCase( param(x) ) then put xxx else put x If you must avoid a function (sniff, I like functions), then consider this: if matchText( param(x), "^[A-Z]") then put xxx else put x Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Wed Dec 8 16:55:01 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 8 Dec 2004 14:55:01 -0700 Subject: testing on case In-Reply-To: <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> Message-ID: On Dec 8, 2004, at 2:46 PM, Dar Scott wrote: > If you must avoid a function (sniff, I like functions), then consider > this: > > if matchText( param(x), "^[A-Z]") then put xxx else put x or this (if useUnicode is not true and you know it starts with a letter) if charToNum( param(x) ) < 97 then put xxx else put x To me a function is more readable. Are you concerned about speed? Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alex at tweedly.net Wed Dec 8 16:33:35 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 08 Dec 2004 21:33:35 +0000 Subject: DreamCard Player does not "play" my app In-Reply-To: <41B749E2.7080203@fourthworld.com> References: <41B747F6.2030006@ehug.info> <20041208180632.DULH16894.fed1rmmtao01.cox.net@smtp.west.cox.net> <41B747F6.2030006@ehug.info> Message-ID: <5.1.0.14.0.20041208210153.0292ee80@mail.tweedly.net> At 10:37 08/12/2004 -0800, Richard Gaskin wrote: >Mark Schonewille wrote: >>A much better approach than using the DreamCard player is to create your >>own player with all the features you expect to need. > >It's in RunRev's interest to make that unnecessary. Agreed. >A good player is the second most important external communications tool >after their web site. They wouldn't let the web site lie broken, and >hopefully they're prioritizing fixes to the player accordingly. You would think so, wouldn't you. >Please send feedback to RunRev on what you need from a player that isn't >currently addressed, and post bug reports to Bugzilla. I posted BZ 2138 on the 4th of September; and it's still languishing in "Unconfirmed" state. It is described (NOT by me) in a comment as an enhancement - so I'm guessing it will stay in that state for some time. The bug says, in effect, that you can't run a stack in Dreamcard Player by double-clinking on the stack file (on Windows). I would have, and indeed still do, think that being able to do that (i.e. run it like every other Windows app in the world). should be regarded as an essential ability. [ detail - you *can* run a stack by double-clicking it - but the cursor will be invisible. Makes most programs fairly difficult or impossible to use. So I think it's fair to describe this as "in effect, you can't run a stack by ...." ] >The player is critical to the core mission. It would be better not to >have one at all than one that's weak enough to motivate folks to build >their own. Let's hope that doesn't have to happen: with your feedback >there's an opportunity to spruce it up into something you'll enjoy using. I've given my feed back - over 3 months ago - and have yet to see any meaningful response. In the meantime, I simply ignore the existence of the player, and continue to build standalones to distribute. Don't know what I'd do if I didn't still have Rev 2.2 -- Alex. From sarahr at genesearch.com.au Wed Dec 8 17:25:44 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 9 Dec 2004 08:25:44 +1000 Subject: DreamCard Player does not "play" my app In-Reply-To: <20041208180632.DULH16894.fed1rmmtao01.cox.net@smtp.west.cox.net> References: <20041208180632.DULH16894.fed1rmmtao01.cox.net@smtp.west.cox.net> Message-ID: <1A246A23-4968-11D9-AEA7-0003937A97B8@genesearch.com.au> It's possible that the rev file got damaged during emailing unless you compressed it first. I recommend always zipping, stuffing or gzipping any stacks before emailing, just in case. Try using the DreamCard player at home to open the stack and see if that make any difference. The only other idea I have concerns the internet library. Is it possible that the DreamCard player doesn't have this, or that it needs some initialization? Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 9 Dec 2004, at 4:07 am, wrote: > Hi all, > > My first time submitting to the mailing list... > > I've created the MacAddict example at home, and everything works as it > should. > I emailed the MAForum.rev file to work, then downloaded the DreamCard > player. > I can open the app, but it doesn't "Load" the Categories from the web > site, nor does it load the web page when clicking on the Forum list. > > Can anyone help with this? > > Thanx in advance, > > Mark Stuart From fde101 at fjrhome.net Wed Dec 8 17:24:46 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 8 Dec 2004 17:24:46 -0500 Subject: testing on case In-Reply-To: References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> Message-ID: Are you trying to test the first letter only, or the entire string? The proposals so far only test the first character of the string. If you need the whole thing to be uppercase: function uppercase ofText set the caseSensitive to true repeat for each char ch in "abcdefghijklmnopqrstuvwxyz" if ch is among the chars of ofText then return false end repeat return true end uppercase Now you can do things like: if uppercase(ofText) then -- whatever end if or to test the first char of each word: function wordcase ofText set the caseSensitive to true repeat for each word w in ofText if char 1 of w is among the chars of "abcdefghijklmnopqrstuvwxyz" then return false end repeat return true end wordcase and similarly, if wordcase(ofText) then -- do something end if On Dec 8, 2004, at 4:55 PM, Dar Scott wrote: > > On Dec 8, 2004, at 2:46 PM, Dar Scott wrote: > >> If you must avoid a function (sniff, I like functions), then consider >> this: >> >> if matchText( param(x), "^[A-Z]") then put xxx else put x > > or this (if useUnicode is not true and you know it starts with a > letter) > > if charToNum( param(x) ) < 97 then put xxx else put x > > To me a function is more readable. Are you concerned about speed? > > Dar > > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From Cubist at aol.com Wed Dec 8 18:02:30 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Wed, 8 Dec 2004 18:02:30 EST Subject: interesting patent Message-ID: <8c.1ba7ce29.2ee8e206@aol.com> More to the point, was Pageflex's patent issued before or after the first release of Rev's Geometry Manager? If the latter, I'd say the Pageflex patent ought not have been granted, and should in fact be nullified, on the grounds of prior art. From gwalias-rev at yahoo.com Wed Dec 8 18:12:57 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Wed, 8 Dec 2004 15:12:57 -0800 (PST) Subject: interesting patent In-Reply-To: <8c.1ba7ce29.2ee8e206@aol.com> Message-ID: <20041208231257.18727.qmail@web51107.mail.yahoo.com> "First to invent" rather than "first to file" is the rule in the U.S. If (and its a big if) the PageFlex patent does overlap with rev's geometry manager, it would be necessary to show that RR (or their hypercard ancestors), were actually using or selling such a thing publicly, prior to the priority date of PageFlex's patent (this would normally be the data of first filing of any provisional patent - looks to me like 1999 from the issued patent). --- Cubist at aol.com wrote: > More to the point, was Pageflex's patent issued > before or after the first > release of Rev's Geometry Manager? If the latter, > I'd say the Pageflex patent > ought not have been granted, and should in fact be > nullified, on the grounds > of prior art. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From rjb at rz.uni-potsdam.de Wed Dec 8 18:41:24 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu, 9 Dec 2004 00:41:24 +0100 Subject: DreamCard Player does not "play" my app Message-ID: On 9 Dec 2004, at 4:07 am, wrote: >Hi all, > >My first time submitting to the mailing list... > >I've created the MacAddict example at home, and everything works as it should. >I emailed the MAForum.rev file to work, then downloaded the DreamCard player. >I can open the app, but it doesn't "Load" the Categories from the >web site, nor does it load the web page when clicking on the Forum >list. > >Can anyone help with this? > >Thanx in advance, > >Mark Stuart Under which system you are trying to use the player? Robert From alex at tweedly.net Wed Dec 8 19:04:55 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 09 Dec 2004 00:04:55 +0000 Subject: testing on case In-Reply-To: References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> Message-ID: <5.1.0.14.0.20041208234727.02876e78@mail.tweedly.net> At 17:24 08/12/2004 -0500, Frank D. Engel, Jr. wrote: >Are you trying to test the first letter only, or the entire string? >The proposals so far only test the first character of the string. If you >need the whole thing to be uppercase: > >function uppercase ofText > set the caseSensitive to true > repeat for each char ch in "abcdefghijklmnopqrstuvwxyz" > if ch is among the chars of ofText then return false > end repeat > return true >end uppercase Hmmmm - that says that "ABC DEF" is not uppercase (because of the space in the middle). function isUpperCase pText set caseSensitive to true return (pText = upper(pText)) end isUpperCase Not that that's perfect either - the problem is there are 4 (or 5) possible results upper case lower case word case mixed case no case (i.e. no letters) so deciding just which ones to include as "isUpperCase" is a context-dependent choice. -- Alex. From mwieder at ahsoftware.net Wed Dec 8 19:06:29 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Dec 2004 16:06:29 -0800 Subject: testing on case In-Reply-To: <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> Message-ID: <17019986348.20041208160629@ahsoftware.net> Dar- Wednesday, December 8, 2004, 1:46:05 PM, you wrote: or... on IsUpperCase w return toUpper(w) is w end IsUpperCase on IsLowerCase w return toLower(w) is w end IsLowerCase if IsUpperCase(x) then put xxx else put x -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Wed Dec 8 20:34:27 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 8 Dec 2004 18:34:27 -0700 Subject: testing on case In-Reply-To: <17019986348.20041208160629@ahsoftware.net> References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> <17019986348.20041208160629@ahsoftware.net> Message-ID: <7732DDAB-4982-11D9-B0C7-000A9567A3E6@swcp.com> On Dec 8, 2004, at 5:06 PM, Mark Wieder wrote: > on IsUpperCase w > return toUpper(w) is w > end IsUpperCase Cool. But won't this need caseSensitive set to true? Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alw918 at earthlink.net Thu Dec 9 01:31:05 2004 From: alw918 at earthlink.net (Andrew) Date: Wed, 8 Dec 2004 22:31:05 -0800 Subject: Windows standalone two handlers separated In-Reply-To: <20041208170006.7012993011F@mail.runrev.com> Message-ID: Thanks, Klaus, for getting back to me about my Windows standalone issue. Making a standalone that works in Windows has been such a problem for me! I can't believe there's not more uproar about this. Stuff just doesn't work like it's supposed to and often the symptoms don't help you pinpoint the cause. Anyway, I implemented your idea. Specifically I wrote send "parttwo" to btn "instructions" of cd 1 of this stack Is this okay? (Because I couldn't figure out the name of my stack, stupid as that my sound. When I typed "answer the stack name" and such things, I just got errors.) Anyway, the problem still persists with my standalone. But perhaps it was a different problem to begin with. The weird thing is, before I implemented this change it seemed like the standalone was only reading the first portion of my script, not the second (like I described before). WITH this change, it's not working at all. I don't see why a parameter is preferable over a global variable, but I implemented that suggestion anyway. It worked fine in the development environment, but again no nothing on the windows standalone. Perhaps there is some other error going on, but I can't figure it out at all. Again, the symptom is that the Windows standalone won't put text in the card field like its supposed to, but I suspect that might be symptomatic of something unrelated since that's been the case with other Windows standalone problems that I've had. Sorry for the pestering. I really appreciate your help! Andrew On Wednesday, December 8, 2004, at 09:00 AM, use-revolution-request at lists.runrev.com wrote: > Hi Andrew, > >> I've got another clue about why my windows standalone is not working. >> Okay, my script into two halves-- one in the card script and one in >> the script of a button. At the end if the card script section it says >> send parttwo to card button "instructions" >> >> ...And I made sure to put all of the relevant local variables (only 1) >> into a global variable, so that it could be accessed in the script of >> the card button "instructions". > > You could even send that local var as a parameter to your button, see > below... > >> However, It seems as though my standalone is only running the card >> script section, and then not going to the script of cd btn >> "instructions". Is there any known error that Windows standalones >> have with, as in this case, one handler calling a handler that's >> located elsewhere? > > If you specify the exact location of the button it will work! > > Like: > ... > send "parttwo" to btn "name here" of cd x ## of stack y > ## if the button is inanother stack... > ... > > Please note the quotes! > > Or with the above mentioned parameter: > > local varname > > on xyz > send "parttwo varname" to btn "name here" of cd x > ... > > > And in the button: > > on parttwo whattheheck > ## do something with whattheheck > ... > > Make sure that "varname" is not empty! ;-) From johnmiller1950 at sbcglobal.net Thu Dec 9 06:19:24 2004 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Thu, 9 Dec 2004 06:19:24 -0500 Subject: Database Question From Newbie Message-ID: <2EB29998-49D4-11D9-817E-000A95880812@sbcglobal.net> Greetings All, I am trying to access our company's inventory database via Revolution. I have successfully set up the DSN under Windows XP. I can use Excel to create a Database Query and a spreadsheet with the information I want. However, I am having trouble connecting to the same database using Revolution. Here is my code: on mouseUp revSetDatabaseDriverPath "C:\WINDOWS\system32" get revOpenDatabase("ODBC","Database Name",,"userName","userPassword") put the result end mouseUp When I run this code, I get the following error message: revdberr,invalid database type Anybody got any suggestions? Thanks, John Miller From janschenkel at yahoo.com Thu Dec 9 07:26:40 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 9 Dec 2004 04:26:40 -0800 (PST) Subject: Database Question From Newbie In-Reply-To: <2EB29998-49D4-11D9-817E-000A95880812@sbcglobal.net> Message-ID: <20041209122640.90727.qmail@web60509.mail.yahoo.com> --- John Miller wrote: > Greetings All, > > I am trying to access our company's inventory > database via Revolution. > I have successfully set up the DSN under Windows XP. > I can use Excel to > create a Database Query and a spreadsheet with the > information I want. > However, I am having trouble connecting to the same > database using > Revolution. > > Here is my code: > > on mouseUp > revSetDatabaseDriverPath "C:\WINDOWS\system32" > get revOpenDatabase("ODBC","Database > Name",,"userName","userPassword") > put the result > end mouseUp > > When I run this code, I get the following error > message: > > revdberr,invalid database type > > > Anybody got any suggestions? > > Thanks, > John Miller > Hi John, First I'll have to ask you why you're changing the database driver path -- Revolutyions sets it by default to its own directory. Have you copied the revdb drivers to C:\WINDOWS\system32 ? Which reminds me : Revolution expects its paths in the 'Unix' format : "C:/WINDOWS/system32/" Other than that : what type of database are you connecting to ? (Access, SQLServer, Progress, ...) I'm sure we can give you a solution. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From johnmiller1950 at sbcglobal.net Thu Dec 9 07:56:24 2004 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Thu, 9 Dec 2004 07:56:24 -0500 Subject: Database Question from Newbie Message-ID: Jan, Thanks for your quick response. First: I had a typo in my question. I am indeed using the form "C:/WINDOWS/system32". Sorry about the confusion. I am using an OBDC driver provided by the vendor of our accounting software. It is my understanding that when you use ODBC, you have to use a specialized driver for the software you are using. Is this not correct? You ask what type of database. I'm not sure. We have always used ODBC to create specialized reports within Excel. I don't have a clue about the actual database type. It hasn't been necessary for me to know. I have used Windows XP's "Data Sources (ODBC)" control panel to set up my DNS, and like I say in my post, I use this all the time to access our databases. Sincerely, John Miller From janschenkel at yahoo.com Thu Dec 9 10:21:51 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 9 Dec 2004 07:21:51 -0800 (PST) Subject: Database Question from Newbie In-Reply-To: Message-ID: <20041209152151.40960.qmail@web60501.mail.yahoo.com> --- John Miller wrote: > Jan, > > Thanks for your quick response. > > First: I had a typo in my question. I am indeed > using the form > "C:/WINDOWS/system32". Sorry about the confusion. > > I am using an OBDC driver provided by the vendor of > our accounting > software. It is my understanding that when you use > ODBC, you have to > use a specialized driver for the software you are > using. Is this not > correct? > > You ask what type of database. I'm not sure. We have > always used ODBC > to create specialized reports within Excel. I don't > have a clue about > the actual database type. It hasn't been necessary > for me to know. I > have used Windows XP's "Data Sources (ODBC)" > control panel to set up > my DNS, and like I say in my post, I use this all > the time to access > our databases. > > Sincerely, > John Miller > Hi John, This reply was a bit slower, as I'm at work atm. Revolution has its own set of database drivers, for MySQL, Oracle, PostgreSQL, Valentina, and ODBC. You do not need to change the database driver path unless you move these drivers from their default location : /components/global environment/database_drivers/win32/ Even when you're building a standalone application, the se settings should be correct unless you move things around afterwards. In your case, I'd create a new stack and use the Database Query Builder to see if you can connect properly to the DSN. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From klaus at major-k.de Thu Dec 9 10:49:43 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 9 Dec 2004 16:49:43 +0100 Subject: testing on case In-Reply-To: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: Hi Herschel, > Thanks, I think its a bit to much when I wanted it to set up query's , > too many functions involved. I hoped that there is a > if param(x) "is upperCase" then put xxx else put x maybe checking "chartonum(char 1 of xyz)" will do? If < 97, it will be a capital... Regards Klaus Major klaus at major-k.de http://www.major-k.de From BNZ2 at CDC.GOV Thu Dec 9 10:59:01 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 9 Dec 2004 10:59:01 -0500 Subject: testing on case Message-ID: <64878EF567131D4596246171F75FD4A9469E0D@m-epo-1.epo.cdc.gov> What would be wrong with... Set the casesensitive to true If x = toupper(x) then put xxx else put x -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Klaus Major Sent: Thursday, December 09, 2004 10:50 AM To: How to use Revolution Subject: Re: testing on case Hi Herschel, > Thanks, I think its a bit to much when I wanted it to set up query's , > too many functions involved. I hoped that there is a > if param(x) "is upperCase" then put xxx else put x maybe checking "chartonum(char 1 of xyz)" will do? If < 97, it will be a capital... Regards Klaus Major klaus at major-k.de http://www.major-k.de _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Thu Dec 9 11:36:48 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 9 Dec 2004 17:36:48 +0100 Subject: Windows standalone two handlers separated In-Reply-To: References: Message-ID: <857D5E64-4A00-11D9-AAA5-000A27B49A96@major-k.de> Hi Andrew, > Thanks, Klaus, for getting back to me about my Windows standalone > issue. > > Making a standalone that works in Windows has been such a problem for > me! I can't believe there's not more uproar about this. Stuff just > doesn't work like it's supposed to and often the symptoms don't help > you pinpoint the cause. > > Anyway, I implemented your idea. Specifically I wrote > send "parttwo" to btn "instructions" of cd 1 of this stack > > Is this okay? (Because I couldn't figure out the name of my stack, > stupid as that my sound. When I typed "answer the stack name" and > such things, I just got errors.) Sure "this stack" does work, if the script being executed is in THIS STACK, as you experienced :-) > Anyway, the problem still persists with my standalone. But perhaps it > was a different problem to begin with. The weird thing is, before I > implemented this change it seemed like the standalone was only reading > the first portion of my script, not the second (like I described > before). WITH this change, it's not working at all. Damn! > I don't see why a parameter is preferable over a global variable, It isn't, actually :-) Just wanted to show you an alternative... > but I implemented that suggestion anyway. It worked fine in the > development environment, but again no nothing on the windows > standalone. Perhaps there is some other error going on, but I can't > figure it out at all. > > Again, the symptom is that the Windows standalone won't put text in > the card field like its supposed to, but I suspect that might be > symptomatic of something unrelated since that's been the case with > other Windows standalone problems that I've had. > > Sorry for the pestering. No pestering at all, this is a list to help others out, if possible!!!! > I really appreciate your help! Can you post some code that does not work in the standalone? I can even offer you to take a look here (offlist) and try to build a standalone from your stack, if you don't mind... > Andrew Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Thu Dec 9 11:38:19 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 9 Dec 2004 17:38:19 +0100 Subject: testing on case In-Reply-To: <64878EF567131D4596246171F75FD4A9469E0D@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E0D@m-epo-1.epo.cdc.gov> Message-ID: Hi Jonathan, > What would be wrong with... > > Set the casesensitive to true > If x = toupper(x) then put xxx else put x nothing, actually :-) Best Klaus Major klaus at major-k.de http://www.major-k.de From fde101 at fjrhome.net Thu Dec 9 12:12:44 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 9 Dec 2004 12:12:44 -0500 Subject: Offset button in "answer" dialogs In-Reply-To: <41B518CB.5000302@hyperactivesw.com> References: <58DDDDF6-47B1-11D9-B0DA-0050E410655F@fjrhome.net> <41B518CB.5000302@hyperactivesw.com> Message-ID: <8AC7222D-4A05-11D9-809D-0050E410655F@fjrhome.net> That works fine. Thank you! On Dec 6, 2004, at 9:43 PM, J. Landman Gay wrote: > On 12/6/04 12:05 PM, Frank D. Engel, Jr. wrote: > >> Under Mac OS X, Apple's HI guidelines specify that when displaying an >> alert with a third button which can potentially cause data loss (as >> opposed to other, "safe" buttons), that button should be offset from >> the other two buttons. Rev seems to do this automatically when the >> third button is "Don't Save", but I would like to do this with a >> button having a different label. >> In other words, I have a button which has a different title, but may >> cause data loss. Short of building a custom dialog for this, is >> there any way to coax the "answer" dialog into offsetting a button >> with a different name? > > I'm not sure if this will help, but the dialog only checks for the > word "don't". So if you can label your button with anything that > starts with "don't" you are in business. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From Meitnik at aol.com Thu Dec 9 12:34:22 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Thu, 9 Dec 2004 12:34:22 EST Subject: interesting patent Message-ID: In a message dated 12/9/04 12:06:30 PM, use-revolution-request at lists.runrev.com writes: > More to the point, was Pageflex's patent issued before or after the first > release of Rev's Geometry Manager? If the latter, I'd say the Pageflex > patent > ought not have been granted, and should in fact be nullified, on the grounds > of prior art. > -- congrats, I thought others would see this connection by now, you did and why I posted the patent info; in lite of any improvements for styled text/formatting in flds with regard to geo manager....ie pagelayout tools via Rev... Andrew From hershrev at realtorsgroup.us Thu Dec 9 13:46:58 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 9 Dec 2004 13:46:58 -0500 Subject: testing on case In-Reply-To: <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> Message-ID: On Wednesday, December 8, 2004, at 04:46 PM, Dar Scott wrote: > > On Dec 8, 2004, at 2:09 PM, Hershel Fisch wrote: > >> Thanks, I think its a bit to much when I wanted it to set up query's >> , too many functions involved. I hoped that there is a >> if param(x) "is upperCase" then put xxx else put x > > I don't understand why a function won't work. > > Here is a simpler function that you can apply to just a word: > > function isUpperCase w > constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" > set the caseSensitive to true > return char 1 of w is in capitalLetters > end isCapitalized > > if isUpperCase( param(x) ) then put xxx else put x This looks to be much faster and smoother. > > > If you must avoid a function (sniff, I like functions), then consider > this: > > if matchText( param(x), "^[A-Z]") then put xxx else put x I don't get it Thanks a mill. Hershel > > Dar > > > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Thu Dec 9 13:49:07 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 9 Dec 2004 13:49:07 -0500 Subject: testing on case In-Reply-To: Message-ID: <0144355C-4A13-11D9-933E-0030654C1E62@realtorsgroup.us> on the first letter , but good to know-'em both ways. Thanks,Hershel On Wednesday, December 8, 2004, at 05:24 PM, Frank D. Engel, Jr. wrote: > Are you trying to test the first letter only, or the entire string? > The proposals so far only test the first character of the string. If > you need the whole thing to be uppercase: > > function uppercase ofText > set the caseSensitive to true > repeat for each char ch in "abcdefghijklmnopqrstuvwxyz" > if ch is among the chars of ofText then return false > end repeat > return true > end uppercase > > > Now you can do things like: > > if uppercase(ofText) then > -- whatever > end if > > > or to test the first char of each word: > > function wordcase ofText > set the caseSensitive to true > repeat for each word w in ofText > if char 1 of w is among the chars of "abcdefghijklmnopqrstuvwxyz" > then return false > end repeat > return true > end wordcase > > > and similarly, > > if wordcase(ofText) then > -- do something > end if > > On Dec 8, 2004, at 4:55 PM, Dar Scott wrote: > >> >> On Dec 8, 2004, at 2:46 PM, Dar Scott wrote: >> >>> If you must avoid a function (sniff, I like functions), then >>> consider this: >>> >>> if matchText( param(x), "^[A-Z]") then put xxx else put x >> >> or this (if useUnicode is not true and you know it starts with a >> letter) >> >> if charToNum( param(x) ) < 97 then put xxx else put x >> >> To me a function is more readable. Are you concerned about speed? >> >> Dar >> >> **************************************** >> Dar Scott Consulting >> http://www.swcp.com/dsc/ >> Programming Services >> **************************************** >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Dec 9 14:12:01 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 Dec 2004 11:12:01 -0800 Subject: testing on case In-Reply-To: <0144355C-4A13-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: >> Are you trying to test the first letter only, or the entire string? >> The proposals so far only test the first character of the string. If >> you need the whole thing to be uppercase: Not sure if someone already tossed this solution out: function caseTest tString set the caseSensitive to true if tString = toUpper(tString) then return true else return false end caseTest Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Thu Dec 9 14:53:14 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 9 Dec 2004 12:53:14 -0700 Subject: testing on case In-Reply-To: References: Message-ID: On Dec 9, 2004, at 11:46 AM, Hershel Fisch wrote: >> if matchText( param(x), "^[A-Z]") then put xxx else put x > I don't get it The expression matchText( z, "^[A-Z]") will return true if (and only when) the first character is an ASCII capital letter. The "^" matches the beginning of the string (or line). A more exact pattern is "\A"; I used "^" because it might be more familiar. The immediately following pattern [A-Z] matches any letter in the range A-Z in ASCII. It must match right after the previous pattern match, that is, the beginning. There is no pattern matching for the end of the string so the rest of the string z does not matter. That is, matchText() returns true if the pattern occurs anywhere in the string, not just if it matches the whole string. (Use \A and \z to match the ends to make a pattern match the whole string.) You can find more info on regular expressions here: http://www.perldoc.com/perl5.8.0/pod/perlre.html But you have to skip over all the perl specific parts. You can find more specific information on exact usage of the actual library used in Revolution and (I assume) Dreamcard here: http://www.pcre.org/pcre.txt But you have to skip over all the building and calling parts. Skip down to PCRE REGULAR EXPRESSION DETAILS. I think you need to skip over the unicode and UTF-8 paragraphs, too, for now. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From johnmiller1950 at sbcglobal.net Thu Dec 9 14:54:31 2004 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Thu, 9 Dec 2004 14:54:31 -0500 Subject: Database Question From Newbie Message-ID: <247B9E3E-4A1C-11D9-9E13-000A95880812@sbcglobal.net> Jan, Thanks for your help. I deleted the line in my code that set the location of the driver, and I was able to connect to the database. Just a question for clarification: If Revolution uses its own ODBC driver to access my database, then why do I have to designate a database driver when I set up my DNS in Windows XP? Is the Revolution driver a bridge that talks to my software's ODBC driver which in turn talks to the database? Or, does the Revolution ODBC driver by-pass my software's ODBC driver altogether? My next project is to build a query that reads my inventory file and extracts 4 columns. The names of these columns in the database are "itemNum", "itemName", "class" & "cost". I don't understand how to build a query that does this. I've read all the documentation on this within Revolution, but I must be dense or something. I would be grateful for any help you have time to offer. Sincerely, John Miller From BNZ2 at CDC.GOV Thu Dec 9 15:29:35 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 9 Dec 2004 15:29:35 -0500 Subject: testing on case Message-ID: <64878EF567131D4596246171F75FD4A90EC5AE@m-epo-1.epo.cdc.gov> This should work on the whole string: Set the casesensitive to true If x = toupper(x) then... That would work even if some characters are numbers, and thus not in the a-z set, but still not considered uppercase For a single character you can do if chartonum(x) = chartonum(toupper(x)) then... -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Hershel Fisch Sent: Thursday, December 09, 2004 1:49 PM To: How to use Revolution Subject: Re: testing on case on the first letter , but good to know-'em both ways. Thanks,Hershel On Wednesday, December 8, 2004, at 05:24 PM, Frank D. Engel, Jr. wrote: > Are you trying to test the first letter only, or the entire string? > The proposals so far only test the first character of the string. If > you need the whole thing to be uppercase: > > function uppercase ofText > set the caseSensitive to true > repeat for each char ch in "abcdefghijklmnopqrstuvwxyz" > if ch is among the chars of ofText then return false > end repeat > return true > end uppercase > > > Now you can do things like: > > if uppercase(ofText) then > -- whatever > end if > > > or to test the first char of each word: > > function wordcase ofText > set the caseSensitive to true > repeat for each word w in ofText > if char 1 of w is among the chars of "abcdefghijklmnopqrstuvwxyz" > then return false > end repeat > return true > end wordcase > > > and similarly, > > if wordcase(ofText) then > -- do something > end if > > On Dec 8, 2004, at 4:55 PM, Dar Scott wrote: > >> >> On Dec 8, 2004, at 2:46 PM, Dar Scott wrote: >> >>> If you must avoid a function (sniff, I like functions), then >>> consider this: >>> >>> if matchText( param(x), "^[A-Z]") then put xxx else put x >> >> or this (if useUnicode is not true and you know it starts with a >> letter) >> >> if charToNum( param(x) ) < 97 then put xxx else put x >> >> To me a function is more readable. Are you concerned about speed? >> >> Dar >> >> **************************************** >> Dar Scott Consulting >> http://www.swcp.com/dsc/ >> Programming Services >> **************************************** >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From richmond at mail.maclaunch.com Thu Dec 9 14:52:35 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu, 09 Dec 2004 14:52:35 -0500 Subject: THESIS now available Message-ID: Dear xTalkers, My Thesis in the form that I have submitted it is now available in HTML format via the FILES page of my website. I am afraid I don't envisage having the prototype software uploaded anywhere until sometime into the new year. I would like to reiterate my thanks to Monsieur X for his very kind offer of help. Wishing you all an extremely xTalky New Year. Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From James.Cass at sealedair.com Thu Dec 9 15:47:00 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Thu, 9 Dec 2004 15:47:00 -0500 Subject: testing on case In-Reply-To: Message-ID: > The expression matchText( z, "^[A-Z]") > will return true if (and only when) the > first character is an ASCII capital letter. That returns "false" for me. You'll need to do it like this to cover upper and lower case. matchText(z,"^[aA-zZ]") Cheers...James |---------+---------------------------------------> | | Dar Scott | | | Sent by: | | | use-revolution-bounces at lists| | | .runrev.com | | | | | | | | | 12/09/04 02:53 PM | | | Please respond to How to use| | | Revolution | |---------+---------------------------------------> >--------------------------------------------------------------------------------------------------------| | | | To: How to use Revolution | | cc: | | Subject: Re: testing on case | >--------------------------------------------------------------------------------------------------------| On Dec 9, 2004, at 11:46 AM, Hershel Fisch wrote: >> if matchText( param(x), "^[A-Z]") then put xxx else put x > I don't get it The expression matchText( z, "^[A-Z]") will return true if (and only when) the first character is an ASCII capital letter. The "^" matches the beginning of the string (or line). A more exact pattern is "\A"; I used "^" because it might be more familiar. The immediately following pattern [A-Z] matches any letter in the range A-Z in ASCII. It must match right after the previous pattern match, that is, the beginning. There is no pattern matching for the end of the string so the rest of the string z does not matter. That is, matchText() returns true if the pattern occurs anywhere in the string, not just if it matches the whole string. (Use \A and \z to match the ends to make a pattern match the whole string.) You can find more info on regular expressions here: http://www.perldoc.com/perl5.8.0/pod/perlre.html But you have to skip over all the perl specific parts. You can find more specific information on exact usage of the actual library used in Revolution and (I assume) Dreamcard here: http://www.pcre.org/pcre.txt But you have to skip over all the building and calling parts. Skip down to PCRE REGULAR EXPRESSION DETAILS. I think you need to skip over the unicode and UTF-8 paragraphs, too, for now. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From BNZ2 at CDC.GOV Thu Dec 9 16:02:49 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 9 Dec 2004 16:02:49 -0500 Subject: testing on case Message-ID: <64878EF567131D4596246171F75FD4A9469E14@m-epo-1.epo.cdc.gov> Hi James... I tried: matchText( z, "^[A-Z]") and it worked fine for me... I tested it in the message box... matchText("b","^[A-Z]") returned false, and matchText("B","^[A-Z]") returned true -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of James.Cass at sealedair.com Sent: Thursday, December 09, 2004 3:47 PM To: How to use Revolution Subject: Re: testing on case > The expression matchText( z, "^[A-Z]") > will return true if (and only when) the > first character is an ASCII capital letter. That returns "false" for me. You'll need to do it like this to cover upper and lower case. matchText(z,"^[aA-zZ]") Cheers...James |---------+---------------------------------------> | | Dar Scott | | | Sent by: | | | use-revolution-bounces at lists| | | .runrev.com | | | | | | | | | 12/09/04 02:53 PM | | | Please respond to How to use| | | Revolution | |---------+---------------------------------------> >----------------------------------------------------------------------- ---------------------------------| | | | To: How to use Revolution | | cc: | | Subject: Re: testing on case | >----------------------------------------------------------------------- ---------------------------------| On Dec 9, 2004, at 11:46 AM, Hershel Fisch wrote: >> if matchText( param(x), "^[A-Z]") then put xxx else put x > I don't get it The expression matchText( z, "^[A-Z]") will return true if (and only when) the first character is an ASCII capital letter. The "^" matches the beginning of the string (or line). A more exact pattern is "\A"; I used "^" because it might be more familiar. The immediately following pattern [A-Z] matches any letter in the range A-Z in ASCII. It must match right after the previous pattern match, that is, the beginning. There is no pattern matching for the end of the string so the rest of the string z does not matter. That is, matchText() returns true if the pattern occurs anywhere in the string, not just if it matches the whole string. (Use \A and \z to match the ends to make a pattern match the whole string.) You can find more info on regular expressions here: http://www.perldoc.com/perl5.8.0/pod/perlre.html But you have to skip over all the perl specific parts. You can find more specific information on exact usage of the actual library used in Revolution and (I assume) Dreamcard here: http://www.pcre.org/pcre.txt But you have to skip over all the building and calling parts. Skip down to PCRE REGULAR EXPRESSION DETAILS. I think you need to skip over the unicode and UTF-8 paragraphs, too, for now. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Thu Dec 9 16:54:58 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Dec 2004 13:54:58 -0800 Subject: testing on case In-Reply-To: <7732DDAB-4982-11D9-B0C7-000A9567A3E6@swcp.com> References: <7B2FB2AA-495D-11D9-933E-0030654C1E62@realtorsgroup.us> <8FFE955F-4962-11D9-B50C-000A9567A3E6@swcp.com> <17019986348.20041208160629@ahsoftware.net> <7732DDAB-4982-11D9-B0C7-000A9567A3E6@swcp.com> Message-ID: <5016725129.20041209135458@ahsoftware.net> Dar- Wednesday, December 8, 2004, 5:34:27 PM, you wrote: >> on IsUpperCase w >> return toUpper(w) is w >> end IsUpperCase DS> Cool. But won't this need caseSensitive set to true? Right you are. My fingers think faster than my head. -- -Mark Wieder mwieder at ahsoftware.net From janschenkel at yahoo.com Thu Dec 9 17:25:48 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 9 Dec 2004 14:25:48 -0800 (PST) Subject: Database Question From Newbie In-Reply-To: <247B9E3E-4A1C-11D9-9E13-000A95880812@sbcglobal.net> Message-ID: <20041209222549.76229.qmail@web60502.mail.yahoo.com> --- John Miller wrote: > Jan, > > Thanks for your help. I deleted the line in my code > that set the > location of the driver, and I was able to connect to > the database. > Glad you got it working, John :-) > Just a question for clarification: If Revolution > uses its own ODBC > driver to access my database, then why do I have to > designate a > database driver when I set up my DNS in Windows XP? > Is the Revolution > driver a bridge that talks to my software's ODBC > driver which in turn > talks to the database? Or, does the Revolution ODBC > driver by-pass my > software's ODBC driver altogether? > You still need the ODBC driver for your specific database ; Revolution has its own native (non-ODBC) drivers for some databases, but can also connect to the Data sources that you setup in your ODBC Control Panel. > > My next project is to build a query that reads my > inventory file and > extracts 4 columns. The names of these columns in > the database are > "itemNum", "itemName", "class" & "cost". I don't > understand how to > build a query that does this. I've read all the > documentation on this > within Revolution, but I must be dense or something. > Though it is hard to say without knowing the innards of your database schema, one way to find out how this works is by looking at the query that you made in Excel using the point-and-click method provided by Query. If you save the query to a file on the hard disk, you can open it in a simple text editor like Notepad, and find out what the SQL-suery is ; it probably looks something like : SELECT itemNum, itemName, class, cost FROM articles > I would be grateful for any help you have time to > offer. > For more information on SQL, I suggest surfing the web for tutorials ; I picked up an old one a while ago that Geoff Canyon found, and am hosting it at : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Thu Dec 9 17:32:14 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 9 Dec 2004 14:32:14 -0800 (PST) Subject: Windows printing In-Reply-To: <41B7755D.70003@hyperactivesw.com> Message-ID: <20041209223214.98975.qmail@web60506.mail.yahoo.com> --- "J. Landman Gay" wrote: > I'm hoping someone can save me from having to do a > lot of printing tests > from my Windows machine. Right now I don't have a > printer hooked up there. > > There used to be a problem with Windows when using > revPrintText where > the printing font and spacing was rendered oddly -- > either tiny 6-point > text, or wildly erratic line spacing, or both. > > Does anyone know if this has been fixed in recent > releases of Revolution? > > -- > Jacqueline Landman Gay > Hi Jacque, If my memory serves me well, the problem was the use of fonts that didn't exist in the printer, causing tiny print and erratic spacing ; it was definitely fixed in Rev 2.2, possibly earlier. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Jazz up your holiday email with celebrity designs. Learn more. http://celebrity.mail.yahoo.com From sarahr at genesearch.com.au Thu Dec 9 19:33:33 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 10 Dec 2004 10:33:33 +1000 Subject: [OT] young developer Message-ID: <1F294512-4A43-11D9-AEA7-0003937A97B8@genesearch.com.au> Hi All, Sorry for the irrelevant email but I had to share my news with you :-) My middle son (aged 12) just graduated from primary school yesterday and was awarded the school's technology prize. Among his list of accomplishments that was read out, was the fact that he has now started making his own games. "WOW!" said the person giving the speech. You'll never guess what he uses to write his games... one of them even has a music track that he wrote in GarageBand. Anyone who wants to have a look can go to . I'm sure he would welcome any feedback. Cheers, Sarah From irog at mac.com Thu Dec 9 20:12:09 2004 From: irog at mac.com (Roger Guay) Date: Thu, 9 Dec 2004 17:12:09 -0800 Subject: File Management System Message-ID: <840597CE-4A48-11D9-AFCA-000D933610BE@mac.com> Has anyone built a file management system such as Mail in Mac OSX? I need to build folders in a scrollable area on the left side that contain documents titles in a scrollable area in the upper right and document content in a scrollable area in the lower right. The visible document content is the one whose title is hilited in the upper right. And most importantly, I need to be able move these documents to different folders. This is a very typical file management system but I don't quite know how to implement it. Has anyone done this and is willing to help? Thanks very much, Roger From johnmiller1950 at sbcglobal.net Thu Dec 9 21:23:23 2004 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Thu, 9 Dec 2004 21:23:23 -0500 Subject: Database Question From Newbie Message-ID: <779DCD6C-4A52-11D9-9E9D-000A95880812@sbcglobal.net> Jan, I am so pumped. I got this thing working in Revolution. In just a few lines of code I managed to open the inventory database on our server, pull out 4 columns, sort the records by class and insert the whole thing (10,515 lines) into a card field in one-fourth of a second. Revolution is so sweet !!! Thanks for your help. Gratefully, John Miller From gwalias-rev at yahoo.com Thu Dec 9 21:55:32 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Thu, 9 Dec 2004 18:55:32 -0800 (PST) Subject: Arrays in Rev In-Reply-To: <779DCD6C-4A52-11D9-9E9D-000A95880812@sbcglobal.net> Message-ID: <20041210025533.80235.qmail@web51110.mail.yahoo.com> Dear Revolutionaries Can an element of a rev array be another array? If not, is there any way to achieve the effect of nesting arrays - OR if not, is there some way to create new container types (like the structures and unions typical in C and Pascal). Basically - how do I create complex organized containers (objects) to hold my data? Best Gordon From jacque at hyperactivesw.com Thu Dec 9 22:19:22 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Dec 2004 21:19:22 -0600 Subject: Windows printing In-Reply-To: <20041209223214.98975.qmail@web60506.mail.yahoo.com> References: <20041209223214.98975.qmail@web60506.mail.yahoo.com> Message-ID: <41B915BA.1020904@hyperactivesw.com> On 12/9/04 4:32 PM, Jan Schenkel wrote: > --- "J. Landman Gay" wrote: > >>I'm hoping someone can save me from having to do a >>lot of printing tests >>from my Windows machine. Right now I don't have a >>printer hooked up there. >> >>There used to be a problem with Windows when using >>revPrintText where >>the printing font and spacing was rendered oddly -- >>either tiny 6-point >>text, or wildly erratic line spacing, or both. >> >>Does anyone know if this has been fixed in recent >>releases of Revolution? >> >>-- >>Jacqueline Landman Gay >> > > > Hi Jacque, > > If my memory serves me well, the problem was the use > of fonts that didn't exist in the printer, causing > tiny print and erratic spacing ; it was definitely > fixed in Rev 2.2, possibly earlier. Thanks so much, Jan. Once again you have saved me a lot of work. I really wasn't looking forward to moving all my office furniture in order to hook up the printer. Now I can just send it to the client and tell *them* to test it. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 9 22:21:57 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Dec 2004 21:21:57 -0600 Subject: [OT] young developer In-Reply-To: <1F294512-4A43-11D9-AEA7-0003937A97B8@genesearch.com.au> References: <1F294512-4A43-11D9-AEA7-0003937A97B8@genesearch.com.au> Message-ID: <41B91655.7040300@hyperactivesw.com> Bravo to your son, Sarah! But I'm not especially surprised, what with a mom like you. :) On 12/9/04 6:33 PM, Sarah Reichelt wrote: > Hi All, > > Sorry for the irrelevant email but I had to share my news with you :-) > My middle son (aged 12) just graduated from primary school yesterday and > was awarded the school's technology prize. Among his list of > accomplishments that was read out, was the fact that he has now started > making his own games. "WOW!" said the person giving the speech. > > You'll never guess what he uses to write his games... one of them even > has a music track that he wrote in GarageBand. > > Anyone who wants to have a look can go to > . I'm sure he would welcome any feedback. > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Thu Dec 9 23:17:12 2004 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 9 Dec 2004 23:17:12 -0500 Subject: Label an Image with Text? In-Reply-To: References: Message-ID: <5DB18C38-4A62-11D9-AC05-000393C10758@all-auctions.com> Hi there, I was wondering if there is a way in Rev to paint a text label onto a jpeg image file and then save it as part of the jpeg file when I export it. (I also noticed the lack of a text tool for doing that in the paint tools.) Anyone? Thanks in advance! Rick Harrison From webmaster at dreamscapesoftware.com Fri Dec 10 00:00:27 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 9 Dec 2004 23:00:27 -0600 Subject: Label an Image with Text? References: <5DB18C38-4A62-11D9-AC05-000393C10758@all-auctions.com> Message-ID: <002801c4de75$2a5aa520$6701a8c0@DOWNSTAIRS> > I was wondering if there is a way in Rev to paint a text label > onto a jpeg image file and then save it as part of the jpeg file > when I export it. You mean like taking group of text and rendering it into an image? Well, there is no native way to do this, but what you can do is this... 1. Put the text you want into a fld. 2. Take a snapshot of the fld. 3. figure out where in the imageData of the "main" image that you want to insert the imageData from the snapshot. That method will take a VERY long time as you have to parse the main image pixel by pixel. The other method is this, but if the image is larger than the stack then it will get cut off. 1. Put the text you want into a fld. 2. Place the fld where you want it to appear over the image. 3. Take a snapshot of the image. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From harrison at all-auctions.com Fri Dec 10 00:19:08 2004 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 10 Dec 2004 00:19:08 -0500 Subject: Label an Image with Text? In-Reply-To: <002801c4de75$2a5aa520$6701a8c0@DOWNSTAIRS> References: <5DB18C38-4A62-11D9-AC05-000393C10758@all-auctions.com> <002801c4de75$2a5aa520$6701a8c0@DOWNSTAIRS> Message-ID: <04A7CD00-4A6B-11D9-AC05-000393C10758@all-auctions.com> On Dec 10, 2004, at 12:00 AM, Derek Bump wrote: > > You mean like taking group of text and rendering it into an image? > Well, there is no native way to do this, but what you can do is > this... > > 1. Put the text you want into a fld. > 2. Take a snapshot of the fld. > 3. figure out where in the imageData of the "main" image that you want > to insert the imageData from the snapshot. > > That method will take a VERY long time as you have to parse the main > image pixel by pixel. The other method is this, but if the image is > larger than the stack then it will get cut off. > > 1. Put the text you want into a fld. > 2. Place the fld where you want it to appear over the image. > 3. Take a snapshot of the image. > > Derek, The latter method is probably the easiest. I tried taking a snapshot after getting the rectangle of the image, but it ended up getting other parts of the stack window too. Is this a problem of relative vs. absolute coordinates? Thanks for the quick response! Rick Harrison From webmaster at dreamscapesoftware.com Fri Dec 10 00:29:36 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 9 Dec 2004 23:29:36 -0600 Subject: Label an Image with Text? References: <5DB18C38-4A62-11D9-AC05-000393C10758@all-auctions.com><002801c4de75$2a5aa520$6701a8c0@DOWNSTAIRS> <04A7CD00-4A6B-11D9-AC05-000393C10758@all-auctions.com> Message-ID: <003901c4de79$3cecfdb0$6701a8c0@DOWNSTAIRS> > I tried taking a snapshot after getting the rectangle > of the image, but it ended up getting other parts of > the stack window too. Is this a problem of relative > vs. absolute coordinates? Yes, you have to specify the exact coordinates for the snapshot to work. > Thanks for the quick response! No problem, glad to see someone else can't sleep either (unless your on the other side of the world). Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com ----- Original Message ----- From: "Rick Harrison" To: "How to use Revolution" Sent: Thursday, December 09, 2004 11:19 PM Subject: Re: Label an Image with Text? > > On Dec 10, 2004, at 12:00 AM, Derek Bump wrote: >> >> You mean like taking group of text and rendering it into an image? >> Well, there is no native way to do this, but what you can do is >> this... >> >> 1. Put the text you want into a fld. >> 2. Take a snapshot of the fld. >> 3. figure out where in the imageData of the "main" image that you want >> to insert the imageData from the snapshot. >> >> That method will take a VERY long time as you have to parse the main >> image pixel by pixel. The other method is this, but if the image is >> larger than the stack then it will get cut off. >> >> 1. Put the text you want into a fld. >> 2. Place the fld where you want it to appear over the image. >> 3. Take a snapshot of the image. >> >> > > Derek, > > The latter method is probably the easiest. > > > Rick Harrison > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From b.xavier at internet.lu Fri Dec 10 00:43:19 2004 From: b.xavier at internet.lu (MisterX) Date: Fri, 10 Dec 2004 06:43:19 +0100 Subject: Arrays in Rev In-Reply-To: <20041210025533.80235.qmail@web51110.mail.yahoo.com> Message-ID: <20041210053432.F176993015A@mail.runrev.com> you can't put an array into another but put array["object"] into array["parent"] will move the data from object to parent. what you can do is an intermediary data formet which you can split/merge later into an array. so if an array is converted into data, you can stick into an array and later convert it back into data. There is already a bugzilla request for array embedding... Cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon > Sent: Friday, December 10, 2004 03:56 > To: How to use Revolution > Subject: Arrays in Rev > > Dear Revolutionaries > > Can an element of a rev array be another array? > > If not, is there any way to achieve the effect of nesting > arrays - OR if not, is there some way to create new container > types (like the structures and unions typical in C and > Pascal). Basically - how do I create complex organized > containers (objects) to hold my data? > > Best > > Gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Fri Dec 10 00:43:19 2004 From: b.xavier at internet.lu (MisterX) Date: Fri, 10 Dec 2004 06:43:19 +0100 Subject: File Management System In-Reply-To: <840597CE-4A48-11D9-AFCA-000D933610BE@mac.com> Message-ID: <20041210053434.D8AD493010B@mail.runrev.com> im working on a browser/previewer that will be a file agent choooser for xos later. It has - file filters - mac/*nix/win detailed files (all sorteable) or simple files view - different file types previews (text, html, image...) - file/folder renaming/movings (single now, group renaming soon) - deletion (single or group) Im building up the options to givit lots of file and folder ops - Ths weekend I will integrate the image-catalog object into it to get folder image previews browsing for example... How can we cooperate? Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Roger Guay > Sent: Friday, December 10, 2004 02:12 > To: use-revolution at lists.runrev.com > Subject: File Management System > > Has anyone built a file management system such as Mail in Mac > OSX? I need to build folders in a scrollable area on the > left side that contain documents titles in a scrollable area > in the upper right and document content in a scrollable area > in the lower right. The visible document content is the one > whose title is hilited in the upper right. > And most importantly, I need to be able move these documents > to different folders. This is a very typical file management > system but I don't quite know how to implement it. Has > anyone done this and is willing to help? > > Thanks very much, Roger > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Fri Dec 10 01:15:12 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 9 Dec 2004 22:15:12 -0800 (PST) Subject: Arrays in Rev In-Reply-To: <20041210025533.80235.qmail@web51110.mail.yahoo.com> Message-ID: <20041210061512.65100.qmail@web60509.mail.yahoo.com> --- Gordon wrote: > Dear Revolutionaries > > Can an element of a rev array be another array? > > If not, is there any way to achieve the effect of > nesting arrays - OR if not, is there some way to > create new container types (like the structures and > unions typical in C and Pascal). Basically - how do > I > create complex organized containers (objects) to > hold > my data? > > Best > > Gordon > Hi Gordon, As Xavier pointed out, there are no nested arrays in Revolution. In addition to his suggestion to use the "split" and "combine" commands when needed, I'd like to point at the other two options : crafting array keys to simulate the behaviour, and using XML trees as a way to hierarchically store information into nodes. 1. Array keys Revolution arrays are actually associative arrays, which means that the keys can be any string, and you can use separators as much as you like. Example : -- put "01/01/2003" into \ tCustomerData["1,history,23,date"] put tCustomerData["78,contacts,3,phone"] into \ tPhoneNumber -- 2. XML trees If you build your tree correctly, you can get the content of your data using calls like : -- put "data/customers[1]/history[23]/date" into \ tNode revPutIntoXMLNode tXMLTree,tNode,"01/01/2003" put "data/customers[78]/contacts[3]/phone" into \ tNode put revXMLNodeContents(tXMLTree,tNode) into \ tPhoneNumber -- For more information about XML and how Rev supports it, make sure to download the tutorial by Sarah Reichelt, available from the Runtime Revolution website at : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From mwieder at ahsoftware.net Fri Dec 10 02:01:59 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Dec 2004 23:01:59 -0800 Subject: parsing comments in scripts Message-ID: <19849545222.20041209230159@ahsoftware.net> All- In the last few days I've started to realize how many ways comments and non-comments that look like comments can be embedded into lines of script code. In trying to get to what's actually code I've tried getting the offset of a "--" string, which has complications if it is quoted. So I tried looking for quoted text and seeing if the comment was after quoted text - this also presents problems. We can have: #comment text --comment text "more text -- still more" text "more text" --comment text "more text" text "-- text" text "more text" text "still more" --comment (did I leave any out) I came across an interesting combination of tokens and words: tokens ignore comments, words don't make that distinction. However, the token delimiter isn't necessarily where I want it to be: put the tokens of "put" && quote & "something" & quote && "--comment" results in put "something without the trailing quote. But using tokens as counters and words to get the text works. Bizarre but true (AFAIKT). So... herewith I present my parser for removing comments from lines of code in a script. I believe it does everything except for line continuation characters ("\") which I handle separately before calling this function. --------------------- -- Return an empty line if it starts with "#" -- If the line contains an embedded comment ("--") then -- delete the comment part and just return the Transcript content --------------------- function StripComments theLine local numTokens -- ignore comments put the number of tokens of theLine into numTokens if numTokens is zero then put empty into theLine else put word 1 to numTokens of theLine into theLine end if return theLine end StripComments -- -Mark Wieder mwieder at ahsoftware.net From joncooper at swiftdsl.com.au Fri Dec 10 03:53:33 2004 From: joncooper at swiftdsl.com.au (Jonathan Cooper) Date: Fri, 10 Dec 2004 19:53:33 +1100 Subject: screen resolution problems In-Reply-To: <41B67B87.8090005@chipp.com> Message-ID: On Wednesday, December 8, 2004, at 02:56 PM, Chipp Walters wrote: > The easiest solution is to check on startup the screen resolution (get > the screenRect) and if it's not big enough popup an answer warning > dialog telling the user to please quit and change resolutions and > relaunch. > > [snip] > > PatGeorgeA at aol.com wrote: >> Hi, >> I have been developing software for testing in schools - built as a >> windows standalone. The program is made for a 1024 x 768 screen size >> (the card filling about 2/3rds of the screen with a backdrop) - the >> stack is quite complex, it contains lots script, lots of cards, each >> with different fonts, buttons and fields. Some of the computers we >> wanted to use are networked and set to a screen resolution of 800 x >> 600. Can anyone suggest a good solution to this? The easiest >> solution would be to change the resolution of the host computers >> during testing - at the end change it back. Would this be an okay >> thing to do and does anyone have a script that would allow me to do >> this? An alternative solution would be to change everything on the >> stack? Is this solution the best and is there any easy way to do >> this? >> What about a variation of Chipp's suggestion? (Not tested,but it should work) : Create a small standalone that just changes the screen resolution if necessary then launches the REAL standalone, then quits itself. Jonathan Cooper Manager of Information / WWW Art Gallery of New South Wales Art Gallery website: Sydney, Australia http://www.artgallery.nsw.gov.au Tel +61 2 9225 1796 Personal website: Fax +61 2 9221 5129 http://www.artgallery.nsw.gov.au/sub/jcooper Jonathan Cooper Manager of Information / WWW Art Gallery of New South Wales Art Gallery website: Sydney, Australia http://www.artgallery.nsw.gov.au Tel +61 2 9225 1796 Personal website: Fax +61 2 9221 5129 http://www.artgallery.nsw.gov.au/sub/jcooper From chipp at chipp.com Fri Dec 10 05:03:11 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 10 Dec 2004 04:03:11 -0600 Subject: simple applescript? Message-ID: <41B9745F.5060608@chipp.com> Hi all. Need a bit of help here...why doesn't this work? on mouseUp answer file "" if it is empty then exit to top put it into pPDFpath replace "/" with ":" in pPDFpath if char 1 of pPDFpath is ":" then delete char 1 of pPDFpath put "tell application " "e& "Finder" & quote & cr into tScript put "set the file type of " "e& pPDFpath "e& \ " to " "e& "PDF " "e& cr after tScript put "end tell" after tScript do tScript as Applescript put the result into sError end mouseUp From xbury.cs at clearstream.com Fri Dec 10 05:39:10 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 10 Dec 2004 11:39:10 +0100 Subject: are we beaten yet? Message-ID: Check out http://slashdot.org/articles/04/12/09/2323242.shtml?tid=100&tid=152&tid=1 According to it, PDAs will get flash software and developpers before we do! It would be great to just port a stack to palm and have it work. Old newton dreams again... X ----------------------------------------- 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 klaus at major-k.de Fri Dec 10 06:31:50 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 10 Dec 2004 12:31:50 +0100 Subject: have we eaten yet? In-Reply-To: References: Message-ID: <1549E31A-4A9F-11D9-8723-000A27B49A96@major-k.de> Hi Xavier, > Check out > > http://slashdot.org/articles/04/12/09/2323242.shtml? > tid=100&tid=152&tid=1 > > According to it, PDAs will get flash software and developpers before we > do! Yes, sad but true... > It would be great to just port a stack to palm and have it work. Old > newton dreams again... If only Jan Schenkel would share his secret on how to clone fine developers!!! ;-) Imagine having 2 or more Tuviahs!!! Blasting MicroMedia (and others) away would be snap then :-D > X Best Klaus Major klaus at major-k.de http://www.major-k.de From janschenkel at yahoo.com Fri Dec 10 06:58:42 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 10 Dec 2004 03:58:42 -0800 (PST) Subject: [OT] young developer In-Reply-To: <1F294512-4A43-11D9-AEA7-0003937A97B8@genesearch.com.au> Message-ID: <20041210115842.51788.qmail@web60502.mail.yahoo.com> --- Sarah Reichelt wrote: > Hi All, > > Sorry for the irrelevant email but I had to share my > news with you :-) > My middle son (aged 12) just graduated from primary > school yesterday > and was awarded the school's technology prize. Among > his list of > accomplishments that was read out, was the fact that > he has now started > making his own games. "WOW!" said the person giving > the speech. > > You'll never guess what he uses to write his > games... one of them even > has a music track that he wrote in GarageBand. > > Anyone who wants to have a look can go to > . I'm sure he would > welcome any > feedback. > > Cheers, > Sarah > Hi Sarah, Never announce that sort of thing while I'm having breakfast : I was almost late for work, trying to defeat that puny Jedi ! Nice job ; one remark though : in the version with music, if you close the window, the exe doesn't quit and the music keeps playing. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From benr_mc at cogapp.com Fri Dec 10 07:10:00 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 10 Dec 2004 12:10:00 +0000 Subject: simple applescript? In-Reply-To: <41B9745F.5060608@chipp.com> Message-ID: Chipp wrote: > Hi all. Need a bit of help here...why doesn't this work? > > on mouseUp > answer file "" > if it is empty then exit to top > put it into pPDFpath > replace "/" with ":" in pPDFpath > if char 1 of pPDFpath is ":" then delete char 1 of pPDFpath > put "tell application " "e& "Finder" & quote & cr into tScript > put "set the file type of " "e& pPDFpath "e& \ > " to " "e& "PDF " "e& cr after tScript > put "end tell" after tScript > do tScript as Applescript > put the result into sError > end mouseUp Hi Chip, I think you need "file" before the path, ie put "set the file type of file " "e& pPDFpath "e& \ " to " "e& "PDF " "e& cr after tScript HTH, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From dcragg at lacscentre.co.uk Fri Dec 10 07:16:34 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 10 Dec 2004 12:16:34 +0000 Subject: simple applescript? In-Reply-To: <41B9745F.5060608@chipp.com> References: <41B9745F.5060608@chipp.com> Message-ID: <55012666-4AA5-11D9-8F59-000A9569F8B0@lacscentre.co.uk> On 10 Dec 2004, at 10:03, Chipp Walters wrote: > Hi all. Need a bit of help here...why doesn't this work? > > on mouseUp > answer file "" > if it is empty then exit to top > put it into pPDFpath > replace "/" with ":" in pPDFpath > if char 1 of pPDFpath is ":" then delete char 1 of pPDFpath > put "tell application " "e& "Finder" & quote & cr into tScript > put "set the file type of " "e& pPDFpath "e& \ > " to " "e& "PDF " "e& cr after tScript > put "end tell" after tScript > do tScript as Applescript > put the result into sError > end mouseUp > Just guessing, but don't you need a file reference in there somewhere. Perhaps this: put "set the file type of " "e& "file" && pPDFpath "e& \ " to " "e& "PDF " "e& cr after tScript Or is that one of those cases when you need "alias" instead of file. Dave From alex at tweedly.net Fri Dec 10 08:01:53 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 10 Dec 2004 13:01:53 +0000 Subject: parsing comments in scripts In-Reply-To: <19849545222.20041209230159@ahsoftware.net> Message-ID: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> At 23:01 09/12/2004 -0800, Mark Wieder wrote: >All- > >In the last few days I've started to realize how many ways comments >and non-comments that look like comments can be embedded into lines of >script code. In trying to get to what's actually code I've tried >getting the offset of a "--" string, which has complications if it is >quoted. So I tried looking for quoted text and seeing if the comment >was after quoted text - this also presents problems. We can have: > >#comment >text --comment >text "more text -- still more" >text "more text" --comment >text "more text" text "-- text" >text "more text" text "still more" --comment >(did I leave any out) text # comment and variants of that. >I came across an interesting combination of tokens and words: tokens >ignore comments, words don't make that distinction. However, the token >delimiter isn't necessarily where I want it to be: > >put the tokens of "put" && quote & "something" & quote && "--comment" >results in >put "something >without the trailing quote. That's not quite what I see - I get just put something i.e. without either quote; that makes sense because once the line is tokenized, the quotes are unnecessary. >But using tokens as counters and words to get the text works. Bizarre >but true (AFAIKT). Sorry Mark, it won't work in all cases. In particular, any case where there are more tokens than words. put a+b into c has 6 tokens put a + b into c but only 4 words put a+b into c I don't have any suggestions, yet .... but it's an intriguing question, so I'll use it as an excuse to avoid gardening this afternoon :-) -- Alex. From rjb at rz.uni-potsdam.de Fri Dec 10 08:22:49 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri, 10 Dec 2004 14:22:49 +0100 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> Message-ID: >#comment >text --comment >text "more text -- still more" >text "more text" --comment >text "more text" text "-- text" >text "more text" text "still more" --comment >(did I leave any out) plenty :) although it may be that only MetaCard allows to use both quoting modes. from the above set text "more text -- still more" --comment same with hash text #comment text "more text # still more" text "more text" #comment text "more text" text "# text" text "more text" text "still more" #comment text "more text # still more" #comment mixed instances text "more text # still more" --comment text "more text -- still more" #comment I also use the following combinations to mark debugging code text "text" -- #comment text "text" #-- comment You could also consider other combo cases text "more text --- still more" #comment text "more text -- still more -- still more" #comment text "more text -- # -- still more" #comment text "more text ### still more" #comment In these cases it matters whether you first check for # or -- so you should really check both cases and see which has has lower offset. In general, I think you need to use the offset function for each line and check for either -- or # and count whether there is an even number of double-quotes before it (setting for example itemdelim to quote and get the item count). If count is odd, you are within literal and should continue. If count is even, then you hit a beginning of comment. I think this approach will work with all cases. Robert Brenstein From ambassador at fourthworld.com Fri Dec 10 08:29:33 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Dec 2004 05:29:33 -0800 Subject: parsing comments in scripts In-Reply-To: References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> Message-ID: <41B9A4BD.9020908@fourthworld.com> Robert Brenstein wrote: >> #comment >> text --comment >> text "more text -- still more" >> text "more text" --comment >> text "more text" text "-- text" >> text "more text" text "still more" --comment >> (did I leave any out) > > > plenty :) although it may be that only MetaCard allows to use both > quoting modes. Make that three: recently (v2.5?) they added support for multiline C-style comments: /* */ -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From johnrule at rcsprogramming.com Fri Dec 10 08:54:09 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Fri, 10 Dec 2004 05:54:09 -0800 Subject: THESIS now available (Mathewson) In-Reply-To: <20041210031448.B580D930154@mail.runrev.com> Message-ID: <20041210075493.SM00612@minipcxp> This is a doctoral thesis? JR -----Original Message----- Date: Thu, 09 Dec 2004 14:52:35 -0500 From: "Mathewson" Subject: THESIS now available To: use-revolution at lists.runrev.com Cc: metacard at lists.runrev.com Message-ID: Content-Type: text/plain; charset="ISO-8859-1" Dear xTalkers, My Thesis in the form that I have submitted it is now available in HTML format via the FILES page of my website. I am afraid I don't envisage having the prototype software uploaded anywhere until sometime into the new year. I would like to reiterate my thanks to Monsieur X for his very kind offer of help. Wishing you all an extremely xTalky New Year. Richmond Mathewson ----------------------------- From heather at runrev.com Fri Dec 10 09:45:43 2004 From: heather at runrev.com (Heather Nagey) Date: Fri, 10 Dec 2004 14:45:43 +0000 Subject: Christmas Special - we'll even solve your christmas shopping problem Message-ID: Dear list members, www.runrev.com/revbears.php Having a tough day? Code not doing what it should? Need a mascot to turn things around? Sometimes what you need is not technical support, but a hug. These bears are designed to fill this need in every developers' life. Your unique revBear will provide 24 hour support from your desktop or pocket. They are excellent and sympathetic listeners - once you explain that knotty problem in language your bear can understand, you will find it a snip to write the code. A revBear is not just for Christmas: he or she will be your friend for life! Lovingly handcrafted by renowned collectors-bear maker, Tiiu-Imbi Miller, the bears are 4" tall, made of high quality mohair with shiny glass eyes, fully jointed and wearing a Runtime Revolution t-shirt. Each bear is hand crafted and individualized by using various fabrics and facial expressions. They are collectors' bears and not suitable for children under 14 years of age. These bears - without the customized "Power to the Developer" t-shirts - normally retail for ?25 each. We're selling them to you for only ?20 or $30(US) inclusive of post and packing. A limited quantity of these bears are available to ship before Christmas so it's strictly "first-come, first-served" - order now to avoid disappointment! Your bear is waiting for you to give it both a loving home and a fulfilled and interesting life! Happy Holidays to one and all Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From fde101 at fjrhome.net Fri Dec 10 09:47:12 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 10 Dec 2004 09:47:12 -0500 Subject: screen resolution problems In-Reply-To: References: Message-ID: <6018D930-4ABA-11D9-8943-0050E410655F@fjrhome.net> Except that if it quits right away, then what is left to change the resolution back? It should stick around and wait for the other standalone to exit, then restore the original screen resolution. Not a bad idea, really... On Dec 10, 2004, at 3:53 AM, Jonathan Cooper wrote: > On Wednesday, December 8, 2004, at 02:56 PM, Chipp Walters wrote: > >> The easiest solution is to check on startup the screen resolution >> (get the screenRect) and if it's not big enough popup an answer >> warning dialog telling the user to please quit and change resolutions >> and relaunch. >> >> [snip] >> >> PatGeorgeA at aol.com wrote: >>> Hi, >>> I have been developing software for testing in schools - built as a >>> windows standalone. The program is made for a 1024 x 768 screen >>> size (the card filling about 2/3rds of the screen with a backdrop) - >>> the stack is quite complex, it contains lots script, lots of cards, >>> each with different fonts, buttons and fields. Some of the >>> computers we wanted to use are networked and set to a screen >>> resolution of 800 x 600. Can anyone suggest a good solution to >>> this? The easiest solution would be to change the resolution of the >>> host computers during testing - at the end change it back. Would >>> this be an okay thing to do and does anyone have a script that would >>> allow me to do this? An alternative solution would be to change >>> everything on the stack? Is this solution the best and is there any >>> easy way to do this? >>> > > What about a variation of Chipp's suggestion? (Not tested,but it > should work) : > Create a small standalone that just changes the screen resolution if > necessary then launches the REAL standalone, then quits itself. > > Jonathan Cooper > Manager of Information / WWW > Art Gallery of New South Wales Art Gallery website: > Sydney, Australia http://www.artgallery.nsw.gov.au > Tel +61 2 9225 1796 Personal website: > Fax +61 2 9221 5129 http://www.artgallery.nsw.gov.au/sub/jcooper > > > Jonathan Cooper > Manager of Information / WWW > Art Gallery of New South Wales Art Gallery website: > Sydney, Australia http://www.artgallery.nsw.gov.au > Tel +61 2 9225 1796 Personal website: > Fax +61 2 9221 5129 http://www.artgallery.nsw.gov.au/sub/jcooper > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From mpetrides at earthlink.net Fri Dec 10 09:55:34 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Fri, 10 Dec 2004 09:55:34 -0500 Subject: Christmas Special - we'll even solve your christmas shopping problem In-Reply-To: References: Message-ID: <8B7CE73B-4ABB-11D9-AF25-000A959D005E@earthlink.net> Heather, The bears are priceless ;-) One question, however. Christmas is a mere 2 weeks away. Will US customers really get their bear by Christmas if ordered now? Marian On Dec 10, 2004, at 9:45 AM, Heather Nagey wrote: > Dear list members, > > www.runrev.com/revbears.php > > Having a tough day? Code not doing what it should? Need a mascot to > turn > things around? Sometimes what you need is not technical support, but a > hug. > These bears are designed to fill this need in every developers' life. > Your > unique revBear will provide 24 hour support from your desktop or > pocket. > They are excellent and sympathetic listeners - once you explain that > knotty > problem in language your bear can understand, you will find it a snip > to > write the code. > > A revBear is not just for Christmas: he or she will be your friend for > life! > > Lovingly handcrafted by renowned collectors-bear maker, Tiiu-Imbi > Miller, > the bears are 4" tall, made of high quality mohair with shiny glass > eyes, > fully jointed and wearing a Runtime Revolution t-shirt. Each bear is > hand > crafted and individualized by using various fabrics and facial > expressions. > They are collectors' bears and not suitable for children under 14 > years of > age. > > These bears - without the customized "Power to the Developer" t-shirts > - > normally retail for ?25 each. We're selling them to you for only ?20 or > $30(US) inclusive of post and packing. A limited quantity of these > bears are > available to ship before Christmas so it's strictly "first-come, > first-served" - order now to avoid disappointment! Your bear is > waiting for > you to give it both a loving home and a fulfilled and interesting life! > > Happy Holidays to one and all > > Heather > -- > > ** For a faster response to all licensing, support, and technical > issues, > please now send mail to support at runrev.com ** > > Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 > ~~~ Check our web site for new Revolution editions & special offers ~~~ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From James.Cass at sealedair.com Fri Dec 10 11:12:27 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Fri, 10 Dec 2004 11:12:27 -0500 Subject: testing on case In-Reply-To: <64878EF567131D4596246171F75FD4A9469E14@m-epo-1.epo.cdc.gov> Message-ID: Jonathan - That's weird, right? When I do this in the messagebox or in a button script: put matchText( z, "^[A-Z]") I definitely get "false" returned. But when I do this in the messagebox put matchText( z, "^[aA-zZ]") I get true. This is the way I would expect it to behave. I don't know why you would be getting different results. Hmmmm. I'm running Rev 2.5 on MacOSX 10.3.6. - James "Lynch, Jonathan" Sent by: use-revolution-bounces at lists.runrev.com 12/09/04 04:02 PM Please respond to How to use Revolution To: "How to use Revolution" cc: Subject: RE: testing on case Hi James... I tried: matchText( z, "^[A-Z]") and it worked fine for me... I tested it in the message box... matchText("b","^[A-Z]") returned false, and matchText("B","^[A-Z]") returned true -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of James.Cass at sealedair.com Sent: Thursday, December 09, 2004 3:47 PM To: How to use Revolution Subject: Re: testing on case > The expression matchText( z, "^[A-Z]") > will return true if (and only when) the > first character is an ASCII capital letter. That returns "false" for me. You'll need to do it like this to cover upper and lower case. matchText(z,"^[aA-zZ]") Cheers...James |---------+---------------------------------------> | | Dar Scott | | | Sent by: | | | use-revolution-bounces at lists| | | .runrev.com | | | | | | | | | 12/09/04 02:53 PM | | | Please respond to How to use| | | Revolution | |---------+---------------------------------------> >----------------------------------------------------------------------- ---------------------------------| | | | To: How to use Revolution | | cc: | | Subject: Re: testing on case | >----------------------------------------------------------------------- ---------------------------------| On Dec 9, 2004, at 11:46 AM, Hershel Fisch wrote: >> if matchText( param(x), "^[A-Z]") then put xxx else put x > I don't get it The expression matchText( z, "^[A-Z]") will return true if (and only when) the first character is an ASCII capital letter. The "^" matches the beginning of the string (or line). A more exact pattern is "\A"; I used "^" because it might be more familiar. The immediately following pattern [A-Z] matches any letter in the range A-Z in ASCII. It must match right after the previous pattern match, that is, the beginning. There is no pattern matching for the end of the string so the rest of the string z does not matter. That is, matchText() returns true if the pattern occurs anywhere in the string, not just if it matches the whole string. (Use \A and \z to match the ends to make a pattern match the whole string.) You can find more info on regular expressions here: http://www.perldoc.com/perl5.8.0/pod/perlre.html But you have to skip over all the perl specific parts. You can find more specific information on exact usage of the actual library used in Revolution and (I assume) Dreamcard here: http://www.pcre.org/pcre.txt But you have to skip over all the building and calling parts. Skip down to PCRE REGULAR EXPRESSION DETAILS. I think you need to skip over the unicode and UTF-8 paragraphs, too, for now. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Fri Dec 10 11:17:51 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 10 Dec 2004 11:17:51 -0500 Subject: Arrays in Rev In-Reply-To: <20041210061512.65100.qmail@web60509.mail.yahoo.com> References: <20041210061512.65100.qmail@web60509.mail.yahoo.com> Message-ID: <0A1D7ADA-4AC7-11D9-8943-0050E410655F@fjrhome.net> As far as records (C's struct types), there are at least two ways to do this: Mathod 1. Arrays Since array keys can be strings, you can convert something like this: VAR myRec : RECORD x, y : INTEGER END; BEGIN x := 5; y := 7 END; into something like this: put 5 into myRec["x"] put 7 into myRec["y"] (Transcript's arrays are *really* cool...) Method 2. Objects You can also use custom properties on objects in place of fields on records. So create a button called "myRec", then: set the x of button "myRec" to 5 set the y of button "myRec" to 7 On Dec 10, 2004, at 1:15 AM, Jan Schenkel wrote: > --- Gordon wrote: >> Dear Revolutionaries >> >> Can an element of a rev array be another array? >> >> If not, is there any way to achieve the effect of >> nesting arrays - OR if not, is there some way to >> create new container types (like the structures and >> unions typical in C and Pascal). Basically - how do >> I >> create complex organized containers (objects) to >> hold >> my data? >> >> Best >> >> Gordon >> > > Hi Gordon, > > As Xavier pointed out, there are no nested arrays in > Revolution. In addition to his suggestion to use the > "split" and "combine" commands when needed, I'd like > to point at the other two options : crafting array > keys to simulate the behaviour, and using XML trees as > a way to hierarchically store information into nodes. > > 1. Array keys > Revolution arrays are actually associative arrays, > which means that the keys can be any string, and you > can use separators as much as you like. Example : > -- > put "01/01/2003" into \ > tCustomerData["1,history,23,date"] > put tCustomerData["78,contacts,3,phone"] into \ > tPhoneNumber > -- > > 2. XML trees > If you build your tree correctly, you can get the > content of your data using calls like : > -- > put "data/customers[1]/history[23]/date" into \ > tNode > revPutIntoXMLNode tXMLTree,tNode,"01/01/2003" > put "data/customers[78]/contacts[3]/phone" into \ > tNode > put revXMLNodeContents(tXMLTree,tNode) into \ > tPhoneNumber > -- > For more information about XML and how Rev supports > it, make sure to download the tutorial by Sarah > Reichelt, available from the Runtime Revolution > website at : > > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - Get yours free! > http://my.yahoo.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From b.xavier at internet.lu Fri Dec 10 12:20:40 2004 From: b.xavier at internet.lu (MisterX) Date: Fri, 10 Dec 2004 18:20:40 +0100 Subject: parsing comments in scripts In-Reply-To: <19849545222.20041209230159@ahsoftware.net> Message-ID: <20041210171152.05EF393005B@mail.runrev.com> It may not be the fastest but its been quite reliable. This is the comment stripper for Transcriptolator. It removes the comments and THEN puts them back (optional...) It works line be line... hope it helps... cheers Xavier -- ---------------------------------------------------------------------------- -- Comments Handlers -- a comment stripper rejoiner -- made to prevent comments translation -- left locally for local variable usage ---------------------------------------------------------------------------- -- local commentdata on ClearLineComments put empty into commentdata["handler"] put empty into commentdata["comment"] put false into commentdata["has2ndcomment"] put empty into commentdata["comment2"] put true into commentdata["commentfinished"] end ClearLineComments function StripComments aline local a,b local has2ndcomment,acomment2 ClearLineComments -- clean up aline repeat while char 1 of aline is " " delete char 1 of aline end repeat repeat while char -1 of aline is " " delete char -1 of aline end repeat put offset("/*",aline) into a put offset("*/",aline) into b if a > 0 then if b > 0 then put true into commentdata["commentfinished"] get char a to b+1 of aline delete char a to b+1 of aline else put false into commentdata["commentfinished"] get char a to -1 of aline delete char a to -1 of aline end if put it into acomment else if commentdata["commentfinished"] is false then if b<0 then -- middle of a comment put aline into acomment put empty into aline else -- end of comment if b>0 then put char 1 to b+1 of aline into acomment if length(aline)>b+1 then put char b+2 to -1 of aline into aline end if delete char 1 to b+1 of aline put true into commentdata["commentfinished"] end if end if end if put offset("//",aline) into a if a > 0 and offset("*/",aline) < a then put true into commentdata["commentfinished"] get char a to -1 of aline delete char a to -1 of aline put true into has2ndcomment -- finally if has2ndcomment is false then put it into acomment put false into has2ndcomment else put it into acomment2 put true into has2ndcomment end if -- this part is commented since this code was meant -- for not xtalk languages. untested... -- else -- -- search for -- comments -- -- put offset("--",aline) into a -- if a > 0 then -- get char a to -1 of aline -- delete char a to -1 of aline -- -- put true into has2ndcomment -- -- finally -- if has2ndcomment is false then -- put it into acomment -- put false into has2ndcomment -- else -- put it into acomment2 -- put true into has2ndcomment -- end if -- end if end if repeat while char 1 of aline is " " delete char 1 of aline end repeat repeat while char -1 of aline is " " delete char -1 of aline end repeat put aline into commentdata["handler"] repeat while char 1 of acomment is " " delete char 1 of acomment end repeat repeat while char -1 of acomment is " " delete char -1 of acomment end repeat put acomment into commentdata["comment"] get has2ndcomment is true repeat while char 1 of acomment2 is " " delete char 1 of acomment2 end repeat repeat while char -1 of acomment2 is " " delete char -1 of acomment2 end repeat put it into commentdata["has2ndcomment"] if it then put acomment2 into commentdata["comment2"] return aline end StripComments function linewocomments -- return statement without comments return commentdata["handler"] end linewocomments function LineComments get commentdata["has2ndcomment"] if it then get commentdata["comment"] && commentdata["comment2"] else get commentdata["comment"] end if return it end LineComments function RestoreOrigComments local thisline,linecomment get commentdata["handler"] into thisline put LineComments() into linecomment if linecomment is empty then return thisline else return thisline && linecomment ClearLineComments end RestoreOrigComments From gizmotron at earthlink.net Fri Dec 10 13:34:14 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 10 Dec 2004 10:34:14 -0800 Subject: Arrays in Rev In-Reply-To: <0A1D7ADA-4AC7-11D9-8943-0050E410655F@fjrhome.net> Message-ID: <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> Hi, I fooled around with array's and pull-parsers for an easier solution. "Dimensional Arrays: This thing is not a real array within an array, it just acts like one. It provides a way to store the data as MTML, like simple XML. This version is created with functions that can be copied to your own scripts. Paste this into the message window: go URL "http://www.gizmotron.org/revolution/dimensionalList.rev" -- see stack scripts for functions -- function addArray dataString, spotArray, theData -- Note: addArray() will replace data that already exists in the dataString -- Example for adding multi-dimensional data: -- put addArray(myMTMLDataString, "[1][4][5]", "John Doe") into field "showMTML" -- put addArray(myMTMLDataString, "1,4,5", "John Doe") into field "showMTML" -- see stack scripts for functions -- function getArray dataString, spotArray -- Example for getting multi-dimensional data: -- put getArray(myMTMLDataString, "[1][4][5]") into field "showData" -- put getArray(myMTMLDataString, "1,4,5") into field "showData" An old eperiment from the past: > put: go url "http://www.gizmotron.org/frogbreath.rev" into the message > window with a active internet connection. Regarding a comment about my pull-parser used in this I have been using it to run my MTML browser and speed. In that browser I was using set the htmlText of field "offScreenField1" to thisVar and then using put the htmlText of field "offScreenField1" to thatVar after that. This turned out to be the choke point in my parser. I needed to clean up fragments of html that didn't have completed syntax because only a smaller portion of the full markup was being used in the thisVar variable above. Rev has the ability to correct bad html. An example of that would be in grabbing the front part of an anchor tag while not including the end tag. the htmlText function adds it in so that the anchor works properly. Once I used lock screen and unlock screen my cleanup script went from 356 ticks to 0 ticks when parsing a once considered very large document. So it now looks like I have my solution to fast enough pull-parsing. Mark Brownell Gizmotron Graphics From ambassador at fourthworld.com Fri Dec 10 14:13:22 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Dec 2004 11:13:22 -0800 Subject: Arrays in Rev In-Reply-To: <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> References: <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> Message-ID: <41B9F552.809@fourthworld.com> Mark Brownell wrote: > This thing is not a real array within an array, it just acts like one. I hate to reinforce any perceptions of my curmudgeonliness, but for the benefit of newcomers here it may be useful to remind folks that while this indexed array is scripted, Rev's built-in associative arrays are just as "real" as associative arrays in any other language (and sometime more useful than strictly numerically indexed ones). That said, your lib looks quite enticing. Good work! -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From richmond at mail.maclaunch.com Fri Dec 10 13:41:04 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri, 10 Dec 2004 13:41:04 -0500 Subject: Mathewson's Thesis Message-ID: This is a Masters degree Thesis as is explicitly stated on the cover page. I don't have either the money, the time, or he self-discipline to spend 3-4 years on a Doctoral thesis! Richmond _________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From alex at tweedly.net Fri Dec 10 14:26:15 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 10 Dec 2004 19:26:15 +0000 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> References: <19849545222.20041209230159@ahsoftware.net> Message-ID: <5.1.0.14.0.20041210190751.02999f68@mail.tweedly.net> At 13:01 10/12/2004 +0000, Alex Tweedly wrote: >At 23:01 09/12/2004 -0800, Mark Wieder wrote: >>I came across an interesting combination of tokens and words: tokens >>ignore comments, words don't make that distinction. However, the token >>delimiter isn't necessarily where I want it to be: >> >>put the tokens of "put" && quote & "something" & quote && "--comment" >>results in >>put "something >>without the trailing quote. > >That's not quite what I see - I get just >put something >i.e. without either quote; that makes sense because once the line is >tokenized, the quotes are unnecessary. Sorry - my error. I had already changed my script to investigate the case described later in my email (put a+b into c) So (naturally enough, with hindsight) using something like token N returns JUST the token itself, whereas token N to K returns the intervening delimiters, but not any trailing one. So we only need to restore any trailing quote, which is only needed if the final token started out being quoted, therefore function StripComments theLine local theResult put token 1 to -1 of theLine into theResult if quote is in token -2 to -1 of theLine then put quote after theResult return theResult end StripComents should do it OK. Seems to work for my simple testing so far - but there may be cases I haven't thought of yet. Unfortunately, it appears that token DOES include the C-style comment delimiters recently introduced, and they can be multi-line, so you'll need to do something more to deal with that. -- Alex. From alex at tweedly.net Fri Dec 10 14:44:54 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 10 Dec 2004 19:44:54 +0000 Subject: Arrays in Rev In-Reply-To: <41B9F552.809@fourthworld.com> References: <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> Message-ID: <5.1.0.14.0.20041210193908.029e9088@mail.tweedly.net> At 11:13 10/12/2004 -0800, Richard Gaskin wrote: >Mark Brownell wrote: >>This thing is not a real array within an array, it just acts like one. > >I hate to reinforce any perceptions of my curmudgeonliness, but for the >benefit of newcomers here it may be useful to remind folks that while this >indexed array is scripted, Rev's built-in associative arrays are just as >"real" as associative arrays in any other language (and sometime more >useful than strictly numerically indexed ones). It's "real", but it is NOT *within* another array. In Rev, you cannot do something equivalent to put "abc" into a[1] put "def" into a[2] put "ghi" into b["z"] put a into b["y"] which you can (with different syntax) in Perl, Python, (I think) Ruby, .... I'm not particularly claiming that it's good practice to do so :-) - but you can do it. -- Alex. From mwieder at ahsoftware.net Fri Dec 10 15:11:39 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Dec 2004 12:11:39 -0800 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> Message-ID: <692577305.20041210121139@ahsoftware.net> Alex- Friday, December 10, 2004, 5:01:53 AM, you wrote: >>(did I leave any out) AT> text # comment AT> and variants of that. ...yes, I was thinking of # and -- as interchangeable here. >>put the tokens of "put" && quote & "something" & quote && "--comment" AT> That's not quite what I see - I get just AT> put something AT> i.e. without either quote; that makes sense because once the line is AT> tokenized, the quotes are unnecessary. My bad typing - I left out the parens. Make that put the tokens of ("put" && quote & "something" & quote && "--comment") AT> Sorry Mark, it won't work in all cases. In particular, any case where there AT> are more tokens than words. AT> put a+b into c ... dang operator tokens... back to the drawing board... AT> I don't have any suggestions, yet .... but it's an intriguing question, so AT> I'll use it as an excuse to avoid gardening this afternoon :-) Well, winter itself (or December) should be a good excuse. Me, I was happy to get some greens in the ground before the rains started. -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Fri Dec 10 15:19:20 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 10 Dec 2004 20:19:20 +0000 Subject: parsing comments in scripts In-Reply-To: <41B9A4BD.9020908@fourthworld.com> References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> Message-ID: <5.1.0.14.0.20041210195653.0289af08@mail.tweedly.net> At 05:29 10/12/2004 -0800, Richard Gaskin wrote: >Make that three: recently (v2.5?) they added support for multiline >C-style comments: /* */ I love it when you get two, very different ways to create comments, and they can interact Any votes for how to interpret put "asd" & /* comment -- this here */ "def " into msg Choices are 1. The /* starts a comment, so the -- is part of that comment, and the */ ends it; i.e. it is equivalent to put "asd" & "def" into msg 2. The /* starts a comment, AND the -- starts a comment and everything after that is part of a comment - all the way to the end of the line. The script interpreter thinks version 1, while the script colorizer thinks something very close to 2. Sometimes it colors everything from the /* to the end of the line as a comment; other times it colors the /* and -- onwards (but not the word comment) -- Alex. From troy at rpsystems.net Fri Dec 10 15:17:27 2004 From: troy at rpsystems.net (Troy Rollins) Date: Fri, 10 Dec 2004 15:17:27 -0500 Subject: Arrays in Rev In-Reply-To: <5.1.0.14.0.20041210193908.029e9088@mail.tweedly.net> References: <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> <5.1.0.14.0.20041210193908.029e9088@mail.tweedly.net> Message-ID: <833A9A1E-4AE8-11D9-8408-000A95A09CF8@rpsystems.net> On Dec 10, 2004, at 2:44 PM, Alex Tweedly wrote: > It's "real", but it is NOT *within* another array. > In Rev, you cannot do something equivalent to > > put "abc" into a[1] > put "def" into a[2] > > put "ghi" into b["z"] > put a into b["y"] > > which you can (with different syntax) in Perl, Python, (I think) Ruby, > .... Or in Lingo - myVar = [#check: [#this: [#out: "Cool"]]] put myVar.check.this.out -- "Cool" put myVar[1][1][1] -- "Cool" People will debate the usefulness of such constructs, but I have yet to see anything in Transcript which is nearly so elegant for complex iterative evaluations. I strongly believe that Transcript needs this type of data structuring... but then of course, I don't let go easily to what I've learned and switch to what some Rev users would consider more "native" data management techniques which *are* available, though *much* more "wordy" to get there, and certainly do not iterate as elegantly. -- Troy RPSystems, Ltd. http://www.rpsystems.net From dsc at swcp.com Fri Dec 10 15:18:17 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 10 Dec 2004 13:18:17 -0700 Subject: testing on case In-Reply-To: References: Message-ID: On Dec 10, 2004, at 9:12 AM, James.Cass at sealedair.com wrote: > put matchText( z, "^[A-Z]") > I definitely get "false" returned. matchText( "mom", "^[A-Z]") ==> false matchText( "Mom", "^[A-Z]") ==> true matchText( "=Mom", "^[A-Z]") ==> false matchText( "\Mom", "^[A-Z]") ==> false This is consistent with testing whether the first character is a capital (ASCII) letter. The regex looks good. > But when I do this in the messagebox > put matchText( z, "^[aA-zZ]") > I get true. This is the way I would expect it to behave. put matchText( "mom", "^[aA-zZ]") ==> true put matchText( "Mom", "^[aA-zZ]") ==> true put matchText( "=Mom", "^[aA-zZ]") ==> false put matchText( "\Mom", "^[aA-zZ]") ==> true Here is what is going on. The pattern [aA-zZ] will match any of these letters: a ABCDEFGHIJKLMNOPQRSTUVWZYZ[\]^_`abcdefghijklmnopqrstuvwxyz Z The range portion is usually environment dependent and depends on the collating order or the coding order used in an implementation. For ASCII and code sets that are supersets of ASCII, the pattern A-z would result in matching the middle line above. charToNum("A") ==> 65 charToNum("\") ==> 92 charToNum("z") ==> 122 An alternative that might be better for the future is this: matchText( "mom", "^[[:upper:]]") or better matchText( "mom", "\A[[:upper:]]") The matching is currently ASCII, but the library can handle UTF-8, somewhat, and if Revolution is ever extended to handle that, that pattern should be ready. It might be that the library will also be extended to handle other popular high codes. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From mwieder at ahsoftware.net Fri Dec 10 15:22:23 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Dec 2004 12:22:23 -0800 Subject: parsing comments in scripts In-Reply-To: <41B9A4BD.9020908@fourthworld.com> References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <41B9A4BD.9020908@fourthworld.com> Message-ID: <1763221522.20041210122223@ahsoftware.net> Richard- Friday, December 10, 2004, 5:29:33 AM, you wrote: RG> Make that three: recently (v2.5?) they added support for multiline RG> C-style comments: /* */ Right. I forgot to mention those. I have to handle those separately, of course, because they can and usually do cover multiple lines. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Fri Dec 10 15:23:24 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 10 Dec 2004 13:23:24 -0700 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041210190751.02999f68@mail.tweedly.net> References: <19849545222.20041209230159@ahsoftware.net> <5.1.0.14.0.20041210190751.02999f68@mail.tweedly.net> Message-ID: <57D757B0-4AE9-11D9-B932-000A9567A3E6@swcp.com> On Dec 10, 2004, at 12:26 PM, Alex Tweedly wrote: > Unfortunately, it appears that token DOES include the C-style comment > delimiters recently introduced, and they can be multi-line, so you'll > need to do something more to deal with that. I missed most of this. I'll just throw in this comment to consider in parsing: /* */ style comments form intra-command whitespace, not inter-command whitespace; they cannot take the place of a ; or a lf, even if they include a lf. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From mwieder at ahsoftware.net Fri Dec 10 15:28:23 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Dec 2004 12:28:23 -0800 Subject: parsing comments in scripts In-Reply-To: References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> Message-ID: <1453581479.20041210122823@ahsoftware.net> Robert- Friday, December 10, 2004, 5:22:49 AM, you wrote: RB> In these cases it matters whether you first check for # or -- so you RB> should really check both cases and see which has has lower offset. I don't think so. They're interchangeable at that level. RB> In general, I think you need to use the offset function for each line RB> and check for either -- or # and count whether there is an even RB> number of double-quotes before it (setting for example itemdelim to RB> quote and get the item count). If count is odd, you are within RB> literal and should continue. If count is even, then you hit a RB> beginning of comment. I think this approach will work with all cases. Yes - I was doing something complicated like that and hit on the tokens thing as a way to simplify and speed things up. I'll probably have to go back that way again. BTW - the item count thing won't work because you still don't know the order, especially in cases where there are multiple quotes and/or possible comment chars. -- -Mark Wieder mwieder at ahsoftware.net From lists at mangomultimedia.com Fri Dec 10 15:36:58 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 10 Dec 2004 12:36:58 -0800 Subject: Arrays in Rev In-Reply-To: <833A9A1E-4AE8-11D9-8408-000A95A09CF8@rpsystems.net> References: <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> <5.1.0.14.0.20041210193908.029e9088@mail.tweedly.net> <833A9A1E-4AE8-11D9-8408-000A95A09CF8@rpsystems.net> Message-ID: <3D19A096-4AEB-11D9-9D6F-000D9337CDC8@mangomultimedia.com> On Dec 10, 2004, at 12:17 PM, Troy Rollins wrote: > Or in Lingo - > > myVar = [#check: [#this: [#out: "Cool"]]] > > put myVar.check.this.out > -- "Cool" > > put myVar[1][1][1] > -- "Cool" > > People will debate the usefulness of such constructs, but I have yet > to see anything in Transcript which is nearly so elegant for complex > iterative evaluations. I strongly believe that Transcript needs this > type of data structuring... but then of course, I don't let go easily > to what I've learned and switch to what some Rev users would consider > more "native" data management techniques which *are* available, though > *much* more "wordy" to get there, and certainly do not iterate as > elegantly. I too think Transcript could use some work in this area. I really like dealing with arrays in PHP. It is very easy to create nested arrays and to iterate over them since you can get the number of children of an array element. There are a whole bunch of fun functions for manipulating them as well. Though many things I would use arrays for in PHP can be accomplished using lines and items in Transcript I find myself needing a data type which supports nesting and iteration to more easily model certain types of data. I would really like to see an improvement in this area in the future. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From gwalias-rev at yahoo.com Fri Dec 10 15:39:50 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Fri, 10 Dec 2004 12:39:50 -0800 (PST) Subject: Arrays in Rev In-Reply-To: <833A9A1E-4AE8-11D9-8408-000A95A09CF8@rpsystems.net> Message-ID: <20041210203950.6028.qmail@web51110.mail.yahoo.com> Dear Revolutionaries Thanks for all the suggestions - I appreciate the help. I have to say that I agree with Troy - it seems like rr could really use some kind of elegant solution to this problem. Sure - it's possible to work around it, but having to code these kind of basic housekeeping functions introduces more room for the unexpected to occur and ultimately makes rr less robust if you have to rely on a bunch of extra code to do something that could be innate in the language. IMHO, the single greatest feature in the Python language is the nestable keyed libraries that can be freely mixed with lists. How beautiful, simple, elegant and still readable ten years later it is, when you can use something like: for client in myBusiness["clients"]["european"]: if client["city"] == "Munich": dataBase["My Munich Clients"].append(client) I would vote for something like this in rr :) Best Gordon --- Troy Rollins wrote: > > On Dec 10, 2004, at 2:44 PM, Alex Tweedly wrote: > > > It's "real", but it is NOT *within* another array. > > In Rev, you cannot do something equivalent to > > > > put "abc" into a[1] > > put "def" into a[2] > > > > put "ghi" into b["z"] > > put a into b["y"] > > > > which you can (with different syntax) in Perl, > Python, (I think) Ruby, > > .... > > Or in Lingo - > > myVar = [#check: [#this: [#out: "Cool"]]] > > put myVar.check.this.out > -- "Cool" > > put myVar[1][1][1] > -- "Cool" > > People will debate the usefulness of such > constructs, but I have yet to > see anything in Transcript which is nearly so > elegant for complex > iterative evaluations. I strongly believe that > Transcript needs this > type of data structuring... but then of course, I > don't let go easily > to what I've learned and switch to what some Rev > users would consider > more "native" data management techniques which *are* > available, though > *much* more "wordy" to get there, and certainly do > not iterate as > elegantly. > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From troy at rpsystems.net Fri Dec 10 15:51:21 2004 From: troy at rpsystems.net (Troy Rollins) Date: Fri, 10 Dec 2004 15:51:21 -0500 Subject: Arrays in Rev In-Reply-To: <20041210203950.6028.qmail@web51110.mail.yahoo.com> References: <20041210203950.6028.qmail@web51110.mail.yahoo.com> Message-ID: <3F2AEDCB-4AED-11D9-8408-000A95A09CF8@rpsystems.net> On Dec 10, 2004, at 3:39 PM, Gordon wrote: > IMHO, the single greatest feature in the Python > language is the nestable keyed libraries that can be > freely mixed with lists. How beautiful, simple, > elegant and still readable ten years later it is, when > you can use something like: Curiously, Python and Lingo are almost identical languages when Lingo is used in dot-syntax format. The python example supplied is very nearly valid Lingo. When Lingo is used in verbose format, it is almost identical to Transcript. dot-syntax was an evolution of the language which did not exist in original Lingo. Though I've no doubt it was an expensive evolution in terms of development costs. Incidentally, I've decided to add Python to my list of languages recently, specifically because it looks like the migration from Lingo should be a snap. -- Troy RPSystems, Ltd. http://www.rpsystems.net From jrosat at mac.com Fri Dec 10 16:31:26 2004 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Fri, 10 Dec 2004 22:31:26 +0100 Subject: Disappointed by Dreamcard/Revolution Message-ID: Hello, I have a PowerBook G4 450MHz with MacOS 10.3. I discovered Revolution a few month ago. So I decided to buy Dreamcard to test it. I am very surprised by the reactions of this application: After a few hours of use: - the keyboard shortcuts (copy/past for example) don't work any more - the Inspector button in the toolbar don't work (the inspector palette don't open or twice) - the name of an element (stack or field) change without typing something in the field name in the basic properties so I close the stack without saving and I open it again: the "new" name is still present - each time I click-right on a word in the script window a new Documentation stack open and appear in the Application Browser: after 1 hour, the Application Browser is full of stacks - I tried to develop a small application for a french environment: I had much problems with the accents. - etc. It's as if the interface was unstable, not finished. If Revolution is the same, I am not certain that it is possible to develop an application for a big company or an official administration. And if you don't understand or write english, you should not hope to obtain any support ! At the beginning I was very exited by Revolution, but finally I'm totally disappointed. J?r?me Rosat 1212 Grand-Lancy / Gen?ve From dsc at swcp.com Fri Dec 10 16:39:30 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 10 Dec 2004 14:39:30 -0700 Subject: parsing comments in scripts In-Reply-To: <1453581479.20041210122823@ahsoftware.net> References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> Message-ID: On Dec 10, 2004, at 1:28 PM, Mark Wieder wrote: > RB> In general, I think you need to use the offset function for each > line > RB> and check for either -- or # and count whether there is an even > RB> number of double-quotes before it (setting for example itemdelim to > RB> quote and get the item count). If count is odd, you are within > RB> literal and should continue. If count is even, then you hit a > RB> beginning of comment. I think this approach will work with all > cases. ... > Yes - I was doing something complicated like that and hit on the > tokens thing as a way to simplify and speed things up. Don't forget special parsing for this: format("..." Dar **************************************** DSC http://www.swcp.com/dsc/ Programming Services **************************************** From david at kwinter.ca Fri Dec 10 16:54:48 2004 From: david at kwinter.ca (David Kwinter) Date: Fri, 10 Dec 2004 13:54:48 -0800 Subject: Possible encrypt/decrypt bug Message-ID: <005601c4df02$deb63bf0$6601a8c0@davidvq5o4w7vw> I've checked bugzilla and haven't found this, I thought I'd run it by this list before posting a new bug. These should both answer "true" at the end, but the first, using "key" doesn't. I've encountered it while encrypting and decrypting binary files, expecting to reproduce the files exactly. on mouseUp answer file "Choose a file" put it into fPath open file fPath for binary read read from file fPath until end put it into originalData close file fPath repeat 32 times put numToChar(random(255)) after tKey end repeat encrypt originalData using "aes256" with key tKey at 256 bit put it into encryptedData decrypt encryptedData using "aes256" with key tKey at 256 bit put it into restoredData answer restoredData=originalData #### answers false end mouseUp on mouseUp answer file "Choose a file" put it into fPath open file fPath for binary read read from file fPath until end put it into originalData close file fPath repeat 32 times put numToChar(random(255)) after tKey end repeat encrypt originalData using "aes256" with password tKey at 256 bit put it into encryptedData decrypt encryptedData using "aes256" with password tKey at 256 bit put it into restoredData answer restoredData=originalData #### answers true end mouseUp Even though it seems that a binary key works as the password I'd like to know if passwords are supposed to be restricted to certain chars and if the second script is less secure than the first, if it worked. Thanks for any help From hugh at hulagal.net Fri Dec 10 16:55:46 2004 From: hugh at hulagal.net (Hugh Gallagher) Date: Fri, 10 Dec 2004 14:55:46 -0700 Subject: parsing comments in scripts In-Reply-To: References: <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> Message-ID: <3F38C411-4AF6-11D9-B5A3-000393103900@hulagal.net> Dar, thanks for the tip. Hugh On Dec 10, 2004, at 2:39 PM, Dar Scott wrote: > > On Dec 10, 2004, at 1:28 PM, Mark Wieder wrote: > >> RB> In general, I think you need to use the offset function for each >> line >> RB> and check for either -- or # and count whether there is an even >> RB> number of double-quotes before it (setting for example itemdelim >> to >> RB> quote and get the item count). If count is odd, you are within >> RB> literal and should continue. If count is even, then you hit a >> RB> beginning of comment. I think this approach will work with all >> cases. > ... >> Yes - I was doing something complicated like that and hit on the >> tokens thing as a way to simplify and speed things up. > > Don't forget special parsing for this: > > format("..." > > Dar > > **************************************** > DSC > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Fri Dec 10 17:46:10 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 10 Dec 2004 15:46:10 -0700 Subject: Possible encrypt/decrypt bug In-Reply-To: <005601c4df02$deb63bf0$6601a8c0@davidvq5o4w7vw> References: <005601c4df02$deb63bf0$6601a8c0@davidvq5o4w7vw> Message-ID: <49433A2C-4AFD-11D9-901D-000A9567A3E6@swcp.com> On Dec 10, 2004, at 2:54 PM, David Kwinter wrote: > I've checked bugzilla and haven't found this, I thought I'd run it by > this list before posting a new bug. ... > encrypt originalData using "aes256" with key tKey at 256 bit > put it into encryptedData > decrypt encryptedData using "aes256" with key tKey at 256 bit > put it into restoredData See bug 2405. A salt prefix is added for encryption using the key method when it should not be. The decryption does not have this problem. One workaround is to delete the first 16 bytes after ecrypt with key. This bug might get fixed, so you might consider doing that only if the first 8 bytes are "Salted__" or if the engine is in some range. The key method also does not allow an IV to be specified (or at least I haven't figured out how). This does not apply in some cases and can be scripted around in some, if you know your way around block modes. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From psahores at easynet.fr Fri Dec 10 18:43:29 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 11 Dec 2004 00:43:29 +0100 Subject: Disappointed by Dreamcard/Revolution In-Reply-To: References: Message-ID: <4B16D509-4B05-11D9-9F0B-000A95C61E96@easynet.fr> Hi J?r?me, I don't use Dreamcard because i'm owning a Revolution Entreprise license... witch i use, as my main tool, to develop "n-tier" web, erp and video-streaming apps for my customers (french administrations : education, universities, towns, local administrations). As Metacard was before it, Rev is a great tool with a powerfull and mainly unbugged engine and some cosmetic bugs in the IDE. In reading your mail, it seems Dreamcard is realy buggy... and it's probably because this IDE is a little too young. To get a best idea of the real potential of the Rev product line, i would recommand you to test a Rev Studio issue (the same as the Entreprise Edition instead of the native Oracle DB support). I'm sure you will get a more interesting experience. Hope this can help :-) Best Regards, Le 10 d?c. 04, ? 22:31, J?r?me Rosat a ?crit : > Hello, > > I have a PowerBook G4 450MHz with MacOS 10.3. I discovered Revolution > a few month ago. So I decided to buy Dreamcard to test it. > > I am very surprised by the reactions of this application: > > After a few hours of use: > - the keyboard shortcuts (copy/past for example) don't work any more > - the Inspector button in the toolbar don't work (the inspector > palette don't open or twice) > - the name of an element (stack or field) change without typing > something in the field name in the basic properties > so I close the stack without saving and I open it again: the "new" > name is still present > - each time I click-right on a word in the script window a new > Documentation stack open and appear in the Application Browser: after > 1 hour, the Application Browser is full of stacks > - I tried to develop a small application for a french environment: I > had much problems with the accents. > - etc. > > It's as if the interface was unstable, not finished. > > If Revolution is the same, I am not certain that it is possible to > develop an application for a big company or an official > administration. > > And if you don't understand or write english, you should not hope to > obtain any support ! > > At the beginning I was very exited by Revolution, but finally I'm > totally disappointed. > > J?r?me Rosat > > 1212 Grand-Lancy / Gen?ve > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From gizmotron at earthlink.net Fri Dec 10 20:00:03 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 10 Dec 2004 17:00:03 -0800 Subject: Arrays in Rev In-Reply-To: <833A9A1E-4AE8-11D9-8408-000A95A09CF8@rpsystems.net> Message-ID: On Friday, December 10, 2004, at 12:17 PM, Troy Rollins wrote: > Or in Lingo - > > myVar = [#check: [#this: [#out: "Cool"]]] > > put myVar.check.this.out > -- "Cool" > > put myVar[1][1][1] > -- "Cool" > [snip] > Troy That's where I got it, Director. The point I'm making is that it's a container that can store information at numerical points [101][2][23] or 101,2,23 or any delimiter that you select. I get what I needed in Lingo working fine for me in transcript. I'm just thankful that it works fast enough to be worth it. Mark From gizmotron at earthlink.net Fri Dec 10 20:12:09 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 10 Dec 2004 17:12:09 -0800 Subject: Arrays in Rev In-Reply-To: <41B9F552.809@fourthworld.com> Message-ID: On Friday, December 10, 2004, at 11:13 AM, Richard Gaskin wrote: > Mark Brownell wrote: >> This thing is not a real array within an array, it just acts like one. > > I hate to reinforce any perceptions of my curmudgeonliness, but for > the benefit of newcomers here it may be useful to remind folks that > while this indexed array is scripted, Rev's built-in associative > arrays are just as "real" as associative arrays in any other language > (and sometime more useful than strictly numerically indexed ones). > > That said, your lib looks quite enticing. Good work! > > -- > Richard Gaskin Thanks, I threw this together just to see if I could tell some information to be stored at location 12, 2,444,5 in an array and to see how practical it would be to use a parser and an index handler to call information from an array. It works great for my needs. I suppose it could be created to handle dot syntax just to prove it's possible. Mark From troy at rpsystems.net Fri Dec 10 20:28:04 2004 From: troy at rpsystems.net (Troy Rollins) Date: Fri, 10 Dec 2004 20:28:04 -0500 Subject: Arrays in Rev In-Reply-To: References: Message-ID: On Dec 10, 2004, at 8:00 PM, Mark Brownell wrote: > The point I'm making is that it's a container that can store > information at numerical points [101][2][23] or 101,2,23 or any > delimiter that you select. I get what I needed in Lingo working fine > for me in transcript. I'm just thankful that it works fast enough to > be worth it. But... Lingo's are REAL. AFAICT... you are using strings... which *look* like multidimensional arrays, yet they would not *work* like multi-dimensional arrays. It looks to me more like you have a mechanism which allows *naming* and storing of variables in the same context as a multi-dimensional array. It looks like your version is basically a way to avoid coming up with unique names for a lot of variables... which is cool, and all, but that's all it is. But how do they perform the same functions? For instance with a multi-level nested repeat loop iterating over the contents with a real multi-dimensional array? Or is there some equally convoluted code to do that? Don't get me wrong. Cool solutions I can respect. But what works for you (or I) as a personal solution is not necessarily something which is portable to others - nor is it necessarily what they want or need. -- Troy RPSystems, Ltd. http://www.rpsystems.net From katir at hindu.org Fri Dec 10 23:51:05 2004 From: katir at hindu.org (Sivakatirswami) Date: Fri, 10 Dec 2004 18:51:05 -1000 Subject: Connecting to PostGreSQL on same machine: Mac OSX Message-ID: <443422D8-4B30-11D9-998F-000A959D0AC6@hindu.org> Alright... I've successfully installed PostGreSQL on my mac... in the terminal it's up and running, I've created a database and just now did select * from taskroster and got my two test rows returned... but.. in the Mac's activity monitor... i don't see a process named "Postgres" just the tcsh shell I have open to talk to Postgres... And also, in rev, this fails: put revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPass Word") could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? my computer name on the lan is "katir.hindu.org" but put revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres"," myPassWord") does not work either.. I'm sure this must be simple... TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From CSZASZ at kcs.kana.k12.wv.us Sat Dec 11 00:53:30 2004 From: CSZASZ at kcs.kana.k12.wv.us (CHARLES W SZASZ) Date: Sat, 11 Dec 2004 00:53:30 -0500 Subject: Popup menu and radio buttons Message-ID: In my project, I have created a popup menu that has 22 choices of combinations of IQ and achievement tests. Each selection has one IQ and one achievement test. Each test such as an IQ may have four to five scores, while each achievement test may have as many as 10 scores. Each combination of tests in the popup window has a different set of scores. In other words, they are not always equal. My lookup table would require a correlation for scores from both tests plus reliability coefficients for each IQ and achievement score. In addition to the above requirements for each popup selection, I want to have radio buttons appear representing on my card so the user can select a radio button and enter the score the radio it represents for the IQ test. Also, the areas of the achievement tests (with a place to enter each achievement or subachievement score) would be displayed depending on the IQ and achievement combo selected. It is possible to set up a popup menu to do the above using an array? I do have another question, how do you make the popup menu reset itself after a selection is made and then you quit the program and then restarted it? Charles Szasz Lead School Psychologist and Section 504 Coordinator Kanawha County Schools (304) 348-7770, Ext. 347 From gcanyon at inspiredlogic.com Sat Dec 11 00:52:44 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 10 Dec 2004 21:52:44 -0800 Subject: Going to Paris Message-ID: I'm going to be in Paris from 28th December through 6th January. Is anyone in the area interested in getting together to swap Revolution stories? regards, Geoff Canyon gcanyon at inspiredlogic.com From kray at sonsothunder.com Sat Dec 11 01:50:24 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 11 Dec 2004 00:50:24 -0600 Subject: Arrays in Rev In-Reply-To: Message-ID: On 12/10/04 7:28 PM, "Troy Rollins" wrote: > > On Dec 10, 2004, at 8:00 PM, Mark Brownell wrote: > >> The point I'm making is that it's a container that can store >> information at numerical points [101][2][23] or 101,2,23 or any >> delimiter that you select. I get what I needed in Lingo working fine >> for me in transcript. I'm just thankful that it works fast enough to >> be worth it. > > But... Lingo's are REAL. > > AFAICT... you are using strings... which *look* like multidimensional > arrays, yet they would not *work* like multi-dimensional arrays. It > looks to me more like you have a mechanism which allows *naming* and > storing of variables in the same context as a multi-dimensional array. > It looks like your version is basically a way to avoid coming up with > unique names for a lot of variables... which is cool, and all, but > that's all it is. For more information, we had a long thread about arrays in Rev back in July (I put out a small "dissertation" on arrays at that time: http://lists.runrev.com/pipermail/use-revolution/2004-July/039379.html) In any event, we really do need better array manipulation for multidimensional arrays (or simulated ones). Personally, I'd rather have the real thing if we can get it; if not, I'd accept simulated ones as long as we have accessor functions to get at the embeded data more easily. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From psahores at easynet.fr Sat Dec 11 04:05:05 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 11 Dec 2004 10:05:05 +0100 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <443422D8-4B30-11D9-998F-000A959D0AC6@hindu.org> References: <443422D8-4B30-11D9-998F-000A959D0AC6@hindu.org> Message-ID: Hello Katir, Le 11 d?c. 04, ? 05:51, Sivakatirswami a ?crit : > Alright... I've successfully installed PostGreSQL on my mac... in the > terminal it's up and running, I've created a database and just now did > > select * from taskroster > > and got my two test rows returned... but.. > > in the Mac's activity monitor... i don't see a process named "Postgres" Need to be visible there (3 lines of postgres processes), else the server is not running. Did you use the best Mac OS X suited installer available all around at . Else, it's the best to do. Marc Liyanage explains all what need to be done to install and set up PostgreSQL on our Macs, where the Apple's official page is mainly "approximative"... > just the tcsh shell I have open to talk to Postgres... > > And also, in rev, this fails: > > put > revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPas > sWord") > > could not connect to server: Connection refused > Is the server running on host "localhost" and accepting > TCP/IP connections on port 5432? About the TCP/IP connections, they are set by default for the localhost only (and it enought to feet the app server needs..). You can if needed tune this in modifying the needed line in the "postgresql.conf" file. > > my computer name on the lan is "katir.hindu.org" but > if you expect to run the connection inside a Rev application's server..., use this instead of your revOpenDatabase command : if PGLinkOpen is a number then get revdb_disconnect("projetsdac") put revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres"," myPassWord") into PGLinkOpen It's best to send it once only in app server mode (when it start) and for each new request in CGI mode. Use PGLinkOpen as a global value. > put > revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres", > "myPassWord") > > does not work either.. Let us know how it goes... Best, Pierre > > I'm sure this must be simple... > > TIA > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From alex at tweedly.net Sat Dec 11 07:38:59 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 11 Dec 2004 12:38:59 +0000 Subject: parsing comments in scripts In-Reply-To: References: <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> Message-ID: <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> At 14:39 10/12/2004 -0700, Dar Scott wrote: >Don't forget special parsing for this: > >format("..." There's another special case to deal with; I just discovered the Tip in FAQ / How do I temporarily remove a portion of a script? that says > Tip: You can comment out an entire handler by commenting out its first > line. So does that mean that the rest of the handler IS a comment (and should be stripped out) or not ? Script colorizer doesn't think so - it colors the first line but not the rest. Script formatter does think so - it formats the rest of the handler flush left. Sadly, it turns out that the Tip is wrong - doing this does NOT comment out the rest of the handler; all it does is make it impossible to call the handler (this is not the same thing !!) Bugzilla 2468 has been entered. So I think you're free to deal with it almost any way you choose :-) - but you probably should deal with it explicitly. -- Alex. From gefisher at mac.com Sat Dec 11 08:24:30 2004 From: gefisher at mac.com (Glenn E. Fisher) Date: Sat, 11 Dec 2004 07:24:30 -0600 Subject: Label an Image with Text? Message-ID: Hi Rick, You wrote: > Hi there, > > I was wondering if there is a way in Rev to paint a text label > onto a jpeg image file and then save it as part of the jpeg file > when I export it. > > (I also noticed the lack of a text tool for doing that in the > paint tools.) > > Anyone? Is the text dynamic? or can you build it as an image outside of RR? I have modified images that I use for button icons by merging two .png files whose alpha masks don't overlap with the following transcript that is fast enough for icon sized images: on mergeImages im1,im2,imout put the imageData of image im1 into d1 put the imageData of image im2 into d2 put the alphaData of image im1 into a1 put the alphaData of image im2 into a2 put the height of image im2 into h put the width of image im2 into w put the length of d2 into n put 0 into i repeat for each char c in a1 add 1 to i if i>n then exit repeat put charToNum(c) into x if x=0 then put char 4*i-3 to 4*i of d2 after d3 put char i of a2 after a3 else put char 4*i-3 to 4*i of d1 after d3 put char i of a1 after a3 end if end repeat if there is not an image imout then create image imout end if set the text of image imout to empty set the height of image imout to h set the width of image imout to w set the imageData of image imout to d3 set the alphaData of image imout to a3 end mergeImages HTH, 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 alex at tweedly.net Sat Dec 11 09:17:54 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 11 Dec 2004 14:17:54 +0000 Subject: Arrays in Rev In-Reply-To: References: Message-ID: <5.1.0.14.0.20041211134418.06e4ee38@mail.tweedly.net> At 00:50 11/12/2004 -0600, Ken Ray wrote: >For more information, we had a long thread about arrays in Rev back in July >(I put out a small "dissertation" on arrays at that time: >http://lists.runrev.com/pipermail/use-revolution/2004-July/039379.html) Thank you - I found it useful then (I was new to Rev at the time), and found it even more useful to go back and re-read it now, with a slightly better understanding of the different ways to do things in Rev. It should, IMHO, be in a FAQ or Wiki or some such place, not just in the mail archives. (Wasn't someone starting a community FAQ ? ) I do have one question about it .... >Revolution: > put "1,Troy,Ken,Richard"&cr&"2,Kevin,Jan,Judy" into myList > split myList by CR and "," > put myList[2] into tempArray > --> Kevin,Jan,Judy > split tempArray by "," > put tempArray[1] > --> Kevin > >But note that this is NOT usually something you'd do in Rev... Director is >designed to be able to make arrays of arrays, and although Rev can simulate >this, it is not the most efficient, nor is it the best approach. One reason >is that if you'll notice, I had to add line numbers before each line in >myList so that when I used 'split' I could reference the array by number. >Why? Because remember that no matter what it may appear to be, Rev uses >associative arrays ONLY - myList[1] is NOT numeric... it is creating a >*string* called "1" that is associated with the value that you give it. I don't get it. You need the second "split" to split up the entries Kevin and Jan and Judy - so why use the second delimiter in the first split. Couldn't you just do .... Revolution: put "Troy,Ken,Richard"&cr&"Kevin,Jan,Judy" into myList -- NB no numbers !! split myList by CR -- note - no second delimiter put myList[2] into tempArray --> Kevin,Jan,Judy split tempArray by "," put tempArray[1] --> Kevin >In any event, we really do need better array manipulation for >multidimensional arrays (or simulated ones). Personally, I'd rather have the >real thing if we can get it; if not, I'd accept simulated ones as long as we >have accessor functions to get at the embeded data more easily. I agree - though I'm not sure it's possible to get a good enough simulation to satisfy what I'd like. I want to be able to do things like put "here's the string" into myArray1["asdf"] put myArray1 into myArray2[3] put myArray2[3] into tVar and have tVar now be an array. While I'm talking about what I'd like regarding arrays, I'd love to have the multi-assignment form of a repeat structure as in PHP or Python. I know it doesn't, strictly speaking, add functionality, but I think it's a huge gain in readability. What I mean is to be able to say something like repeat for each keyvalue K,V in myArray -- K takes each key in turn -- V takes the corresponding value from the array so it's equivalent to repeat for each line K in the keys of myArray put myArray[K] into V but is (IMHO) much more readable (and probably a bit more efficient). -- Alex. From docmann at gmail.com Sat Dec 11 09:59:40 2004 From: docmann at gmail.com (docmann) Date: Sat, 11 Dec 2004 08:59:40 -0600 Subject: Question about mySQL database app for dreamcard Message-ID: <9d58de7d04121106591ae6c9bd@mail.gmail.com> A couple of weeks ago I licensed DreamCard as a learning/development tool prior to a final move to Rev Studio, thinking that others could assist with the testing process using the free player. (which I thought was functional for any type of application.) I've been working on a mySQL database app hosted on a remote server and can access the db without problems from my development box. However, when I tried testing the app on other computers (Linux & XP), I learned that the player apparently requires some additional files. I've searched the download section at the web site without luck, so maybe someone can point me to the additional files that are required for both O/S's....? Thanks in advanced for any help. :) -Doc- From rcozens at pon.net Sat Dec 11 10:48:00 2004 From: rcozens at pon.net (Rob Cozens) Date: Sat, 11 Dec 2004 07:48:00 -0800 Subject: Arrays in Rev In-Reply-To: References: Message-ID: >But how do they perform the same functions? For instance with a >multi-level nested repeat loop iterating over the contents with a >real multi-dimensional array? Or is there some equally convoluted >code to do that? Troy, et al: Look at the arrayMath & matrixMath handlers in Serendipity Library . The arrayMath function returns the source array with a specific value & operator applied to each element. Operators supported are +,-,*,/,div,mod,^,log2,log10,acos,asin,atan,atan2,cos,sin,tan,bitAnd,bitOr, and bitXOr. The matrixMath function returns an array resulting from the application of an operator and one element of the array on the corresponding element in a matching array. Operators supported are +,-,*,/,div,mod,^,atan2,bitAnd,bitOr, and bitXOr. My pseudo multidimensional arrays are currently slower than accessing each element by key; but the functionality works. -- Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy "Knowledge of the oceans is more than a matter of curiosity. Our very survival may depend upon it." -- John Fitzgerald Kennedy, 1961 From fde101 at fjrhome.net Sat Dec 11 11:38:46 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Sat, 11 Dec 2004 11:38:46 -0500 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: References: <443422D8-4B30-11D9-998F-000A959D0AC6@hindu.org> Message-ID: <20DBBC76-4B93-11D9-96F9-0050E410655F@fjrhome.net> On Dec 11, 2004, at 4:05 AM, Pierre Sahores wrote: > Hello Katir, > > Le 11 d?c. 04, ? 05:51, Sivakatirswami a ?crit : > >> Alright... I've successfully installed PostGreSQL on my mac... in the >> terminal it's up and running, I've created a database and just now >> did >> >> select * from taskroster >> >> and got my two test rows returned... but.. >> >> in the Mac's activity monitor... i don't see a process named >> "Postgres" > > Need to be visible there (3 lines of postgres processes), else the > server is not running. > > Did you use the best Mac OS X suited installer available all around at > . Else, it's the > best to do. Marc Liyanage explains all what need to be done to install > and set up PostgreSQL on our Macs, where the Apple's official page is > mainly "approximative"... You shoud note that the server is not one of the "My Processes" in the activity monitor. Show "Other User Processes" or "All Processes" and a process name of "postgres" should be listed three times. I find it highly unlikely that the server is not running if you were able to execute a query; being able to communicate with the server is generally an indication that it is running ;-) > >> just the tcsh shell I have open to talk to Postgres... >> >> And also, in rev, this fails: >> >> put >> revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPa >> ssWord") >> >> could not connect to server: Connection refused >> Is the server running on host "localhost" and accepting >> TCP/IP connections on port 5432? > > About the TCP/IP connections, they are set by default for the > localhost only (and it enought to feet the app server needs..). You > can if needed tune this in modifying the needed line in the > "postgresql.conf" file. No, this is *not* the default for the current release versions of PostgreSQL. By default, TCP/IP connections (the only kind you can make to PostgreSQL through Rev) are disabled. You need to make changes in two files in the data directory of PostgreSQL: You need to enable TCP/IP connections in postgresql.conf, and you need to configure your authentication settings in pg_hba.conf. This is not described on the page listed below, but is mentioned in the PostgreSQL documentation; for details see: http://www.postgresql.org/docs/7.3/static/client-authentication.html >> >> my computer name on the lan is "katir.hindu.org" but >> > if you expect to run the connection inside a Rev application's > server..., use this instead of your revOpenDatabase command : > > if PGLinkOpen is a number then get revdb_disconnect("projetsdac") > put > revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres", > "myPassWord") into PGLinkOpen > It's best to send it once only in app server mode (when it start) and > for each new request in CGI mode. Use PGLinkOpen as a global value. Personally, I like to use a custom property for this: set the database of this stack to revOpenDatabase(...) if the database of this stack is not a number then answer error "Failed to connect to the database." & the lineDelimiter & the lineDelimiter & the database of this stack titled "Connection Failure" quit end if > >> put >> revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres" >> ,"myPassWord") >> >> does not work either.. > > Let us know how it goes... > > Best, Pierre > >> >> I'm sure this must be simple... >> >> TIA >> >> Sannyasin Sivakatirswami >> Himalayan Academy Publications >> at Kauai's Hindu Monastery >> katir at hindu.org >> >> www.HimalayanAcademy.com, >> www.HinduismToday.com >> www.Gurudeva.org >> www.Hindu.org >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > -- > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > 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/EAI services & ACID DB over IP > "Mutualiser les deltas de productivit?" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From SimPLsol at aol.com Sat Dec 11 11:53:49 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sat, 11 Dec 2004 11:53:49 EST Subject: Going to Paris Message-ID: <81.1cd1b232.2eec801d@aol.com> Geoff, Paris! Lucky you! Enjoy. Paul Looney From chipp at chipp.com Sat Dec 11 11:59:21 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 11 Dec 2004 08:59:21 -0800 Subject: Label an Image with Text? In-Reply-To: References: Message-ID: <41BB2769.7090505@chipp.com> Glenn, I have a set of handlers which can composite multiple images with overlapping alpha channels as well. You might want to take a look at them at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm called: Image Compositing... best, Chipp Glenn E. Fisher wrote: > I have modified images that I use for button icons by merging two .png > files > whose alpha masks don't overlap with the following transcript that is fast > enough for icon sized images: From richmond at mail.maclaunch.com Sat Dec 11 12:04:32 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Sat, 11 Dec 2004 12:04:32 -0500 Subject: The INNER and the OUTER need to be separated Message-ID: Dear xTalkers, It has become obvious over the last year or so that the 2 lists (MC & RR) attract 2 types of message: one tyoe dealing with the complexities of xTalk, and another type dealing with ease (or not) of use. As you will by now be aware, I am particularly interested in usability - specifically for non-computer types, and to that end made rather over-the-top tool bars for both RR & MC, and then went to one particular extreme with my thesis. I do believe that far too little attention is paid to the end-user experience and wonder if now is not the time to start a use-list specifically dedicated to this - and keep the current - MC and RR lists for xTalk related matters only. The nature of RR/MC readily lends itself to the rapid development of a wide variety of user interfaces - and, owing to the cross-platform nature of RR/MC, is, to my mind, one of the better RADs for UI development and experimentation. The apparent level of complacency about the de facto GUI standard effectively serves to exclude a large number of people who will shortly come to constitute an underclass in our digital society. Therefore it behooves socially concerned programmers to give this matter quite a bit of thought - and try to do something to provide viable and robust alternatives. Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From gizmotron at earthlink.net Sat Dec 11 12:58:54 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 11 Dec 2004 09:58:54 -0800 Subject: Arrays in Rev In-Reply-To: Message-ID: <523FC74A-4B9E-11D9-B4F1-000A95743F7A@earthlink.net> On Friday, December 10, 2004, at 05:28 PM, Troy Rollins wrote: > But... Lingo's are REAL. > > AFAICT... you are using strings... which *look* like multidimensional > arrays, yet they would not *work* like multi-dimensional arrays. It > looks to me more like you have a mechanism which allows *naming* and > storing of variables in the same context as a multi-dimensional array. > It looks like your version is basically a way to avoid coming up with > unique names for a lot of variables... which is cool, and all, but > that's all it is. It's not a panacea for all. I needed to store sub level data that is associated with other data located at the same location. Think of it as a storage container like nodes within other elements in an XML document. I even use it to store binary data like images that are encoded as base64. My goal was to have a storage container that I could use a pull-parser on to go directly to the data I needed in one quick call without having to use Rev's XML. This is because I fully intended to include not well formed XML in the document. This allowed me to work with data in the original storage format and thus produce simpler handler libraries. > But how do they perform the same functions? For instance with a > multi-level nested repeat loop iterating over the contents with a real > multi-dimensional array? Or is there some equally convoluted code to > do that? If you mean testing data to see if it's the correct data to be accessed like doing a search in a Lingo list then I break up each data table row as an XML element with the sub data of that row as other elements within the "row" tag-set Example row element: Cleveland ... base64Encodded data of image here... What I do is use the pull-parser to create an array of objects with the map and image data inside each object as elements of their own. To find the map for Cleveland I loop through the row array until I find this element: "Cleveland." When that is found I return the data found in that row's element. This is accomplished real fast using the offset() function to do a string search on each row object during the loop. > Don't get me wrong. Cool solutions I can respect. But what works for > you (or I) as a personal solution is not necessarily something which > is portable to others - nor is it necessarily what they want or need. > -- > Troy Wanting to use a pull-parser on a structured document is exactly what I wanted. This is the same document as the storage document. So my solution is great for my needs. I share it because a few here might like its simplicity and find uses for it themselves. I did come from Director to Revolution. Revolution is so cool I never looked back. I really got sick of Director changing shockwave to such a degree that the new shockwave plug-ins would render my third party plug-ins inoperative unless I redeveloped my creations to work with the shockwave changes. I can't speak for others and what their needs are. Mark From mwieder at ahsoftware.net Sat Dec 11 13:18:51 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Dec 2004 10:18:51 -0800 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> References: <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> Message-ID: <1411042248.20041211101851@ahsoftware.net> Alex- Saturday, December 11, 2004, 4:38:59 AM, you wrote: AT> that says >> Tip: You can comment out an entire handler by commenting out its first >> line. Yikes! I really hope this isn't supposed to be true. I regularly put comments in the first line of my handlers as documentation. I'd hate to think that a 'fix' to some future version would break my code. The insertion of comments shouldn't have an effect on the execution of code. Comment added to bug #2468. -- -Mark Wieder mwieder at ahsoftware.net From troy at rpsystems.net Sat Dec 11 13:50:02 2004 From: troy at rpsystems.net (Troy Rollins) Date: Sat, 11 Dec 2004 13:50:02 -0500 Subject: Arrays in Rev In-Reply-To: <523FC74A-4B9E-11D9-B4F1-000A95743F7A@earthlink.net> References: <523FC74A-4B9E-11D9-B4F1-000A95743F7A@earthlink.net> Message-ID: <77048481-4BA5-11D9-894A-000A95A09CF8@rpsystems.net> On Dec 11, 2004, at 12:58 PM, Mark Brownell wrote: > I really got sick of Director changing shockwave to such a degree that > the new shockwave plug-ins would render my third party plug-ins > inoperative unless I redeveloped my creations to work with the > shockwave changes. ?? OK. I'll bow out now, before I get started. I'm glad Transcript works out for your needs. -- Troy RPSystems, Ltd. http://www.rpsystems.net From soapdog at mac.com Sat Dec 11 14:11:25 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 11 Dec 2004 17:11:25 -0200 Subject: me missing in actions... Message-ID: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> Hi folks, been a while since my last post, the problem was that due to a huge misfortune, after I arrived from Malta I got my good arm broken and my tonsils started waging war on me, so I was put to bed for couple weeks,I am not alright but I begun to master typeing with my blind right hand and begun wondering: a) Is the premonitional external out? b) did we reached 2.6 while I was in bed? c) Anyone here got the recipe for Maltese Ftira? I will begin making a serie of newbie full app tutorials as soon as I take this damn plaster glove out of me (... and my tonsils allow), if anyone want to help, drop me a note. Man, this email just took 10 minutes to be typed, I am improving my right hand skills. Cheers andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From kray at sonsothunder.com Sat Dec 11 14:10:52 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 11 Dec 2004 13:10:52 -0600 Subject: Arrays in Rev In-Reply-To: <5.1.0.14.0.20041211134418.06e4ee38@mail.tweedly.net> Message-ID: On 12/11/04 8:17 AM, "Alex Tweedly" wrote: >> Revolution: >> put "1,Troy,Ken,Richard"&cr&"2,Kevin,Jan,Judy" into myList >> split myList by CR and "," >> put myList[2] into tempArray >> --> Kevin,Jan,Judy >> split tempArray by "," >> put tempArray[1] >> --> Kevin >> >> But note that this is NOT usually something you'd do in Rev... Director is >> designed to be able to make arrays of arrays, and although Rev can simulate >> this, it is not the most efficient, nor is it the best approach. One reason >> is that if you'll notice, I had to add line numbers before each line in >> myList so that when I used 'split' I could reference the array by number. >> Why? Because remember that no matter what it may appear to be, Rev uses >> associative arrays ONLY - myList[1] is NOT numeric... it is creating a >> *string* called "1" that is associated with the value that you give it. > > I don't get it. You need the second "split" to split up the entries Kevin > and Jan and Judy - so why use the second delimiter in the first split. > Couldn't you just do .... > > Revolution: > put "Troy,Ken,Richard"&cr&"Kevin,Jan,Judy" into myList -- NB no numbers > !! > split myList by CR -- note - no second delimiter > put myList[2] into tempArray > --> Kevin,Jan,Judy > split tempArray by "," > put tempArray[1] > --> Kevin Good catch! That would certainly be easier. However the first way is useful if for some reason you don't have the list in order (since having the numbers in front will *definitely* put it into the right element, regardless of the order of the lines). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sat Dec 11 14:14:18 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 11 Dec 2004 13:14:18 -0600 Subject: parsing comments in scripts In-Reply-To: <1411042248.20041211101851@ahsoftware.net> Message-ID: On 12/11/04 12:18 PM, "Mark Wieder" wrote: > Alex- > > Saturday, December 11, 2004, 4:38:59 AM, you wrote: > > AT> that says >>> Tip: You can comment out an entire handler by commenting out its first >>> line. > > Yikes! I really hope this isn't supposed to be true. I regularly put > comments in the first line of my handlers as documentation. Don't worry, Mark... what it means is that this: --on mouseUp beep end mouseUp won't trigger, but either of these: on mouseUp -- beep now beep end mouseUp on mouseUp -- beep now beep end mouseUp will trigger just fine. Personally, I find just commenting the first line of a handler (like "--on mouseUp") to be a bit sloppy IMHO and makes the script harder to read for me (I keep thinking there's some kind of mistake in the code which is why it isn't formatted properly; until I scroll up an see the commented "on" and then realize my mistake). But that's just my opinion... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sat Dec 11 14:17:59 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 11 Dec 2004 13:17:59 -0600 Subject: me missing in actions... In-Reply-To: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> Message-ID: On 12/11/04 1:11 PM, "Andre Garzia" wrote: > Hi folks, > > been a while since my last post, the problem was that due to a huge > misfortune, after I arrived from Malta I got my good arm broken and my > tonsils started waging war on me, so I was put to bed for couple > weeks, Oh, man, Andre! Glad to see you're feeling better, but also sorry to hear about your misfortune. > I am not alright but I begun to master typeing with my blind > right hand and begun wondering: > > a) Is the premonitional external out? No, but everyone will know about it before it is released... ;-) > b) did we reached 2.6 while I was in bed? Nope! We're still working on 2.5.1. > c) Anyone here got the recipe for Maltese Ftira? Sure! Here it is: http://www.soapnaturally.org/rosannez4r.html Feel better, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From soapdog at mac.com Sat Dec 11 14:20:27 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 11 Dec 2004 17:20:27 -0200 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <20DBBC76-4B93-11D9-96F9-0050E410655F@fjrhome.net> References: <443422D8-4B30-11D9-998F-000A959D0AC6@hindu.org> <20DBBC76-4B93-11D9-96F9-0050E410655F@fjrhome.net> Message-ID: go to your terminal, type: ps -auxc | grep "post" it will list postgre if it is running. My postgre process is called postmaster I think.... not postgreSQL... anyway the above shell command will catch postgre, postmaster, whatever contains post.... On Dec 11, 2004, at 2:38 PM, Frank D. Engel, Jr. wrote: > You shoud note that the server is not one of the "My Processes" in the > activity monitor. Show "Other User Processes" or "All Processes" and > a process name of "postgres" should be listed three times. > > I find it highly unlikely that the server is not running if you were > able to execute a query; being able to communicate with the server is > generally an indication that it is running ;-) -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From soapdog at mac.com Sat Dec 11 14:23:09 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 11 Dec 2004 17:23:09 -0200 Subject: me missing in actions... In-Reply-To: References: Message-ID: <178533E2-4BAA-11D9-90B1-0003936D012E@mac.com> Ken, Thanks man!!!! I'll send my first maltese ftira photos to you!!!!! Cheers andre On Dec 11, 2004, at 5:17 PM, Ken Ray wrote: > On 12/11/04 1:11 PM, "Andre Garzia" wrote: > >> Hi folks, >> >> been a while since my last post, the problem was that due to a huge >> misfortune, after I arrived from Malta I got my good arm broken and my >> tonsils started waging war on me, so I was put to bed for couple >> weeks, > > Oh, man, Andre! Glad to see you're feeling better, but also sorry to > hear > about your misfortune. > >> I am not alright but I begun to master typeing with my blind >> right hand and begun wondering: >> >> a) Is the premonitional external out? > > No, but everyone will know about it before it is released... ;-) > >> b) did we reached 2.6 while I was in bed? > > Nope! We're still working on 2.5.1. > >> c) Anyone here got the recipe for Maltese Ftira? > > Sure! Here it is: > > http://www.soapnaturally.org/rosannez4r.html > > Feel better, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From sims at ezpzapps.com Sat Dec 11 14:56:18 2004 From: sims at ezpzapps.com (sims) Date: Sat, 11 Dec 2004 20:56:18 +0100 Subject: me missing in actions... In-Reply-To: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> References: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> Message-ID: >Hi folks, > >been a while since my last post, the problem was that due to a huge >misfortune, after I arrived from Malta I got my good arm broken and >my tonsils started waging war on me, so I was put to bed for couple >weeks,I am not alright but I begun to master typeing with my blind >right hand and begun wondering: Miskin! (Maltese for poor thing) >c) Anyone here got the recipe for Maltese Ftira? I'll get you one from this bakery when you come to the EuroRevCon 2006! http://www.june29th.com/Nadur360/360_11.htm Get better soon, Andre! ciao sims From douez at wanadoo.fr Sat Dec 11 14:54:13 2004 From: douez at wanadoo.fr (thierry) Date: Sat, 11 Dec 2004 20:54:13 +0100 Subject: keep cursors on standalone ? In-Reply-To: <81.1cd1b232.2eec801d@aol.com> References: <81.1cd1b232.2eec801d@aol.com> Message-ID: <462718.20041211205413@wanadoo.fr> Hi all, building a stack A as an exe which call a second stack B after few seconds. in B i'm using set cursor to hand, busy,... and just the arrow cursor stay there. What do i miss ? Rev2.1 on Windows ! Best regards, thierry From erikhans08 at yahoo.com Sat Dec 11 16:36:39 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 11 Dec 2004 13:36:39 -0800 (PST) Subject: me missing in actions... In-Reply-To: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> Message-ID: <20041211213639.32093.qmail@web61108.mail.yahoo.com> --- Andre Garzia wrote: > I will begin making a serie of > newbie full app tutorials salud, Andre (please excuse the Spanish) are you considering a tutorial on standalones? the basics are covered, but when you get to changing data in a related non-standalone stack, substacks of the standalone etc. y so forth... thanks and see if the video store has "Samba de Orfeu", it lifts the spirit! Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From alex at tweedly.net Sat Dec 11 14:33:47 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 11 Dec 2004 19:33:47 +0000 Subject: parsing comments in scripts In-Reply-To: <1411042248.20041211101851@ahsoftware.net> References: <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> Message-ID: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> At 10:18 11/12/2004 -0800, Mark Wieder wrote: >Saturday, December 11, 2004, 4:38:59 AM, you wrote: >AT> that says > >> Tip: You can comment out an entire handler by commenting out its first > >> line. > >Yikes! I really hope this isn't supposed to be true. I regularly put >comments in the first line of my handlers as documentation. I'd hate >to think that a 'fix' to some future version would break my code. The >insertion of comments shouldn't have an effect on the execution of >code. > >Comment added to bug #2468. I'm not sure I see what you're worried about. Having a comment on the first line is OK, and will have no effect. A line like on myHandler pText -- deal with the new text is not going to be affected by this tip. But commenting *out* the line will have an effect on the execution of the code - just like commenting out any line of code would. If I take this fragment put 1 into a put 2 into b put 3 into c and comment out the second line to get put 1 into a -- put 2 into b put 3 into c then I've certainly affected the execution of that second line. So I don't see a bug problem with having -- on myHandler having some effect. I just think it should do what it says in the docs - make all the code between that line and the end myHandler be ignored / have no effect, equivalent to "block-commenting" the whole handler. (Currently it allows any local statements within the handler (probably also global statements though I haven't tested that) to take effect at the scope-level of the whole script. The same code without the handler line being commented out would have had those statements in the handler scope - so this can cause very nasty side-effects if the same variable names are used in other handlers in the same script. Another good reason to set explicitVariables to true !!) -- Alex. From gefisher at mac.com Sat Dec 11 18:02:38 2004 From: gefisher at mac.com (Glenn E. Fisher) Date: Sat, 11 Dec 2004 17:02:38 -0600 Subject: Label an Image with Text? Message-ID: Chipp, on December 11, 2004 10:59:21 AM CST Chipp Walters wrote: > I have a set of handlers which can composite multiple images with > overlapping alpha channels as well. You might want to take a look at > them at: > > http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm > > called: > Image Compositing... > > best, > Chipp Yes, Chipp I have your stack and got some of my ideas from it and from Dar's postings some time ago. Many thanks to both of you and others for the ideas. I was just concerned that the original poster (Rick) might dismiss doing this sort of thing because of speed. My images are a special case of icons and are all the same size so the simple script serves the purpose. Thanks again for your great web site, 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 gizmotron at earthlink.net Sat Dec 11 19:46:38 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 11 Dec 2004 16:46:38 -0800 Subject: Arrays in Rev In-Reply-To: <77048481-4BA5-11D9-894A-000A95A09CF8@rpsystems.net> Message-ID: <481472E4-4BD7-11D9-A1C1-000A95743F7A@earthlink.net> On Saturday, December 11, 2004, at 10:50 AM, Troy Rollins wrote: > On Dec 11, 2004, at 12:58 PM, Mark Brownell wrote: > >> I really got sick of Director changing shockwave to such a degree >> that the new shockwave plug-ins would render my third party plug-ins >> inoperative unless I redeveloped my creations to work with the >> shockwave changes. > > ?? > > OK. I'll bow out now, before I get started. > > I'm glad Transcript works out for your needs. > -- > Troy OK I know what happened to me was one in a million but what happened should never happen to anyone here. I completed a project that was sent off with representatives of mine to a conference where every one that saw it saw it not work. While on the plane to Florida Macromedia decided to change the shockwave plug-in download without any warning to Director user. They added a bug that took them three months to correct and that prevented the users of my web based e-book reader to not be able to run when loaded. I didn't find out about it until people at the booth started complaining that it didn't work. I worked all weekend to attempt to salvage the problem but it was too late. Since then I had discovered Revolution and learned that it could do many things that Director could not. While learning Transcript I discovered that another shockwave upgrade had rendered another product of mine inoperative. That was the last straw. I abandoned that project. I decided to never be shocked again. I know you like Director and defend it sometimes. That's fine, defend it all you want. I'm completely done with working with it. It may be pie in the sky for others but it was pie in the face for me. You don't own stock in Macromedia do you? Mark From ambassador at fourthworld.com Sat Dec 11 21:03:16 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 Dec 2004 18:03:16 -0800 Subject: me missing in actions... In-Reply-To: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> References: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> Message-ID: <41BBA6E4.2050609@fourthworld.com> Andre Garzia wrote: > Hi folks, > > been a while since my last post, the problem was that due to a huge > misfortune, after I arrived from Malta I got my good arm broken I tried finding a right-handed Dvorak layout for OS X to send to Andre (I went through the same thing when I broke my left elbow a few years back), and while I was able to find one for Classic I haven't for OS X. OS X includes the standard Dvorak, but right-handed Dvorak is designed specifically for the one-armed user, and was a godsend for my productivity while I was healing. Windows ships with both right-handed and left-handed Dvorak, but alas it seems Apple is behind the curve on this one. If you know where to find a right-handed Dvorak keyboard layout for OS X, please send it to Andre and if you don't mind please CC me so I can bookmark it; it's a valuable resource for those who need it. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From troy at rpsystems.net Sat Dec 11 21:42:46 2004 From: troy at rpsystems.net (Troy Rollins) Date: Sat, 11 Dec 2004 21:42:46 -0500 Subject: Arrays in Rev In-Reply-To: <481472E4-4BD7-11D9-A1C1-000A95743F7A@earthlink.net> References: <481472E4-4BD7-11D9-A1C1-000A95743F7A@earthlink.net> Message-ID: <8157975C-4BE7-11D9-894A-000A95A09CF8@rpsystems.net> On Dec 11, 2004, at 7:46 PM, Mark Brownell wrote: > You don't own stock in Macromedia do you? Nope. But I've paid more bills and bought more toys using its tools than all the others combined. Basically, it all comes down to what makes me money, as this is my profession. Rev-based tools have helped me solve a few problems, but Director has consistently paid the mortgage. While its true that there are a few things that Rev does which Director doesn't (though not many if you include available xtra$), my clients want the things that Director does which Rev doesn't - of which there is a very long list. That's all. They are different tools, and really don't compete as much as people think. -- Troy RPSystems, Ltd. http://www.rpsystems.net From katir at hindu.org Sat Dec 11 23:17:56 2004 From: katir at hindu.org (Sivakatirswami) Date: Sat, 11 Dec 2004 18:17:56 -1000 Subject: Delete card loop crashes Rev Message-ID: I have a stack that I use to download entire sites, Card one is set to cantDelete... I download the Table of contents page to that card, then run a script that parse the page and downloads every page on that has an href in the Table of Contents page... then dump to my hard drive.. and viola... locally accessible tutorials.. When I go to download a different site... I intend to delete the previous one with this script: on mouseup Answer "You are about to delete all data except card 1! This is unrecoverable!" with "Cancel" or "Proceed" if it is "Cancel" then exit mouseup lock screen put the number of cards of this stack into tLoops go to card tLoops repeat (tLoops-1) times delete this card end repeat end mouseup which consistently causes Rev to crash on Mac OSX Any clues? looks like a bug to me as I've used this script before successfully for years in Supercard, Metacard and in earlier renditions of Rev. Sivakatirswami From katir at hindu.org Sat Dec 11 23:20:57 2004 From: katir at hindu.org (Sivakatirswami) Date: Sat, 11 Dec 2004 18:20:57 -1000 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <20DBBC76-4B93-11D9-96F9-0050E410655F@fjrhome.net> References: <443422D8-4B30-11D9-998F-000A959D0AC6@hindu.org> <20DBBC76-4B93-11D9-96F9-0050E410655F@fjrhome.net> Message-ID: <3902AA1C-4BF5-11D9-998F-000A959D0AC6@hindu.org> Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Dec 11, 2004, at 6:38 AM, Frank D. Engel, Jr. wrote: > You shoud note that the server is not one of the "My Processes" in the > activity monitor. Show "Other User Processes" or "All Processes" and > a process name of "postgres" should be listed three times. ;-) "such a novice am i" OK great, yes: "Other User Processes" show three and Andre's console test: Last login: Fri Dec 10 18:24:45 on ttyp1 Welcome to Darwin! [katir:~] katir% ps -auxc |grep "post" postgres 5559 0.0 0.1 38040 980 std- S Fri03PM 0:00.07 postmaster postgres 5562 0.0 0.0 35308 184 std- S Fri03PM 0:00.00 postgres: postgres 5563 0.0 0.0 34320 272 std- S Fri03PM 0:00.01 postgres: [katir:~] katir% shows we are indeed up and running, as we suspected since all things are working from the cmd line. > > I find it highly unlikely that the server is not running if you were > able to execute a query; being able to communicate with the server is > generally an indication that it is running ;-) > > >> >>> just the tcsh shell I have open to talk to Postgres... >>> >>> And also, in rev, this fails: >>> >>> put >>> revOpenDatabase("Postgresql","localhost","katir_test","postgres","myP >>> assWord") >>> >>> could not connect to server: Connection refused >>> Is the server running on host "localhost" and accepting >>> TCP/IP connections on port 5432? >> >> About the TCP/IP connections, they are set by default for the >> localhost only (and it enought to feet the app server needs..). You >> can if needed tune this in modifying the needed line in the >> "postgresql.conf" file. > > No, this is *not* the default for the current release versions of > PostgreSQL. By default, TCP/IP connections (the only kind you can > make to PostgreSQL through Rev) are disabled. You need to make > changes in two files in the data directory of PostgreSQL: > > You need to enable TCP/IP connections in postgresql.conf, and you need > to configure your authentication settings in pg_hba.conf. > > This is not described on the page listed below, but is mentioned in > the PostgreSQL documentation; for details see: > > http://www.postgresql.org/docs/7.3/static/client-authentication.html Thanks... I'll check it out and let you all know what happens. Aloha, From dsc at swcp.com Sun Dec 12 01:32:36 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 11 Dec 2004 23:32:36 -0700 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> References: <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> Message-ID: <9CDA7978-4C07-11D9-851B-000A9567A3E6@swcp.com> On Dec 11, 2004, at 12:33 PM, Alex Tweedly wrote: > I just think it should do what it says in the docs - make all the code > between that line and the > end myHandler be ignored / have no effect, equivalent to > "block-commenting" the whole handler. I'm not comfortable with this. To do this, it would have to ignore everything from the commented out 'on' or 'function' line down to the 'end', including 'local', 'global' and 'constant' lines. To do this, it would have to know the line is a commented out 'on' or 'function'. To do this, it would have to look inside and parse the contents of comments. This violates the trust between the compiler and me. That which is in a comment belongs to me. And besides, what if I have a temporary first line commented out, or for some reason include "on Christmas morning" in some line of a comment. It is straightforward to select the entire handler and select "Comment" from the script menu. An alternative might be to temporarily change the spelling of the name. Dar From dsc at swcp.com Sun Dec 12 01:45:38 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 11 Dec 2004 23:45:38 -0700 Subject: Delete card loop crashes Rev In-Reply-To: References: Message-ID: <6EF85D42-4C09-11D9-851B-000A9567A3E6@swcp.com> On Dec 11, 2004, at 9:17 PM, Sivakatirswami wrote: > on mouseup > Answer "You are about to delete all data except card 1! This is > unrecoverable!" with "Cancel" or "Proceed" > if it is "Cancel" then exit mouseup > lock screen > put the number of cards of this stack into tLoops > go to card tLoops > repeat (tLoops-1) times > delete this card > end repeat > end mouseup > > which consistently causes Rev to crash on Mac OSX I put that script in a button on card one in an 8 card stack. It deleted card 8 and then tried to delete card 1 and got an error because the script is on that card. No crash though. I changed the 'go to card tLoops' line to 'go to card 2' and it worked. Maybe deleting this card moves this card to a different card than it did. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Sun Dec 12 01:55:32 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 11 Dec 2004 23:55:32 -0700 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> References: <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> Message-ID: On Dec 11, 2004, at 12:33 PM, Alex Tweedly wrote: > I just think it should do what it says in the docs - make all the code > between that line and the > end myHandler be ignored / have no effect, equivalent to > "block-commenting" the whole handler. Maybe an alternative would be to allow the word 'disabled' in front of 'on' or 'function' to parse but not compile a handler. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From heather at runrev.com Sun Dec 12 04:53:43 2004 From: heather at runrev.com (Heather Nagey) Date: Sun, 12 Dec 2004 09:53:43 +0000 Subject: Subject: Re: Christmas Special - we'll even solve your christmas shopping problem In-Reply-To: <20041210170007.927A793010D@mail.runrev.com> Message-ID: > Heather, > > The bears are priceless ;-) > > One question, however. Christmas is a mere 2 weeks away. Will US > customers really get their bear by Christmas if ordered now? Yes, but you must order now, without delay. They will arrive by Royal Mail small packet delivery, which should take 4-5 days. (DHL delivery proved to be unviable as it would cost ?43 just for the shipping...) Regards, Heather > > Marian -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From alex at tweedly.net Sun Dec 12 07:19:27 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 12 Dec 2004 12:19:27 +0000 Subject: parsing comments in scripts In-Reply-To: <9CDA7978-4C07-11D9-851B-000A9567A3E6@swcp.com> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> Message-ID: <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> At 23:32 11/12/2004 -0700, Dar Scott wrote: >On Dec 11, 2004, at 12:33 PM, Alex Tweedly wrote: > >>I just think it should do what it says in the docs - make all the code >>between that line and the >>end myHandler be ignored / have no effect, equivalent to >>"block-commenting" the whole handler. > >I'm not comfortable with this. > >To do this, it would have to ignore everything from the commented out 'on' >or 'function' line down to the 'end', including 'local', 'global' and >'constant' lines. To do this, it would have to know the line is a >commented out 'on' or 'function'. To do this, it would have to look >inside and parse the contents of comments. This violates the trust >between the compiler and me. That which is in a comment belongs to >me. And besides, what if I have a temporary first line commented out, or >for some reason include "on Christmas morning" in some line of a comment. Yeah - it certainly has some difficulties. In some ways I don't care whether they change the docs or the app - I just don't like them disagreeing. >It is straightforward to select the entire handler and select "Comment" >from the script menu. An alternative might be to temporarily change the >spelling of the name. That's what I've always done (since I didn't know about this "feature"), and what I intend to keep on doing - so I'll never (deliberately) use this feature, and hopefully I will never be affected by it. In this case, I don't think it's good enough to change the docs to reflect what the code does - because the current behaviour is a trap for the unwary. Often, I'll use the same (local) variable names within multiple handlers (e.g. tLine is a favourite of mine :-) If I were to use this feature, it would then change all those occurrences of tLine from handler-local to script-local - i.e. they are all the same variable - so hard-to-find bugs are all too possible. I'd prefer if they removed the feature entirely, or as you suggested used "disabled" or some such keyword rather than a comment, preceding the first line of the handler. -- Alex. From docmann at gmail.com Sun Dec 12 07:53:55 2004 From: docmann at gmail.com (docmann) Date: Sun, 12 Dec 2004 06:53:55 -0600 Subject: mySQL & Dreamcard Message-ID: <9d58de7d0412120453464d900a@mail.gmail.com> My first attempt at posting this to the list apparently didn't work, so hopefully this does not end up as a duplicate... my apologies if it does. A couple of weeks ago I licensed Dreamcard as a learning/development tool prior to a final move to Rev Studio, thinking that others could assist with the testing process using the free player. (which I thought was functional for any type of application.) I've been working on a mySQL database app hosted on a remote server and can access the db without problems from my development box. However, when I tried testing the app on other computers (Linux & XP), I learned that the player apparently requires some additional files. The Linux box clearly shows that the player application cannot load the needed library file(s), although I've manually copied them into the player's directory. I've searched the download section at the web site without luck, so maybe someone can point me to the additional files that are required for both O/S's....? Thanks in advanced for any help. :) -Doc- From rjb at rz.uni-potsdam.de Sun Dec 12 07:46:52 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sun, 12 Dec 2004 13:46:52 +0100 Subject: Delete card loop crashes Rev In-Reply-To: References: Message-ID: >I have a stack that I use to download entire sites, Card one is set >to cantDelete... I download the Table of contents page to that card, >then run a script that parse the page and downloads every page on >that has an href in the Table of Contents page... then dump to my >hard drive.. and viola... locally accessible tutorials.. When I go >to download a different site... I intend to delete the previous one >with this script: > >on mouseup > Answer "You are about to delete all data except card 1! This is >unrecoverable!" with "Cancel" or "Proceed" > if it is "Cancel" then exit mouseup > lock screen > put the number of cards of this stack into tLoops > go to card tLoops > repeat (tLoops-1) times > delete this card > end repeat >end mouseup > >which consistently causes Rev to crash on Mac OSX > >Any clues? looks like a bug to me as I've used this script before >successfully for years in Supercard, Metacard and in earlier >renditions of Rev. > >Sivakatirswami a) comment out the lock screen to see what is going on the go to card tLoops takes you to the last card. When you delete it, you end up on the next which is the first card of the stack. Then you delete it. And I think that is where your script and the button resides. b) try changing the loop repeat while the number of cards of this stack > 1 go to the last card delete this card end repeat this should also work and be more efficient repeat while the number of cards of this stack > 1 delete the last card of this stack end repeat c) I would change the logic of the program to avoid this altogether keep the cards to be deleted in a substack which is a clone of a template substack, so you simply delete that entire substack. This may allow you to actually retain and support multiple sets in parallel. Robert From rev at armbase.com Sun Dec 12 08:19:11 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 13:19:11 +0000 Subject: forum Message-ID: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> Hi All I've yet again been trawling the google search for a hint on a runrev topic (I cant get it in the video tutorials at the moment because I have not bought the video tutorials yet, only just bought studio). Anyway. I develop for palmOS and the IDE I use is supported via a BBS. Is there any chance of this thing being used instead of a list. I think it is far superior. see http://www.pdatnutsandbolts.com/ All the best Bob From steve at messimercomputing.com Sun Dec 12 08:51:35 2004 From: steve at messimercomputing.com (steve messimer) Date: Sun, 12 Dec 2004 08:51:35 -0500 Subject: Ins and outs Message-ID: Richard > As you will by now be aware, I am particularly interested >in usability - specifically for non-computer types, and to >that end made rather over-the-top tool bars for both RR & >MC, and then went to one particular extreme with my thesis. > I do believe that far too little attention is paid to the >end-user experience and wonder if now is not the time to >start a use-list specifically dedicated to this - and keep >the current - MC and RR lists for xTalk related matters >only. The nature of RR/MC readily lends itself to the rapid >development of a wide variety of user interfaces - and, >owing to the cross-platform nature of RR/MC, is, to my >mind, one of the better RADs for UI development and >experimentation. I have been interested in this since Hypercard first appeared on the market. On first glance rapid educational development using xTalk seemed the way to go. But what I found at least was that from scratch development of useful educational applications could take months. Part of the problem ( and there are many others besides is that higher order development tools were not available ) To build these was very time consuming. Now if you are an instructor at any level time is not a commodity that is available in great supply. I started working on preceptortools back in the late 80's. While it was never a commercial success I think that some of the ideas still have merit. If you have never looked at it you are welcome to do so by going to my website which is still up and running. http://www.messimercomputing.com I would welcome the opportunity to participate in a dialog regarding methods of improving the usability of development environments for educational purposes. Regards, Steve Messimer, PA From soapdog at mac.com Sun Dec 12 09:12:31 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 12 Dec 2004 12:12:31 -0200 Subject: forum In-Reply-To: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> Message-ID: On Dec 12, 2004, at 11:19 AM, Bob Hartley wrote: > Hi All > > I've yet again been trawling the google search for a hint on a runrev > topic (I cant get it in the video tutorials at the moment because I > have not bought the video tutorials yet, only just bought studio). > > Anyway. I develop for palmOS and the IDE I use is supported via a BBS. > > Is there any chance of this thing being used instead of a list. I > think it is far superior. Bob, This is list is the superior thing!!! ask something, we will answer!!!! my answer will take sometime for i've got a broken arm. One thing you might want is archivesearch plugin made by mark, it will help you search old threads.... cheers andre > > see > http://www.pdatnutsandbolts.com/ > > All the best > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From alex at tweedly.net Sun Dec 12 10:07:33 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 12 Dec 2004 15:07:33 +0000 Subject: forum In-Reply-To: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> Message-ID: <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> At 13:19 12/12/2004 +0000, Bob Hartley wrote: >Hi All > >I've yet again been trawling the google search for a hint on a runrev >topic (I cant get it in the video tutorials at the moment because I have >not bought the video tutorials yet, only just bought studio). I thought the video tutorials came as part of any license - though I must admit I've not tried to look at them (dial-up at 28.8 makes that am unappealing prospect :-) >Anyway. I develop for palmOS and the IDE I use is supported via a BBS. > >Is there any chance of this thing being used instead of a list. I think it >is far superior. Call me old-fashioned, but I like a traditional mailing list like this one. As long as it has good search tools (Mark's one already mentioned - I don't have a URL for it, sorry; or Google - http://www.google.com/advanced_search?q=site:lists.runrev.com ), the main thing that matters is the responsiveness and helpfulness of the other people on the list/forum. I haven't seen many lists or forums as fast and as thorough as this one in giving replies. Occasionally an email falls through the cracks - but repeating the request, maybe from a different angle, is usually all it takes to fix that. So - what's your question Bob ? -- Alex. From magnus at mail.maclaunch.com Sun Dec 12 09:51:31 2004 From: magnus at mail.maclaunch.com (Magnus Hippolyte Batavia) Date: Sun, 12 Dec 2004 09:51:31 -0500 Subject: Sexuality and Runtime Revolution Message-ID: Here at Carthage College we are wanting lecturer to give course on sexuality of Runtime Revolution (when I say "mousedown" to my secretary Melanie, she has spontaneous filing problems). Here at Carthage College in Coyote, Wyoming, we are at the center of the community and want people to feel attracted by programming: and Runtime Revolution is very sexual. So we are wanting lecturer with PhD to come to our College and give lectures on said subject and real live demonstrations. Our program chief, Dr Bhatt, has written Transcript program to remote control vibrator; but stupid students want to study Buddhism. Melanie says she prefers me to do her in lunch break; not attending courses on programming - but she is stupid person; only good for filing. Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From gwalias-rev at yahoo.com Sun Dec 12 10:34:02 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 12 Dec 2004 07:34:02 -0800 (PST) Subject: Start Using In-Reply-To: <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> Message-ID: <20041212153402.8623.qmail@web51110.mail.yahoo.com> Dear Revolutionaries I have created a little generic library stack with a button that I am using the custom properties of, to store global variables. In the stack script, I have 2 small functions "setGlobal" and "getGlobal" that set and get the custom properties of the button. I have tried having other stacks "go" to this stack and then "start using" this stack, but I am unable to get the "setGlobal" and "getGlobal" handlers to be visible in the calling stacks (I get "handler not found" type messages). I have also tried having the library stack insert its own script into back in its own onPreOpenStack handler or having the calling stack do this - to no avail in any case. The built in docs are rather scant and disorganized and I am still waiting for my rev manuals and Dan's book, so I don't have much to work from. Do I first "go" to the library stack file or can I just "start using" the stack file directly. I don't want to statically build it in to my main app as I want it to be a kind of reusable plugin. What am I missing here? What is the procedure I need to get this to work? Best Gordon ===== :::::::::: Gordon Webster :::::::::: From klaus at major-k.de Sun Dec 12 10:50:30 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 12 Dec 2004 16:50:30 +0100 Subject: Start Using In-Reply-To: <20041212153402.8623.qmail@web51110.mail.yahoo.com> References: <20041212153402.8623.qmail@web51110.mail.yahoo.com> Message-ID: <8CC44615-4C55-11D9-9F23-000A27B49A96@major-k.de> Hi Gordon, > Dear Revolutionaries > > I have created a little generic library stack with a > button that I am using the custom properties of, to > store global variables. > > In the stack script, I have 2 small functions > "setGlobal" and "getGlobal" that set and get the > custom properties of the button. > > I have tried having other stacks "go" to this stack > and then "start using" this stack, but I am unable to > get the "setGlobal" and "getGlobal" handlers to be > visible in the calling stacks (I get "handler not > found" type messages). > > I have also tried having the library stack insert its > own script into back in its own onPreOpenStack handler > or having the calling stack do this - to no avail in > any case. > > The built in docs are rather scant and disorganized > and I am still waiting for my rev manuals and Dan's > book, so I don't have much to work from. > > Do I first "go" to the library stack file or can I > just "start using" the stack file directly. I don't > want to statically build it in to my main app as I > want it to be a kind of reusable plugin. > > What am I missing here? What is the procedure I need > to get this to work? you only need to "start using stack xyz" once, no need to "go" there! If it is a substack this line in the mainstack should be sufficient: on openstack start using stack "my library" ... end preopenstack Then all the handlers of that substack are available to all objects ind any stack... Hope that helps... > Best > > Gordon Regards Klaus Major klaus at major-k.de http://www.major-k.de From rcozens at pon.net Sun Dec 12 10:54:43 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 12 Dec 2004 07:54:43 -0800 Subject: Start Using In-Reply-To: <20041212153402.8623.qmail@web51110.mail.yahoo.com> References: <20041212153402.8623.qmail@web51110.mail.yahoo.com> Message-ID: >Do I first "go" to the library stack file or can I >just "start using" the stack file directly. Morning Gordon, There is no need to go to a stack before one starts using it. In fact, going to the library may trigger open/preOpen handlers that do things that are unnecessary or interfere with its role as a library. (If a Library needs to initialize when put in use, do it in a libraryStack handler.) Have the stack that can't find the handlers list the stacksInUse for you just before making the call. If your library stack is on the list and the handler called is in the library stack script, it should be found. One possible gottcha: if you have a function, foo, in the library stack and call it as a command in the button script, you will get a "handler not found" error. Likewise if you have a command, foo, and call it as a function. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From soapdog at mac.com Sun Dec 12 11:14:18 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 12 Dec 2004 14:14:18 -0200 Subject: Sexuality and Runtime Revolution In-Reply-To: References: Message-ID: That is byfar the strangest request I ever saw on this list. I really do not understand what you want to do. The term "sexuality of Runtime Revolution" is odd for me, I am sure transcript/metatalk creators were not thinking about sex when they created the language. As a general purpose language, you can create almost anything out of it, if you want to control vibrators, Lego RCX or blinking leds is up to you and your programming skills. I don't think trying to link the language to sex is a something that should be called real, you can however link programmers to sex, if you want to try making some research to try to probe how some programmers expose their sexual thoughts in their code, like in their comments, you might get somewhere. Also, calling people stupid on public lists is not polite, you can call her stupid as long as you do that on her face and face the consequences of your act. Buddhism is a very wise and beautifull religion, learning more about it might enlight you about all aspects of life and human interaction. I am no PhD or DSc or whatever acronyms they are called these days, but I know that developers can create very complex universes inside their code, each piece of code revealing a little information on how they face the world, programming as all the creative activities out there reveal much from the mind/soul/personality/whatever of their creator, if you want to see sex there, maybe, you're thinking too much about it, sex is a topic best served when you are not worried or rationally thinking about it (popular quote here in Brazil). Also if you think your secretary is not up to your standards you need another one. The secretary lives in a symbiosis (damn, is this how we spell this in english!?) with their boss, it's a vital job! He/She will organize your professional life and serve as interface with the rest of the world, beware of angry secretaries and buttlers, sometimes they are more important than their bosses.... do not treat her like that, programming is difficult and can only be learned by willing minds. cheers andre On Dec 12, 2004, at 12:51 PM, Magnus Hippolyte Batavia wrote: > Here at Carthage College we are wanting lecturer to give > course on sexuality of Runtime Revolution (when I say > "mousedown" to my secretary Melanie, she has spontaneous > filing problems). Here at Carthage College in Coyote, > Wyoming, we are at the center of the community and want > people to feel attracted by programming: and Runtime > Revolution is very sexual. So we are wanting lecturer with > PhD to come to our College and give lectures on said > subject and real live demonstrations. Our program chief, Dr > Bhatt, has written Transcript program to remote control > vibrator; but stupid students want to study Buddhism. > > Melanie says she prefers me to do her in lunch break; not > attending courses on programming - but she is stupid > person; only good for filing. > > Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma > --------------------------------------------------------------- > The Think Different Store > http://www.thinkdifferentstore.com/ > For All Your Mac Gear > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From klaus at major-k.de Sun Dec 12 11:25:08 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 12 Dec 2004 17:25:08 +0100 Subject: Sexuality and Runtime Revolution In-Reply-To: References: Message-ID: <635C414E-4C5A-11D9-9F23-000A27B49A96@major-k.de> Hi Andre, old spanish buddy :-D > That is byfar the strangest request I ever saw on this list. 100% ACK! > I really do not understand what you want to do. The term "sexuality of > Runtime Revolution" is odd for me, I am sure transcript/metatalk > creators were not thinking about sex when they created the language. > As a general purpose language, you can create almost anything out of > it, if you want to control vibrators, Lego RCX or blinking leds is up > to you and your programming skills. I don't think trying to link the > language to sex is a something that should be called real, you can > however link programmers to sex, if you want to try making some > research to try to probe how some programmers expose their sexual > thoughts in their code, like in their comments, you might get > somewhere. > > Also, calling people stupid on public lists is not polite, you can > call her stupid as long as you do that on her face and face the > consequences of your act. Buddhism is a very wise and beautifull > religion, learning more about it might enlight you about all aspects > of life and human interaction. I am no PhD or DSc or whatever acronyms > they are called these days, but I know that developers can create very > complex universes inside their code, each piece of code revealing a > little information on how they face the world, programming as all the > creative activities out there reveal much from the > mind/soul/personality/whatever of their creator, if you want to see > sex there, maybe, you're thinking too much about it, sex is a topic > best served when you are not worried or rationally thinking about it > (popular quote here in Brazil). Also if you think your secretary is > not up to your standards you need another one. The secretary lives in > a symbiosis (damn, is this how we spell this in english!?) with their > boss, it's a vital job! He/She will organize your professional life > and serve as interface with the rest of the world, beware of angry > secretaries and buttlers, sometimes they are more important than their > bosses.... do not treat her like that, programming is difficult and > can only be learned by willing minds. I think this is just a joke and should be treated like that. At least i find it very funny :-) If it is not, then Mr. Batavia (is it you, Richmond? ;-) surely needs some professional help! > cheers > andre > > On Dec 12, 2004, at 12:51 PM, Magnus Hippolyte Batavia wrote: > >> Here at Carthage College we are wanting lecturer to give >> course on sexuality of Runtime Revolution (when I say >> "mousedown" to my secretary Melanie, she has spontaneous >> filing problems). Here at Carthage College in Coyote, >> Wyoming, we are at the center of the community and want >> people to feel attracted by programming: and Runtime >> Revolution is very sexual. So we are wanting lecturer with >> PhD to come to our College and give lectures on said >> subject and real live demonstrations. Our program chief, Dr >> Bhatt, has written Transcript program to remote control >> vibrator; but stupid students want to study Buddhism. >> >> Melanie says she prefers me to do her in lunch break; not >> attending courses on programming - but she is stupid >> person; only good for filing. >> >> Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma >> > -- > Andre Alves Garzia ? 2004 ? BRAZIL > http://studio.soapdog.org Best Klaus Major (sic!) klaus at major-k.de http://www.major-k.de P.S. @Melanie: Next time this strange person is making fun at you doesn't treat you right, just kick some of his "naughty bits" ;-) From mpetrides at earthlink.net Sun Dec 12 11:26:08 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Sun, 12 Dec 2004 11:26:08 -0500 Subject: Subject: Re: Christmas Special - we'll even solve your christmas shopping problem In-Reply-To: References: Message-ID: <872F24F4-4C5A-11D9-981B-000A959D005E@earthlink.net> On Dec 12, 2004, at 4:53 AM, Heather Nagey wrote: >>>Yes, but you must order now, without delay. Done. At $30 s&h included these are a real bargain! Scarf 'em up while you can folks! Marian From soapdog at mac.com Sun Dec 12 11:41:46 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 12 Dec 2004 14:41:46 -0200 Subject: Sexuality and Runtime Revolution In-Reply-To: <635C414E-4C5A-11D9-9F23-000A27B49A96@major-k.de> References: <635C414E-4C5A-11D9-9F23-000A27B49A96@major-k.de> Message-ID: On Dec 12, 2004, at 2:25 PM, Klaus Major wrote: > I think this is just a joke and should be treated like that. > At least i find it very funny :-) > > If it is not, then Mr. Batavia (is it you, Richmond? ;-) surely needs > some professiona Klaus "PAAAAALLLLLLMMMM" Major, i am taking to much medicine for my tonsils and broken arm, I first thought "this guy is joking" then I thought "no, my medicine is making the world funny, he must be serious..." then I acted as so... Richard told me not to release software while under heavy medication, maybe my mails are also compromissed! :-) Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From gizmotron at earthlink.net Sun Dec 12 11:48:47 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 12 Dec 2004 08:48:47 -0800 Subject: Arrays in Rev In-Reply-To: <8157975C-4BE7-11D9-894A-000A95A09CF8@rpsystems.net> Message-ID: On Saturday, December 11, 2004, at 06:42 PM, Troy Rollins wrote: > Nope. But I've paid more bills and bought more toys using its tools > than all the others combined. Basically, it all comes down to what > makes me money, as this is my profession. Rev-based tools have helped > me solve a few problems, but Director has consistently paid the > mortgage. While its true that there are a few things that Rev does > which Director doesn't (though not many if you include available > xtra$), my clients want the things that Director does which Rev > doesn't - of which there is a very long list. That's all. They are > different tools, and really don't compete as much as people think. > > -- > Troy I agree, they do offer different benefits. Mark From gwalias-rev at yahoo.com Sun Dec 12 12:10:35 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 12 Dec 2004 09:10:35 -0800 (PST) Subject: Start Using Message-ID: <20041212171035.47864.qmail@web51106.mail.yahoo.com> Dear Rob Could you elaborate on the "gotcha" thing. I changed my function from "function setGlobal " to "on setGlobal " and now I don't get the error message, but instead of setting the cutom property "myVar" of the button to 23.6, it creates a cutom property called "myVar,23.6"! What's the difference between a command and a function- I even tried setting "setGlobal" back to a function and returning something, but then I got the old "handler not found" error again. I am confused about commands and functions - why are my functions not seen and which should I use and when? Here are the "setGlobal" and getGlobal functions on setGlobal tname, tvalue set the tname of button "Button" of stack "EZGlobals" to tvalue end setGlobal function getGlobal tname return the tname of button "Button" of stack "EZGlobals" end getGlobal I don't mind having to pay for the rev manual, but couldn't they send it electronically to help users while they're waiting the 3-4 weeks it takes for the paper versions to arrive by snail mail. It's really hard trying to figure all this out from the documention window that comes with rev. It doesn't give any kind of overview of the Transcript language that one would need to understand enough to really get going. I am praying for my manuals to arrive a.s.a.p. Best Gordon --- Rob Cozens wrote: > >Do I first "go" to the library stack file or can I > >just "start using" the stack file directly. > > Morning Gordon, > > There is no need to go to a stack before one starts > using it. > > In fact, going to the library may trigger > open/preOpen handlers that > do things that are unnecessary or interfere with its > role as a > library. (If a Library needs to initialize when put > in use, do it in > a libraryStack handler.) > > Have the stack that can't find the handlers list the > stacksInUse for > you just before making the call. If your library > stack is on the > list and the handler called is in the library stack > script, it should > be found. > > One possible gottcha: if you have a function, foo, > in the library > stack and call it as a command in the button script, > you will get a > "handler not found" error. Likewise if you have a > command, foo, and > call it as a function. > -- > > Rob Cozens > CCW, Serendipity Software Company > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > From bill at bluewatermaritime.com Sun Dec 12 12:16:16 2004 From: bill at bluewatermaritime.com (Bill) Date: Sun, 12 Dec 2004 13:16:16 -0400 Subject: Sexuality and Runtime Revolution In-Reply-To: Message-ID: I agree with Andre. This could well be a serious college curriculum. Although the sexist comments about the professor's secretary would surely get him fired (perhaps he is tenured) at the least he will be suffering some serious suing. On 12/12/04 10:51 AM, "Magnus Hippolyte Batavia" wrote: > Here at Carthage College we are wanting lecturer to give > course on sexuality of Runtime Revolution (when I say > "mousedown" to my secretary Melanie, she has spontaneous > filing problems). Here at Carthage College in Coyote, > Wyoming, we are at the center of the community and want > people to feel attracted by programming: and Runtime > Revolution is very sexual. So we are wanting lecturer with > PhD to come to our College and give lectures on said > subject and real live demonstrations. Our program chief, Dr > Bhatt, has written Transcript program to remote control > vibrator; but stupid students want to study Buddhism. > > Melanie says she prefers me to do her in lunch break; not > attending courses on programming - but she is stupid > person; only good for filing. > > Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma > --------------------------------------------------------------- > The Think Different Store > http://www.thinkdifferentstore.com/ > For All Your Mac Gear > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From rcozens at pon.net Sun Dec 12 12:17:11 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 12 Dec 2004 09:17:11 -0800 Subject: Start Using Message-ID: Gordon, > >Could you elaborate on the "gotcha" thing. I changed >my function from > > "function setGlobal " > >to > > "on setGlobal " > >and now I don't get the error message, but instead of >setting the cutom property "myVar" of the button to >23.6, it creates a cutom property called "myVar,23.6"! > >What's the difference between a command and a >function- I even tried setting "setGlobal" back to a >function and returning something, but then I got the >old "handler not found" error again. I am confused >about commands and functions - why are my functions >not seen and which should I use and when? A command starts with "on"; a function starts with "function" When calling a function, the arguments to be passed are enclosed in parens (); when calling a command they are not--though individual arguments may contain ().. A function must return a value; a command may return a value. The Rev script parser looks for the "(" in a handler call to determine whether it is a function or command. If it sees "setGlobal params" it generates a "command message"; if it sees "setGlobal(params)" it generates a "function message". So if one had a command "setGlobals" and scripted "setGlobals (the short name of the target)", one would get a "handler not found" [expecting a function]; whereas scripting. "get the short name of the target setGlobals it" will work. >Here are the "setGlobal" and getGlobal functions > >on setGlobal tname, tvalue > set the tname of button "Button" of stack >"EZGlobals" to tvalue >end setGlobal > >function getGlobal tname > return the tname of button "Button" of stack >"EZGlobals" >end getGlobal I don't see any obvious error. How are tname & tvalue set before the setGlobal command is called. -- Rob From gizmotron at earthlink.net Sun Dec 12 12:26:09 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 12 Dec 2004 09:26:09 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: Message-ID: > On Dec 12, 2004, at 2:25 PM, Klaus Major wrote: > >> I think this is just a joke and should be treated like that. >> At least i find it very funny :-) I did that once. This guy submitted his biographical info & contact information to a directory of clinical therapists and psychologists. He was mostly promoting a retreat property on some island somewhere in the Mediterranean Sea. His name was Bent Johnson. The fact that there was not much mention of his credentials and much about my suspecting his love shack on an island somewhere led me to ask the moderator of the directory to get more info from him. The guy was so offended after hearing what his name meant in american slang that he fired back at us. Luckily all this took place off-list. I will never forget old Bent Johnson in helping me with internet etiquette. Have you considered turrets syndrome? Mark From mpetrides at earthlink.net Sun Dec 12 12:30:55 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Sun, 12 Dec 2004 12:30:55 -0500 Subject: Sexuality and Runtime Revolution In-Reply-To: References: Message-ID: <9434DC8E-4C63-11D9-B3F8-000A959D005E@earthlink.net> Hey guys. I'd be really, really surprised if this isn't bogus--not to mention highly offensive. First of all, a google search reveals a Carthage College in Kenosha WI but none in Wyoming. I'm not even sure there is a town named Coyote, WY. Second, check out the grammar and usage. This purports to be from a faculty member at a US university, yet it is replete with grossly improper grammar. Not to mention, as someone has already done, the statements about his secretary are not only demeaning but constitute blatant sexual harassment. No self-respecting faculty member in his right mind, tenured or not, would post such garbage in an open forum such as this. Overall, except for the fact that it is directed to this list and not arriving as email from God-knows-where, this has all the earmarks of some of the most vile spam out there. Oh, list mom, maybe this person should cautioned about the nature of his posts and excluded from this list if he persists in posting statements like: >> Melanie says she prefers me to do her in lunch break; not >> attending courses on programming - but she is stupid >> person; only good for filing. Am I the only one who finds this offensive? Marian On Dec 12, 2004, at 12:16 PM, Bill wrote: > I agree with Andre. This could well be a serious college curriculum. > Although the sexist comments about the professor's secretary would > surely > get him fired (perhaps he is tenured) at the least he will be > suffering some > serious suing. > > > On 12/12/04 10:51 AM, "Magnus Hippolyte Batavia" > > wrote: > >> Here at Carthage College we are wanting lecturer to give >> course on sexuality of Runtime Revolution (when I say >> "mousedown" to my secretary Melanie, she has spontaneous >> filing problems). Here at Carthage College in Coyote, >> Wyoming, we are at the center of the community and want >> people to feel attracted by programming: and Runtime >> Revolution is very sexual. So we are wanting lecturer with >> PhD to come to our College and give lectures on said >> subject and real live demonstrations. Our program chief, Dr >> Bhatt, has written Transcript program to remote control >> vibrator; but stupid students want to study Buddhism. >> >> >> >> Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma >> --------------------------------------------------------------- >> The Think Different Store >> http://www.thinkdifferentstore.com/ >> For All Your Mac Gear >> --------------------------------------------------------------- >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- http://www.bluewatermaritime.com > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > ^^^^ ^^^^ ^^^ ^^ > ^^^^ ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gizmotron at earthlink.net Sun Dec 12 12:41:44 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 12 Dec 2004 09:41:44 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: <9434DC8E-4C63-11D9-B3F8-000A959D005E@earthlink.net> Message-ID: <16E3B4E8-4C65-11D9-B584-000A95743F7A@earthlink.net> On Sunday, December 12, 2004, at 09:30 AM, Marian Petrides wrote: > Am I the only one who finds this offensive? > > Marian No, but I cuss like a drunken sailor. I mean I know it's offensive to others that is. So what part of troll baiting don't you like? Mark From gwalias-rev at yahoo.com Sun Dec 12 12:51:50 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 12 Dec 2004 09:51:50 -0800 (PST) Subject: Sexuality and Runtime Revolution In-Reply-To: <9434DC8E-4C63-11D9-B3F8-000A959D005E@earthlink.net> Message-ID: <20041212175150.57425.qmail@web51106.mail.yahoo.com> Guys!!! This is so obviously bogus and as Marian rightly says, offensive as well - I'm sure he's enjoying the chatter he has created with his ridiculous post - can't the moderators just boot him off and/or suppress mail from his IP address (in case he changes his name). Best Gordon --- Marian Petrides wrote: > Hey guys. I'd be really, really surprised if this > isn't bogus--not to > mention highly offensive. > > First of all, a google search reveals a Carthage > College in Kenosha WI > but none in Wyoming. I'm not even sure there is a > town named Coyote, > WY. > > Second, check out the grammar and usage. This > purports to be from a > faculty member at a US university, yet it is replete > with grossly > improper grammar. > > Not to mention, as someone has already done, the > statements about his > secretary are not only demeaning but constitute > blatant sexual > harassment. No self-respecting faculty member in his > right mind, > tenured or not, would post such garbage in an open > forum such as this. > > Overall, except for the fact that it is directed to > this list and not > arriving as email from God-knows-where, this has all > the earmarks of > some of the most vile spam out there. > > Oh, list mom, maybe this person should cautioned > about the nature of > his posts and excluded from this list if he persists > in posting > statements like: > > >> Melanie says she prefers me to do her in lunch > break; not > >> attending courses on programming - but she is > stupid > >> person; only good for filing. > > Am I the only one who finds this offensive? > > Marian > > > > > On Dec 12, 2004, at 12:16 PM, Bill wrote: > > > I agree with Andre. This could well be a serious > college curriculum. > > Although the sexist comments about the professor's > secretary would > > surely > > get him fired (perhaps he is tenured) at the least > he will be > > suffering some > > serious suing. > > > > > > On 12/12/04 10:51 AM, "Magnus Hippolyte Batavia" > > > > wrote: > > > >> Here at Carthage College we are wanting lecturer > to give > >> course on sexuality of Runtime Revolution (when I > say > >> "mousedown" to my secretary Melanie, she has > spontaneous > >> filing problems). Here at Carthage College in > Coyote, > >> Wyoming, we are at the center of the community > and want > >> people to feel attracted by programming: and > Runtime > >> Revolution is very sexual. So we are wanting > lecturer with > >> PhD to come to our College and give lectures on > said > >> subject and real live demonstrations. Our program > chief, Dr > >> Bhatt, has written Transcript program to remote > control > >> vibrator; but stupid students want to study > Buddhism. > >> > >> > >> > >> Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma > >> > --------------------------------------------------------------- > >> The Think Different Store > >> http://www.thinkdifferentstore.com/ > >> For All Your Mac Gear > >> > --------------------------------------------------------------- > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> > http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > > > | | | > > )_) )_) )_) > > )___))___))___)\ > > )____)____)_____)\\ > > _____|____|____|____\\\__ > > -------\ /--------- > http://www.bluewatermaritime.com > > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > > ^^^^ ^^^^ ^^^ ^^ > > ^^^^ ^^^ > > > > 24 hour cell: (787) 378-6190 > > fax: (787) 809-8426 > > > > Blue Water Maritime > > P.O. Box 91 > > Puerto Real, PR 00740 > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From mwieder at ahsoftware.net Sun Dec 12 12:54:56 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 09:54:56 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: References: <635C414E-4C5A-11D9-9F23-000A27B49A96@major-k.de> Message-ID: <881427232.20041212095456@ahsoftware.net> Andre- Sunday, December 12, 2004, 8:41:46 AM, you wrote: AG> the world funny, he must be serious..." then I acted as so... Richard AG> told me not to release software while under heavy medication, maybe my Wait... we are *not* supposed to release software while under heavy medication? Uh oh... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Dec 12 13:02:32 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 10:02:32 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: References: Message-ID: <1891883888.20041212100232@ahsoftware.net> I ran PhD through Microsoft Word's spell checker, and while it wasn't in there as typed, it suggested that I might have meant pH. In addition, Bhatt was not found, but the kind folks in Redmond suggested Beat, Boat, Blat, and Brat. I'm not sure quite what a Blat is, but I rather like the sound of Dr. Beat. -- -Mark Wieder mwieder at ahsoftware.net From gizmotron at earthlink.net Sun Dec 12 13:09:20 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 12 Dec 2004 10:09:20 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: <1891883888.20041212100232@ahsoftware.net> Message-ID: feeding the trolls... 25cents a post From mwieder at ahsoftware.net Sun Dec 12 13:11:51 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 10:11:51 -0800 Subject: forum In-Reply-To: <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> References: <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> Message-ID: <1712442502.20041212101151@ahsoftware.net> Alex- Sunday, December 12, 2004, 7:07:33 AM, you wrote: AT> Call me old-fashioned, but I like a traditional mailing list like this one. AT> As long as it has good search tools (Mark's one already mentioned - I don't AT> have a URL for it, sorry; or Google - AT> http://www.google.com/advanced_search?q=site:lists.runrev.com ), the main http://www.ahsoftware.net/ArchiveSearch.html AT> I haven't seen many lists or forums as fast and as thorough as this one in I enthusiastically second that. And while the online list archive software leaves a lot to be desired, the amount of help available here is absolutely awesome. I remember a couple of attempts to set up runrev fora, but as far as I can tell they died from lack of interest. Maybe I'm misremembering and they're actually in use somewhere, in which case someone will set me straight about this. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Dec 12 13:16:05 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 10:16:05 -0800 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> Message-ID: <1812696437.20041212101605@ahsoftware.net> Alex- Sunday, December 12, 2004, 4:19:27 AM, you wrote: AT> I'd prefer if they removed the feature entirely, or as you suggested used AT> "disabled" or some such keyword rather than a comment, preceding the first AT> line of the handler. I would, too, now that Ken has set me straight on what the "first" line is. However, now that I understand what's involved in this, I'm rather apathetic to the whole thing since I don't intend to use this "feature" at all. I'm changing my bz comment to suggest removal. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Dec 12 13:18:56 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 10:18:56 -0800 Subject: parsing comments in scripts In-Reply-To: References: Message-ID: <682867893.20041212101856@ahsoftware.net> Ken- Thanks for explaining the "first" line to me. Now I get it. I'm not in a panic anymore, but it's still bizarre. I'm sure someone thought it was a good idea at the time... more heavy medication, maybe? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Dec 12 13:24:19 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 10:24:19 -0800 Subject: me missing in actions... In-Reply-To: References: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> Message-ID: <323190728.20041212102419@ahsoftware.net> sims- Aubergines blow up in the oven? I always thought pricking them with a fork would prevent that. Always one more thing to worry about... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Dec 12 13:27:57 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 10:27:57 -0800 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041210190751.02999f68@mail.tweedly.net> References: <19849545222.20041209230159@ahsoftware.net> <5.1.0.14.0.20041210190751.02999f68@mail.tweedly.net> Message-ID: <1233408751.20041212102757@ahsoftware.net> Alex- Friday, December 10, 2004, 11:26:15 AM, you wrote: AT> function StripComments theLine AT> local theResult AT> put token 1 to -1 of theLine into theResult AT> if quote is in token -2 to -1 of theLine then put quote after theResult AT> return theResult AT> end StripComents Thanks for that. It pretty much does the job for me, although I have to handle C-style comments and line-continuation characters externally before the tokenizer has a chance to work. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Sun Dec 12 13:39:19 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 12 Dec 2004 11:39:19 -0700 Subject: parsing comments in scripts In-Reply-To: <1812696437.20041212101605@ahsoftware.net> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> <1812696437.20041212101605@ahsoftware.net> Message-ID: <221899F0-4C6D-11D9-AED8-000A9567A3E6@swcp.com> On Dec 12, 2004, at 11:16 AM, Mark Wieder wrote: > I would, too, now that Ken has set me straight on what the "first" > line is. However, now that I understand what's involved in this, I'm > rather apathetic to the whole thing since I don't intend to use this > "feature" at all. I'm changing my bz comment to suggest removal. The feature is a by-product of the compiler ignoring top level lines that are not top level constructs or commands in Transcript. The problem is that local, global and constant in the handler that is disabled this way are pushed to the script level. Any attempt to fix that based on the comment syntax will have the compiler looking into comments. That means that though you do not intend to use this, you might accidently. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From stephenREVOLUTION at barncard.com Sun Dec 12 13:38:20 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 12 Dec 2004 10:38:20 -0800 Subject: mySQL & Dreamcard Message-ID: Database access is a major feature reserved for those who buy the higher level software. I really don't think Dreamcard is supposed to offer database access. sqb >My first attempt at posting this to the list apparently didn't work, >so hopefully this does not end up as a duplicate... my apologies if it >does. > >A couple of weeks ago I licensed Dreamcard as a learning/development >tool prior to a final move to Rev Studio, thinking that others could >assist with the testing process using the free player. (which I >thought was functional for any type of application.) > >I've been working on a mySQL database app hosted on a remote server >and can access the db without problems from my development box. >However, when I tried testing the app on other computers (Linux & XP), >I learned that the player apparently requires some additional files. > >The Linux box clearly shows that the player application cannot load the needed >library file(s), although I've manually copied them into the >player's directory. > >I've searched the download section at the web site without luck, so >maybe someone can point me to the additional files that are required >for both O/S's....? > >Thanks in advanced for any help. :) > >-Doc- >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Sun Dec 12 13:42:27 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 10:42:27 -0800 Subject: THESIS now available In-Reply-To: References: Message-ID: <524278462.20041212104227@ahsoftware.net> Richmond- Thursday, December 9, 2004, 11:52:35 AM, you wrote: M> My Thesis in the form that I have submitted it is now M> available in HTML format via the FILES page of my website. Well, I'm working my way through it and it's fascinating so far - I'm looking forward to the prototype software. I'm disappointed that you didn't mention either ProGraph or VIP-C, though. Maybe for volume 2, or when you decide to go for the PhuD. -- -Mark Wieder mwieder at ahsoftware.net From hershrev at realtorsgroup.us Sun Dec 12 14:08:29 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Sun, 12 Dec 2004 14:08:29 -0500 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <443422D8-4B30-11D9-998F-000A959D0AC6@hindu.org> Message-ID: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> On Friday, December 10, 2004, at 11:51 PM, Sivakatirswami wrote: > Alright... I've successfully installed PostGreSQL on my mac... in the > terminal it's up and running, I've created a database and just now did > > select * from taskroster > > and got my two test rows returned... but.. > > in the Mac's activity monitor... i don't see a process named "Postgres" > just the tcsh shell I have open to talk to Postgres... > > And also, in rev, this fails: > > put > revOpenDatabase("Postgresql","localhost","katir_test","postgres","myPas > sWord") > > could not connect to server: Connection refused > Is the server running on host "localhost" and accepting > TCP/IP connections on port 5432? Hi , in order to run thru a tcp/ip connection it has to be enabled first , to do so eithre you enable the tcp/ip or you start it with an -I flag. su - postgres password postgres% "/usr/local/bin/postmaster -D /usr/local/pgsql/data ?I" ( this is the -I flag you enter) Hershel Fisch > > my computer name on the lan is "katir.hindu.org" but > > put > revOpenDatabase("Postgresql","katir.hindu.org","katir_test","postgres", > "myPassWord") > > does not work either.. > > I'm sure this must be simple... > > TIA > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sun Dec 12 14:17:11 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 12 Dec 2004 11:17:11 -0800 Subject: Making a Rev-built app hoist itself to the foreground Message-ID: <6C72D9B4-4C72-11D9-AC30-000A95A872D6@inspiredlogic.com> Is there a simple way I'm missing to create a Revolution app that, when called from the command line (and thus starts in the background) hoist itself to the foreground to be in front of the user? I'm looking for the cross platform transcript equivalent of AppleScript's "activate" regards, Geoff Canyon gcanyon at inspiredlogic.com From cassj at earthlink.net Sun Dec 12 14:25:19 2004 From: cassj at earthlink.net (James Cass) Date: Sun, 12 Dec 2004 14:25:19 -0500 Subject: Sexuality and Runtime Revolution In-Reply-To: References: Message-ID: <8F564992-4C73-11D9-BACD-000D93C26DB4@earthlink.net> Rev-Dudes and Dudettes - I'm putting this Magnus character on permanent "IGNORE". Anything more is a waste of time. - James On Dec 12, 2004, at 9:51 AM, Magnus Hippolyte Batavia wrote: > Here at Carthage College we are wanting lecturer to give > course on sexuality of Runtime Revolution (when I say > "mousedown" to my secretary Melanie, she has spontaneous > filing problems). Here at Carthage College in Coyote, > Wyoming, we are at the center of the community and want > people to feel attracted by programming: and Runtime > Revolution is very sexual. So we are wanting lecturer with > PhD to come to our College and give lectures on said > subject and real live demonstrations. Our program chief, Dr > Bhatt, has written Transcript program to remote control > vibrator; but stupid students want to study Buddhism. > > Melanie says she prefers me to do her in lunch break; not > attending courses on programming - but she is stupid > person; only good for filing. > > Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma > --------------------------------------------------------------- > The Think Different Store > http://www.thinkdifferentstore.com/ > For All Your Mac Gear > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Sun Dec 12 14:23:36 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Sun, 12 Dec 2004 14:23:36 -0500 Subject: Sexuality and Runtime Revolution In-Reply-To: Message-ID: <524E2233-4C73-11D9-933E-0030654C1E62@realtorsgroup.us> It looks like all of us are on vacation. Every body get back to work . There are more important to discuses over-here on this list. On Sunday, December 12, 2004, at 01:09 PM, Mark Brownell wrote: > feeding the trolls... 25cents a post > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gwalias-rev at yahoo.com Sun Dec 12 15:16:02 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 12 Dec 2004 12:16:02 -0800 (PST) Subject: Start Using In-Reply-To: Message-ID: <20041212201602.544.qmail@web51106.mail.yahoo.com> OK, thanks to the help of Rob and others, I have a "setGlobal" function that works Here it is: on setGlobal tname, tvalue set the tname of button "Button" of stack "EZGlobals" to tvalue end setGlobal - When I hit a button on the calling stack, it creates custom properties just fine in the button on my library stack. But when I ty to poll the values of these custom properties (which I can see in the inspector), they are empty but I get no error. Here's the retrieving function in the library stack function getGlobal tname return the customProperties[tname] of button "Button" of stack "EZGlobals" end getGlobal So for example, I set a global called "myVar" to 144. I can see it in the custom properties of the button on my library stack. When I do "answer getGlobal("myVar")" either from the calling stack or the message box, it works without an error but I get an empty value. Any ideas? Best Gordon --- Rob Cozens wrote: > Gordon, > > > > >Could you elaborate on the "gotcha" thing. I > changed > >my function from > > > > "function setGlobal " > > > >to > > > > "on setGlobal " > > > >and now I don't get the error message, but instead > of > >setting the cutom property "myVar" of the button to > >23.6, it creates a cutom property called > "myVar,23.6"! > > > >What's the difference between a command and a > >function- I even tried setting "setGlobal" back to > a > >function and returning something, but then I got > the > >old "handler not found" error again. I am confused > >about commands and functions - why are my functions > >not seen and which should I use and when? > > A command starts with "on"; a function starts with > "function" > When calling a function, the arguments to be passed > are enclosed in > parens (); when calling a command they are > not--though individual > arguments may contain ().. > A function must return a value; a command may return > a value. > > The Rev script parser looks for the "(" in a handler > call to > determine whether it is a function or command. If > it sees "setGlobal > params" it generates a "command message"; if it sees > > "setGlobal(params)" it generates a "function > message". > > So if one had a command "setGlobals" and scripted > "setGlobals (the > short name of the target)", one would get a "handler > not found" > [expecting a function]; whereas scripting. > > "get the short name of the target > setGlobals it" > > will work. > > > >Here are the "setGlobal" and getGlobal functions > > > >on setGlobal tname, tvalue > > set the tname of button "Button" of stack > >"EZGlobals" to tvalue > >end setGlobal > > > >function getGlobal tname > > return the tname of button "Button" of stack > >"EZGlobals" > >end getGlobal > > I don't see any obvious error. How are tname & > tvalue set before the > setGlobal command is called. > -- > > Rob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From gwalias-rev at yahoo.com Sun Dec 12 15:22:56 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 12 Dec 2004 12:22:56 -0800 (PST) Subject: Start Using In-Reply-To: <20041212201602.544.qmail@web51106.mail.yahoo.com> Message-ID: <20041212202256.17989.qmail@web51109.mail.yahoo.com> Forget it! I see what I'm doing wrong - customProperties refers to a customPropertySet - I just substituted "return the tname of button ...." in getGlobal and it works. "Please Mr Postman look and see (oh yeah) If there's a manual, a rev manual for me ... " Best Gordon --- Gordon wrote: > OK, thanks to the help of Rob and others, I have a > "setGlobal" function that works > > Here it is: > on setGlobal tname, tvalue > set the tname of button "Button" of stack > "EZGlobals" to tvalue > end setGlobal > > - When I hit a button on the calling stack, it > creates > custom properties just fine in the button on my > library stack. > > But when I ty to poll the values of these custom > properties (which I can see in the inspector), they > are empty but I get no error. > > Here's the retrieving function in the library stack > > function getGlobal tname > return the customProperties[tname] of button > "Button" of stack "EZGlobals" > end getGlobal > > > So for example, I set a global called "myVar" to > 144. > I can see it in the custom properties of the button > on > my library stack. When I do "answer > getGlobal("myVar")" either from the calling stack or > the message box, it works without an error but I get > an empty value. > > Any ideas? > > Best > > Gordon > > --- Rob Cozens wrote: > > > Gordon, > > > > > > > >Could you elaborate on the "gotcha" thing. I > > changed > > >my function from > > > > > > "function setGlobal " > > > > > >to > > > > > > "on setGlobal " > > > > > >and now I don't get the error message, but > instead > > of > > >setting the cutom property "myVar" of the button > to > > >23.6, it creates a cutom property called > > "myVar,23.6"! > > > > > >What's the difference between a command and a > > >function- I even tried setting "setGlobal" back > to > > a > > >function and returning something, but then I got > > the > > >old "handler not found" error again. I am > confused > > >about commands and functions - why are my > functions > > >not seen and which should I use and when? > > > > A command starts with "on"; a function starts with > > "function" > > When calling a function, the arguments to be > passed > > are enclosed in > > parens (); when calling a command they are > > not--though individual > > arguments may contain ().. > > A function must return a value; a command may > return > > a value. > > > > The Rev script parser looks for the "(" in a > handler > > call to > > determine whether it is a function or command. If > > it sees "setGlobal > > params" it generates a "command message"; if it > sees > > > > "setGlobal(params)" it generates a "function > > message". > > > > So if one had a command "setGlobals" and scripted > > "setGlobals (the > > short name of the target)", one would get a > "handler > > not found" > > [expecting a function]; whereas scripting. > > > > "get the short name of the target > > setGlobals it" > > > > will work. > > > > > > >Here are the "setGlobal" and getGlobal functions > > > > > >on setGlobal tname, tvalue > > > set the tname of button "Button" of stack > > >"EZGlobals" to tvalue > > >end setGlobal > > > > > >function getGlobal tname > > > return the tname of button "Button" of stack > > >"EZGlobals" > > >end getGlobal > > > > I don't see any obvious error. How are tname & > > tvalue set before the > > setGlobal command is called. > > -- > > > > Rob > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > ===== > :::::::::: Gordon Webster :::::::::: > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From mwieder at ahsoftware.net Sun Dec 12 15:29:46 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 12:29:46 -0800 Subject: parsing comments in scripts In-Reply-To: <221899F0-4C6D-11D9-AED8-000A9567A3E6@swcp.com> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> <1812696437.20041212101605@ahsoftware.net> <221899F0-4C6D-11D9-AED8-000A9567A3E6@swcp.com> Message-ID: <3110717801.20041212122946@ahsoftware.net> Dar- Sunday, December 12, 2004, 10:39:19 AM, you wrote: DS> The feature is a by-product of the compiler ignoring top level lines DS> that are not top level constructs or commands in Transcript. Ah - so this "feature" is actually tied into your postings about junk in scripts? -- -Mark Wieder mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Sun Dec 12 15:33:12 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 12 Dec 2004 12:33:12 -0800 (PST) Subject: Ins and outs In-Reply-To: Message-ID: I agree that this is a useful and, to the company I would hope, a valuable topic in which the userbase could assist the company to develop a product geared towards the enduser (non-geek) market that could help bring in greater revenue than may ultimately be generated by the 'diminishing marginal returns geek market'. I had thought of this possibility last night when I first read Richmond's comment... Richard, what is the possibility of either a separately-sanctioned Yahoo discussion group or the merging of the improve-docs thread along with an improve-UI thread for the existing group? I am quite certain that all the real geeks have long since tired of reading our comments/rants/other regarding the usability of Rev/Dreamcard. Perhaps if comments similar to those which have been offered on the improve-docs group could be offered up and backed up with sound research or reasoning, the company would be willing to take a look? Judy On Sun, 12 Dec 2004, steve messimer wrote: > Richard > > > As you will by now be aware, I am particularly interested > >in usability - specifically for non-computer types, and to > >that end made rather over-the-top tool bars for both RR & > >MC, and then went to one particular extreme with my thesis. > > > > I do believe that far too little attention is paid to the > >end-user experience and wonder if now is not the time to > >start a use-list specifically dedicated to this - and keep > >the current - MC and RR lists for xTalk related matters > >only. The nature of RR/MC readily lends itself to the rapid > >development of a wide variety of user interfaces - and, > >owing to the cross-platform nature of RR/MC, is, to my > >mind, one of the better RADs for UI development and > >experimentation. > > I have been interested in this since Hypercard first appeared on the market. > On first glance rapid educational development using xTalk seemed the way to > go. But what I found at least was that from scratch development of useful > educational applications could take months. Part of the problem ( and there > are many others besides is that higher order development tools were not > available ) To build these was very time consuming. Now if you are an > instructor at any level time is not a commodity that is available in great > supply. I started working on preceptortools back in the late 80's. While > it was never a commercial success I think that some of the ideas still have > merit. > > If you have never looked at it you are welcome to do so by going to my > website which is still up and running. http://www.messimercomputing.com > > I would welcome the opportunity to participate in a dialog regarding methods > of improving the usability of development environments for educational > purposes. > > Regards, > > Steve Messimer, PA > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Dec 12 15:34:30 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 12:34:30 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: References: Message-ID: <011001759.20041212123430@ahsoftware.net> Mark- Sunday, December 12, 2004, 10:09:20 AM, you wrote: MB> feeding the trolls... 25cents a post Not exactly, just joining Richmond in the fun. I'm sure he didn't intend anyone to take that posting seriously. Well, mostly sure he didn't. Actually, I don't really know what prompted him to do that. More heavy meditation? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Dec 12 15:35:55 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 12:35:55 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: <011001759.20041212123430@ahsoftware.net> References: <011001759.20041212123430@ahsoftware.net> Message-ID: <2311086501.20041212123555@ahsoftware.net> MW> Actually, I don't really know what prompted him to do that. More heavy MW> meditation? ...sorry ...make that "medication"... -- -Mark mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Sun Dec 12 15:36:01 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 12 Dec 2004 12:36:01 -0800 (PST) Subject: Sexuality and Runtime Revolution In-Reply-To: Message-ID: You never know with higher ed these days. Sigh... Judy On Sun, 12 Dec 2004, Bill wrote: > I agree with Andre. This could well be a serious college curriculum. > Although the sexist comments about the professor's secretary would surely > get him fired (perhaps he is tenured) at the least he will be suffering some > serious suing. > > > On 12/12/04 10:51 AM, "Magnus Hippolyte Batavia" > wrote: > > > Here at Carthage College we are wanting lecturer to give > > course on sexuality of Runtime Revolution (when I say > > "mousedown" to my secretary Melanie, she has spontaneous > > filing problems). Here at Carthage College in Coyote, > > Wyoming, we are at the center of the community and want > > people to feel attracted by programming: and Runtime > > Revolution is very sexual. So we are wanting lecturer with > > PhD to come to our College and give lectures on said > > subject and real live demonstrations. Our program chief, Dr > > Bhatt, has written Transcript program to remote control > > vibrator; but stupid students want to study Buddhism. > > > > Melanie says she prefers me to do her in lunch break; not > > attending courses on programming - but she is stupid > > person; only good for filing. > > > > Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma > > --------------------------------------------------------------- > > The Think Different Store > > http://www.thinkdifferentstore.com/ > > For All Your Mac Gear > > --------------------------------------------------------------- > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- http://www.bluewatermaritime.com > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > ^^^^ ^^^^ ^^^ ^^ > ^^^^ ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gwalias-rev at yahoo.com Sun Dec 12 15:41:33 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 12 Dec 2004 12:41:33 -0800 (PST) Subject: Creating a catch-all for unknown handlers In-Reply-To: <3110717801.20041212122946@ahsoftware.net> Message-ID: <20041212204133.28863.qmail@web51108.mail.yahoo.com> Dear Revolutionaries Is this feasible or just a crazy notion ...? Is there a way to create a catch-all backscript that would catch any "unknown handler" error and then look through a list of e.g. custom properties to see if it could be evaluated, and then returning the value. This would make it possible to create custom properties with names like client.address.zip and then just use them in your code where a handler would normally be. E.g. instead of writing: getGlobal ===== :::::::::: Gordon Webster :::::::::: From gwalias-rev at yahoo.com Sun Dec 12 15:44:52 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Sun, 12 Dec 2004 12:44:52 -0800 (PST) Subject: Creating a catch-all for unknown handlers In-Reply-To: <3110717801.20041212122946@ahsoftware.net> Message-ID: <20041212204452.88773.qmail@web51110.mail.yahoo.com> Dear Revolutionaries Is this feasible or just a crazy notion ...? Is there a way to create a catch-all backscript that would catch any "unknown handler" error and then look through a list of e.g. custom properties to see if it could be evaluated, and then returning the value. This would make it possible to create custom properties with names like client.address.zip and then just use them in your code where a handler or a function would normally be. e.g. instead of writing: put getGlobal("client.address.zip") into myDatabase you could use: put client.address.zip into myDatabase catching the thrown error and looking for this name in a list of customproperties that would be globally available within the program. Best Gordon From katir at hindu.org Sun Dec 12 15:47:20 2004 From: katir at hindu.org (Sivakatirswami) Date: Sun, 12 Dec 2004 10:47:20 -1000 Subject: OT: Postgresql Docs for your hard drive Message-ID: <04D2B83A-4C7F-11D9-998F-000A959D0AC6@hindu.org> Aloha, [darma, london: trash the last postgresql docs from xCalibre site.. they are 2 years old and these are the latest from postgresql.org for 7.4 and there is a *lot* more info here] In case anyone is interested in putting a copy of the entire Postgresql docs (7.4) on their hard drive... I *think* my spider got all the pages... go to http://www.himalayanacademy.com/outgoing/postgresql/ and download "Download Site Spider.rev.zip" [excuse the very rough UI which is a typical in house RAD thing where I put together something in a few minutes to get a specific job done...) click on the button "export all to disk" and create a new folder and save the docs (over 500 files!) thescripts in here are open source, so for newbies... I don't consider myself anything of an expert (the wizards on this list generally show me a better way to do just about anything I can cook up. ;-) but you might from some interesting stuff in there. caveat: the URL root stem for the site being crawled and downloaded is hard coded into the script of "Parse TOC" Once you have them downloaded, load the "index.html" into your browser and it will run the documentation locally. All href's have been change to local. From ambassador at fourthworld.com Sun Dec 12 16:18:16 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2004 13:18:16 -0800 Subject: Ins and outs In-Reply-To: References: Message-ID: <41BCB598.8060305@fourthworld.com> Judy Perry wrote: > Richard, what is the possibility of either a separately-sanctioned > Yahoo discussion group or the merging of the improve-docs thread > along with an improve-UI thread for the existing group? > > > I am quite certain that all the real geeks have long since tired of > reading our comments/rants/other regarding the usability of > Rev/Dreamcard. > > Perhaps if comments similar to those which have been offered on the > improve-docs group could be offered up and backed up with sound > research or reasoning, the company would be willing to take a look? I think that's an excellent idea. I just added a summary of current Transcript-related lists to my Rev page: I'd be happy to add a new group to that list, or as you suggest it might be worthwhile integrating that discussion into the RevDocs list. The RevDocs discussion is rather sparse these days, and the two issues -- documentation and learnability -- are closely related. You might run the idea by the othes on the RevDocs list to see if there are any objections, but expanding the discussion there gets my vote. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From rev at armbase.com Sun Dec 12 16:54:17 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 21:54:17 +0000 Subject: forum In-Reply-To: References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> Message-ID: <6.1.2.0.0.20041212214454.019a4e88@mail.armbase.com> At 14:12 12/12/2004, you wrote: >On Dec 12, 2004, at 11:19 AM, Bob Hartley wrote: > >>Hi All >> >>I've yet again been trawling the google search for a hint on a runrev >>topic (I cant get it in the video tutorials at the moment because I have >>not bought the video tutorials yet, only just bought studio). >> >>Anyway. I develop for palmOS and the IDE I use is supported via a BBS. >> >>Is there any chance of this thing being used instead of a list. I think >>it is far superior. > >Bob, > >This is list is the superior thing!!! ask something, we will answer!!!! my >answer will take sometime for i've got a broken arm. One thing you might >want is archivesearch plugin made by mark, it will help you search old >threads.... Hi Andre and others. I'm not getting at the list people but was looking at a better way of searching the list, rather than a google search and clicking on the next link etc. Doing a search, on google, I couldn't find a post that I knew was there. I downloaded the archive search but it doesn't seem to run on my machine. I'll try it again. I would like you all to know I appreciate help on the list but I don't want to bother you all the time when a search of the documentation or archive would give the answer. I just don't seem to be able to find anything on the helpfile (because it is so comprehensive and I'm a novice) or find google list searching as good as other forums. Not a criticism of the list people in any way. cheers bob >cheers >andre > > > > >> >>see >>http://www.pdatnutsandbolts.com/ >> >>All the best >>Bob >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution >> >-- >Andre Alves Garzia ? 2004 >Soap Dog Studios - BRAZIL >http://studio.soapdog.org > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From rev at armbase.com Sun Dec 12 16:58:28 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 21:58:28 +0000 Subject: The question was Re: forum In-Reply-To: <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> Message-ID: <6.1.2.0.0.20041212215507.0199ba60@mail.armbase.com> At 15:07 12/12/2004, you wrote: >So - what's your question Bob ? Hi Alex. I want to call a stack from a standalone but I'm stuck right at the begining. All I want to make is a simple card database, have a new card created when I ad a new entry (naturally) and have this saved. I realise that the way to do this would be to have a template.rev file, then have the standalone launch this no startup. Even a one field card would get me started. Ironically this is for my beginners database series nas I cant even do it myself (been away from rev for too long) Cheers Bob >-- Alex. From ambassador at fourthworld.com Sun Dec 12 16:57:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2004 13:57:07 -0800 Subject: forum In-Reply-To: <6.1.2.0.0.20041212214454.019a4e88@mail.armbase.com> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> <6.1.2.0.0.20041212214454.019a4e88@mail.armbase.com> Message-ID: <41BCBEB3.8050206@fourthworld.com> Bob Hartley wrote: > I just don't seem to be able to find > anything on the helpfile (because it is so comprehensive and I'm a > novice) or find google list searching as good as other forums. Google's search technology generally provides more flexibility than is possible with the less robust technology driving most forums. Could I trouble you for an example of a search with Google that failed to turn up a post you were looking for? We may be looking at an indexing problem or some other issue with Google that is correctable. Thanks in advance - -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From rev at armbase.com Sun Dec 12 17:06:40 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 22:06:40 +0000 Subject: forum Message-ID: <6.1.2.0.0.20041212220538.0199b918@mail.armbase.com> Got the Search app from Mark to work (previous download was only the 1st 20K) and it looks pretty neat. Thanks Bob From dsc at swcp.com Sun Dec 12 17:04:10 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 12 Dec 2004 15:04:10 -0700 Subject: parsing comments in scripts In-Reply-To: <3110717801.20041212122946@ahsoftware.net> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> <1812696437.20041212101605@ahsoftware.net> <221899F0-4C6D-11D9-AED8-000A9567A3E6@swcp.com> <3110717801.20041212122946@ahsoftware.net> Message-ID: On Dec 12, 2004, at 1:29 PM, Mark Wieder wrote: > DS> The feature is a by-product of the compiler ignoring top level > lines > DS> that are not top level constructs or commands in Transcript. > > Ah - so this "feature" is actually tied into your postings about junk > in scripts? Yes. And it also ties to recent discussion on parsing scripts. Should a preprocessor allow for uncommented junk at the top level, or should it assume a clean script? Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From padawer at mindspring.com Sun Dec 12 17:09:09 2004 From: padawer at mindspring.com (Randy Padawer) Date: Sun, 12 Dec 2004 15:09:09 -0700 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: <20041211165442.165BA930109@mail.runrev.com> References: <20041211165442.165BA930109@mail.runrev.com> Message-ID: Hi, I would appreciate any help anyone may offer. Let's say a text file occasionally includes the words dogs, cats, and fleas. I need to "read until" any of these words without skipping any. I tried the following instruction, but of course that doesn't work: open file FileName repeat read file FileName until "dogs" or "cats" or "fleas" -- (do something with it in found order) if it is empty then exit repeat close file FileName Unfortunately though, so far as I can tell, this script as-is (obviously so wrong) reads in the whole file and doesn't stop on any of the words. I played with the "seek to" command but that requires a number afterward... otherwise I would "seek to" all three of the keywords in question and then "read to" whichever came soonest and then repeat. Can anybody point the way? Thanks again, Randy From sarahr at genesearch.com.au Sun Dec 12 17:10:50 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 13 Dec 2004 08:10:50 +1000 Subject: Making a Rev-built app hoist itself to the foreground In-Reply-To: <6C72D9B4-4C72-11D9-AC30-000A95A872D6@inspiredlogic.com> References: <6C72D9B4-4C72-11D9-AC30-000A95A872D6@inspiredlogic.com> Message-ID: > Is there a simple way I'm missing to create a Revolution app that, > when called from the command line (and thus starts in the background) > hoist itself to the foreground to be in front of the user? I'm looking > for the cross platform transcript equivalent of AppleScript's > "activate" > I wonder what happens if you set the relevant window to be a systemWindow and then set it back again? Presumably it would come to the front when set to systemWindow, but will it stay there? Just an idea, Sarah From rev at armbase.com Sun Dec 12 17:27:11 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 22:27:11 +0000 Subject: forum In-Reply-To: <41BCBEB3.8050206@fourthworld.com> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> <6.1.2.0.0.20041212214454.019a4e88@mail.armbase.com> <41BCBEB3.8050206@fourthworld.com> Message-ID: <6.1.2.0.0.20041212221640.01aeabe0@mail.armbase.com> At 21:57 12/12/2004, you wrote: >Bob Hartley wrote: >>I just don't seem to be able to find anything on the helpfile (because it >>is so comprehensive and I'm a novice) or find google list searching as >>good as other forums. > >Google's search technology generally provides more flexibility than is >possible with the less robust technology driving most forums. I too think google is great and I certainly use scholar.google.com all the time. I was just trying to search for a post that I knew I had participated in (on another machine). I couldn't see a way to search for author. >Could I trouble you for an example of a search with Google that failed to >turn up a post you were looking for? We may be looking at an indexing >problem or some other issue with Google that is correctable. It is not an indexing fault, it is just that I don't find it intuitive to search web-page after webpage for one post. I know what the answer to my problem is. Download all the mails to my HD and use my mail programme to search for posts. I can also change my mail prefs in my work machines to not delete from server. I'm going back to try and get this app started. I'll mail you all if I can't find an answer after searching the google or archive search way. Cheers Bob >Thanks in advance - > >-- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sun Dec 12 17:26:48 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 12 Dec 2004 15:26:48 -0700 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: References: <20041211165442.165BA930109@mail.runrev.com> Message-ID: On Dec 12, 2004, at 3:09 PM, Randy Padawer wrote: > Let's say a text file occasionally includes the words dogs, cats, and > fleas. I need to "read until" any of these words without skipping any. Unless the file is huge, read it in in one piece with the URL method. Then repeatedly parse it with matchText or matchChunk. Match with a pattern includes what you want and also allows you to obtain the rest of the data for processing more. I'm guessing that the pattern you want includes the front of the string, a bunch of characters, and then either one of the words. The rest is everything after that. If you need help with the regex pattern, just ask. It would be nice to give a char # offset to matchText or matchChunk, but I don't know how. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From heather at runrev.com Sun Dec 12 17:27:35 2004 From: heather at runrev.com (Heather Nagey) Date: Sun, 12 Dec 2004 22:27:35 +0000 Subject: Sexuality and Runtime Revolution In-Reply-To: <20041212191208.2D542930067@mail.runrev.com> Message-ID: > Hey guys. I'd be really, really surprised if this isn't bogus--not to > mention highly offensive. Folks, I'm sorry I didn't catch this sooner - was on the road and out of contact for most of the day. This is clearly a bogus mail, and will not be tolerated. The person concerned will be put on strict moderation or banned from the list - I'm not yet sure which. Regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From kray at sonsothunder.com Sun Dec 12 17:28:57 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 12 Dec 2004 16:28:57 -0600 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: Message-ID: On 12/12/04 4:09 PM, "Randy Padawer" wrote: > Hi, I would appreciate any help anyone may offer. Let's say a text > file occasionally includes the words dogs, cats, and fleas. I need to > "read until" any of these words without skipping any. Is there some reason you don't want to read the entire file into a variable and then work with the data from there? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarahr at genesearch.com.au Sun Dec 12 17:38:14 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 13 Dec 2004 08:38:14 +1000 Subject: simple applescript? In-Reply-To: <41B9745F.5060608@chipp.com> References: <41B9745F.5060608@chipp.com> Message-ID: <827925C0-4C8E-11D9-BB76-0003937A97B8@genesearch.com.au> Hi Chipp, As others have said, you need to include the word "file" or "alias" before the file path in your AppleScript. Also, AppleScript file paths are different to the Unix style paths used by Rev. e.g. for the same test file, AppleScript gives me this path "Sarah HD:Users:sarah:Desktop:test.txt" and Rev gives me this: "/Users/sarah/Desktop/test.txt ", with the crucial difference being that one path includes the hard disk name and the other doesn't. To convert from one to the other, you can use the AppleScript POSIX file description, but the easiest way is to use the revMacFromUnixPath function. Editing your script, I get: on mouseUp answer file "" if it is empty then exit to top put revMacFromUnixPath(it) into pPDFpath put "tell application " "e& "Finder" & quote & cr into tScript put "set the file type of alias " "e& pPDFpath "e& \ " to " "e& "PDF " "e& cr after tScript put "end tell" after tScript do tScript as Applescript put the result into sError end mouseUp Cheers, Sarah On 10 Dec 2004, at 8:05 pm, Chipp Walters wrote: > on mouseUp > answer file "" > if it is empty then exit to top > put it into pPDFpath > replace "/" with ":" in pPDFpath > if char 1 of pPDFpath is ":" then delete char 1 of pPDFpath > put "tell application " "e& "Finder" & quote & cr into tScript > put "set the file type of " "e& pPDFpath "e& \ > " to " "e& "PDF " "e& cr after tScript > put "end tell" after tScript > do tScript as Applescript > put the result into sError > end mouseUp From soapdog at mac.com Sun Dec 12 17:39:00 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 12 Dec 2004 20:39:00 -0200 Subject: The question was Re: forum In-Reply-To: <6.1.2.0.0.20041212215507.0199ba60@mail.armbase.com> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> <6.1.2.0.0.20041212215507.0199ba60@mail.armbase.com> Message-ID: <9E42E446-4C8E-11D9-B496-0003936D012E@mac.com> On Dec 12, 2004, at 7:58 PM, Bob Hartley wrote: > Hi Alex. I want to call a stack from a standalone but I'm stuck right > at the begining. > yeah! I'll answer that first with only one hand!!!! use the: go stack URL "file:/yourFolder/yourStack.rev" look for go in the docs.... cheers andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From sarahr at genesearch.com.au Sun Dec 12 17:39:38 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 13 Dec 2004 08:39:38 +1000 Subject: [OT] young developer In-Reply-To: <20041210115842.51788.qmail@web60502.mail.yahoo.com> References: <20041210115842.51788.qmail@web60502.mail.yahoo.com> Message-ID: >> Anyone who wants to have a look can go to >> . I'm sure he would >> welcome any >> feedback. >> >> Cheers, >> Sarah >> > > Hi Sarah, > > Never announce that sort of thing while I'm having > breakfast : I was almost late for work, trying to > defeat that puny Jedi ! > Nice job ; one remark though : in the version with > music, if you close the window, the exe doesn't quit > and the music keeps playing. > > Jan Schenkel. > Thanks Jan, Jack was thrilled to hear that someone was actually playing his game! He's fixed the music thing now. Cheers, Sarah From kray at sonsothunder.com Sun Dec 12 17:41:23 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 12 Dec 2004 16:41:23 -0600 Subject: Creating a catch-all for unknown handlers In-Reply-To: <20041212204133.28863.qmail@web51108.mail.yahoo.com> Message-ID: On 12/12/04 2:41 PM, "Gordon" wrote: > Dear Revolutionaries > > Is this feasible or just a crazy notion ...? > > Is there a way to create a catch-all backscript that > would catch any "unknown handler" error and then look > through a list of e.g. custom properties to see if it > could be evaluated, and then returning the value. > > This would make it possible to create custom > properties with names like client.address.zip and then > just use them in your code where a handler would > normally be. Well, you can do this now: set the client.address.zip of this stack to "90034" (later:) put the client.address.zip of this stack --> 90034 Does this not do what you want? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rev at armbase.com Sun Dec 12 17:58:22 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 22:58:22 +0000 Subject: opening stack from subfolder Message-ID: <6.1.2.0.0.20041212224343.01b48840@mail.armbase.com> Hi All I'm finally getting there. OK I can call an external stack from a standalone. i used a button in a stabndalone (called start.exe) with the script on mouseUp go to stack test.rev end mouseUp to open a stack called test.rev This works when test.rev is in the same folder as start.exe, however, when I put test.rev in a folde called "bits" and use the script on mouseUp go to stack bits\test.rev end mouseUp or on mouseUp go to stack bits/test.rev end mouseUp The test.rev file is not opend by the standalone. How do I get it to open this file. Cheers Bob From soapdog at mac.com Sun Dec 12 17:59:03 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 12 Dec 2004 20:59:03 -0200 Subject: opening stack from subfolder In-Reply-To: <6.1.2.0.0.20041212224343.01b48840@mail.armbase.com> References: <6.1.2.0.0.20041212224343.01b48840@mail.armbase.com> Message-ID: <6AFAD0DC-4C91-11D9-B496-0003936D012E@mac.com> Bob, try: go stack URL "file:bits/test.rev" Andre PS: andre is not a code snipet! On Dec 12, 2004, at 8:58 PM, Bob Hartley wrote: > Hi All > > I'm finally getting there. > > OK I can call an external stack from a standalone. > > i used a button in a stabndalone (called start.exe) with the script > on mouseUp > go to stack test.rev > end mouseUp > > to open a stack called test.rev > > This works when test.rev is in the same folder as start.exe, however, > when I put test.rev in a folde called "bits" and use the script > on mouseUp > go to stack bits\test.rev > end mouseUp > or > on mouseUp > go to stack bits/test.rev > end mouseUp > > The test.rev file is not opend by the standalone. > > How do I get it to open this file. > > Cheers > Bob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Sun Dec 12 17:59:48 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2004 14:59:48 -0800 Subject: Creating a catch-all for unknown handlers In-Reply-To: References: Message-ID: <41BCCD64.1030304@fourthworld.com> Ken Ray wrote: > On 12/12/04 2:41 PM, "Gordon" wrote: > > >>Dear Revolutionaries >> >>Is this feasible or just a crazy notion ...? >> >>Is there a way to create a catch-all backscript that >>would catch any "unknown handler" error and then look >>through a list of e.g. custom properties to see if it >>could be evaluated, and then returning the value. >> > > >>This would make it possible to create custom >>properties with names like client.address.zip and then >>just use them in your code where a handler would >>normally be. > > > Well, you can do this now: > > set the client.address.zip of this stack to "90034" > > (later:) > > put the client.address.zip of this stack > --> 90034 > > > Does this not do what you want? That's perfectly valid syntax, but Scott Raney advised me against using dot notation in property and handler names in anticipation of future exhancements which may support OOP syntax. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Sun Dec 12 18:05:14 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 12 Dec 2004 23:05:14 +0000 Subject: Creating a catch-all for unknown handlers In-Reply-To: References: <20041212204133.28863.qmail@web51108.mail.yahoo.com> Message-ID: <5.1.0.14.0.20041212230054.02b3e008@mail.tweedly.net> At 16:41 12/12/2004 -0600, Ken Ray wrote: >Well, you can do this now: > > set the client.address.zip of this stack to "90034" > >(later:) > > put the client.address.zip of this stack > --> 90034 > > >Does this not do what you want? Very nearly but not quite - Gordon's first email on a related thread was about providing and using this in a library stack - so presumably these values should be retrievable from any stack within a multi-stack application. Make the tiny change to > set the client.address.zip of stack "everywhere" to "90034" where "everywhere" is the name of the library stack, where other stacks must first "start using" it, and that should be what is needed. -- Alex. From rev at armbase.com Sun Dec 12 18:08:19 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 23:08:19 +0000 Subject: The question was Re: forum In-Reply-To: <9E42E446-4C8E-11D9-B496-0003936D012E@mac.com> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> <6.1.2.0.0.20041212215507.0199ba60@mail.armbase.com> <9E42E446-4C8E-11D9-B496-0003936D012E@mac.com> Message-ID: <6.1.2.0.0.20041212230419.01ae2870@mail.armbase.com> At 22:39 12/12/2004, you wrote: >On Dec 12, 2004, at 7:58 PM, Bob Hartley wrote: > >>Hi Alex. I want to call a stack from a standalone but I'm stuck right at >>the begining. > > >yeah! I'll answer that first with only one hand!!!! use the: > > go stack URL "file:/yourFolder/yourStack.rev" > >look for go in the docs.... Hi Andre I found go in the docs and used on mouseUp go to stack test.rev end mouseUp Thsi is ok as long as it is in the same folder but in a subfolder "bits" it wont open. I tried modifying your URL suggestion go stack URL "file:/bits/test.rev" but the file wont open in the standalone. I'll spend more time on it tomorrow. Thanks for the help. Hope your arm gets better soon. >cheers >andre > > > >-- >Andre Alves Garzia ? 2004 >Soap Dog Studios - BRAZIL >http://studio.soapdog.org > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Sun Dec 12 18:03:30 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 13 Dec 2004 00:03:30 +0100 Subject: opening stack from subfolder In-Reply-To: <6.1.2.0.0.20041212224343.01b48840@mail.armbase.com> References: <6.1.2.0.0.20041212224343.01b48840@mail.armbase.com> Message-ID: <0A1D5BA7-4C92-11D9-8AF4-000D932AE9E0@mac.com> On Dec 12 2004, at 23:58, Bob Hartley wrote: > ... > on mouseUp > go to stack bits/test.rev > end mouseUp > > The test.rev file is not opend by the standalone. > > How do I get it to open this file. > ... try on mouseUp go to stack "bits/test.rev" end mouseUp It's always a good idea to quote strings, hope that helped! Bjoernke <>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<> official ChatRev page: http://chatrev.cjb.net:8080 Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.2.5.rev" From ambassador at fourthworld.com Sun Dec 12 18:09:32 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2004 15:09:32 -0800 Subject: opening stack from subfolder In-Reply-To: <6AFAD0DC-4C91-11D9-B496-0003936D012E@mac.com> References: <6.1.2.0.0.20041212224343.01b48840@mail.armbase.com> <6AFAD0DC-4C91-11D9-B496-0003936D012E@mac.com> Message-ID: <41BCCFAC.5090600@fourthworld.com> Andre Garzia wrote: > On Dec 12, 2004, at 8:58 PM, Bob Hartley wrote: > >> Hi All >> >> I'm finally getting there. >> >> OK I can call an external stack from a standalone. >> >> i used a button in a stabndalone (called start.exe) with the script >> on mouseUp >> go to stack test.rev >> end mouseUp >> >> to open a stack called test.rev >> >> This works when test.rev is in the same folder as start.exe, however, >> when I put test.rev in a folde called "bits" and use the script >> on mouseUp >> go to stack bits\test.rev >> end mouseUp >> or >> on mouseUp >> go to stack bits/test.rev >> end mouseUp >> >> The test.rev file is not opend by the standalone. What is the value of "the result" immediately after attempting to open the file? > try: > > go stack URL "file:bits/test.rev" Bob may want to use "binfile" instead of "file", as the latter will convert line endings which may invalidate the binary stack data. Also, the two forms of opening stacks accomplish different things: using the URL form copies it into RAM in a way that disassociates its file name. If the stack is to be discarded or have some other file name assigned to it that will be fine, but if I understand this correctly attempting to use "save" on a stack opened with "go URL" will put an error in the result. Bob, I would put the stack path in quotes to be safe. Or perhaps simpler, make an entry in the main stack's stackFiles property for this other stack file: myStack,bits/test.rev ...where MyStack is the name of the stack object in that stack file. Then you can use the short form: go stack myStack -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From soapdog at mac.com Sun Dec 12 18:09:45 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 12 Dec 2004 21:09:45 -0200 Subject: The question was Re: forum In-Reply-To: <6.1.2.0.0.20041212230419.01ae2870@mail.armbase.com> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> <6.1.2.0.0.20041212215507.0199ba60@mail.armbase.com> <9E42E446-4C8E-11D9-B496-0003936D012E@mac.com> <6.1.2.0.0.20041212230419.01ae2870@mail.armbase.com> Message-ID: anyone know if this require libURL? andre On Dec 12, 2004, at 9:08 PM, Bob Hartley wrote: > Thsi is ok as long as it is in the same folder but in a subfolder > "bits" it wont open. > I tried modifying your URL suggestion > go stack URL "file:/bits/test.rev" but the file wont open in the > standalone. > > I'll spend more time on it tomorrow. > > Thanks for the help. > > Hope your arm gets better soon. > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From rev at armbase.com Sun Dec 12 18:17:57 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 12 Dec 2004 23:17:57 +0000 Subject: opening stack from subfolder In-Reply-To: <6AFAD0DC-4C91-11D9-B496-0003936D012E@mac.com> References: <6.1.2.0.0.20041212224343.01b48840@mail.armbase.com> <6AFAD0DC-4C91-11D9-B496-0003936D012E@mac.com> Message-ID: <6.1.2.0.0.20041212231438.01b04248@mail.armbase.com> At 22:59 12/12/2004, you wrote: >Bob, Hi Andre and Bjoernke I used on mouseUp go to stack "bits/test.rev" end mouseUp It is perfect now >Andre >PS: andre is not a code snipet! I'm sorry I don't understand. Thanks for the help in this very simple request. I can now get to designing the real app. I really appreciate it. All the best Bob; Sunny Scotland From alex at tweedly.net Sun Dec 12 18:19:43 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 12 Dec 2004 23:19:43 +0000 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: References: <20041211165442.165BA930109@mail.runrev.com> Message-ID: <5.1.0.14.0.20041212231004.02b43a70@mail.tweedly.net> At 15:26 12/12/2004 -0700, Dar Scott wrote: >On Dec 12, 2004, at 3:09 PM, Randy Padawer wrote: > >>Let's say a text file occasionally includes the words dogs, cats, and >>fleas. I need to "read until" any of these words without skipping any. > >Unless the file is huge, read it in in one piece with the URL method. > >Then repeatedly parse it with matchText or matchChunk. Match with a >pattern includes what you want and also allows you to obtain the rest of >the data for processing more. I'm guessing that the pattern you want >includes the front of the string, a bunch of characters, and then either >one of the words. The rest is everything after that. If you need help >with the regex pattern, just ask. > >It would be nice to give a char # offset to matchText or matchChunk, but I >don't know how. Can't you just do matchText(char currOffset to -1 of theString, tRegEx, tVars) Or, if that won't work, put "." & currOffset & tRegEx into tempRegEx matchText(theString, tempRegEx, tVars) (so the first match is the .N where N is the offset ) ? (Ugly, but I've seen something like this used before in Perl, where ugliness seemed natural :-) -- Alex. From mwieder at ahsoftware.net Sun Dec 12 18:56:53 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 15:56:53 -0800 Subject: parsing comments in scripts In-Reply-To: References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> <1812696437.20041212101605@ahsoftware.net> <221899F0-4C6D-11D9-AED8-000A9567A3E6@swcp.com> <3110717801.20041212122946@ahsoftware.net> Message-ID: <16323144890.20041212155653@ahsoftware.net> Dar- Sunday, December 12, 2004, 2:04:10 PM, you wrote: DS> And it also ties to recent discussion on parsing scripts. Should a DS> preprocessor allow for uncommented junk at the top level, or should it DS> assume a clean script? Well, for my own preprocessing purposes, anything not rigorously syntactically correct is an error. I suppose others may have differing needs. If nobody's said it yet, let me be the first to say that I think uncommented junk is still junk. -- -Mark Wieder mwieder at ahsoftware.net From Ms1 at soas.ac.uk Sun Dec 12 19:10:37 2004 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Mon, 13 Dec 2004 00:10:37 +0000 Subject: Trail version to small to read Message-ID: <1102896637.c10088e0Ms1@soas.ac.uk> I downloaded a limlted period (windows xp)version to try. Tha main menu is too small and I fail to alter it. I use to have and still have an old full version for the mac which is in a resonable size and felxible to tailor . While all other programms run in a readable size this version refuse to so. How can I set the menubar to fit the screen (non microscopically11)? please help From katir at hindu.org Sun Dec 12 19:45:14 2004 From: katir at hindu.org (Sivakatirswami) Date: Sun, 12 Dec 2004 14:45:14 -1000 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> Message-ID: <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> ;-( things are getting worse instead of better. Now I seemed to have shot myself in the foot and cannot even get the postmaster/server to start up at all...let alone connect with rev... OK, following all the advice as bes as I can and also the postgres docs....here's where i stand: =========== OK first of all Pierre was correct, after initdb on installtion, the pg_hba file was in fact automatically installed with two client authenticate records as follows: pg_hba.conf # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD local all all trust # IPv4-style local connections: host all all 127.0.0.1 255.255.255.255 trust # I infer from this that "localhost" should work automatically, assuming we can start the server and tcp/ip connections are allowed... So I then edited postmaster.conf and uncommented only three lines, tcpip, max_connections and port.... # - Connection Settings - tcpip_socket = true max_connections = 50 # note: increasing max_connections costs about 500 bytes of shared # memory per connection slot, in addition to costs from shared_buffers # and max_locks_per_transaction. #superuser_reserved_connections = 2 port = 5432 #unix_socket_directory = '' #unix_socket_group = '' #unix_socket_permissions = 0777 # octal #virtual_host = '' # what interface to listen on; defaults to any #rendezvous_name = '' # defaults to the computer name # - Security & Authentication - #authentication_timeout = 60 # 1-600, in seconds #ssl = false #password_encryption = true #krb_server_keyfile = '' #db_user_namespace = false lines (and more lines, all commented out) ======== OK, that seems to fulfill everyone's guidance... but: katir:/usr/local/pgsql/data postgres$ pg_ctl -D /usr/local/pgsql/data -i -l logfile start katir:/usr/local/pgsql/data postgres$ katir:/usr/local/pgsql/bin postgres$ ./psql katir_test psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? katir:/usr/local/pgsql/bin postgres$ So, no I cannot even start up the server at all. ?? Sivakatirswami On Dec 12, 2004, at 9:08 AM, Hershel Fisch wrote: > Hi , in order to run thru a tcp/ip connection it has to be enabled > first , to do so eithre you enable the tcp/ip or you start it > with an -I flag. > su - postgres > password > postgres% "/usr/local/bin/postmaster -D /usr/local/pgsql/data ?I" ( > this is the -I flag you enter) > Hershel Fisch From mwieder at ahsoftware.net Sun Dec 12 20:01:30 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2004 17:01:30 -0800 Subject: forum In-Reply-To: <6.1.2.0.0.20041212221640.01aeabe0@mail.armbase.com> References: <6.1.2.0.0.20041212131502.019aeb90@mail.armbase.com> <6.1.2.0.0.20041212214454.019a4e88@mail.armbase.com> <41BCBEB3.8050206@fourthworld.com> <6.1.2.0.0.20041212221640.01aeabe0@mail.armbase.com> Message-ID: <12827021334.20041212170130@ahsoftware.net> Bob- Sunday, December 12, 2004, 2:27:11 PM, you wrote: BH> I too think google is great and I certainly use scholar.google.com all the BH> time. I was just trying to search for a post that I knew I had participated BH> in (on another machine). I couldn't see a way to search for author. Hint #1: put your name into the "exact phrase" field, either on Google's advanced search page or in my plugin. Hint #2: if you're using my plugin and you're reading a post from someone, clicking on their name in the author field will do a new search on the author's name. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Sun Dec 12 20:11:44 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 12 Dec 2004 18:11:44 -0700 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> Message-ID: On Dec 12, 2004, at 5:19 AM, Alex Tweedly wrote: > I'd prefer if they removed the feature entirely, or as you suggested > used "disabled" or some such keyword rather than a comment, preceding > the first line of the handler. My preference is to allow nothing at the top but but top level things, currently local, global, constant, on...end, function...end and comments. I'm ok with 'disabled' being at that top level if the handler is parsed or partially parsed. Currently, if I have a typo in funtion, then the script might compile without errors, but I'd be missing a function (and maybe a different one used) and have some constants and variables in script local that I didn't intend. Dar From dsc at swcp.com Sun Dec 12 20:14:58 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 12 Dec 2004 18:14:58 -0700 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: <5.1.0.14.0.20041212231004.02b43a70@mail.tweedly.net> References: <20041211165442.165BA930109@mail.runrev.com> <5.1.0.14.0.20041212231004.02b43a70@mail.tweedly.net> Message-ID: <67F71E7C-4CA4-11D9-A904-000A9567A3E6@swcp.com> On Dec 12, 2004, at 4:19 PM, Alex Tweedly wrote: > Can't you just do > matchText(char currOffset to -1 of theString, tRegEx, tVars) Yes, but that doesn't avoid copying of the "rest" part in repeated matching. > > Or, if that won't work, > put "." & currOffset & tRegEx into tempRegEx > matchText(theString, tempRegEx, tVars) > (so the first match is the .N where N is the offset ) ? > (Ugly, but I've seen something like this used before in Perl, where > ugliness seemed natural :-) If this is fast, then I like this kind of approach. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From jsng at wayoflife.org Sun Dec 12 20:04:03 2004 From: jsng at wayoflife.org (Jesse Sng) Date: Mon, 13 Dec 2004 09:04:03 +0800 Subject: Widgets in Tiger Dashboard In-Reply-To: <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> Message-ID: Has anyone figured out whether it would be possible for Revolution to be used in creating Dashboard Widgets for Apple's upcoming Tiger operating system release? There's a new paper that's released on how to write widgets and I'm wondering if someone's been thinking about it? Jesse Sng From ambassador at fourthworld.com Sun Dec 12 20:19:14 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2004 17:19:14 -0800 Subject: Widgets in Tiger Dashboard In-Reply-To: References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> Message-ID: <41BCEE12.8000304@fourthworld.com> Jesse Sng wrote: > > Has anyone figured out whether it would be possible for Revolution to be > used in creating Dashboard Widgets for Apple's upcoming Tiger operating > system release? If memory serves, I believe those are spec'd as JavaScript only. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Sun Dec 12 20:22:46 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Dec 2004 19:22:46 -0600 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> Message-ID: <41BCEEE6.1080500@hyperactivesw.com> On 12/12/04 6:19 AM, Alex Tweedly wrote: > Yeah - it certainly has some difficulties. In some ways I don't care > whether they change the docs or the app - I just don't like them > disagreeing. > >> It is straightforward to select the entire handler and select >> "Comment" from the script menu. An alternative might be to >> temporarily change the spelling of the name. > > > That's what I've always done (since I didn't know about this "feature"), > and what I intend to keep on doing - so I'll never (deliberately) use > this feature, and hopefully I will never be affected by it. I see the point people are making, but I'd sure miss the current behavior if it changed. The ability to comment out an entire handler by commenting the first line has been in xtalk for 18 years. I have become dependent on it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 12 20:45:59 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Dec 2004 19:45:59 -0600 Subject: Start Using In-Reply-To: <20041212171035.47864.qmail@web51106.mail.yahoo.com> References: <20041212171035.47864.qmail@web51106.mail.yahoo.com> Message-ID: <41BCF457.9000902@hyperactivesw.com> On 12/12/04 11:10 AM, Gordon wrote: > What's the difference between a command and a > function- I even tried setting "setGlobal" back to a > function and returning something, but then I got the > old "handler not found" error again. I am confused > about commands and functions - why are my functions > not seen and which should I use and when? > Commands and functions are almost exactly the same, except that a function formally returns a value. Commands can return values too, but don't worry about that yet. When you call a function in a script, it acts just like a variable. For example: function myTime return the time end myTime Now I can use that function in a script just as though it were a variable: put myTime() into fld 1 I have an old essay on functions; if I can find it, I will post it here under its own topic heading. > I don't mind having to pay for the rev manual, but > couldn't they send it electronically to help users > while they're waiting the 3-4 weeks it takes for the > paper versions to arrive by snail mail. It's really > hard trying to figure all this out from the > documention window that comes with rev. It doesn't > give any kind of overview of the Transcript language > that one would need to understand enough to really get > going. I am praying for my manuals to arrive a.s.a.p. The manuals are printed versions of the online docs, and there isn't much difference. For an overview of transcript/stack concepts, the Shafer book is good. There is also quite a bit of information in the Rev docs if you look beyond the dictionary; try the FAQ, the object topics, etc. About your original question regarding "in use" stacks: When you put a stack in use, only the stack script itself gets shared. If your scripts are in a button or a card, putting the stack in use won't cause them to be "seen". There are two ways you can fix this. The first way: put all the handlers you want to share into the script of the stack, not in any other place. Then when the stack is put in use, its stack script is available everywhere and all open stacks can use it. The second way: insert the script of the object that has your shared handlers into the message hierarchy. If you are storing the handlers you want to share in a button script, then: insert script of btn "myLibScripts" of stack "mySharedStack" into back This places the button script into the back of the message path and all your other scripts can use it. Either method works. There are some subtle reasons to choose one method over the other, but it probably doesn't matter in this case. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jsng at wayoflife.org Sun Dec 12 21:33:14 2004 From: jsng at wayoflife.org (Jesse Sng) Date: Mon, 13 Dec 2004 10:33:14 +0800 Subject: Widgets in Tiger Dashboard In-Reply-To: <41BCEE12.8000304@fourthworld.com> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> <41BCEE12.8000304@fourthworld.com> Message-ID: >Jesse Sng wrote: >> >>Has anyone figured out whether it would be possible for Revolution >>to be used in creating Dashboard Widgets for Apple's upcoming Tiger >>operating system release? > >If memory serves, I believe those are spec'd as JavaScript only. It is designed to work with also code bundles. The test environment is apparently Safari, where the stuff is invoked via some Javascript. But you can also have html code to specify a bundle to be loaded instead. They are already talking about being able to load Shockwave (basically anything that can be loaded into Safari) as a widget also. Jesse From kray at sonsothunder.com Sun Dec 12 21:56:56 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 12 Dec 2004 20:56:56 -0600 Subject: Creating a catch-all for unknown handlers In-Reply-To: <5.1.0.14.0.20041212230054.02b3e008@mail.tweedly.net> Message-ID: On 12/12/04 5:05 PM, "Alex Tweedly" wrote: >> Very nearly but not quite - Gordon's first email on a related thread was > about providing and using this in a library stack - so presumably these > values should be retrievable from any stack within a multi-stack > application. Make the tiny change to > >> set the client.address.zip of stack "everywhere" to "90034" > > where "everywhere" is the name of the library stack, where other stacks > must first "start using" it, and that should be what is needed. True, but for a library, it might be better served by an accessor function: put libMyLib_GetZip() into tZip and in the library: function libMyLib_GetZip return (the client.address.zip of this stack) end libMyLib_GetZip Of course, Richard's comments about dot notation not withstanding... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Mon Dec 13 00:32:37 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Dec 2004 23:32:37 -0600 Subject: What's a function Message-ID: <41BD2975.1000304@hyperactivesw.com> I said elsewhere that I'd post my article about the differences between a function and a command handler. For anyone interested, I've put it online here: This is specifically aimed at new Transcripters, so I've tried to keep the jargon to a minimum and the example handlers a bit more verbose. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Dec 13 00:38:41 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 12 Dec 2004 22:38:41 -0700 Subject: parsing comments in scripts In-Reply-To: <41BCEEE6.1080500@hyperactivesw.com> References: <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> <41BCEEE6.1080500@hyperactivesw.com> Message-ID: <3F4879C1-4CC9-11D9-9B56-000A9567A3E6@swcp.com> On Dec 12, 2004, at 6:22 PM, J. Landman Gay wrote: > I see the point people are making, but I'd sure miss the current > behavior if it changed. The ability to comment out an entire handler > by commenting the first line has been in xtalk for 18 years. I have > become dependent on it. As Alex pointed out, it is really only an illusion for Transcript. It doesn't work. As for Hypertalk, my copy of "Hypercard Script Language Guide: The HyperTalk Language" says "Statements always appear in handlers in a script. Any part of a statement following HyperTalk's double-hyphen comment character (--) is ignored by HyperCard." I read this as saying that the ability was not intended to be part of HyperCard. I am curious if others use the technique of commenting out a handler by commenting out the first line. Maybe there is a way to rescue this kind of thing in a clean way. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From psahores at easynet.fr Mon Dec 13 03:11:31 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Mon, 13 Dec 2004 09:11:31 +0100 Subject: Sexuality and Runtime Revolution In-Reply-To: References: Message-ID: <98C27206-4CDE-11D9-9D76-000A95C61E96@easynet.fr> Thanks Heather. Best Regards, Pierre Le 12 d?c. 04, ? 23:27, Heather Nagey a ?crit : >> Hey guys. I'd be really, really surprised if this isn't bogus--not to >> mention highly offensive. > > Folks, I'm sorry I didn't catch this sooner - was on the road and out > of > contact for most of the day. > > This is clearly a bogus mail, and will not be tolerated. The person > concerned will be put on strict moderation or banned from the list - > I'm not > yet sure which. > > Regards, > > Heather > -- > > ** For a faster response to all licensing, support, and technical > issues, > please now send mail to support at runrev.com ** > > Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 > ~~~ Check our web site for new Revolution editions & special offers ~~~ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at easynet.fr Mon Dec 13 03:20:49 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Mon, 13 Dec 2004 09:20:49 +0100 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> Message-ID: Hello Katir, If you run in troubles with the Postgres for Mac OS X installation process, take time to reinstall from scratch in using the Mark Liyanage's Postgres.DMG and How-to that you can find at . Best Regards, Pierre Le 13 d?c. 04, ? 01:45, Sivakatirswami a ?crit : > ;-( things are getting worse instead of better. Now I seemed to have > shot myself in the foot and cannot even get the postmaster/server to > start up at all...let alone connect with rev... OK, following all the > advice as bes as I can and also the postgres docs....here's where i > stand: > > =========== > > OK first of all Pierre was correct, after initdb on installtion, the > pg_hba file was in fact automatically installed with two client > authenticate records as follows: > > pg_hba.conf > > # TYPE DATABASE USER IP-ADDRESS IP-MASK > METHOD > > local all all > trust > # IPv4-style local connections: > host all all 127.0.0.1 255.255.255.255 > trust > > # I infer from this that "localhost" should work automatically, > assuming we can start the server and tcp/ip connections are allowed... > > So I then edited postmaster.conf and uncommented only three lines, > tcpip, max_connections and port.... > > # - Connection Settings - > > tcpip_socket = true > max_connections = 50 > # note: increasing max_connections costs about 500 bytes of > shared > # memory per connection slot, in addition to costs from > shared_buffers > # and max_locks_per_transaction. > #superuser_reserved_connections = 2 > port = 5432 > #unix_socket_directory = '' > #unix_socket_group = '' > #unix_socket_permissions = 0777 # octal > #virtual_host = '' # what interface to listen on; > defaults to any > #rendezvous_name = '' # defaults to the computer name > > # - Security & Authentication - > > #authentication_timeout = 60 # 1-600, in seconds > #ssl = false > #password_encryption = true > #krb_server_keyfile = '' > #db_user_namespace = false lines > (and more lines, all commented out) > > ======== > > OK, that seems to fulfill everyone's guidance... but: > > > katir:/usr/local/pgsql/data postgres$ pg_ctl -D /usr/local/pgsql/data > -i -l logfile start > katir:/usr/local/pgsql/data postgres$ > > katir:/usr/local/pgsql/bin postgres$ ./psql katir_test > > psql: could not connect to server: No such file or directory > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > katir:/usr/local/pgsql/bin postgres$ > > So, no I cannot even start up the server at all. > > ?? > > Sivakatirswami > > > > > On Dec 12, 2004, at 9:08 AM, Hershel Fisch wrote: > >> Hi , in order to run thru a tcp/ip connection it has to be enabled >> first , to do so eithre you enable the tcp/ip or you start it >> with an -I flag. >> su - postgres >> password >> postgres% "/usr/local/bin/postmaster -D /usr/local/pgsql/data ?I" ( >> this is the -I flag you enter) >> Hershel Fisch > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From martin at materiaprima.fsnet.co.uk Mon Dec 13 03:23:55 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Mon, 13 Dec 2004 03:23:55 -0500 (EST) Subject: parsing comments in scripts In-Reply-To: <3F4879C1-4CC9-11D9-9B56-000A9567A3E6@swcp.com> References: <41BCEEE6.1080500@hyperactivesw.com> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041210124601.028c9158@mail.tweedly.net> <1453581479.20041210122823@ahsoftware.net> <5.1.0.14.0.20041211121614.02947e70@mail.tweedly.net> <5.1.0.14.0.20041211192048.029d10f0@mail.tweedly.net> <5.1.0.14.0.20041212121039.029bedb8@mail.tweedly.net> <41BCEEE6.1080500@hyperactivesw.com> Message-ID: >On Dec 12, 2004, at 6:22 PM, J. Landman Gay wrote: > >> I see the point people are making, but I'd sure miss the current >> behavior if it changed. The ability to comment out an entire handler >> by commenting the first line has been in xtalk for 18 years. I have >> become dependent on it. > >As Alex pointed out, it is really only an illusion for Transcript. It >doesn't work. > >As for Hypertalk, my copy of "Hypercard Script Language Guide: The >HyperTalk Language" says "Statements always appear in handlers in a >script. Any part of a statement following HyperTalk's double-hyphen >comment character (--) is ignored by HyperCard." I read this as saying >that the ability was not intended to be part of HyperCard. > >I am curious if others use the technique of commenting out a handler by >commenting out the first line. Maybe there is a way to rescue this >kind of thing in a clean way. > >Dar Yes I do use it occasionally, when I want to quickly disable a handler for debugging or somesuch purpose. If I want to disable a handler on a more long term basis I would comment the whole thing out. My habit is that I wouldn't actually save a stack with handlers commented out this way. As Jacqueline pointed out, this was a standard practise in Hypercard. And as you note Dar, in that environment there was really no problem with "junk" in the sense you mean because anything outside of a handler declaration was simply ignored, since there was no syntax at all that was valid outside a handler. On the slower machines of those days it was more efficient to disable a script by commenting one line than to comment the whole thing, which might also introduce enough characters to drive the script beyond the old length limit of 30000 characters. I do wonder though how likely it is that you would comment : -- on whatever either accidentally or with any other purpose than disabling the handler ? Martin From ambassador at fourthworld.com Mon Dec 13 03:45:48 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Dec 2004 00:45:48 -0800 Subject: What's a function In-Reply-To: <41BD2975.1000304@hyperactivesw.com> References: <41BD2975.1000304@hyperactivesw.com> Message-ID: <41BD56BC.5030604@fourthworld.com> J. Landman Gay wrote: > I said elsewhere that I'd post my article about the differences between > a function and a command handler. For anyone interested, I've put it > online here: > > > > This is specifically aimed at new Transcripters, so I've tried to keep > the jargon to a minimum and the example handlers a bit more verbose. Excellent work, Jacque. You do have a gift for the art of the explanation. I've added that to the list of tutorials on my Rev page. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From BNZ2 at CDC.GOV Mon Dec 13 09:01:29 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Mon, 13 Dec 2004 09:01:29 -0500 Subject: testing on case Message-ID: <64878EF567131D4596246171F75FD4A9469E16@m-epo-1.epo.cdc.gov> Well - what is the value of z... If your using z rather than "z", then, maybe there is some issue with the value of whatever you are putting into the variable z. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of James.Cass at sealedair.com Sent: Friday, December 10, 2004 11:12 AM To: How to use Revolution Subject: RE: testing on case Jonathan - That's weird, right? When I do this in the messagebox or in a button script: put matchText( z, "^[A-Z]") I definitely get "false" returned. But when I do this in the messagebox put matchText( z, "^[aA-zZ]") I get true. This is the way I would expect it to behave. I don't know why you would be getting different results. Hmmmm. I'm running Rev 2.5 on MacOSX 10.3.6. - James "Lynch, Jonathan" Sent by: use-revolution-bounces at lists.runrev.com 12/09/04 04:02 PM Please respond to How to use Revolution To: "How to use Revolution" cc: Subject: RE: testing on case Hi James... I tried: matchText( z, "^[A-Z]") and it worked fine for me... I tested it in the message box... matchText("b","^[A-Z]") returned false, and matchText("B","^[A-Z]") returned true -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of James.Cass at sealedair.com Sent: Thursday, December 09, 2004 3:47 PM To: How to use Revolution Subject: Re: testing on case > The expression matchText( z, "^[A-Z]") > will return true if (and only when) the > first character is an ASCII capital letter. That returns "false" for me. You'll need to do it like this to cover upper and lower case. matchText(z,"^[aA-zZ]") Cheers...James |---------+---------------------------------------> | | Dar Scott | | | Sent by: | | | use-revolution-bounces at lists| | | .runrev.com | | | | | | | | | 12/09/04 02:53 PM | | | Please respond to How to use| | | Revolution | |---------+---------------------------------------> >----------------------------------------------------------------------- ---------------------------------| | | | To: How to use Revolution | | cc: | | Subject: Re: testing on case | >----------------------------------------------------------------------- ---------------------------------| On Dec 9, 2004, at 11:46 AM, Hershel Fisch wrote: >> if matchText( param(x), "^[A-Z]") then put xxx else put x > I don't get it The expression matchText( z, "^[A-Z]") will return true if (and only when) the first character is an ASCII capital letter. The "^" matches the beginning of the string (or line). A more exact pattern is "\A"; I used "^" because it might be more familiar. The immediately following pattern [A-Z] matches any letter in the range A-Z in ASCII. It must match right after the previous pattern match, that is, the beginning. There is no pattern matching for the end of the string so the rest of the string z does not matter. That is, matchText() returns true if the pattern occurs anywhere in the string, not just if it matches the whole string. (Use \A and \z to match the ends to make a pattern match the whole string.) You can find more info on regular expressions here: http://www.perldoc.com/perl5.8.0/pod/perlre.html But you have to skip over all the perl specific parts. You can find more specific information on exact usage of the actual library used in Revolution and (I assume) Dreamcard here: http://www.pcre.org/pcre.txt But you have to skip over all the building and calling parts. Skip down to PCRE REGULAR EXPRESSION DETAILS. I think you need to skip over the unicode and UTF-8 paragraphs, too, for now. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Mon Dec 13 09:12:40 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 13 Dec 2004 08:12:40 -0600 Subject: parsing comments in scripts In-Reply-To: <3F4879C1-4CC9-11D9-9B56-000A9567A3E6@swcp.com> Message-ID: On 12/12/04 11:38 PM, "Dar Scott" wrote: > I am curious if others use the technique of commenting out a handler by > commenting out the first line. Maybe there is a way to rescue this > kind of thing in a clean way. Well, I know of at least one other person that does this, so it may have quite a following... perhaps commenting out the first line automatically comments out the whole handler? That is, when you close and reopen the script the handler is fully commented? Just a thought... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From BNZ2 at CDC.GOV Mon Dec 13 09:29:14 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Mon, 13 Dec 2004 09:29:14 -0500 Subject: Making a Rev-built app hoist itself to the foreground Message-ID: <64878EF567131D4596246171F75FD4A9469E17@m-epo-1.epo.cdc.gov> I do this in an app I am creating - and the line: Go this stack Seems to work for me. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Geoff Canyon Sent: Sunday, December 12, 2004 2:17 PM To: Use-Revolution Subject: Making a Rev-built app hoist itself to the foreground Is there a simple way I'm missing to create a Revolution app that, when called from the command line (and thus starts in the background) hoist itself to the foreground to be in front of the user? I'm looking for the cross platform transcript equivalent of AppleScript's "activate" regards, Geoff Canyon gcanyon at inspiredlogic.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From marty at vertex.ucls.uchicago.edu Mon Dec 13 09:46:41 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Mon, 13 Dec 2004 08:46:41 -0600 (CST) Subject: Sexuality and Runtime Revolution In-Reply-To: <20041212215929.BD4E2930194@mail.runrev.com> References: <20041212215929.BD4E2930194@mail.runrev.com> Message-ID: I read this as a parody -- never occured to me that anyone might take it seriously. Try reading it out loud in a thick russian accent, like Tom Lehrer in Lobachevsky. - marty > You never know with higher ed these days. > > Sigh... > > Judy > > On Sun, 12 Dec 2004, Bill wrote: > > > I agree with Andre. This could well be a serious college curriculum. > > Although the sexist comments about the professor's secretary would surely > > get him fired (perhaps he is tenured) at the least he will be suffering some > > serious suing. > > > > > > On 12/12/04 10:51 AM, "Magnus Hippolyte Batavia" > > wrote: > > > > > Here at Carthage College we are wanting lecturer to give > > > course on sexuality of Runtime Revolution (when I say > > > "mousedown" to my secretary Melanie, she has spontaneous > > > filing problems). Here at Carthage College in Coyote, > > > Wyoming, we are at the center of the community and want > > > people to feel attracted by programming: and Runtime > > > Revolution is very sexual. So we are wanting lecturer with > > > PhD to come to our College and give lectures on said > > > subject and real live demonstrations. Our program chief, Dr > > > Bhatt, has written Transcript program to remote control > > > vibrator; but stupid students want to study Buddhism. > > > > > > Melanie says she prefers me to do her in lunch break; not > > > attending courses on programming - but she is stupid > > > person; only good for filing. > > > > > > Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma From gwalias-rev at yahoo.com Mon Dec 13 09:57:53 2004 From: gwalias-rev at yahoo.com (Gordon) Date: Mon, 13 Dec 2004 06:57:53 -0800 (PST) Subject: What's a function In-Reply-To: <41BD2975.1000304@hyperactivesw.com> Message-ID: <20041213145753.97123.qmail@web51106.mail.yahoo.com> Dear Jacqueline Many thanks for your excellent article - and many thanks to all of you who patiently answer my newbie questions. I have to say that this list is one of the best things about rev. It's heartening to see that rev has such a dynamic and helpful community. It makes you feel that anything is possible with this wonderful developmnent tool. BTW: I recently purchased a copy of "If monks had macs" from Brian Thomas's web site (http://www.rivertext.com) - it's an inspiring piece of art, recreation and education that's definitely more than the sum of it's parts and worth every penny of the $30 or so that it cost me. It was also inspiring from the point of view of seeing what can be achieved with rev. Rev's marketing slogan could be "Runtime Revolution - the second most fun you can have without laughing". Best Gordon --- "J. Landman Gay" wrote: > I said elsewhere that I'd post my article about the > differences between > a function and a command handler. For anyone > interested, I've put it > online here: > > > > This is specifically aimed at new Transcripters, so > I've tried to keep > the jargon to a minimum and the example handlers a > bit more verbose. > > -- > Jacqueline Landman Gay | > jacque at hyperactivesw.com > HyperActive Software | > http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From gcanyon at inspiredlogic.com Mon Dec 13 10:08:30 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 13 Dec 2004 07:08:30 -0800 Subject: Making a Rev-built app hoist itself to the foreground In-Reply-To: References: <6C72D9B4-4C72-11D9-AC30-000A95A872D6@inspiredlogic.com> Message-ID: On Dec 12, 2004, at 2:10 PM, Sarah Reichelt wrote: >> Is there a simple way I'm missing to create a Revolution app that, >> when called from the command line (and thus starts in the background) >> hoist itself to the foreground to be in front of the user? I'm >> looking for the cross platform transcript equivalent of AppleScript's >> "activate" >> > I wonder what happens if you set the relevant window to be a > systemWindow and then set it back again? Presumably it would come to > the front when set to systemWindow, but will it stay there? On OS X at least, it seems that there's an additional wrinkle: apps called through the shell command want to stay in the background. Even when I click on their window they stay in the background, although the window is responsive. I can drag sliders, click buttons, etc., all while the app sits happily behind everything else. I'm going to have to experiment further... regards, Geoff Canyon gcanyon at inspiredlogic.com From howard.bornstein at gmail.com Mon Dec 13 10:22:55 2004 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 13 Dec 2004 10:22:55 -0500 Subject: Sexuality and Runtime Revolution In-Reply-To: <377EB7A6-4C8D-11D9-91CE-000A95909E26@runrev.com> References: <377EB7A6-4C8D-11D9-91CE-000A95909E26@runrev.com> Message-ID: <3f07cc26041213072273dff773@mail.gmail.com> On Sun, 12 Dec 2004 22:27:35 +0000, Heather Nagey wrote: > This is clearly a bogus mail, and will not be tolerated. The person > concerned will be put on strict moderation or banned from the list - > I'm not > yet sure which. > > Regards, > > Heather > -- Just as a point of information, Mr. Batavia *has* posted to this list before under that name. See: lists.runrev.com/pipermail/ use-revolution/2004-October/045810.html lists.runrev.com/pipermail/ use-revolution/2003-August/021724.html www.mail-archive.com/ use-revolution at lists.runrev.com/msg17787.htm -- Regards, Howard Bornstein ----------------------- www.designeq.com From gizmotron at earthlink.net Mon Dec 13 10:58:35 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 13 Dec 2004 07:58:35 -0800 Subject: Sexuality and Runtime Revolution In-Reply-To: <3f07cc26041213072273dff773@mail.gmail.com> Message-ID: On Monday, December 13, 2004, at 07:22 AM, Howard Bornstein wrote: > Just as a point of information, Mr. Batavia *has* posted to this list > before under that name. Hmm? mb From gizmotron at earthlink.net Mon Dec 13 11:03:04 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 13 Dec 2004 08:03:04 -0800 Subject: test send In-Reply-To: <17979DBA-4ADA-11D9-B991-000A95743F7A@earthlink.net> Message-ID: <7891FF46-4D20-11D9-8F8D-000A95743F7A@earthlink.net> testing, please ignore Mark From dsc at swcp.com Mon Dec 13 11:15:39 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 13 Dec 2004 09:15:39 -0700 Subject: parsing comments in scripts In-Reply-To: References: Message-ID: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> On Dec 13, 2004, at 7:12 AM, Ken Ray wrote: > perhaps commenting out the first line automatically > comments out the whole handler? That is, when you close and reopen the > script the handler is fully commented? Like this? -- I wrote this -- on Christmas day -- when others were at play. local a on work local moss put a end work local b ==> -- I wrote this -- -- on Christmas day -- -- when others were at play. -- local a -- on work -- local moss -- put a -- end work local b A script local and a handler is lost by an inadvertent trigger in a comment. It currently works like this: This script with the first line commented... -- on work local moss put a end work ... is virtually compiled as though it like this... -- on work local moss -- put a -- end work ... inserting a script local variable. The technique of commenting out the first line to disable the handler does not work in Transcript. If this is fixed so '-- on xxx' patterns are recognized by the compiler, then the "on Christmas day" problem comes back. As a newbie, I was confused by some commands at the top of a script in an example stack. I thought maybe it was initialization. It turned out to be ignored by the compiler, left there for some reason by the script writer, perhaps long forgotten. Maybe it even had a commented out 'on' line, I don't remember. I would guess that HyperTalk did not have local, global or constant at the script level (outside of handlers), so there may not have been an issue. Dar Scott DSC From fde101 at fjrhome.net Mon Dec 13 11:43:08 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 11:43:08 -0500 Subject: Delete card loop crashes Rev In-Reply-To: References: Message-ID: <11B0DABA-4D26-11D9-901F-0050E410655F@fjrhome.net> Also, as pointed out previously on this list, anything which causes Rev to crash is and should be treated as a bug (the only possible exception would be a custom external which causes the crash, but you would likely know if you were using one, and none of the code you posted would seem to indicate the use of an external). This should be filed in Bugzilla, prefereably with a crash log, which can be obtained from the Console application in the Applications/Utilities folder under OS X. On Dec 12, 2004, at 7:46 AM, Robert Brenstein wrote: >> I have a stack that I use to download entire sites, Card one is set >> to cantDelete... I download the Table of contents page to that card, >> then run a script that parse the page and downloads every page on >> that has an href in the Table of Contents page... then dump to my >> hard drive.. and viola... locally accessible tutorials.. When I go >> to download a different site... I intend to delete the previous one >> with this script: >> >> on mouseup >> Answer "You are about to delete all data except card 1! This is >> unrecoverable!" with "Cancel" or "Proceed" >> if it is "Cancel" then exit mouseup >> lock screen >> put the number of cards of this stack into tLoops >> go to card tLoops >> repeat (tLoops-1) times >> delete this card >> end repeat >> end mouseup >> >> which consistently causes Rev to crash on Mac OSX >> >> Any clues? looks like a bug to me as I've used this script before >> successfully for years in Supercard, Metacard and in earlier >> renditions of Rev. >> >> Sivakatirswami > > a) comment out the lock screen to see what is going on > > the go to card tLoops takes you to the last card. When you delete it, > you end up on the next which is the first card of the stack. Then you > delete it. And I think that is where your script and the button > resides. > > b) try changing the loop > > repeat while the number of cards of this stack > 1 > go to the last card > delete this card > end repeat > > this should also work and be more efficient > > repeat while the number of cards of this stack > 1 > delete the last card of this stack > end repeat > > c) I would change the logic of the program to avoid this altogether > > keep the cards to be deleted in a substack which is a clone of a > template substack, so you simply delete that entire substack. This may > allow you to actually retain and support multiple sets in parallel. > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Mon Dec 13 11:52:43 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 11:52:43 -0500 Subject: me missing in actions... In-Reply-To: <41BBA6E4.2050609@fourthworld.com> References: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> <41BBA6E4.2050609@fourthworld.com> Message-ID: <68B676F4-4D27-11D9-901F-0050E410655F@fjrhome.net> Well, I found this site where someone could theoretically make one: http://wordherd.com/keyboards/ On Dec 11, 2004, at 9:03 PM, Richard Gaskin wrote: > Andre Garzia wrote: >> Hi folks, >> been a while since my last post, the problem was that due to a huge >> misfortune, after I arrived from Malta I got my good arm broken > > I tried finding a right-handed Dvorak layout for OS X to send to Andre > (I went through the same thing when I broke my left elbow a few years > back), and while I was able to find one for Classic I haven't for OS > X. > > OS X includes the standard Dvorak, but right-handed Dvorak is designed > specifically for the one-armed user, and was a godsend for my > productivity while I was healing. Windows ships with both > right-handed and left-handed Dvorak, but alas it seems Apple is behind > the curve on this one. > > If you know where to find a right-handed Dvorak keyboard layout for OS > X, please send it to Andre and if you don't mind please CC me so I can > bookmark it; it's a valuable resource for those who need it. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Mon Dec 13 12:09:42 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 12:09:42 -0500 Subject: forum In-Reply-To: <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> References: <5.1.0.14.0.20041212150030.02944c70@mail.tweedly.net> Message-ID: On Dec 12, 2004, at 10:07 AM, Alex Tweedly wrote: > At 13:19 12/12/2004 +0000, Bob Hartley wrote: > >> Hi All >> >> I've yet again been trawling the google search for a hint on a runrev >> topic (I cant get it in the video tutorials at the moment because I >> have not bought the video tutorials yet, only just bought studio). > > I thought the video tutorials came as part of any license - though I > must admit I've not tried to look at them (dial-up at 28.8 makes that > am unappealing prospect :-) Not *any* license, but they are included with a Studio license. Look in the mail you rec'd with the serial number for Rev 2.5; there is a separate code in that mail which you can use to unlock the video tutorials. At least there was in mine. > >> Anyway. I develop for palmOS and the IDE I use is supported via a BBS. >> >> Is there any chance of this thing being used instead of a list. I >> think it is far superior. > > Call me old-fashioned, but I like a traditional mailing list like this > one. As long as it has good search tools (Mark's one already mentioned > - I don't have a URL for it, sorry; or Google - > http://www.google.com/advanced_search?q=site:lists.runrev.com ), the > main thing that matters is the responsiveness and helpfulness of the > other people on the list/forum. > > I haven't seen many lists or forums as fast and as thorough as this > one in giving replies. Occasionally an email falls through the cracks > - but repeating the request, maybe from a different angle, is usually > all it takes to fix that. > > So - what's your question Bob ? > > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Mon Dec 13 12:18:23 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 12:18:23 -0500 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> Message-ID: On Dec 12, 2004, at 7:45 PM, Sivakatirswami wrote: > ;-( things are getting worse instead of better. Now I seemed to have > shot myself in the foot and cannot even get the postmaster/server to > start up at all...let alone connect with rev... OK, following all the > advice as bes as I can and also the postgres docs....here's where i > stand: > > =========== > > OK first of all Pierre was correct, after initdb on installtion, the > pg_hba file was in fact automatically installed with two client > authenticate records as follows: > > pg_hba.conf > > # TYPE DATABASE USER IP-ADDRESS IP-MASK > METHOD > > local all all > trust > # IPv4-style local connections: > host all all 127.0.0.1 255.255.255.255 > trust > > # I infer from this that "localhost" should work automatically, > assuming we can start the server and tcp/ip connections are allowed... > > So I then edited postmaster.conf and uncommented only three lines, > tcpip, max_connections and port.... These should all take on defaults, only the tcpip_socket value is wrong. That is the only one you should need to uncomment, then set it to true. Uncommenting the other lines certainly should not hurt, though... > > # - Connection Settings - > > tcpip_socket = true > max_connections = 50 > # note: increasing max_connections costs about 500 bytes of > shared > # memory per connection slot, in addition to costs from > shared_buffers > # and max_locks_per_transaction. > #superuser_reserved_connections = 2 > port = 5432 > #unix_socket_directory = '' > #unix_socket_group = '' > #unix_socket_permissions = 0777 # octal > #virtual_host = '' # what interface to listen on; > defaults to any > #rendezvous_name = '' # defaults to the computer name > > # - Security & Authentication - > > #authentication_timeout = 60 # 1-600, in seconds > #ssl = false > #password_encryption = true > #krb_server_keyfile = '' > #db_user_namespace = false lines > (and more lines, all commented out) > > ======== > > OK, that seems to fulfill everyone's guidance... but: > > > katir:/usr/local/pgsql/data postgres$ pg_ctl -D /usr/local/pgsql/data > -i -l logfile start This should have been "restart", not "start". Also, you should not need to specify "-i" since the tcpip_socket=true option was given in postgresql.conf. > katir:/usr/local/pgsql/data postgres$ > > katir:/usr/local/pgsql/bin postgres$ ./psql katir_test > > psql: could not connect to server: No such file or directory > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > katir:/usr/local/pgsql/bin postgres$ This is trying to connect to PostgreSQL through a UNIX domain socket rather than TCP/IP. This should still be working, but if not, try a command like this: psql -h -U dbname > > So, no I cannot even start up the server at all. Did you check the activity monitor again to see if it was running or not? The above given error message is a connectivity problem, any does not necessarily mean that the server is not running. > > ?? > > Sivakatirswami > > > > > On Dec 12, 2004, at 9:08 AM, Hershel Fisch wrote: > >> Hi , in order to run thru a tcp/ip connection it has to be enabled >> first , to do so eithre you enable the tcp/ip or you start it >> with an -I flag. >> su - postgres >> password >> postgres% "/usr/local/bin/postmaster -D /usr/local/pgsql/data ?I" ( >> this is the -I flag you enter) >> Hershel Fisch > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From janschenkel at yahoo.com Mon Dec 13 12:21:32 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 13 Dec 2004 09:21:32 -0800 (PST) Subject: Trail version to small to read In-Reply-To: <1102896637.c10088e0Ms1@soas.ac.uk> Message-ID: <20041213172133.30633.qmail@web60509.mail.yahoo.com> --- Muaadh Salih wrote: > I downloaded a limlted period (windows xp)version to > try. > Tha main menu is too small and I fail to alter it. > I use to have and still have an old full version for > the mac which is in a resonable size and felxible to > tailor . > While all other programms run in a readable size > this version refuse to so. How can I set the menubar > to fit the screen (non microscopically11)? > please help > Revolutions versions prior to 2.2 used a particular implementation, based on the Windows95 UI ; because it was emulated, you could easily adapt it to your own taste, including the menubars. Revolution 2.2 introduced a native WindowsXP theme, and ought to follow the system settings. Does your Revolution menubar look different from the menubar of other native WinXP? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Jazz up your holiday email with celebrity designs. Learn more. http://celebrity.mail.yahoo.com From janschenkel at yahoo.com Mon Dec 13 12:26:43 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 13 Dec 2004 09:26:43 -0800 (PST) Subject: mySQL & Dreamcard In-Reply-To: Message-ID: <20041213172643.82873.qmail@web60505.mail.yahoo.com> --- Stephen Barncard wrote: > Database access is a major feature reserved for > those who buy the > higher level software. I really don't think > Dreamcard is supposed to > offer database access. > > sqb > The two things that Dreamcard and the Dreamcard player doesn't support are : - SSL and industrial-strength encryption ; - Oracle database driver. So Dreamcard and the Player should be able to connect to a MySQL database, provided you're using the correct connection parameters. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From ambassador at fourthworld.com Mon Dec 13 12:51:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Dec 2004 09:51:07 -0800 Subject: me missing in actions... In-Reply-To: <68B676F4-4D27-11D9-901F-0050E410655F@fjrhome.net> References: <73EE02A4-4BA8-11D9-90B1-0003936D012E@mac.com> <41BBA6E4.2050609@fourthworld.com> <68B676F4-4D27-11D9-901F-0050E410655F@fjrhome.net> Message-ID: <41BDD68B.9040604@fourthworld.com> Frank D. Engel, Jr. wrote: >> If you know where to find a right-handed Dvorak keyboard layout for OS >> X, please send it to Andre and if you don't mind please CC me so I can >> bookmark it; it's a valuable resource for those who need it. > > Well, I found this site where someone could theoretically make one: > > http://wordherd.com/keyboards/ Alas it seems to generate only standard Dvorak rather than either of the one-handed Dvoraks. But it's a nifty tool just the same. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Mon Dec 13 13:39:46 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2004 12:39:46 -0600 Subject: parsing comments in scripts In-Reply-To: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> References: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> Message-ID: <41BDE1F2.5060902@hyperactivesw.com> On 12/13/04 10:15 AM, Dar Scott wrote: > I would guess that HyperTalk did not have local, global or constant at > the script level (outside of handlers), so there may not have been an > issue. > Exactly right, so the issue never arose. I do understand the problem you bring up. It may be that us old-timers have to evolve. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Mon Dec 13 13:45:54 2004 From: katir at hindu.org (Sivakatirswami) Date: Mon, 13 Dec 2004 08:45:54 -1000 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> Message-ID: <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> Frank, thanks for your patient responses Still no go.. katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile restart nothing happens, activity monitor doesn't show any start postgres processes started. So, I'm stumped at this moment. Is there some other log that will tell give us any useful feed back on what is happening. Pierre: Yes, I suppose I could do a complete re-install, but, since two days ago I *was* able to start the server and all that I did in the interim was to "touch" the pg_hba.conf and postgresql.conf files, I *really* would like to fix this "manually" so that I get a grip on the issues and not simply "quit" and start over again. though, if there is no definitive diagnostic then I may have not choice... In the meantime I'm logging into our new server in Connecticutt where Postgres is running just fine and going through the tutorials via ssh... creating test data bases and doing my "homework." (I'll have more to ask you about the rev ap server you installed after I get a little deeper into it...) So, not having it running on my own machine is not a show stopper, just a nuisance.. normally I would be doing this kind of R & D during hours when I am off line... now I have to do it during on-line hours= "eats my day job time." i.e. the time when I should be working on web design, content and team coordination etc. Pierre, perhaps you could email me off list your own pg_hba.conf and postgresql.conf files that you are using on your OSX machine, I would install those and see if it works Thanks! Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote: > This is trying to connect to PostgreSQL through a UNIX domain socket > rather than TCP/IP. This should still be working, but if not, try a > command like this: > > psql -h -U dbname > > >> >> So, no I cannot even start up the server at all. > > Did you check the activity monitor again to see if it was running or > not? The above given error message is a connectivity problem, any > does not necessarily mean that the server is not running. From katir at hindu.org Mon Dec 13 14:03:03 2004 From: katir at hindu.org (Sivakatirswami) Date: Mon, 13 Dec 2004 09:03:03 -1000 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> Message-ID: <9DADC4A0-4D39-11D9-9486-000A959D0AC6@hindu.org> More on this... I can start the dbase in the foreground.. katir:~ postgres$ /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data LOG: database system was shut down at 2004-12-13 08:56:00 HST LOG: checkpoint record is at 0/9E0780 LOG: redo record is at 0/9E0780; undo record is at 0/0; shutdown TRUE LOG: next transaction ID: 551; next OID: 17153 LOG: database system is ready I see three postgres processes now in the activity monitor... but I can't find a way to issue commands to it from the cmd line.. there is no prompt after the last line above. > but > katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data > -l logfile restart doesn't work.. see below. On Dec 13, 2004, at 8:45 AM, Sivakatirswami wrote: > Frank, thanks for your patient responses > > Still no go.. > > katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data > -l logfile restart > > nothing happens, activity monitor doesn't show any start postgres > processes started. > > So, I'm stumped at this moment. > > Is there some other log that will tell give us any useful feed back on > what is happening. > > Pierre: Yes, I suppose I could do a complete re-install, but, since > two days ago I *was* able to start the server and all that I did in > the interim was to "touch" the pg_hba.conf and postgresql.conf files, > I *really* would like to fix this "manually" so that I get a grip on > the issues and not simply "quit" and start over again. though, if > there is no definitive diagnostic then I may have not choice... > > > In the meantime I'm logging into our new server in Connecticutt where > Postgres is running just fine and going through the tutorials via > ssh... creating test data bases and doing my "homework." (I'll have > more to ask you about the rev ap server you installed after I get a > little deeper into it...) > > So, not having it running on my own machine is not a show stopper, > just a nuisance.. normally I would be doing this kind of R & D during > hours when I am off line... now I have to do it during on-line hours= > "eats my day job time." i.e. the time when I should be working on web > design, content and team coordination etc. > > Pierre, perhaps you could email me off list your own pg_hba.conf and > postgresql.conf files that you are using on your OSX machine, I would > install those and see if it works > > Thanks! > Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote: > >> This is trying to connect to PostgreSQL through a UNIX domain socket >> rather than TCP/IP. This should still be working, but if not, try a >> command like this: >> >> psql -h -U dbname >> >> >>> >>> So, no I cannot even start up the server at all. >> >> Did you check the activity monitor again to see if it was running or >> not? The above given error message is a connectivity problem, any >> does not necessarily mean that the server is not running. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Mon Dec 13 14:11:33 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 14:11:33 -0500 Subject: parsing comments in scripts In-Reply-To: <41BDE1F2.5060902@hyperactivesw.com> References: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> <41BDE1F2.5060902@hyperactivesw.com> Message-ID: If you found this to be so useful, why not submit a feature request? Maybe something like this would be in order: on handlerName is disabled or disabled handlerName or something like that. empty on handlerName ? On Dec 13, 2004, at 1:39 PM, J. Landman Gay wrote: > On 12/13/04 10:15 AM, Dar Scott wrote: > >> I would guess that HyperTalk did not have local, global or constant >> at the script level (outside of handlers), so there may not have been >> an issue. > > Exactly right, so the issue never arose. I do understand the problem > you bring up. It may be that us old-timers have to evolve. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Mon Dec 13 14:20:43 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 14:20:43 -0500 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <9DADC4A0-4D39-11D9-9486-000A959D0AC6@hindu.org> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> <9DADC4A0-4D39-11D9-9486-000A959D0AC6@hindu.org> Message-ID: <153F0D1D-4D3C-11D9-901F-0050E410655F@fjrhome.net> Hmm. The only non-comment lines in my pg_hba.conf are as follows: # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD local all all password # IPv4-style local connections: host all all 127.0.0.1 255.255.255.255 password # IPv6-style local connections: host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff password host all all 192.168.0.5 255.255.255.0 password My postgresql.conf is stock from the installer at http://www.entropy.ch/software/macosx/postgresql/, except for uncommenting the tcpip_socket option and setting it to true. And this is working fine. When modifying these files, did you check to ensure that you did not modify permissions on the files/folders up to that point without switching them back? Wrong permissions on the data directory and its contents will cause postgres to abort startup. You should be able to get results similar to these (watch the mode bits for the data dir and its contents; note that your results may vary slightly in other ways, and probably will): Frank-Engels-Computer:/usr/local/pgsql root# ls -l total 120 -rw------- 1 postgres wheel 155 15 Nov 11:44 .bash_history -rw------- 1 postgres wheel 135 15 Nov 11:42 .psql_history drwx------ 12 postgres wheel 408 13 Dec 08:16 data <-- drwxr-xr-x 3 postgres wheel 102 15 Nov 11:31 doc drwxr-xr-x 22 postgres wheel 748 15 Nov 11:31 include drwxr-xr-x 51 postgres wheel 1734 15 Nov 11:31 lib -rw------- 1 postgres wheel 47761 13 Dec 08:16 logfile -rw------- 1 postgres wheel 1338 26 Nov 22:28 postgres.log drwxr-xr-x 13 postgres wheel 442 15 Nov 11:31 share Frank-Engels-Computer:/usr/local/pgsql root# cd data/ Frank-Engels-Computer:/usr/local/pgsql/data root# ls -l total 56 -rw------- 1 postgres wheel 4 15 Nov 11:38 PG_VERSION drwx------ 6 postgres wheel 204 15 Nov 11:44 base drwx------ 22 postgres wheel 748 13 Dec 08:16 global drwx------ 3 postgres wheel 102 15 Nov 11:38 pg_clog -rw------- 1 postgres wheel 3376 15 Nov 11:43 pg_hba.conf <-- -rw------- 1 postgres wheel 1441 15 Nov 11:38 pg_ident.conf drwx------ 5 postgres wheel 170 6 Dec 17:42 pg_xlog -rw------- 1 postgres wheel 7777 15 Nov 11:43 postgresql.conf <-- -rw------- 1 postgres wheel 60 13 Dec 08:16 postmaster.opts -rw------- 1 postgres wheel 46 13 Dec 08:16 postmaster.pid Frank-Engels-Computer:/usr/local/pgsql/data root# On Dec 13, 2004, at 2:03 PM, Sivakatirswami wrote: > More on this... > > I can start the dbase in the foreground.. > > katir:~ postgres$ /usr/local/pgsql/bin/postmaster -D > /usr/local/pgsql/data > LOG: database system was shut down at 2004-12-13 08:56:00 HST > LOG: checkpoint record is at 0/9E0780 > LOG: redo record is at 0/9E0780; undo record is at 0/0; shutdown TRUE > LOG: next transaction ID: 551; next OID: 17153 > LOG: database system is ready > > I see three postgres processes now in the activity monitor... but I > can't find a way to issue commands to it from the cmd line.. there is > no prompt after the last line above. > > > >> but > > >> katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D >> /usr/local/pgsql/data -l logfile restart > > doesn't work.. see below. > > > > On Dec 13, 2004, at 8:45 AM, Sivakatirswami wrote: > >> Frank, thanks for your patient responses >> >> Still no go.. >> >> katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D >> /usr/local/pgsql/data -l logfile restart >> >> nothing happens, activity monitor doesn't show any start postgres >> processes started. >> >> So, I'm stumped at this moment. >> >> Is there some other log that will tell give us any useful feed back >> on what is happening. >> >> Pierre: Yes, I suppose I could do a complete re-install, but, since >> two days ago I *was* able to start the server and all that I did in >> the interim was to "touch" the pg_hba.conf and postgresql.conf files, >> I *really* would like to fix this "manually" so that I get a grip on >> the issues and not simply "quit" and start over again. though, if >> there is no definitive diagnostic then I may have not choice... >> >> >> In the meantime I'm logging into our new server in Connecticutt where >> Postgres is running just fine and going through the tutorials via >> ssh... creating test data bases and doing my "homework." (I'll have >> more to ask you about the rev ap server you installed after I get a >> little deeper into it...) >> >> So, not having it running on my own machine is not a show stopper, >> just a nuisance.. normally I would be doing this kind of R & D >> during hours when I am off line... now I have to do it during on-line >> hours= "eats my day job time." i.e. the time when I should be working >> on web design, content and team coordination etc. >> >> Pierre, perhaps you could email me off list your own pg_hba.conf and >> postgresql.conf files that you are using on your OSX machine, I would >> install those and see if it works >> >> Thanks! >> Sivakatirswami >> Himalayan Academy Publications >> at Kauai's Hindu Monastery >> katir at hindu.org >> >> www.HimalayanAcademy.com, >> www.HinduismToday.com >> www.Gurudeva.org >> www.Hindu.org >> >> On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote: >> >>> This is trying to connect to PostgreSQL through a UNIX domain socket >>> rather than TCP/IP. This should still be working, but if not, try a >>> command like this: >>> >>> psql -h -U dbname >>> >>> >>>> >>>> So, no I cannot even start up the server at all. >>> >>> Did you check the activity monitor again to see if it was running or >>> not? The above given error message is a connectivity problem, any >>> does not necessarily mean that the server is not running. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From katir at hindu.org Mon Dec 13 14:24:28 2004 From: katir at hindu.org (Sivakatirswami) Date: Mon, 13 Dec 2004 09:24:28 -1000 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <9DADC4A0-4D39-11D9-9486-000A959D0AC6@hindu.org> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> <9DADC4A0-4D39-11D9-9486-000A959D0AC6@hindu.org> Message-ID: <9B3FCBC2-4D3C-11D9-9486-000A959D0AC6@hindu.org> Success, sort of -;) Even though trying to start up with /usr/local/pgsql/bin/pg_ctl/ -D /usr/local/pgsql/data -l logfile restart fails... > postgres$ /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data works and I can connect now with Revolution... obviously because we changed the postgresql.conf tcpip setting to "true" great!... And if I quit my shell sesson and open a new one I can immediately % su postgres ./psql katir_test and I get Welcome to psql 7.4.5, the PostgreSQL interactive terminal. etc... I'm up and running in console mode as well... ;-) but, a) I'm not sure if there are hidden issues that will be problematic later because I did not restart the server with pg_ctl and b) this work around (booting the postmaster instead of running pg_ctl) begs the question of why katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile restart fails... Sivakatirswami On Dec 13, 2004, at 9:03 AM, Sivakatirswami wrote: > More on this... > > I can start the dbase in the foreground.. > > katir:~ postgres$ /usr/local/pgsql/bin/postmaster -D > /usr/local/pgsql/data > LOG: database system was shut down at 2004-12-13 08:56:00 HST > LOG: checkpoint record is at 0/9E0780 > LOG: redo record is at 0/9E0780; undo record is at 0/0; shutdown TRUE > LOG: next transaction ID: 551; next OID: 17153 > LOG: database system is ready > > I see three postgres processes now in the activity monitor... but I > can't find a way to issue commands to it from the cmd line.. there is > no prompt after the last line above. > > > >> but > > >> katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D >> /usr/local/pgsql/data -l logfile restart > > doesn't work.. see below. > > > > On Dec 13, 2004, at 8:45 AM, Sivakatirswami wrote: > >> Frank, thanks for your patient responses >> >> Still no go.. >> >> katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D >> /usr/local/pgsql/data -l logfile restart >> >> nothing happens, activity monitor doesn't show any start postgres >> processes started. >> >> So, I'm stumped at this moment. >> >> Is there some other log that will tell give us any useful feed back >> on what is happening. >> >> Pierre: Yes, I suppose I could do a complete re-install, but, since >> two days ago I *was* able to start the server and all that I did in >> the interim was to "touch" the pg_hba.conf and postgresql.conf files, >> I *really* would like to fix this "manually" so that I get a grip on >> the issues and not simply "quit" and start over again. though, if >> there is no definitive diagnostic then I may have not choice... >> >> >> In the meantime I'm logging into our new server in Connecticutt where >> Postgres is running just fine and going through the tutorials via >> ssh... creating test data bases and doing my "homework." (I'll have >> more to ask you about the rev ap server you installed after I get a >> little deeper into it...) >> >> So, not having it running on my own machine is not a show stopper, >> just a nuisance.. normally I would be doing this kind of R & D >> during hours when I am off line... now I have to do it during on-line >> hours= "eats my day job time." i.e. the time when I should be working >> on web design, content and team coordination etc. >> >> Pierre, perhaps you could email me off list your own pg_hba.conf and >> postgresql.conf files that you are using on your OSX machine, I would >> install those and see if it works >> >> Thanks! >> Sivakatirswami >> Himalayan Academy Publications >> at Kauai's Hindu Monastery >> katir at hindu.org >> >> www.HimalayanAcademy.com, >> www.HinduismToday.com >> www.Gurudeva.org >> www.Hindu.org >> >> On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote: >> >>> This is trying to connect to PostgreSQL through a UNIX domain socket >>> rather than TCP/IP. This should still be working, but if not, try a >>> command like this: >>> >>> psql -h -U dbname >>> >>> >>>> >>>> So, no I cannot even start up the server at all. >>> >>> Did you check the activity monitor again to see if it was running or >>> not? The above given error message is a connectivity problem, any >>> does not necessarily mean that the server is not running. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Dec 13 14:37:39 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 13 Dec 2004 13:37:39 -0600 Subject: Making a Rev-built app hoist itself to the foreground In-Reply-To: References: <6C72D9B4-4C72-11D9-AC30-000A95A872D6@inspiredlogic.com> Message-ID: <41BDEF83.9080002@chipp.com> Geoff, Can you somehow minimize it then maximize it programatically? Just a guess. -Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.1 - Release Date: 12/13/2004 From irog at mac.com Mon Dec 13 14:39:16 2004 From: irog at mac.com (Roger Guay) Date: Mon, 13 Dec 2004 11:39:16 -0800 Subject: No mouseUp Message-ID: I have the following script in a List field and the mouseUp handler doesn't work! I noticed that it is the "set the dragData" line in the mouseDown that disables the mouseUp. Can someone please tell me what's going on and how I can keep the mouseUp? on mouseDown get the hilitedLines of me set the dragData to line it of me end mouseDown on mouseUp beep 2 end mouseUp Thanks very much, Roger From kray at sonsothunder.com Mon Dec 13 14:43:16 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 13 Dec 2004 13:43:16 -0600 Subject: parsing comments in scripts In-Reply-To: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> Message-ID: On 12/13/04 10:15 AM, "Dar Scott" wrote: > > On Dec 13, 2004, at 7:12 AM, Ken Ray wrote: > >> perhaps commenting out the first line automatically >> comments out the whole handler? That is, when you close and reopen the >> script the handler is fully commented? > > Like this? > > -- I wrote this > -- on Christmas day > -- when others were at play. > local a > on work > local moss > put a > end work > local b > > ==> > > -- I wrote this > -- -- on Christmas day > -- -- when others were at play. > -- local a > -- on work > -- local moss > -- put a > -- end work > local b No, like this: -- on work local moss put a end work ==> -- on work -- local moss -- put a -- end work > The technique of commenting out the first line to disable the handler > does not work in Transcript. You've said this a couple of times, but I have handlers where the first line is commented and the handler *is* disabled. Can you give an example of where this is not true? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jperryl at ecs.fullerton.edu Mon Dec 13 14:47:02 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 13 Dec 2004 11:47:02 -0800 (PST) Subject: What's a function In-Reply-To: <41BD2975.1000304@hyperactivesw.com> Message-ID: Thank you, Jacque :-D Can't wait to read it! Judy On Sun, 12 Dec 2004, J. Landman Gay wrote: > I said elsewhere that I'd post my article about the differences between > a function and a command handler. For anyone interested, I've put it > online here: > > > > This is specifically aimed at new Transcripters, so I've tried to keep > the jargon to a minimum and the example handlers a bit more verbose. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Mon Dec 13 14:51:12 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 13 Dec 2004 11:51:12 -0800 (PST) Subject: Sexuality and Runtime Revolution In-Reply-To: Message-ID: I remember Lobachevsky: plagiarize, plagiarize, plagiarize! But, seriously, these days half the CFP I see in history and literature are along the lines of "Cross-dressing Transgendered Trolls and multilayered identity in Beowulf." Okay, the above is a bit of an exaggeration. But not much. Judy On Mon, 13 Dec 2004, Marty Billingsley wrote: > I read this as a parody -- never occured to me that anyone > might take it seriously. Try reading it out loud in a > thick russian accent, like Tom Lehrer in Lobachevsky. > > - marty > > > You never know with higher ed these days. > > > > Sigh... > > > > Judy > > > > On Sun, 12 Dec 2004, Bill wrote: > > > > > I agree with Andre. This could well be a serious college curriculum. > > > Although the sexist comments about the professor's secretary would surely > > > get him fired (perhaps he is tenured) at the least he will be suffering some > > > serious suing. > > > > > > > > > On 12/12/04 10:51 AM, "Magnus Hippolyte Batavia" > > > wrote: > > > > > > > Here at Carthage College we are wanting lecturer to give > > > > course on sexuality of Runtime Revolution (when I say > > > > "mousedown" to my secretary Melanie, she has spontaneous > > > > filing problems). Here at Carthage College in Coyote, > > > > Wyoming, we are at the center of the community and want > > > > people to feel attracted by programming: and Runtime > > > > Revolution is very sexual. So we are wanting lecturer with > > > > PhD to come to our College and give lectures on said > > > > subject and real live demonstrations. Our program chief, Dr > > > > Bhatt, has written Transcript program to remote control > > > > vibrator; but stupid students want to study Buddhism. > > > > > > > > Melanie says she prefers me to do her in lunch break; not > > > > attending courses on programming - but she is stupid > > > > person; only good for filing. > > > > > > > > Magnus Hippolyte Batavia, PhD, DSc, Sarvabhauma > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Mon Dec 13 14:53:05 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 14:53:05 -0500 Subject: Making a Rev-built app hoist itself to the foreground In-Reply-To: <41BDEF83.9080002@chipp.com> References: <6C72D9B4-4C72-11D9-AC30-000A95A872D6@inspiredlogic.com> <41BDEF83.9080002@chipp.com> Message-ID: <9ADBA0DF-4D40-11D9-901F-0050E410655F@fjrhome.net> You might try something like this, making the obvious substitution for the app title and fixing your trigger conditions, etc. (this works for me in a button script, I click the button and switch apps, shortly after which Rev automatically brings itself to the front): on mouseUp wait for 20 sec do "tell application " & quote & "Revolution" & quote & "to activate" as appleScript end mouseUp On Dec 13, 2004, at 2:37 PM, Chipp Walters wrote: > Geoff, > > Can you somehow minimize it then maximize it programatically? Just a > guess. > > -Chipp > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.296 / Virus Database: 265.5.1 - Release Date: 12/13/2004 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ From katir at hindu.org Mon Dec 13 15:15:09 2004 From: katir at hindu.org (Sivakatirswami) Date: Mon, 13 Dec 2004 10:15:09 -1000 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <153F0D1D-4D3C-11D9-901F-0050E410655F@fjrhome.net> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> <9DADC4A0-4D39-11D9-9486-000A959D0AC6@hindu.org> <153F0D1D-4D3C-11D9-901F-0050E410655F@fjrhome.net> Message-ID: OK, see previous memo on this... I *had* deleted the line with all the ffff:ffff:ffff: but.. seeing this.. I reinserted it..think, so, my pg_hba.conf looks just like yours but: katir:/Users/katir postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile restart still fails, no error msg... just, nothing happens. I guess i should take this to a postgres forum now... ? Thanks for you patience and help so far... at least i can start up via the postmaster (see previous memo) Sivakatirswami On Dec 13, 2004, at 9:20 AM, Frank D. Engel, Jr. wrote: > Hmm. > > The only non-comment lines in my pg_hba.conf are as follows: > > # TYPE DATABASE USER IP-ADDRESS IP-MASK > METHOD > > local all all > password > # IPv4-style local connections: > host all all 127.0.0.1 255.255.255.255 > password > # IPv6-style local connections: > host all all ::1 > ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff password > > host all all 192.168.0.5 255.255.255.0 > password > > > My postgresql.conf is stock from the installer at > http://www.entropy.ch/software/macosx/postgresql/, except for > uncommenting the tcpip_socket option and setting it to true. > > And this is working fine. > > When modifying these files, did you check to ensure that you did not > modify permissions on the files/folders up to that point without > switching them back? Wrong permissions on the data directory and its > contents will cause postgres to abort startup. > > You should be able to get results similar to these (watch the mode > bits for the data dir and its contents; note that your results may > vary slightly in other ways, and probably will): > > > Frank-Engels-Computer:/usr/local/pgsql root# ls -l > total 120 > -rw------- 1 postgres wheel 155 15 Nov 11:44 .bash_history > -rw------- 1 postgres wheel 135 15 Nov 11:42 .psql_history > drwx------ 12 postgres wheel 408 13 Dec 08:16 data > <-- > drwxr-xr-x 3 postgres wheel 102 15 Nov 11:31 doc > drwxr-xr-x 22 postgres wheel 748 15 Nov 11:31 include > drwxr-xr-x 51 postgres wheel 1734 15 Nov 11:31 lib > -rw------- 1 postgres wheel 47761 13 Dec 08:16 logfile > -rw------- 1 postgres wheel 1338 26 Nov 22:28 postgres.log > drwxr-xr-x 13 postgres wheel 442 15 Nov 11:31 share > Frank-Engels-Computer:/usr/local/pgsql root# cd data/ > Frank-Engels-Computer:/usr/local/pgsql/data root# ls -l > total 56 > -rw------- 1 postgres wheel 4 15 Nov 11:38 PG_VERSION > drwx------ 6 postgres wheel 204 15 Nov 11:44 base > drwx------ 22 postgres wheel 748 13 Dec 08:16 global > drwx------ 3 postgres wheel 102 15 Nov 11:38 pg_clog > -rw------- 1 postgres wheel 3376 15 Nov 11:43 pg_hba.conf > <-- > -rw------- 1 postgres wheel 1441 15 Nov 11:38 pg_ident.conf > drwx------ 5 postgres wheel 170 6 Dec 17:42 pg_xlog > -rw------- 1 postgres wheel 7777 15 Nov 11:43 postgresql.conf > <-- > -rw------- 1 postgres wheel 60 13 Dec 08:16 postmaster.opts > -rw------- 1 postgres wheel 46 13 Dec 08:16 postmaster.pid > Frank-Engels-Computer:/usr/local/pgsql/data root# > > > On Dec 13, 2004, at 2:03 PM, Sivakatirswami wrote: > >> More on this... >> >> I can start the dbase in the foreground.. >> >> katir:~ postgres$ /usr/local/pgsql/bin/postmaster -D >> /usr/local/pgsql/data >> LOG: database system was shut down at 2004-12-13 08:56:00 HST >> LOG: checkpoint record is at 0/9E0780 >> LOG: redo record is at 0/9E0780; undo record is at 0/0; shutdown TRUE >> LOG: next transaction ID: 551; next OID: 17153 >> LOG: database system is ready >> >> I see three postgres processes now in the activity monitor... but I >> can't find a way to issue commands to it from the cmd line.. there is >> no prompt after the last line above. >> >> >> >>> but >> >> >>> katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D >>> /usr/local/pgsql/data -l logfile restart >> >> doesn't work.. see below. >> >> >> >> On Dec 13, 2004, at 8:45 AM, Sivakatirswami wrote: >> >>> Frank, thanks for your patient responses >>> >>> Still no go.. >>> >>> katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D >>> /usr/local/pgsql/data -l logfile restart >>> >>> nothing happens, activity monitor doesn't show any start postgres >>> processes started. >>> >>> So, I'm stumped at this moment. >>> >>> Is there some other log that will tell give us any useful feed back >>> on what is happening. >>> >>> Pierre: Yes, I suppose I could do a complete re-install, but, >>> since two days ago I *was* able to start the server and all that I >>> did in the interim was to "touch" the pg_hba.conf and >>> postgresql.conf files, I *really* would like to fix this "manually" >>> so that I get a grip on the issues and not simply "quit" and start >>> over again. though, if there is no definitive diagnostic then I may >>> have not choice... >>> >>> >>> In the meantime I'm logging into our new server in Connecticutt >>> where Postgres is running just fine and going through the tutorials >>> via ssh... creating test data bases and doing my "homework." (I'll >>> have more to ask you about the rev ap server you installed after I >>> get a little deeper into it...) >>> >>> So, not having it running on my own machine is not a show stopper, >>> just a nuisance.. normally I would be doing this kind of R & D >>> during hours when I am off line... now I have to do it during >>> on-line hours= "eats my day job time." i.e. the time when I should >>> be working on web design, content and team coordination etc. >>> >>> Pierre, perhaps you could email me off list your own pg_hba.conf and >>> postgresql.conf files that you are using on your OSX machine, I >>> would install those and see if it works >>> >>> Thanks! >>> Sivakatirswami >>> Himalayan Academy Publications >>> at Kauai's Hindu Monastery >>> katir at hindu.org >>> >>> www.HimalayanAcademy.com, >>> www.HinduismToday.com >>> www.Gurudeva.org >>> www.Hindu.org >>> >>> On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote: >>> >>>> This is trying to connect to PostgreSQL through a UNIX domain >>>> socket rather than TCP/IP. This should still be working, but if >>>> not, try a command like this: >>>> >>>> psql -h -U dbname >>>> >>>> >>>>> >>>>> So, no I cannot even start up the server at all. >>>> >>>> Did you check the activity monitor again to see if it was running >>>> or not? The above given error message is a connectivity problem, >>>> any does not necessarily mean that the server is not running. >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Mon Dec 13 15:25:52 2004 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 Dec 2004 20:25:52 +0000 Subject: parsing comments in scripts In-Reply-To: References: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> Message-ID: <5.1.0.14.0.20041213202139.00afc120@mail.tweedly.net> At 13:43 13/12/2004 -0600, Ken Ray wrote: > > The technique of commenting out the first line to disable the handler > > does not work in Transcript. > >You've said this a couple of times, but I have handlers where the first line >is commented and the handler *is* disabled. Can you give an example of where >this is not true? There's an example (rather trivial one) in the Bugzilla entry (2468) A more serious one is >on A > local tLine >end A > >on mouseUp > B >end mouseUp > >on B > put "original B string" into tLine > C > put tLine & cr after msg >end B > >on C > put "the C version" into tLine >end C This prints out "original B string" to the message box. Comment out the first line of A, and it will now output "the C version". The comment has disabled handler A, except for the local tLine statement, which has become script-local, and therefore changed the effect of the (implicit) declarations of tLine within B and C. So now the two handlers interfere with each other, when normally they wouldn't. -- Alex. From wjm at wjm.org Mon Dec 13 15:29:51 2004 From: wjm at wjm.org (Bill Marriott) Date: Mon, 13 Dec 2004 15:29:51 -0500 Subject: Newbie XML Question References: <20041213170022.B05449300E9@mail.runrev.com> Message-ID: <001001c4e152$8107dac0$0c00000a@daedalus> Hi Everyone! I'm just warming up on the Revolution XML library, and I would love the groups's input on how to handle a particular problem I'm trying to figure out. Hypothetical Scenario: Bob runs a grocery store with two cash registers. Only one is running at any given time. But sometimes he uses register A and sometimes he uses register B. The registers happen to spit out receipts in XML. The recipts look like this: Cherry Coca-Cola Hershey's Chocolate Bar Marlboro Cigarettes In other words, Bob had two customers. The first customer bought two items (Order 1), and the second customer bought one item (Order 2). Each register spits out a tape like this, starting with Order=1 and continuing until the store closes. At the end of the day, Bob would like to feed these tapes into his computer running Revolution and get one "tape" of all his items, re-numbered sequentially. * Bob can't just tape them together (append them) because the Order numbers would conflict. Each register starts numbering at "1" when the store opens. * There will never be overlapping orders; only one cash register is active at any given time. (Bob is a sole proprietor who runs from one to the other.) My approach to this would be something like this: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "on mouseup" put tape A into XMLTree called aTree put tape B into XMLTree called bTree make a new, empty XML tree called combinedTree put the total number of orders in aTree into aOrders put the total number of orders in bTree into bOrders put 1 into newOrderNumber put 1 into aCompare put 1 into bCompare repeat while (aCompare <= aOrders) and (bCompare <= bOrders) put the block of purchases related to order aCompare in aTree into aBlock put the block of purchases related to order bCompare in aTree into bBlock if the earliest DateTime in aBlock < the earliest DateTime in bBlock, then put aBlock after combinedTree put newOrderNumber into the Order attribute for the Purchase nodes of that block increment newOrderNumber by 1 increment aCompare by 1 else put bBlock after combinedTree put newOrderNumber into the Order attribute for the Purchase nodes of that block increment newOrderNumber by 1 increment bCompare by 1 end if if aCompare > aOrders then put the rest of bTree after combinedTree exit repeat end if if bCompare > bOrders then put the rest of aTree after combinedTree exit repeat end if end repeat write out combinedTree "end mouseup" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ok, so I hope my "FunkyTalk" hyperscripting isn't too obscure. The problem is, I don't know how to manipulate blocks of XML like this. Do I have to convert the whole XML file into some kind of table first? Do I have to walk through each and every node and every attribute? Is there nothing like "sort lines of foobar ascending by item 5 of each?" Actually, I don't even know how to walk through the nodes since the functions only seem to return the first instance... I really would like to do something like select/extract all the Purchases where the Order ID = n and bring along all the related attributed and child elements. But I haven't a clue how to do that. I've gotten as far as I have through reading the "XML Demo 1" stack and "XML construction kit" but I've hit a wall now. Some helpful advice would be very welcome... and posisbly helpful for other XML newbies on the list. Bill From Cubist at aol.com Mon Dec 13 15:30:02 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 13 Dec 2004 15:30:02 EST Subject: parsing comments in scripts Message-ID: <197.340b1d6c.2eef55ca@aol.com> sez jacque at hyperactivesw.com>: >On 12/13/04 10:15 AM, Dar Scott wrote: >> I would guess that HyperTalk did not have local, global or constant at >> the script level (outside of handlers), so there may not have been an >> issue. > >Exactly right, so the issue never arose. I do understand the problem you >bring up. It may be that us old-timers have to evolve. I think I see a possible solution. What if, whenever a user comments out the "on HandlerName" or "function FcnName" line of a handler, the engine automatically comments out the *entire* handler, down to and including the "end [name of handler]" line at the end? Obviously, *un*commenting the "[functi]on HandlerName" line should uncomment the entire handler. This way, not only can old-time HCers do what they've always done and get the same practical results, but it's a convenient shortcut for dyed-in-the-wool Rev'ers. Yes? No? From jacque at hyperactivesw.com Mon Dec 13 15:36:02 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2004 14:36:02 -0600 Subject: parsing comments in scripts In-Reply-To: References: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> <41BDE1F2.5060902@hyperactivesw.com> Message-ID: <41BDFD32.1040102@hyperactivesw.com> On 12/13/04 1:11 PM, Frank D. Engel, Jr. wrote: > If you found this to be so useful, why not submit a feature request? > Maybe something like this would be in order: > > on handlerName is disabled > > or > > disabled handlerName > > or something like that. > > empty on handlerName > > ? That's more work. ;) The reason I use the top-comment disabling technique so much is because I often write two or three different versions of a handler, and then comment/uncomment them repeatedly until I decide which one I want to use. Sometimes this is for benchmarking, sometimes it is just because I'm experimenting with a different technique but I don't want to lose the original. It is very fast to click once and type a couple of hyphens. Dragging over the whole handler -- which can sometimes be very long -- and choosing a menu item is more work. Not that big a deal, but enough that I always choose the commenting method instead. But except for excessively long handlers, changing the text of the first line would probably be even more work, so would be less preferable than the drag-select-choose menuitem method. My ideal fix would be as Ken suggested: applying the script would automatically add comment characters to all the lines of the handler for me. Or perhaps we could simply choose "comment" from the menu, and it would automatically comment out all the lines of whatever handler the insertion point is currently in. That'd be okay with me too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 13 15:39:46 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2004 14:39:46 -0600 Subject: parsing comments in scripts In-Reply-To: <197.340b1d6c.2eef55ca@aol.com> References: <197.340b1d6c.2eef55ca@aol.com> Message-ID: <41BDFE12.3060502@hyperactivesw.com> On 12/13/04 2:30 PM, Cubist at aol.com wrote: > sez jacque at hyperactivesw.com>: > >>On 12/13/04 10:15 AM, Dar Scott wrote: >> >>>I would guess that HyperTalk did not have local, global or constant at >>>the script level (outside of handlers), so there may not have been an >>>issue. >> >>Exactly right, so the issue never arose. I do understand the problem you >>bring up. It may be that us old-timers have to evolve. > > I think I see a possible solution. What if, whenever a user comments out > the "on HandlerName" or "function FcnName" line of a handler, the engine > automatically comments out the *entire* handler, down to and including the "end > [name of handler]" line at the end? Obviously, *un*commenting the "[functi]on > HandlerName" line should uncomment the entire handler. > This way, not only can old-time HCers do what they've always done and get > the same practical results, but it's a convenient shortcut for > dyed-in-the-wool Rev'ers. Yes? No? Yup. We think alike; I just wrote something almost exactly the same in my last post. I think this would work very well. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Mon Dec 13 16:16:19 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 13 Dec 2004 15:16:19 -0600 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041213202139.00afc120@mail.tweedly.net> Message-ID: On 12/13/04 2:25 PM, "Alex Tweedly" wrote: > There's an example (rather trivial one) in the Bugzilla entry (2468) > > A more serious one is (snip) > The comment has disabled handler A, except for the local tLine statement, > which has become script-local, and therefore changed the effect of the > (implicit) declarations of tLine within B and C. So now the two handlers > interfere with each other, when normally they wouldn't. Thank you, Alex... I didn't realize that this would happen. Thanks for the clarification... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Mon Dec 13 16:38:38 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 13 Dec 2004 14:38:38 -0700 Subject: parsing comments in scripts In-Reply-To: <197.340b1d6c.2eef55ca@aol.com> References: <197.340b1d6c.2eef55ca@aol.com> Message-ID: <598F00C4-4D4F-11D9-82BC-000A9567A3E6@swcp.com> On Dec 13, 2004, at 1:30 PM, Cubist at aol.com wrote: >> It may be that us old-timers have to evolve. > I think I see a possible solution. The editor seems to know the limits of the handler (tab for formatting and handler oriented editing), so it should be able to comment out a handler. Maybe under the Script menu could be an item named Comment Handler. If a right click is added to the editor, then it could be there, too. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From fde101 at fjrhome.net Mon Dec 13 16:12:02 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 16:12:02 -0500 Subject: Newbie XML Question In-Reply-To: <001001c4e152$8107dac0$0c00000a@daedalus> References: <20041213170022.B05449300E9@mail.runrev.com> <001001c4e152$8107dac0$0c00000a@daedalus> Message-ID: In other words, to navigate between blocks? I would suggest creating a new tag and use it to encase all of the orders; something like this: (...) (...) (...) Do that for each of the registers, then use Rev's XML library to parse it all together and to navigate the resulting XML trees, rather than trying to pull each of them individually out of the text. On Dec 13, 2004, at 3:29 PM, Bill Marriott wrote: > Hi Everyone! > > I'm just warming up on the Revolution XML library, and I would love > the groups's input on how to handle a particular problem I'm trying to > figure out. > > Hypothetical Scenario: > > Bob runs a grocery store with two cash registers. Only one is running > at any given time. But sometimes he uses register A and sometimes he > uses register B. The registers happen to spit out receipts in XML. The > recipts look like this: > > > DateTime="20041213142603" Order="1"> > > > Cherry Coca-Cola > > DateTime="20041213142614" Order="1"> > > > Hershey's Chocolate Bar > > DateTime="20041213150925" Order="2"> > > > Marlboro Cigarettes > > > > In other words, Bob had two customers. The first customer bought two > items (Order 1), and the second customer bought one item (Order 2). > > Each register spits out a tape like this, starting with Order=1 and > continuing until the store closes. At the end of the day, Bob would > like to feed these tapes into his computer running Revolution and get > one "tape" of all his items, re-numbered sequentially. > > * Bob can't just tape them together (append them) because the Order > numbers would conflict. Each register starts numbering at "1" when the > store opens. > * There will never be overlapping orders; only one cash register is > active at any given time. (Bob is a sole proprietor who runs from one > to the other.) > > My approach to this would be something like this: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "on mouseup" > put tape A into XMLTree called aTree > put tape B into XMLTree called bTree > make a new, empty XML tree called combinedTree > > put the total number of orders in aTree into aOrders > put the total number of orders in bTree into bOrders > > put 1 into newOrderNumber > put 1 into aCompare > put 1 into bCompare > > repeat while (aCompare <= aOrders) and (bCompare <= bOrders) > > put the block of purchases related to order aCompare in aTree into > aBlock > put the block of purchases related to order bCompare in aTree into > bBlock > > if the earliest DateTime in aBlock < the earliest DateTime in > bBlock, then > put aBlock after combinedTree > put newOrderNumber into the Order attribute for the Purchase > nodes of that block > increment newOrderNumber by 1 > increment aCompare by 1 > else > put bBlock after combinedTree > put newOrderNumber into the Order attribute for the Purchase > nodes of that block > increment newOrderNumber by 1 > increment bCompare by 1 > end if > > if aCompare > aOrders then > put the rest of bTree after combinedTree > exit repeat > end if > > if bCompare > bOrders then > put the rest of aTree after combinedTree > exit repeat > end if > > end repeat > write out combinedTree > "end mouseup" > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Ok, so I hope my "FunkyTalk" hyperscripting isn't too obscure. > > The problem is, I don't know how to manipulate blocks of XML like > this. Do I have to convert the whole XML file into some kind of table > first? Do I have to walk through each and every node and every > attribute? Is there nothing like "sort lines of foobar ascending by > item 5 of each?" Actually, I don't even know how to walk through the > nodes since the functions only seem to return the first instance... > > I really would like to do something like select/extract all the > Purchases where the Order ID = n and bring along all the related > attributed and child elements. But I haven't a clue how to do that. > > I've gotten as far as I have through reading the "XML Demo 1" stack > and "XML construction kit" but I've hit a wall now. Some helpful > advice would be very welcome... and posisbly helpful for other XML > newbies on the list. > > Bill > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Mon Dec 13 16:15:44 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 13 Dec 2004 16:15:44 -0500 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> <9DADC4A0-4D39-11D9-9486-000A959D0AC6@hindu.org> <153F0D1D-4D3C-11D9-901F-0050E410655F@fjrhome.net> Message-ID: <26DE5620-4D4C-11D9-901F-0050E410655F@fjrhome.net> Actually, I could probably delete that line from mine and not miss it at all. That line is for IPv6 addressing support. The "local" line is to enable UNIX local domain sockets. The first "host" line (the one before all the "ffff" stuff) is for the "localhost" address (which is typically implemented on a fake ethernet controller. referred to as a loopback device, independent of the actual ethernet card in your computer). The second "host" line (with "ffff" stuff) is for the "localhost" address with IPv6 support. The third "host" line is one which I added myself; this one supports access from the actual ethernet card (IPv4 addressing). "host all all" should be as I have placed it here. 192.168.0.5 is the static IP address of my machine (but really any IP address known to be on your subnet should work fine), and "255.255.255.0" is the subnet mask of the machine. "password" as opposed to "trust" means that a password should be required ("trust" assumes that everyone is being truthful and does not demand a password). This info may be of interest to anyone trying to set up PostgreSQL: to access PostgreSQL from Rev, you need TCP/IP to be enabled in postgresql.conf (tcpip_socket = true); you also need a line in pg_hba.conf which dictates how authentication should be handled; for local access, the defaults should be fine, except that after setting your database user 'postgres' password, you should really change "trust" to "password" everywhere. As for network access, you need to add a line similar to the one I did, otherwise connections from across the network will not be accepted. Of course, if you don't want others to access PostgreSQL on your machine from across the network, don't add that line. And yes, for the problem you are describing, best to post it to a PostgreSQL mailing list or forum. This is getting too far OT for this list. On Dec 13, 2004, at 3:15 PM, Sivakatirswami wrote: > > I *had* deleted the line with all the ffff:ffff:ffff: > > but.. seeing this.. I reinserted it..think, so, my pg_hba.conf looks > just like yours > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From dsc at swcp.com Mon Dec 13 16:45:14 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 13 Dec 2004 14:45:14 -0700 Subject: parsing comments in scripts In-Reply-To: <41BDFD32.1040102@hyperactivesw.com> References: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> <41BDE1F2.5060902@hyperactivesw.com> <41BDFD32.1040102@hyperactivesw.com> Message-ID: <45597EA8-4D50-11D9-82BC-000A9567A3E6@swcp.com> On Dec 13, 2004, at 1:36 PM, J. Landman Gay wrote: > The reason I use the top-comment disabling technique so much is > because I often write two or three different versions of a handler, > and then comment/uncomment them repeatedly until I decide which one I > want to use. This has the advantage in that if you want to use a few lines from the disabled one to include in another one, you don't have to uncomment the lines. My habit has been to select the entire handler and choose comment from the script menu; this has the problem that raided lines are commented. I suppose one could put a back tick in front of the name, but it would have to be done at the end, also. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Mon Dec 13 16:49:23 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 13 Dec 2004 14:49:23 -0700 Subject: parsing comments in scripts In-Reply-To: <41BDFD32.1040102@hyperactivesw.com> References: <3AA27189-4D22-11D9-82BC-000A9567A3E6@swcp.com> <41BDE1F2.5060902@hyperactivesw.com> <41BDFD32.1040102@hyperactivesw.com> Message-ID: On Dec 13, 2004, at 1:36 PM, J. Landman Gay wrote: > Or perhaps we could simply choose "comment" from the menu, and it > would automatically comment out all the lines of whatever handler the > insertion point is currently in. Whoops. I didn't see that before I started harping on that idea. There is already a comment in the menu, so I was suggesting a separate menu item. It has the advantage of being able to comment out a handler from near the end, especially if only the tail of the handler is showing in the window at the time. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alex at tweedly.net Mon Dec 13 17:25:02 2004 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 Dec 2004 22:25:02 +0000 Subject: parsing comments in scripts In-Reply-To: <598F00C4-4D4F-11D9-82BC-000A9567A3E6@swcp.com> References: <197.340b1d6c.2eef55ca@aol.com> <197.340b1d6c.2eef55ca@aol.com> Message-ID: <5.1.0.14.0.20041213215905.028c8c98@mail.tweedly.net> At 14:38 13/12/2004 -0700, Dar Scott wrote: >On Dec 13, 2004, at 1:30 PM, Cubist at aol.com wrote: > >>>It may be that us old-timers have to evolve. >> I think I see a possible solution. > >The editor seems to know the limits of the handler (tab for formatting and >handler oriented editing), so it should be able to comment out a handler. It does - in a fairly trivial way; --just do the current handler put word 2 of the selectedLine into tCurrentLine repeat with i = tCurrentLine down to 1 if word 1 of line i of fld "script" is among the items of "on,setProp,getProp,function" then exit repeat end repeat > Maybe under the Script menu could be an item named Comment Handler. If > a right click is added to the editor, then it could be there, too. I think it could. The problem would be in commenting it back in again. Of course, you could simply bail on that problem, and require the user to select the entire (commented) handler and select "un-comment" - but that requires the effort we said was undesirable (unacceptable) to comment it in the first place. If you want the editor to have an "uncomment the entire handler" command, then it's going to need to look into comments, to see whether or not removing the leading comment indicator would leave a line which could then be a start / finish of a handler. Doesn't seem too bad to me - but I know there were concerns about the interpreter (now the editor) looking at comments and guessing about their meaning. I think the failure modes here (at least, the ones I can think of) are fairly pathological; user comments out entire handler, then within that block partially removes a comment indicator such that the "uncomment" command selects the wrong start (or finish) line. -- Alex. From soapdog at mac.com Mon Dec 13 18:03:28 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 13 Dec 2004 21:03:28 -0200 Subject: test send In-Reply-To: <7891FF46-4D20-11D9-8F8D-000A95743F7A@earthlink.net> References: <7891FF46-4D20-11D9-8F8D-000A95743F7A@earthlink.net> Message-ID: <33A08604-4D5B-11D9-B496-0003936D012E@mac.com> On Dec 13, 2004, at 2:03 PM, Mark Brownell wrote: > testing, please ignore > > Mark > It worked but you can ignore this too! :D andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From sarahr at genesearch.com.au Mon Dec 13 18:36:32 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 14 Dec 2004 09:36:32 +1000 Subject: Newbie XML Question In-Reply-To: <001001c4e152$8107dac0$0c00000a@daedalus> References: <20041213170022.B05449300E9@mail.runrev.com> <001001c4e152$8107dac0$0c00000a@daedalus> Message-ID: Hi Bill, I think the easiest solution would be to include the register ID in the order number and then you can just append the 2 blocks of XML data. e.g. Cheers, Sarah On 14 Dec 2004, at 6:32 am, Bill Marriott wrote: > Hi Everyone! > > I'm just warming up on the Revolution XML library, and I would love > the groups's input on how to handle a particular problem I'm trying to > figure out. > > Hypothetical Scenario: > > Bob runs a grocery store with two cash registers. Only one is running > at any given time. But sometimes he uses register A and sometimes he > uses register B. The registers happen to spit out receipts in XML. The > recipts look like this: > > > DateTime="20041213142603" Order="1"> > > > Cherry Coca-Cola > > DateTime="20041213142614" Order="1"> > > > Hershey's Chocolate Bar > > DateTime="20041213150925" Order="2"> > > > Marlboro Cigarettes > > > > In other words, Bob had two customers. The first customer bought two > items (Order 1), and the second customer bought one item (Order 2). > > Each register spits out a tape like this, starting with Order=1 and > continuing until the store closes. At the end of the day, Bob would > like to feed these tapes into his computer running Revolution and get > one "tape" of all his items, re-numbered sequentially. > > * Bob can't just tape them together (append them) because the Order > numbers would conflict. Each register starts numbering at "1" when the > store opens. > * There will never be overlapping orders; only one cash register is > active at any given time. (Bob is a sole proprietor who runs from one > to the other.) > > My approach to this would be something like this: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "on mouseup" > put tape A into XMLTree called aTree > put tape B into XMLTree called bTree > make a new, empty XML tree called combinedTree > > put the total number of orders in aTree into aOrders > put the total number of orders in bTree into bOrders > > put 1 into newOrderNumber > put 1 into aCompare > put 1 into bCompare > > repeat while (aCompare <= aOrders) and (bCompare <= bOrders) > > put the block of purchases related to order aCompare in aTree into > aBlock > put the block of purchases related to order bCompare in aTree into > bBlock > > if the earliest DateTime in aBlock < the earliest DateTime in > bBlock, then > put aBlock after combinedTree > put newOrderNumber into the Order attribute for the Purchase > nodes of that block > increment newOrderNumber by 1 > increment aCompare by 1 > else > put bBlock after combinedTree > put newOrderNumber into the Order attribute for the Purchase > nodes of that block > increment newOrderNumber by 1 > increment bCompare by 1 > end if > > if aCompare > aOrders then > put the rest of bTree after combinedTree > exit repeat > end if > > if bCompare > bOrders then > put the rest of aTree after combinedTree > exit repeat > end if > > end repeat > write out combinedTree > "end mouseup" > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Ok, so I hope my "FunkyTalk" hyperscripting isn't too obscure. > > The problem is, I don't know how to manipulate blocks of XML like > this. Do I have to convert the whole XML file into some kind of table > first? Do I have to walk through each and every node and every > attribute? Is there nothing like "sort lines of foobar ascending by > item 5 of each?" Actually, I don't even know how to walk through the > nodes since the functions only seem to return the first instance... > > I really would like to do something like select/extract all the > Purchases where the Order ID = n and bring along all the related > attributed and child elements. But I haven't a clue how to do that. > > I've gotten as far as I have through reading the "XML Demo 1" stack > and "XML construction kit" but I've hit a wall now. Some helpful > advice would be very welcome... and posisbly helpful for other XML > newbies on the list. > > Bill > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From erikhans08 at yahoo.com Mon Dec 13 18:37:30 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 13 Dec 2004 15:37:30 -0800 (PST) Subject: In Search Of Negotiating CFP? In-Reply-To: Message-ID: <20041213233730.66496.qmail@web61204.mail.yahoo.com> --- Judy Perry wrote: > I remember Lobachevsky: plagiarize, > plagiarize, plagiarize! > > But, seriously, these days half the CFP I see > in history and literature > are along the lines of > > "Cross-dressing Transgendered Trolls and > multilayered identity in Beowulf." whatis/are CFP? thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 From tariel at mac.com Mon Dec 13 18:50:57 2004 From: tariel at mac.com (Tariel Gogoberidze) Date: Mon, 13 Dec 2004 18:50:57 -0500 Subject: parsing comments in scripts In-Reply-To: <20041213140923.54C80930156@mail.runrev.com> Message-ID: Sun, 12 Dec 2004 22:38:41 -0700 Dar Scott wrote: > I am curious if others use the technique of commenting out a handler by > commenting out the first line. Maybe there is a way to rescue this > kind of thing in a clean way. > > Dar I'm doing this for years and I guess I would have problems if this behavior would be changed. best Tariel From psahores at easynet.fr Mon Dec 13 19:35:11 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 14 Dec 2004 01:35:11 +0100 Subject: Connecting to PostGreSQL on same machine: Mac OSX In-Reply-To: <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> References: <3524FFC4-4C71-11D9-933E-0030654C1E62@realtorsgroup.us> <408B8BE0-4CA0-11D9-9486-000A959D0AC6@hindu.org> <37EF7B50-4D37-11D9-9486-000A959D0AC6@hindu.org> Message-ID: <0356CFE8-4D68-11D9-9B97-000A95C61E96@easynet.fr> Hi Katir, Frank,... Here are the pg conf files set of my OSX development box (PWB G4 1Ghz, 768 Mo RAM, OSX 10.3.6) : -------------- next part -------------- Best Regards, Pierre Le 13 d?c. 04, ? 19:45, Sivakatirswami a ?crit : > Frank, thanks for your patient responses > > Still no go.. > > katir:~ postgres$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data > -l logfile restart > > nothing happens, activity monitor doesn't show any start postgres > processes started. > > So, I'm stumped at this moment. > > Is there some other log that will tell give us any useful feed back on > what is happening. > > Pierre: Yes, I suppose I could do a complete re-install, but, since > two days ago I *was* able to start the server and all that I did in > the interim was to "touch" the pg_hba.conf and postgresql.conf files, > I *really* would like to fix this "manually" so that I get a grip on > the issues and not simply "quit" and start over again. though, if > there is no definitive diagnostic then I may have not choice... > > > In the meantime I'm logging into our new server in Connecticutt where > Postgres is running just fine and going through the tutorials via > ssh... creating test data bases and doing my "homework." (I'll have > more to ask you about the rev ap server you installed after I get a > little deeper into it...) > > So, not having it running on my own machine is not a show stopper, > just a nuisance.. normally I would be doing this kind of R & D during > hours when I am off line... now I have to do it during on-line hours= > "eats my day job time." i.e. the time when I should be working on web > design, content and team coordination etc. > > Pierre, perhaps you could email me off list your own pg_hba.conf and > postgresql.conf files that you are using on your OSX machine, I would > install those and see if it works > > Thanks! > Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > On Dec 13, 2004, at 7:18 AM, Frank D. Engel, Jr. wrote: > >> This is trying to connect to PostgreSQL through a UNIX domain socket >> rather than TCP/IP. This should still be working, but if not, try a >> command like this: >> >> psql -h -U dbname >> >> >>> >>> So, no I cannot even start up the server at all. >> >> Did you check the activity monitor again to see if it was running or >> not? The above given error message is a connectivity problem, any >> does not necessarily mean that the server is not running. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From gizmotron at earthlink.net Mon Dec 13 20:05:07 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 13 Dec 2004 17:05:07 -0800 Subject: Newbie XML Question In-Reply-To: <001001c4e152$8107dac0$0c00000a@daedalus> Message-ID: <32014B6D-4D6C-11D9-AA35-000A95743F7A@earthlink.net> On Monday, December 13, 2004, at 12:29 PM, Bill Marriott wrote: > > > > DateTime="20041213142603" Order="1"> > > > Cherry Coca-Cola > > DateTime="20041213142614" Order="1"> > > > Hershey's Chocolate Bar > > DateTime="20041213150925" Order="2"> > > > Marlboro Cigarettes > > > > In other words, Bob had two customers. The first customer bought two > items (Order 1), and the second customer bought one item (Order 2). > > Each register spits out a tape like this, starting with Order=1 and > continuing until the store closes. At the end of the day, Bob would > like to feed these tapes into his computer running Revolution and get > one "tape" of all his items, re-numbered sequentially. > > * Bob can't just tape them together (append them) because the Order > numbers would conflict. Each register starts numbering at "1" when the > store opens. > * There will never be overlapping orders; only one cash register is > active at any given time. (Bob is a sole proprietor who runs from one > to the other.) > [snip] > The problem is, I don't know how to manipulate blocks of XML like > this. Do I have to convert the whole XML file into some kind of table > first? Do I have to walk through each and every node and every > attribute? Is there nothing like "sort lines of foobar ascending by > item 5 of each?" Actually, I don't even know how to walk through the > nodes since the functions only seem to return the first instance... > > I really would like to do something like select/extract all the > Purchases where the Order ID = n and bring along all the related > attributed and child elements. But I haven't a clue how to do that. > > I've gotten as far as I have through reading the "XML Demo 1" stack > and "XML construction kit" but I've hit a wall now. Some helpful > advice would be very welcome... and posisbly helpful for other XML > newbies on the list. > > Bill Bill, Being new here you would not know about my pull-parsers. This task of yours could be handled so easy with a pull parser. First of all you could create an array of purchase objects using my pull-parser function for creating an array out of multiple XML elements, in your case , purchases. So here it is done for you: Step 1. put XML data of cash register a & cash register b into gBothXMLtapes ( field "stashHere" ) Step 2. Use my pull-parser functions to create one array of all purchase data (see functions below) ...paste the functions below into your application at some button before using them. ======== Use this in a button click: -- Paste all this below into a button & use field "stashHere" -- to enter your XML & field "show" to see the results. on mouseUp put the text of field "stashHere" into gBothXMLtapes put 1 into spot put "" into stashAttributesDT put "" into gTransXML put "" into t2 put "" into tempXML put getElementsArray(t1, t2, gBothXMLtapes) into bothTapesArray repeat put bothTapesArray[spot] into stashThis if stashThis = empty then exit repeat put getAttribute("DateTime", stashThis) into tAttributeDT delete char 1 to 8 of tAttributeDT put tAttributeDT & return after stashAttributesDT put "<" & tAttributeDT & ">" into a1 put "" into a2 put a1 & t1 & stashThis & t2 & a2 into zapped put zapped & return after tempXML add 1 to spot end repeat sort lines of stashAttributesDT -- this sorting is the solution based on your XML and the use by two cash registers. put 1 into spot2 put "" & return into newXMLDoc repeat for each line X in stashAttributesDT put "<" & X & ">" into z1 put "" into z2 put getElement(z1, z2, tempXML) into tXmlElement put return & tXmlElement & return after newXMLDoc end repeat put "" & return after newXMLDoc put newXMLDoc into field "show" end mouseUp -- That's it. You now have a newly transformed single XML document based on the Date-Time attribute that -- will appear in the "show" text field. -- I hope that helps, -- Mark --=========================== --=========================== --Paste these functions: -- put getElement("", "", tVar) into theElement function getElement tStTag, tEdTag, stngToSch put empty into zapped put the number of chars in tStTag into dChars put offset(tStTag,stngToSch) into tNum1 put offset(tEdTag,stngToSch) into tNum2 if tNum1 < 1 then return "error" exit getElement end if if tNum2 < 1 then return "error" exit getElement end if put char (tNum1 + dChars) to (tNum2 - 1) of stngToSch into zapped return zapped end getElement -- put getAttribute("name", tVar) into theAttribute function getAttribute tAttribute, strngToSearch put empty into zapA put quote into Qx if char 1 of tAttribute = space then put tAttribute & "=" & Qx into tAttributeX else put space & tAttribute & "=" & Qx into tAttributeX end if put the number of chars in tAttributeX into dChars put offset(tAttributeX,strngToSearch) into tNum1 if tNum1 < 1 then return "error" exit getAttribute end if put tNum1 + dChars into tNumX put offset(Qx,strngToSearch,tNumX) into tNumZ if tNumX < 1 then return "error" exit getAttribute end if if tNumZ < 1 then return "error" exit getAttribute end if put char tNumX to (tNumX + (tNumZ - 1)) of strngToSearch into zapA return zapA end getAttribute -- put getElementsArray("", "", tVar) into theArray function getElementsArray tStartTag, tEndTag, StringToSearch put empty into tArray put 0 into tStart1 put 0 into tStart2 put 1 into tElementNum put the number of chars in tStartTag into dChars repeat put offset(tStartTag,StringToSearch,tStart1) into tNum1 put (tNum1 + tStart1) into tStart1 if tNum1 < 1 then exit repeat put offset(tEndTag,StringToSearch,tStart2) into tNum2 put (tNum2 + tStart2) into tStart2 if tNum2 < 1 then exit repeat --if tNum2 < tNum1 then exit repeat put char (tStart1 + dChars) to (tStart2 - 1) of StringToSearch into zapped put zapped into tArray[tElementNum] add 1 to tElementNum end repeat return tArray end getElementsArray From wjm at wjm.org Mon Dec 13 20:36:51 2004 From: wjm at wjm.org (Bill Marriott) Date: Mon, 13 Dec 2004 20:36:51 -0500 Subject: use-revolution Digest, Vol 15, Issue 35 References: <20041213225847.70EF59300E4@mail.runrev.com> Message-ID: <000801c4e17d$62ebd200$0c00000a@daedalus> "Frank D. Engel, Jr." writes: > I would suggest creating a new tag and use it to encase all of the > orders; something like this: ... > Do that for each of the registers, then use Rev's XML library to parse > it all together and to navigate the resulting XML trees, rather than > trying to pull each of them individually out of the text. I want to generate a file that looks like it was generated from a single register, with the order numbers in sequential order (renumbering them as necessary). And the "use Rev's XML Library to parse it all together..." is the part I'm seeking assistance with. I basically want to grab a whole section of Purchases based on the Order attribute and move them into a new tree. Bob and the grocery store don't exist, it's just an illustration. Truth be told I could probably have written a plain old fashioned text parsing utility to do this but I wanted to do it the "right way" using the XML library. Here's some examples of my frustration: Let's look at the XML again: Cherry Coca-Cola Hershey's Chocolate Bar Marlboro Cigarettes Suppose I load this into a Rev tree and it gets the ID 5280. put revXMLNodeContents(5280,"Register/Purchase/Description") yields "Cherry Coca-Cola" which is the first purchase. Now, what do I use to get the second one? put revXMLChildContents(5280,"Register",tab,return,true,-1) yields Purchase[1] Buyer[1] Item[1] Description[1] Cherry Coca-Cola Purchase[2] Buyer[1] Item[1] Description[1] Hershey's Chocolate Bar Purchase[3] Buyer[1] Item[1] Description[1] Marlboro Cigarettes That's a good list of all the nodes, but I would still have to parse through it to build a table I could sort. revXMLMatchingNode(5280,"Register","Purchase","Order",2,-1) tells me, /Register/Purchase[3] which i could use in the command, revXMLText(5280,"/Register/Purchase[3]") to grab the whole of the third Purchase... but I cannot then say, put revXMLMatchingNode(5280,"Register","Purchase","Order",1,-1) and get a list of all the purchases related to Order #1. It yields only the first one. So how do I find the second and subsequent ones? Thanks, - Bill From sarahr at genesearch.com.au Mon Dec 13 21:27:16 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 14 Dec 2004 12:27:16 +1000 Subject: No mouseUp In-Reply-To: References: Message-ID: > I have the following script in a List field and the mouseUp handler > doesn't work! I noticed that it is the "set the dragData" line in the > mouseDown that disables the mouseUp. Can someone please tell me > what's going on and how I can keep the mouseUp? > > > on mouseDown > get the hilitedLines of me > set the dragData to line it of me > end mouseDown > > on mouseUp > beep 2 > end mouseUp > Hi Roger, I would guess that because you have started a drag operation, mouseUp is not going to happen. Try looking for a dragEnd message instead. Sarah From FMoyer at aol.com Mon Dec 13 23:36:13 2004 From: FMoyer at aol.com (FMoyer at aol.com) Date: Mon, 13 Dec 2004 23:36:13 EST Subject: mousedown situation Message-ID: <191.347e7a30.2eefc7bd@aol.com> Hi. Am I missing something really elementary? Create a button with the following script: on mousedown answer "Click OK only once to make this message disappear." end mousedown Try it. If you are running Panther, I bet you have to click "OK" twice. I understand that if you are running Jaguar, you need only click once. If addition, put in the stack script: on mousedown put "This message shouldn't show up." end mousedown Now try the button. If you have Panther, the first time you click the "OK", up comes "This message shouldn't show up." The stack is receiving that mousedown message. I know I can solve this by just using "mouseup" in the button but for the application I'm designing, I need it to be mousedown. Any clues why this is happening? Thanks. Fred Moyer From jperryl at ecs.fullerton.edu Tue Dec 14 00:15:21 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 13 Dec 2004 21:15:21 -0800 (PST) Subject: In Search Of Negotiating CFP? In-Reply-To: <20041213233730.66496.qmail@web61204.mail.yahoo.com> Message-ID: Sorry. CFP = Call For Papers. Judy On Mon, 13 Dec 2004, Erik Hansen wrote: > > --- Judy Perry wrote: > > > I remember Lobachevsky: plagiarize, > > plagiarize, plagiarize! > > > > But, seriously, these days half the CFP I see > > in history and literature > > are along the lines of > > > > "Cross-dressing Transgendered Trolls and > > multilayered identity in Beowulf." > > whatis/are CFP? > > thanks, > > Erik Hansen > > ===== > erik at erikhansen.org http://www.erikhansen.org > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Find what you need with new enhanced search. > http://info.mail.yahoo.com/mail_250 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Tue Dec 14 01:29:49 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 13 Dec 2004 23:29:49 -0700 Subject: mousedown situation In-Reply-To: <191.347e7a30.2eefc7bd@aol.com> References: <191.347e7a30.2eefc7bd@aol.com> Message-ID: <8E62648D-4D99-11D9-82BC-000A9567A3E6@swcp.com> On Dec 13, 2004, at 9:36 PM, FMoyer at aol.com wrote: > on mousedown > answer "Click OK only once to make this message disappear." > end mousedown Hmmm. It looks as though there is some unfinished business at the button. It is probably merrily getting mouseStillDown messages and doesn't see the mouse is up. I guess one click on the dialog window clears that or changes something. The second click then works. You might be able to work around this if you use your own stack for the dialog or make a group visible. Hmmm. Wimpy advice. That's all I have. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services **************************************** From wjm at wjm.org Tue Dec 14 07:17:17 2004 From: wjm at wjm.org (Bill Marriott) Date: Tue, 14 Dec 2004 07:17:17 -0500 Subject: Newbie XML Question References: <20041213225847.70EF59300E4@mail.runrev.com> Message-ID: <003501c4e1d6$da9ed5f0$0c00000a@daedalus> [reposted to fix the subject line and keep the thread together] "Frank D. Engel, Jr." writes: > I would suggest creating a new tag and use it to encase all of the > orders; something like this: ... > Do that for each of the registers, then use Rev's XML library to parse > it all together and to navigate the resulting XML trees, rather than > trying to pull each of them individually out of the text. I want to generate a file that looks like it was generated from a single register, with the order numbers in sequential order (renumbering them as necessary). And the "use Rev's XML Library to parse it all together..." is the part I'm seeking assistance with. I basically want to grab a whole section of Purchases based on the Order attribute and move them into a new tree. Bob and the grocery store don't exist, it's just an illustration. Truth be told I could probably have written a plain old fashioned text parsing utility to do this but I wanted to do it the "right way" using the XML library. Here's some examples of my frustration: Let's look at the XML again: Cherry Coca-Cola Hershey's Chocolate Bar Marlboro Cigarettes Suppose I load this into a Rev tree and it gets the ID 5280. put revXMLNodeContents(5280,"Register/Purchase/Description") yields "Cherry Coca-Cola" which is the first purchase. Now, what do I use to get the second one? put revXMLChildContents(5280,"Register",tab,return,true,-1) yields Purchase[1] Buyer[1] Item[1] Description[1] Cherry Coca-Cola Purchase[2] Buyer[1] Item[1] Description[1] Hershey's Chocolate Bar Purchase[3] Buyer[1] Item[1] Description[1] Marlboro Cigarettes That's a good list of all the nodes, but I would still have to parse through it to build a table I could sort. revXMLMatchingNode(5280,"Register","Purchase","Order",2,-1) tells me, /Register/Purchase[3] which i could use in the command, revXMLText(5280,"/Register/Purchase[3]") to grab the whole of the third Purchase... but I cannot then say, put revXMLMatchingNode(5280,"Register","Purchase","Order",1,-1) and get a list of all the purchases related to Order #1. It yields only the first one. So how do I find the second and subsequent ones? Thanks, - Bill From 3mcgrath at adelphia.net Tue Dec 14 09:13:34 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 14 Dec 2004 09:13:34 -0500 Subject: mousedown situation In-Reply-To: <8E62648D-4D99-11D9-82BC-000A9567A3E6@swcp.com> References: <191.347e7a30.2eefc7bd@aol.com> <8E62648D-4D99-11D9-82BC-000A9567A3E6@swcp.com> Message-ID: <572C4A6C-4DDA-11D9-8958-000A95DA60FA@adelphia.net> I had this happen to me. After you build the app does it work correctly? In Panther "sometimes" one click is needed to bring a dialog to the foreground and then a second click goes to the button in other applications. It doesn't happen all of the time for me but certain apps do it. Build the app and see if it still happens. Tom On Dec 14, 2004, at 1:29 AM, Dar Scott wrote: > > On Dec 13, 2004, at 9:36 PM, FMoyer at aol.com wrote: > >> on mousedown >> answer "Click OK only once to make this message disappear." >> end mousedown > > Hmmm. It looks as though there is some unfinished business at the > button. It is probably merrily getting mouseStillDown messages and > doesn't see the mouse is up. > > I guess one click on the dialog window clears that or changes > something. The second click then works. > > You might be able to work around this if you use your own stack for > the dialog or make a group visible. > > Hmmm. Wimpy advice. That's all I have. > > Dar Scott > > **************************************** > DSC > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From fde101 at fjrhome.net Tue Dec 14 09:40:33 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 14 Dec 2004 09:40:33 -0500 Subject: use-revolution Digest, Vol 15, Issue 35 In-Reply-To: <000801c4e17d$62ebd200$0c00000a@daedalus> References: <20041213225847.70EF59300E4@mail.runrev.com> <000801c4e17d$62ebd200$0c00000a@daedalus> Message-ID: <1C3E0467-4DDE-11D9-8BF1-0050E410655F@fjrhome.net> Oh, ok. Using your example from below then, the tree would look something like this: / | \ / | \ / | \ / | \ / | \ / | \ / | \ Note: use a fixed-width font such as Courier or Monaco to view the above tree "graphic", and please excuse the roughness of the image ;-) "Register" is the root of the XML tree. "Purchase" nodes are siblings of each other, and children of the "Register" node. Similarly, "Buyer", "Item" and "Description", within a single "Purchase" node, are siblings of each other, and children of the parent "Purchase" node. The XML functions you need are as follows: Use revXMLRootNode to get the root "Register" node of the tree. Use revXMLFirstChild to get the first child node of any particular node. In the case of the root "Register" node, that would be the first "Purchase" node. In the case of any particular "Purchase" node, it would be a "Buyer", "Item", or "Description" node (I do not think you are guaranteed the order in which siblings will be placed within the tree, so best to assume they could come in any order). Use revXMLNextSibling to get the next sibling of a node. So for a "Purchase" node, this would give you another "Purchase" node. For a "Buyer", "Item" or "Description" node, this would give you one of the other two. Within a node, use revXMLAttribute or revXMLAttributes to retrieve one or more attributes of the node, and use revXMLNodeContents to retrieve the contents of the node (the text between tags). When you are finished with an XML tree, don't forget to free up the memory it uses by calling revDeleteXMLTree! On Dec 13, 2004, at 8:36 PM, Bill Marriott wrote: > "Frank D. Engel, Jr." writes: > >> I would suggest creating a new tag and use it to encase all of the >> orders; something like this: > > ... > >> Do that for each of the registers, then use Rev's XML library to parse >> it all together and to navigate the resulting XML trees, rather than >> trying to pull each of them individually out of the text. > > I want to generate a file that looks like it was generated from a > single register, with the order numbers in sequential order > (renumbering them as necessary). And the "use Rev's XML Library to > parse it all together..." is the part I'm seeking assistance with. I > basically want to grab a whole section of Purchases based on the Order > attribute and move them into a new tree. Bob and the grocery store > don't exist, it's just an illustration. > > Truth be told I could probably have written a plain old fashioned text > parsing utility to do this but I wanted to do it the "right way" using > the XML library. > > Here's some examples of my frustration: > > Let's look at the XML again: > > > > DateTime="20041213142603" Order="1"> > > > Cherry Coca-Cola > > DateTime="20041213142614" Order="1"> > > > Hershey's Chocolate Bar > > DateTime="20041213150925" Order="2"> > > > Marlboro Cigarettes > > > > Suppose I load this into a Rev tree and it gets the ID 5280. > > put revXMLNodeContents(5280,"Register/Purchase/Description") > > yields "Cherry Coca-Cola" which is the first purchase. Now, what do I > use to get the second one? > > put revXMLChildContents(5280,"Register",tab,return,true,-1) > > yields > > Purchase[1] > Buyer[1] > Item[1] > Description[1] Cherry Coca-Cola > Purchase[2] > Buyer[1] > Item[1] > Description[1] Hershey's Chocolate Bar > Purchase[3] > Buyer[1] > Item[1] > Description[1] Marlboro Cigarettes > > That's a good list of all the nodes, but I would still have to parse > through it to build a table I could sort. > > revXMLMatchingNode(5280,"Register","Purchase","Order",2,-1) > > tells me, > > /Register/Purchase[3] > > which i could use in the command, > > revXMLText(5280,"/Register/Purchase[3]") > > to grab the whole of the third Purchase... but I cannot then say, > > put revXMLMatchingNode(5280,"Register","Purchase","Order",1,-1) > > and get a list of all the purchases related to Order #1. It yields > only the first one. So how do I find the second and subsequent ones? > > Thanks, > - Bill > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ From padawer at mindspring.com Tue Dec 14 09:46:11 2004 From: padawer at mindspring.com (Randy Padawer) Date: Tue, 14 Dec 2004 07:46:11 -0700 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: <20041213000551.0FC439301C7@mail.runrev.com> References: <20041213000551.0FC439301C7@mail.runrev.com> Message-ID: Thanks for the comments. Well, the problem with reading the whole file at once is that some of these files can indeed be huge -- several megabytes. Here's what I'm doing... The text file is made up of many individual emails concatenated end-to-end. Since the emails may have originated from different ISP accounts, they may use different delimeters, i.e., ">From " or "X-Message-Info: " or "Return-Path: <" or "From ???@???". I have written a simple program that will separate the huge file back into individual text files, one for each email. It works well if the email is from a single account (with its unique delimeter). However if, say, Apple's mail.app is pulling mail from multiple accounts, I can't "read from" any of those delimeters. Can I do the regex routine (something I don't quite yet understand... but will soon!) on a file I've not wholly read? Thanks again for your great help. -- Randy From fde101 at fjrhome.net Tue Dec 14 10:13:53 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 14 Dec 2004 10:13:53 -0500 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: References: <20041213000551.0FC439301C7@mail.runrev.com> Message-ID: You should be able to read in an entire file of even several hundred megabytes, assuming the rest of the data you have in memory is not too excessively large. Most 32-bit operating systems leave a virtual address space of just under 2GB for each program. In that 2GB you fit your application program, some shared library code, the heap and stack space, etc. -- but there should still be more than 1GB for your data. Even if your computer only has 128MB of RAM, with modern hard drives and virtual memory architecture... I'd figure on being able to handle files of around 200MB on smaller semi-modern systems, maybe as big as 1GB or more on high-end systems, while loading the whole thing into RAM. Note that this may vary somewhat depending on the operating system you target. As far as using RegEx, you could only use it on the portion of the file loaded into memory. You might consider doing that, and realize that if there is no match, then you only have a part of the block in memory, so read some more and try again... On Dec 14, 2004, at 9:46 AM, Randy Padawer wrote: > Thanks for the comments. Well, the problem with reading the whole file > at once is that some of these files can indeed be huge -- several > megabytes. Here's what I'm doing... The text file is made up of many > individual emails concatenated end-to-end. Since the emails may have > originated from different ISP accounts, they may use different > delimeters, i.e., ">From " or "X-Message-Info: " or "Return-Path: <" > or "From ???@???". I have written a simple program that will separate > the huge file back into individual text files, one for each email. It > works well if the email is from a single account (with its unique > delimeter). However if, say, Apple's mail.app is pulling mail from > multiple accounts, I can't "read from" any of those delimeters. Can I > do the regex routine (something I don't quite yet understand... but > will soon!) on a file I've not wholly read? Thanks again for your > great help. -- Randy > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revlist at cableone.net Tue Dec 14 11:29:32 2004 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 14 Dec 2004 09:29:32 -0700 Subject: revCopyFolder problems in Rev 2.5 Message-ID: <000301c4e1fa$17d47650$64fea8c0@chris1> Does anyone know if revCopyFolder is broken in Rev 2.5 build 2? I'm having problems with it. Calling "the result" right after it returns "execution error". If I revert back to Rev 2.2 it works fine. Anyone else had problems with this? Thanks, Chris Sheffield Software Development Read Naturally -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.3 - Release Date: 12/14/2004 From dsc at swcp.com Tue Dec 14 12:00:33 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 10:00:33 -0700 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: References: <20041213000551.0FC439301C7@mail.runrev.com> Message-ID: See Frank's comments on reading in the file whole. On Dec 14, 2004, at 7:46 AM, Randy Padawer wrote: > Can I do the regex routine (something I don't quite yet understand... > but will soon!) on a file I've not wholly read? Yes. Maybe something like this: Start with an empty line accumulator. Repeat Read in a line. (exit if you can't) If it is a delimiter line then Process the accumulated lines put the current line into the accumulator else put the current line after the accumulator You can use regex for the delimiter line match or you can make your own function that uses contains. I made some assumptions. You might have to fiddle with what to do with the first one. I haven't tried it, but you might run into some problems reading some fixed number of chars on a file open for text. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services **************************************** From gizmotron at earthlink.net Tue Dec 14 12:18:05 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 14 Dec 2004 09:18:05 -0800 Subject: Newbie XML Question In-Reply-To: <001001c4e152$8107dac0$0c00000a@daedalus> Message-ID: <1DF33162-4DF4-11D9-B296-000A95743F7A@earthlink.net> On Monday, December 13, 2004, at 12:29 PM, Bill Marriott wrote: > > > > DateTime="20041213142603" Order="1"> > > > Cherry Coca-Cola > > DateTime="20041213142614" Order="1"> > > > Hershey's Chocolate Bar > > DateTime="20041213150925" Order="2"> > > > Marlboro Cigarettes > > > > In other words, Bob had two customers. The first customer bought two > items (Order 1), and the second customer bought one item (Order 2). > > Each register spits out a tape like this, starting with Order=1 and > continuing until the store closes. At the end of the day, Bob would > like to feed these tapes into his computer running Revolution and get > one "tape" of all his items, re-numbered sequentially. > > * Bob can't just tape them together (append them) because the Order > numbers would conflict. Each register starts numbering at "1" when the > store opens. > * There will never be overlapping orders; only one cash register is > active at any given time. (Bob is a sole proprietor who runs from one > to the other.) > [snip] > The problem is, I don't know how to manipulate blocks of XML like > this. Do I have to convert the whole XML file into some kind of table > first? Do I have to walk through each and every node and every > attribute? Is there nothing like "sort lines of foobar ascending by > item 5 of each?" Actually, I don't even know how to walk through the > nodes since the functions only seem to return the first instance... > > I really would like to do something like select/extract all the > Purchases where the Order ID = n and bring along all the related > attributed and child elements. But I haven't a clue how to do that. > > I've gotten as far as I have through reading the "XML Demo 1" stack > and "XML construction kit" but I've hit a wall now. Some helpful > advice would be very welcome... and posisbly helpful for other XML > newbies on the list. > > Bill Bill, I'm having trouble posting to the list? Being new here you would not know about my pull-parsers. This task of yours could be handled so easy with a pull parser. First of all you could create an array of purchase objects using my pull-parser function for creating an array out of multiple XML elements, in your case , purchases. So here it is done for you: Step 1. put XML data of cash register a & cash register b into gBothXMLtapes ( field "stashHere" ) Step 2. Use my pull-parser functions to create one array of all purchase data (see functions below) ...paste the functions below into your application at some button before using them. ======== Use this in a button click: -- Paste all this below into a button & use field "stashHere" -- to enter your XML & field "show" to see the results. on mouseUp put the text of field "stashHere" into gBothXMLtapes put 1 into spot put "" into stashAttributesDT put "" into gTransXML put "" into t2 put "" into tempXML put getElementsArray(t1, t2, gBothXMLtapes) into bothTapesArray repeat put bothTapesArray[spot] into stashThis if stashThis = empty then exit repeat put getAttribute("DateTime", stashThis) into tAttributeDT delete char 1 to 8 of tAttributeDT put tAttributeDT & return after stashAttributesDT put "<" & tAttributeDT & ">" into a1 put "" into a2 put a1 & t1 & stashThis & t2 & a2 into zapped put zapped & return after tempXML add 1 to spot end repeat sort lines of stashAttributesDT -- this sorting is the solution based on your XML and the use by two cash registers. put 1 into spot2 put "" & return into newXMLDoc repeat for each line X in stashAttributesDT put "<" & X & ">" into z1 put "" into z2 put getElement(z1, z2, tempXML) into tXmlElement put return & tXmlElement & return after newXMLDoc end repeat put "" & return after newXMLDoc put newXMLDoc into field "show" end mouseUp -- That's it. You now have a newly transformed single XML document based on the Date-Time attribute that -- will appear in the "show" text field. -- I hope that helps, -- Mark --=========================== --=========================== --Paste these functions: -- put getElement("", "", tVar) into theElement function getElement tStTag, tEdTag, stngToSch put empty into zapped put the number of chars in tStTag into dChars put offset(tStTag,stngToSch) into tNum1 put offset(tEdTag,stngToSch) into tNum2 if tNum1 < 1 then return "error" exit getElement end if if tNum2 < 1 then return "error" exit getElement end if put char (tNum1 + dChars) to (tNum2 - 1) of stngToSch into zapped return zapped end getElement -- put getAttribute("name", tVar) into theAttribute function getAttribute tAttribute, strngToSearch put empty into zapA put quote into Qx if char 1 of tAttribute = space then put tAttribute & "=" & Qx into tAttributeX else put space & tAttribute & "=" & Qx into tAttributeX end if put the number of chars in tAttributeX into dChars put offset(tAttributeX,strngToSearch) into tNum1 if tNum1 < 1 then return "error" exit getAttribute end if put tNum1 + dChars into tNumX put offset(Qx,strngToSearch,tNumX) into tNumZ if tNumX < 1 then return "error" exit getAttribute end if if tNumZ < 1 then return "error" exit getAttribute end if put char tNumX to (tNumX + (tNumZ - 1)) of strngToSearch into zapA return zapA end getAttribute -- put getElementsArray("", "", tVar) into theArray function getElementsArray tStartTag, tEndTag, StringToSearch put empty into tArray put 0 into tStart1 put 0 into tStart2 put 1 into tElementNum put the number of chars in tStartTag into dChars repeat put offset(tStartTag,StringToSearch,tStart1) into tNum1 put (tNum1 + tStart1) into tStart1 if tNum1 < 1 then exit repeat put offset(tEndTag,StringToSearch,tStart2) into tNum2 put (tNum2 + tStart2) into tStart2 if tNum2 < 1 then exit repeat --if tNum2 < tNum1 then exit repeat put char (tStart1 + dChars) to (tStart2 - 1) of StringToSearch into zapped put zapped into tArray[tElementNum] add 1 to tElementNum end repeat return tArray end getElementsArray From irog at mac.com Tue Dec 14 12:21:16 2004 From: irog at mac.com (Roger Guay) Date: Tue, 14 Dec 2004 09:21:16 -0800 Subject: No mouseUp In-Reply-To: <20041214154716.AA09C930129@mail.runrev.com> References: <20041214154716.AA09C930129@mail.runrev.com> Message-ID: <90119604-4DF4-11D9-BB14-000D933610BE@mac.com> On Dec 14, 2004, at 7:47 AM, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Tue, 14 Dec 2004 12:27:16 +1000 > From: Sarah Reichelt > Subject: Re: No mouseUp > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > >> I have the following script in a List field and the mouseUp handler >> doesn't work! I noticed that it is the "set the dragData" line in the >> mouseDown that disables the mouseUp. Can someone please tell me >> what's going on and how I can keep the mouseUp? >> >> >> on mouseDown >> get the hilitedLines of me >> set the dragData to line it of me >> end mouseDown >> >> on mouseUp >> beep 2 >> end mouseUp >> > Hi Roger, > > I would guess that because you have started a drag operation, mouseUp > is not going to happen. Try looking for a dragEnd message instead. > > Sarah Hello Sarah, Thanks for responding. Unfortunately, dragEnd does not work. I also tried dragLeave and it works OK as a replacement for mouseUp. but it also works when in the process of dragging as you would expect. I really need to work this out as my app requires both drag and drop and mouseUp events. Any other suggestions or work-around? Thanks very much, Roger From gizmotron at earthlink.net Tue Dec 14 12:31:14 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 14 Dec 2004 09:31:14 -0800 Subject: Newbie XML Question In-Reply-To: <003501c4e1d6$da9ed5f0$0c00000a@daedalus> Message-ID: On Tuesday, December 14, 2004, at 04:17 AM, Bill Marriott wrote: > I want to generate a file that looks like it was generated from a > single > register, with the order numbers in sequential order (renumbering them > as > necessary). And the "use Rev's XML Library to parse it all > together..." is > the part I'm seeking assistance with. I basically want to grab a whole > section of Purchases based on the Order attribute and move them into a > new > tree. Bob and the grocery store don't exist, it's just an illustration. In my post from last night I did not know you wanted to change the order numbers. That could be achieved using the replace function. You still need to sort by the DateTime attribute you now need to add order number groupings that fit the DateTime sort. You will have to test for when a purchase has a next higher number and repeat while the order number is the same. I would add two globals that start at 1 for each and step upward one step at a time. I would then use replace to fix it. put "Order=" & quote & gRegister1 & quote into newOrderNum replace oldOrderNumAttribute with newOrderNum in tXmlElement HTH, Mark From klaus at major-k.de Tue Dec 14 12:39:20 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 14 Dec 2004 18:39:20 +0100 Subject: ZIP on OS X Message-ID: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> Hi friends, i know this has been discussed before, but if i remember right with no really satisfying results... Does anyobody know if we can compress (zip, gz or whatever) an application bundle on OS X via "shell", just like the OS does via the context-menu in the finder? If yes, a little hint to the syntax will be appreciated... Thanks a lot in advance. Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. I found and tried "ditto" in the terminal: ditto --rsrc weihnachtsbaum.app weihn.cpio but the resulting file "weihn.cpio" is exactly the same appbundle as the original package, even the size is identical... Nothing to see of any kind of compression...? Tried: ditto -c --rsrc weihnachtsbaum.app weihnachten.zip results in the "weihanchten.zip" file, but is still as big as the original... What the heck are the correct flags to compress and decompress via "ditto"? :-) From gregory.lypny at videotron.ca Tue Dec 14 12:41:33 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 14 Dec 2004 12:41:33 -0500 Subject: Word keyword Message-ID: <6587057B-4DF7-11D9-8A04-000D9350C9C2@videotron.ca> Hello everyone, Having a bit of a problem with the Word keyword. I have data in a field delimited by multiple spaces, for example, "1234453 blah 789 stop". When I execute the handler put the second word of field "Data" I get not just "blah" but all of the spaces that precede it! Is this a bug or am I doing something wrong? Greg From dsc at swcp.com Tue Dec 14 12:47:06 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 10:47:06 -0700 Subject: help need to "read from file until xxxx OR yyyy OR zzzz" In-Reply-To: References: <20041213000551.0FC439301C7@mail.runrev.com> Message-ID: <2BB27468-4DF8-11D9-A82F-000A9567A3E6@swcp.com> On Dec 14, 2004, at 7:46 AM, Randy Padawer wrote: > The text file is made up of many individual emails concatenated > end-to-end. Rather than parsing on the lead line, maybe you can parse on the email format. Something like this, only in regex? Optional blank lines Start of capture for single email Some non-blank lines Blank line Obtional lines End of capture dot line Start of capture for rest of emails blah-blah end of file End of capture If the file is long, the second capture might be slow. You might want to consider matchChunk instead of matchText and match on either a single char or the end. That would get you the char position of the end. It might be possible to capture nothing. If you want the dot line in the mail, just move the end of capture. This might have problems with some special cases such as an empty body; you might have to look at the syntax for that. You can read the file in binary and do parsing on cr lf lines and then convert to your platform, if you want. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services **************************************** From lists at mangomultimedia.com Tue Dec 14 12:48:50 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Dec 2004 09:48:50 -0800 Subject: ZIP on OS X In-Reply-To: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> Message-ID: <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> On Dec 14, 2004, at 9:39 AM, Klaus Major wrote: > Hi friends, Hi Klaus. > i know this has been discussed before, but if i remember right > with no really satisfying results... > > Does anyobody know if we can compress (zip, gz or whatever) an > application > bundle on OS X via "shell", just like the OS does via the context-menu > in the finder? > > If yes, a little hint to the syntax will be appreciated... > > [snip] > I found and tried "ditto" in the terminal: > > ditto --rsrc weihnachtsbaum.app weihn.cpio > > but the resulting file "weihn.cpio" is exactly the same appbundle as > the original package, > even the size is identical... Nothing to see of any kind of > compression...? > > Tried: > > ditto -c --rsrc weihnachtsbaum.app weihnachten.zip > > results in the "weihanchten.zip" file, but is still as big as the > original... > > What the heck are the correct flags to compress and decompress via > "ditto"? :-) This worked for me. Took a 60KB file down to 28KB. ditto -c -k -X --rsrc RevolutionScreenSnapz001.pdf test.zip -X keeps the archive from descending into directories that have a different device ID and -k signifies a PKZip archive as opposed to a CPIO archive. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From James.Cass at sealedair.com Tue Dec 14 12:54:49 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Tue, 14 Dec 2004 12:54:49 -0500 Subject: ZIP on OS X In-Reply-To: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> Message-ID: Klaus - Take a look at the man for gzip and gunzip. You also might want to try an "apropos zip" to get a list a "zip" related shell items. Cheers...James Klaus Major Sent by: use-revolution-bounces at lists.runrev.com 12/14/04 12:39 PM Please respond to How to use Revolution To: RevList cc: Subject: ZIP on OS X Hi friends, i know this has been discussed before, but if i remember right with no really satisfying results... Does anyobody know if we can compress (zip, gz or whatever) an application bundle on OS X via "shell", just like the OS does via the context-menu in the finder? If yes, a little hint to the syntax will be appreciated... Thanks a lot in advance. Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. I found and tried "ditto" in the terminal: ditto --rsrc weihnachtsbaum.app weihn.cpio but the resulting file "weihn.cpio" is exactly the same appbundle as the original package, even the size is identical... Nothing to see of any kind of compression...? Tried: ditto -c --rsrc weihnachtsbaum.app weihnachten.zip results in the "weihanchten.zip" file, but is still as big as the original... What the heck are the correct flags to compress and decompress via "ditto"? :-) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Tue Dec 14 13:00:32 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 14 Dec 2004 19:00:32 +0100 Subject: ZIP on OS X In-Reply-To: <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> Message-ID: <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> Hi Trevor, > On Dec 14, 2004, at 9:39 AM, Klaus Major wrote: > >> Hi friends, > > Hi Klaus. >> ... >> What the heck are the correct flags to compress and decompress via >> "ditto"? :-) > This worked for me. Took a 60KB file down to 28KB. > ditto -c -k -X --rsrc RevolutionScreenSnapz001.pdf test.zip > -X keeps the archive from descending into directories that have a > different device ID Don't get this one... > and -k signifies a PKZip archive as opposed to a CPIO archive. ...but this one :-) Yeah, great, works fine!!! Thanks! And how can i decompress the resulting file again? > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From lists at mangomultimedia.com Tue Dec 14 13:10:38 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Dec 2004 10:10:38 -0800 Subject: ZIP on OS X In-Reply-To: <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> Message-ID: <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> On Dec 14, 2004, at 10:00 AM, Klaus Major wrote:... >> This worked for me. Took a 60KB file down to 28KB. >> ditto -c -k -X --rsrc RevolutionScreenSnapz001.pdf test.zip >> -X keeps the archive from descending into directories that have a >> different device ID > > Don't get this one... I'm not positive but I assume it won't go into a directory that points to another harddrive, etc. I'm just guessing though. >> and -k signifies a PKZip archive as opposed to a CPIO archive. > > ...but this one :-) > > Yeah, great, works fine!!! Thanks! > > And how can i decompress the resulting file again? ditto -x -k test.zip test -x tells ditto that the first file is an archive. -k tells it that the file is pkzip rather than cio. This will output the contents of test.zip to a folder named test. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From klaus at major-k.de Tue Dec 14 13:17:45 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 14 Dec 2004 19:17:45 +0100 Subject: ZIP on OS X In-Reply-To: <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> Message-ID: <73A31407-4DFC-11D9-BBD2-000A27B49A96@major-k.de> Hi Trevor, > On Dec 14, 2004, at 10:00 AM, Klaus Major wrote:... >>> This worked for me. Took a 60KB file down to 28KB. >>> ditto -c -k -X --rsrc RevolutionScreenSnapz001.pdf test.zip >>> -X keeps the archive from descending into directories that have a >>> different device ID >> >> Don't get this one... > > I'm not positive but I assume it won't go into a directory that points > to another harddrive, etc. I'm just guessing though. :-) >>> and -k signifies a PKZip archive as opposed to a CPIO archive. >> >> ...but this one :-) >> >> Yeah, great, works fine!!! Thanks! >> And how can i decompress the resulting file again? > ditto -x -k test.zip test > -x tells ditto that the first file is an archive. -k tells it that > the file is pkzip rather than cio. This will output the contents of > test.zip to a folder named test. Thank you very much!!! Has been archieved :-) > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com Best Klaus Major klaus at major-k.de http://www.major-k.de From sims at ezpzapps.com Tue Dec 14 13:23:03 2004 From: sims at ezpzapps.com (sims) Date: Tue, 14 Dec 2004 19:23:03 +0100 Subject: record sound & send via sockets Message-ID: Am looking for a way to record sound and then have Rev send the sound via sockets to another location. We can write to a Quicktime file and then send that by sockets. Is there any way to record a sound to a variable and then send that so we can send the sound quicker? Or is there any way to make this process even faster? The goal is to be able to have a voice chat instead of a text chat. Any general suggestions? tia sims EuroRevCon 2006!! From gregory.lypny at videotron.ca Tue Dec 14 13:32:21 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 14 Dec 2004 13:32:21 -0500 Subject: Word keyword (more info) Message-ID: <7DF85F5F-4DFE-11D9-8A04-000D9350C9C2@videotron.ca> I don't know about all of this RFT and HTML stuff, but when I used put the HTMLText of fld "Data", I got a lot of "nbsp" ----------example ----------------

064100S                 COMM 220 C                     LYPNY X084 and when I used the RTFText of fld "Data", I got a lot of "CA's". ------------example----------- {\rtf\mac 064100S \'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CACOMM 220 C \'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA \'CALYPNY X084 \'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CAR \par 341225453433111332124451122514141444222241221123541122332355 \'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA\'CA1111111 \'CA1 \par 2212 Greg From dsc at swcp.com Tue Dec 14 14:02:46 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 12:02:46 -0700 Subject: Word keyword (more info) In-Reply-To: <7DF85F5F-4DFE-11D9-8A04-000D9350C9C2@videotron.ca> References: <7DF85F5F-4DFE-11D9-8A04-000D9350C9C2@videotron.ca> Message-ID: On Dec 14, 2004, at 11:32 AM, Gregory Lypny wrote: > I don't know about all of this RFT and HTML stuff, but when I used > > put the HTMLText of fld "Data", > > I got a lot of "nbsp" Cool. It used to be that that didn't work right. Dar **************************************** DSC http://www.swcp.com/dsc/ Programming Services **************************************** From gregory.lypny at videotron.ca Tue Dec 14 14:03:54 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 14 Dec 2004 14:03:54 -0500 Subject: Word keyword (and finally) Message-ID: Think of it as flow of consciousness. Given that the problem appears to be with the data having RTF or HTML attributes, my question is: how can I remove all of these attributes and have my data as plain old text? Greg From dsc at swcp.com Tue Dec 14 14:04:37 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 12:04:37 -0700 Subject: ZIP on OS X In-Reply-To: <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> Message-ID: On Dec 14, 2004, at 11:10 AM, Trevor DeVore wrote: > ditto -x -k test.zip test Is ditto on 10.1? Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services **************************************** From ambassador at fourthworld.com Tue Dec 14 14:55:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Dec 2004 11:55:37 -0800 Subject: Word keyword In-Reply-To: <6587057B-4DF7-11D9-8A04-000D9350C9C2@videotron.ca> References: <6587057B-4DF7-11D9-8A04-000D9350C9C2@videotron.ca> Message-ID: <41BF4539.6020802@fourthworld.com> Gregory Lypny wrote: > Hello everyone, > > Having a bit of a problem with the Word keyword. I have data in a field > delimited by multiple spaces, for example, "1234453 blah > 789 stop". When I execute the handler > > put the second word of field "Data" > > I get not just "blah" but all of the spaces that precede it! Is this a > bug or am I doing something wrong? Are they truly spaces (ASCII 32) or are some of those non-breaking spaces? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Tue Dec 14 14:55:36 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2004 13:55:36 -0600 Subject: Word keyword (and finally) In-Reply-To: References: Message-ID: <41BF4538.9020900@hyperactivesw.com> On 12/14/04 1:03 PM, Gregory Lypny wrote: > Think of it as flow of consciousness. > > Given that the problem appears to be with the data having RTF or HTML > attributes, my question is: how can I remove all of these attributes and > have my data as plain old text? I don't think the problem is with the HTML or RTF -- the problem is that your original data does not contain "real" spaces, but rather contains "hard spaces". These are considered normal characters, different than a space, and become part of the "word" as Rev sees it. To fix it, replace all option-space characters with regular spaces before parsing the script: replace numToChar(202) with space in fld "data" On a Mac, you can also generate this character by just typing option-space rather than using the numtochar business in the script. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Dec 14 15:07:25 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 13:07:25 -0700 Subject: Word keyword (more info) In-Reply-To: References: <7DF85F5F-4DFE-11D9-8A04-000D9350C9C2@videotron.ca> Message-ID: On Dec 14, 2004, at 12:02 PM, Dar Scott wrote: > On Dec 14, 2004, at 11:32 AM, Gregory Lypny wrote: > >> I don't know about all of this RFT and HTML stuff, but when I used >> >> put the HTMLText of fld "Data", >> >> I got a lot of "nbsp" > > Cool. It used to be that that didn't work right. Whoops. I just tried this on Revolution 2.5 on OS X 10.3.6. My spaces do not turn into  . The HTMLText is not true HTML, but is an HTML-like formatting description. It uses two spaces in htmlText for two spaces in the text which is not HTML. I had caught a comment out of context and thought maybe htmlText was closer a step to HTML. Sorry for the confusion. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From gbojsza at gmail.com Tue Dec 14 15:12:21 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 14 Dec 2004 15:12:21 -0500 Subject: PowerPoint images / icons Message-ID: <3d8af415041214121254e5362@mail.gmail.com> I have a powerpoint slide that contains several images I would like to use in Revolution Platform Windows XP ; Rev version 2.5 I have tried to copy and paste an image from powerpoint to Rev but when I do the paste Revolution quits. I have tried Edit -> Paste Image and ctrl-v. I am looking for suggestions to what the best way of getting the images into a stack would be. Please note that I would like the images to be the same as a transparent gif (this is where the surrounding area of the image which is usually white is actually transparent). This will allow a connecting line between the between two images looks correct . regards, Glen From sims at ezpzapps.com Tue Dec 14 15:16:19 2004 From: sims at ezpzapps.com (sims) Date: Tue, 14 Dec 2004 21:16:19 +0100 Subject: Video_Input.rev Message-ID: I'm looking for the video sample stack "Video_Input.rev" Can anyone tell me where it is or send me a copy? tia sims EuroRevCon 2006 From webmaster at dreamscapesoftware.com Tue Dec 14 15:19:03 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 14 Dec 2004 14:19:03 -0600 Subject: PowerPoint images / icons References: <3d8af415041214121254e5362@mail.gmail.com> Message-ID: <003201c4e21a$28d60c00$8d6c113f@DOWNSTAIRS> > I am looking for suggestions to what the best way of getting the > images into a stack would be. Please note that I would like the images > to be the same as a transparent gif (this is where the surrounding > area of the image which is usually white is actually transparent). I often find that sometimes images/text in other programs just doesn't work in Rev by simply pasting them. What you can try as an alternative is to try pasting the image into another program like Adobe PhotoShop and then either re-copying and trying to paste, or saving the image as a GIF or a PNG (for 24 Bit Transparency) and then importing the image into Rev. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From gregory.lypny at videotron.ca Tue Dec 14 15:30:43 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 14 Dec 2004 15:30:43 -0500 Subject: Word keyword In-Reply-To: <20041214200752.0783F93015B@mail.runrev.com> References: <20041214200752.0783F93015B@mail.runrev.com> Message-ID: <0726A27E-4E0F-11D9-8A04-000D9350C9C2@videotron.ca> Thanks Dar, Jacqueline, and Richard for your suggestions. I was able to fix it in the meantime by getting the rftText and replacing the hard spaces with regular spaces. Greg From fde101 at fjrhome.net Tue Dec 14 15:30:15 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 14 Dec 2004 15:30:15 -0500 Subject: ZIP on OS X In-Reply-To: References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> Message-ID: You may also want to look at the "zip" and "unzip" command-line utilities. Also, "gzip" and "gunzip" are more common in the UNIX world; however, these compress single files only, they will not grab an entire folder, such as a bundle. To do that, you use gzip/gunzip in combination with "tar", which is an archiving tool. To compress/create an archive: tar cfz .tgz To decompress/extract an archive into the current directory: tar xfz Note: tar stores filenames "as is". If you are in a directory, say /xyz/abc, and try this: tar cfz mytarball.tgz def/qwerty/* Then everything (incl. subdirs) in /xyz/abc/def/qwerty will be included in the archive, and extracting it as in: % cd /lmnop % tar xfz mytarball.tgz will place those files into /lmnop/def/qwerty. Similarly, doing this: tar cvf mytarball.tgz /xyz/abc/def/qwerty/* will archive the same files as the previous command, but now the same exact extraction command will place the files into /xyz/abc/def/querty, since absolute pathnames were used. I think using tar in combination with gzip/gunzip yields better compression than zip/unzip, but I'd have to check again to be sure. Note that the "z" (compress with gzip) option is not available with the versions of tar which ship with many commercial *NIXes; for these platforms you would compress/archive with: tar cf - | gzip -c > Note that the "stray" greater-than sign in this line is to redirect output and should be included (the paired < and > symbols should not be typed, obviously). So like this: tar cf - def/querty/* | gzip -c > mytarball.tgz And to decompress/extract: gzip -c mytarball.tgz | tar xf - On Dec 14, 2004, at 2:04 PM, Dar Scott wrote: > > On Dec 14, 2004, at 11:10 AM, Trevor DeVore wrote: > >> ditto -x -k test.zip test > > Is ditto on 10.1? > > Dar Scott > > **************************************** > DSC > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From dsc at swcp.com Tue Dec 14 15:33:53 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 13:33:53 -0700 Subject: record sound & send via sockets In-Reply-To: References: Message-ID: <78A5E061-4E0F-11D9-A82F-000A9567A3E6@swcp.com> On Dec 14, 2004, at 11:23 AM, sims wrote: > The goal is to be able to have a voice chat instead of a text chat. > > Any general suggestions? There does not seem to be a streaming sound recording I/O capability. (Maybe there is something in the video libraries, I don't know.) Revolution does have the ability to record to a file. (Not a variable, as far as I can tell.) This recording is started with a command and stopped with a command. I assume you can be recording to only one file at a time. If that assumption is false, then you have more options. A simple (and maybe too crude) method might be to have mic button as in half-duplex radio. The mouseDown event could start recording and mouseUp could stop it and send off the sound. This does not have to be half-duplex; the speaker could send sentences and receive sentences. One problem is that the sound is delayed. One way to avoid the delay is to record in small chunks and send that. I would expect you will get big parts missing and nasty clunk sounds. Maybe it is possible to read the file as it is being recorded and send portions. Communication needs to drop frames if the pipe gets too clogged. It might be there is some command-line app that can do all the work and meet some standard and then all you have to do is control it. These are very general. Perhaps these are suggestions. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From fde101 at fjrhome.net Tue Dec 14 15:31:03 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 14 Dec 2004 15:31:03 -0500 Subject: Word keyword In-Reply-To: <41BF4539.6020802@fourthworld.com> References: <6587057B-4DF7-11D9-8A04-000D9350C9C2@videotron.ca> <41BF4539.6020802@fourthworld.com> Message-ID: <134480EA-4E0F-11D9-8BF1-0050E410655F@fjrhome.net> Or tabs? Some text editors convert spaces to tabs (and vice versa) without asking... On Dec 14, 2004, at 2:55 PM, Richard Gaskin wrote: > Gregory Lypny wrote: >> Hello everyone, >> Having a bit of a problem with the Word keyword. I have data in a >> field delimited by multiple spaces, for example, "1234453 >> blah 789 stop". When I execute the handler >> put the second word of field "Data" >> I get not just "blah" but all of the spaces that precede it! Is this >> a bug or am I doing something wrong? > > > Are they truly spaces (ASCII 32) or are some of those non-breaking > spaces? > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Tue Dec 14 15:35:18 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Dec 2004 12:35:18 -0800 Subject: PowerPoint images / icons In-Reply-To: <003201c4e21a$28d60c00$8d6c113f@DOWNSTAIRS> References: <3d8af415041214121254e5362@mail.gmail.com> <003201c4e21a$28d60c00$8d6c113f@DOWNSTAIRS> Message-ID: <41BF4E86.9030504@fourthworld.com> Derek Bump wrote: > I often find that sometimes images/text in other programs just doesn't > work in Rev by simply pasting them. There are a number of Bugzilla reports related to images, but I just added a new enhancement request that hadn't been suggested there before: From the report: ------------- Currently, pasting an image from the Clipboard causes one of two things to happen: either the image is pasted into the bottom-most image object, or if there are no image objects it creates a new image sized to match the entire card. It's rarely the case in my own work that either is what I want. :) It would be nice if there was a way to paste an image and have it create a new image object, regardless of whether other image objects may already exist. Even better, this newly created object should be sized to the bounds of the clipboard image data, rather than creating an image sized to match the entire card. Perhaps this new behavior could be differentiated by a global property. If so, what should it be called? Good names for such a thing elude me this afternoon.... ------ If you like this idea and have some suggestions for what this property could be called, please add it to the report. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From byront at mac.com Tue Dec 14 15:36:18 2004 From: byront at mac.com (Byron) Date: Tue, 14 Dec 2004 12:36:18 -0800 Subject: MatchText error In-Reply-To: <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> Message-ID: <13D1BA51-E9C2-4FC0-8339-756A0C06E35D@mac.com> I'm getting the error Type Handler: can't find handler Object Test Match Text Line matchText("Goodbye","bye") Hint matchText I'm testing with the example in the documentation. Any ideas? Here is the exact script on mouseUp matchText("Goodbye","bye") put it end mouseUp Thanks, Byron From sims at ezpzapps.com Tue Dec 14 15:42:57 2004 From: sims at ezpzapps.com (sims) Date: Tue, 14 Dec 2004 21:42:57 +0100 Subject: record sound & send via sockets In-Reply-To: <78A5E061-4E0F-11D9-A82F-000A9567A3E6@swcp.com> References: <78A5E061-4E0F-11D9-A82F-000A9567A3E6@swcp.com> Message-ID: >On Dec 14, 2004, at 11:23 AM, sims wrote: > >>The goal is to be able to have a voice chat instead of a text chat. >> >>Any general suggestions? > >There does not seem to be a streaming sound recording I/O >capability. (Maybe there is something in the video libraries, I >don't know.) > >These are very general. Perhaps these are suggestions. > >Dar Scott Thanks Dar...am plodding along on this. atb sims EuroRevCon 2006 From psahores at easynet.fr Tue Dec 14 15:41:12 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 14 Dec 2004 21:41:12 +0100 Subject: record sound & send via sockets In-Reply-To: References: Message-ID: <7E1F01A0-4E10-11D9-8D93-000A95C61E96@easynet.fr> Hello sims, This can be done (without XTalk's elegance) is using QT Broadcaster + Darwin Streaming Server. The goal would be to code Rev's substitutes to those components or, best, build a Rev solution able to grab and replay MP3 or QT Movie in multi-users P2P mode. This is surely a way to get this working with the right design, some fine transcript and a "soup?on" of C external coding ;-) I'm really interesting in seeing how will grow this discussion thread ! Best Regards, Le 14 d?c. 04, ? 19:23, sims a ?crit : > Am looking for a way to record sound and then have Rev send the sound > via sockets to another location. > > We can write to a Quicktime file and then send that by sockets. > > Is there any way to record a sound to a variable and then send that > so we can send the sound quicker? Or is there any way to make this > process > even faster? > > The goal is to be able to have a voice chat instead of a text chat. > > Any general suggestions? > > tia > sims > EuroRevCon 2006!! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From alex at tweedly.net Tue Dec 14 15:44:55 2004 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 14 Dec 2004 20:44:55 +0000 Subject: MatchText error In-Reply-To: <13D1BA51-E9C2-4FC0-8339-756A0C06E35D@mac.com> References: <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> Message-ID: <5.1.0.14.0.20041214204333.029edeb8@mail.tweedly.net> At 12:36 14/12/2004 -0800, Byron wrote: >I'm getting the error > >Type Handler: can't find handler >Object Test Match Text >Line matchText("Goodbye","bye") >Hint matchText MatchText is a function - try something like put matchText("Goodbe", bye") -- Alex. From soapdog at mac.com Tue Dec 14 15:53:03 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 14 Dec 2004 08:53:03 -1200 Subject: record sound & send via sockets In-Reply-To: References: Message-ID: <5159705.1103057583413.JavaMail.soapdog@mac.com> Sims, since we talked during our wonderfull ERC time, I am looking into it, its just my broken arm delaying me.... but I hope to send more research to this list soon... cheers andre On Tuesday, December 14, 2004, at 06:19AM, sims wrote: >Am looking for a way to record sound and then have Rev send the sound >via sockets to another location. > >We can write to a Quicktime file and then send that by sockets. > >Is there any way to record a sound to a variable and then send that >so we can send the sound quicker? Or is there any way to make this process >even faster? > >The goal is to be able to have a voice chat instead of a text chat. > >Any general suggestions? > >tia >sims >EuroRevCon 2006!! >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > From sims at ezpzapps.com Tue Dec 14 16:04:28 2004 From: sims at ezpzapps.com (sims) Date: Tue, 14 Dec 2004 22:04:28 +0100 Subject: record sound & send via sockets In-Reply-To: <5159705.1103057583413.JavaMail.soapdog@mac.com> References: <5159705.1103057583413.JavaMail.soapdog@mac.com> Message-ID: >Sims, > >since we talked during our wonderfull ERC time, I am looking into it, its >just my broken arm delaying me.... > > >but I hope to send more research to this list soon... > >cheers >andre Thanks...not much can slow you down ;-) ciao sims EuroRevCon 2006 From ambassador at fourthworld.com Tue Dec 14 16:00:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Dec 2004 13:00:53 -0800 Subject: record sound & send via sockets In-Reply-To: <78A5E061-4E0F-11D9-A82F-000A9567A3E6@swcp.com> References: <78A5E061-4E0F-11D9-A82F-000A9567A3E6@swcp.com> Message-ID: <41BF5485.6020101@fourthworld.com> Dar Scott wrote: > > On Dec 14, 2004, at 11:23 AM, sims wrote: > >> The goal is to be able to have a voice chat instead of a text chat. >> >> Any general suggestions? > > It might be there is some command-line app that can do all the work and > meet some standard and then all you have to do is control it. That may be a good option. There's so much work involved in correcting for latencies with such data transfer that it'll be hard to beat the work done by specialists. Would it be acceptable to just use iChat or other chat client as a helper app for whatever workflow you're supporting? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From byront at mac.com Tue Dec 14 16:11:37 2004 From: byront at mac.com (Byron) Date: Tue, 14 Dec 2004 13:11:37 -0800 Subject: MatchText error In-Reply-To: <5.1.0.14.0.20041214204333.029edeb8@mail.tweedly.net> References: <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <69C1D02A-4DF8-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <0C43BC56-4DFA-11D9-BBD2-000A27B49A96@major-k.de> <756860E4-4DFB-11D9-B0D3-000D9337CDC8@mangomultimedia.com> <5.1.0.14.0.20041214204333.029edeb8@mail.tweedly.net> Message-ID: Thank you. That did it. . . obviously I still have a lot to learn. On Dec 14, 2004, at 12:44 PM, Alex Tweedly wrote: > put matchText("Goodbe", bye") From sims at ezpzapps.com Tue Dec 14 16:17:15 2004 From: sims at ezpzapps.com (sims) Date: Tue, 14 Dec 2004 22:17:15 +0100 Subject: record sound & send via sockets In-Reply-To: <41BF5485.6020101@fourthworld.com> References: <78A5E061-4E0F-11D9-A82F-000A9567A3E6@swcp.com> <41BF5485.6020101@fourthworld.com> Message-ID: >Dar Scott wrote: >> >>On Dec 14, 2004, at 11:23 AM, sims wrote: >> >>>The goal is to be able to have a voice chat instead of a text chat. >>> >>>Any general suggestions? >> >>It might be there is some command-line app that can do all the work >>and meet some standard and then all you have to do is control it. > >That may be a good option. There's so much work involved in >correcting for latencies with such data transfer that it'll be hard >to beat the work done by specialists. > >Would it be acceptable to just use iChat or other chat client as a >helper app for whatever workflow you're supporting? I need to have a system which is hardwired so employees cannot abuse it. It must be set up to connect only to one computer so they cannot be calling friends and others during work hours. There are a few VoIP packages, we might have to have one customised for our needs but the idea of making something with Rev is appealing. Others might also find the stack useful. thanks sims EuroRevCon 2006! Be there or be square! From dsc at swcp.com Tue Dec 14 16:29:13 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 14:29:13 -0700 Subject: record sound & send via sockets In-Reply-To: References: <78A5E061-4E0F-11D9-A82F-000A9567A3E6@swcp.com> <41BF5485.6020101@fourthworld.com> Message-ID: <33039F08-4E17-11D9-A82F-000A9567A3E6@swcp.com> On Dec 14, 2004, at 2:17 PM, sims wrote: > I need to have a system which is hardwired so employees cannot abuse > it. > It must be set up to connect only to one computer so they cannot be > calling > friends and others during work hours. You might be able to limit this with the site or desktop firewall. On some Windows systems you can do this with ipSec policy, even if you don't use ipSec. Some kinds of helper apps might be completely invisible or give no indication that they can be run alone. That may hide things enough to keep folks from using them in general. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From mfstuart at cox.net Tue Dec 14 16:36:44 2004 From: mfstuart at cox.net (mfstuart at cox.net) Date: Tue, 14 Dec 2004 16:36:44 -0500 Subject: Dreamcard Player - help Message-ID: <20041214213644.XCPE17983.fed1rmmtao02.cox.net@smtp.west.cox.net> To RunRev support people and anyone else who knows, I?m still not able to get my MAForums.rev application to ?play? on a Windows computer that only has the Dreamcard Player installed on it. The app works with the Player on a Windows computer with the installation of the developer. The app is the demo from Sarah at troz.com, the app that needs to read a web page thru the internet. If the computer with just the Dreamcard Player needs some other component installed on it, then why doesn?t the player come with the required components? How do I get this resolved? TIA, Mark Stuart p.s. this is my first impression of the RunRev software products ? so far, it?s not going too good. p.s.s. The original reason I purchased Dreamcard, was to see it?s capabilities to access MySQL databases, I?m working on that demo as well, not with very good results as yet, with large data sets ? over 500,000 records. Now, I don?t know if there is a vast difference between Dreamcard and Revolution products that access MySQL databases. So far with what I?ve read on the RunRev website is that both products are the same, upto Dreamcard, and that Revolution passes Dreamcard with more functions and feature set. From psahores at easynet.fr Tue Dec 14 16:51:32 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 14 Dec 2004 22:51:32 +0100 Subject: ZIP on OS X In-Reply-To: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> Message-ID: <51811400-4E1A-11D9-8D93-000A95C61E96@easynet.fr> Hello Klaus, on mouseup put shell ("zip /Users/sahores/Desktop/dess-capture.qtbr.zip /Users/sahores/Desktop/dess-capture.qtbr") into aaa answer aaa put shell ("unzip -j /Users/sahores/Desktop/dess-capture.qtbr -d /Users/sahores/Desktop/") into aaa answer aaa end mouseup To get help about zip/unzip options, type in a shell window "zip -h"/"unzip -h" Tchuss :) Le 14 d?c. 04, ? 18:39, Klaus Major a ?crit : > Hi friends, > > i know this has been discussed before, but if i remember right > with no really satisfying results... > > Does anyobody know if we can compress (zip, gz or whatever) an > application > bundle on OS X via "shell", just like the OS does via the context-menu > in the finder? > > If yes, a little hint to the syntax will be appreciated... > > > Thanks a lot in advance. > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > P.S. > I found and tried "ditto" in the terminal: > > ditto --rsrc weihnachtsbaum.app weihn.cpio > > but the resulting file "weihn.cpio" is exactly the same appbundle as > the original package, > even the size is identical... Nothing to see of any kind of > compression...? > > Tried: > > ditto -c --rsrc weihnachtsbaum.app weihnachten.zip > > results in the "weihanchten.zip" file, but is still as big as the > original... > > What the heck are the correct flags to compress and decompress via > "ditto"? :-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr 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/EAI services & ACID DB over IP "Mutualiser les deltas de productivit?" From fde101 at fjrhome.net Tue Dec 14 16:59:14 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 14 Dec 2004 16:59:14 -0500 Subject: Dreamcard Player - help In-Reply-To: <20041214213644.XCPE17983.fed1rmmtao02.cox.net@smtp.west.cox.net> References: <20041214213644.XCPE17983.fed1rmmtao02.cox.net@smtp.west.cox.net> Message-ID: <64D89D22-4E1B-11D9-8BF1-0050E410655F@fjrhome.net> If you need to contact Rev's support, this is not the place for it; try support at runrev.com, or check out http://support.runrev.com. As far as why that does not work against the player unless the developer is installed, that sounds a bit strange. Are these the only differences between the two machines? Are you sure there is not some other substantial difference in the configuration? Maybe one has WinXP and the other Win2K, or QuickTime is installed on one and not the other... On Dec 14, 2004, at 4:36 PM, wrote: > To RunRev support people and anyone else who knows, > > I?m still not able to get my MAForums.rev application to ?play? on a > Windows computer that only has the Dreamcard Player installed on it. > The app works with the Player on a Windows computer with the > installation of the developer. > > The app is the demo from Sarah at troz.com, the app that needs to read > a web page thru the internet. > > If the computer with just the Dreamcard Player needs some other > component installed on it, then why doesn?t the player come with the > required components? > > > How do I get this resolved? > > TIA, > > > Mark Stuart > > > p.s. this is my first impression of the RunRev software products ? so > far, it?s not going too good. > > > > p.s.s. The original reason I purchased Dreamcard, was to see it?s > capabilities to access MySQL databases, I?m working on that demo as > well, not with very good results as yet, with large data sets ? over > 500,000 records. Now, I don?t know if there is a vast difference > between Dreamcard and Revolution products that access MySQL databases. > So far with what I?ve read on the RunRev website is that both products > are the same, upto Dreamcard, and that Revolution passes Dreamcard > with more functions and feature set. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From sarahr at genesearch.com.au Tue Dec 14 17:19:35 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 15 Dec 2004 08:19:35 +1000 Subject: No mouseUp In-Reply-To: <90119604-4DF4-11D9-BB14-000D933610BE@mac.com> References: <20041214154716.AA09C930129@mail.runrev.com> <90119604-4DF4-11D9-BB14-000D933610BE@mac.com> Message-ID: <3C7E6CDD-4E1E-11D9-8AD4-0003937A97B8@genesearch.com.au> >>> I have the following script in a List field and the mouseUp handler >>> doesn't work! I noticed that it is the "set the dragData" line in >>> the >>> mouseDown that disables the mouseUp. Can someone please tell me >>> what's going on and how I can keep the mouseUp? >>> >>> >>> on mouseDown >>> get the hilitedLines of me >>> set the dragData to line it of me >>> end mouseDown >>> >>> on mouseUp >>> beep 2 >>> end mouseUp >>> >> Hi Roger, >> >> I would guess that because you have started a drag operation, mouseUp >> is not going to happen. Try looking for a dragEnd message instead. >> >> Sarah > > Hello Sarah, > > Thanks for responding. Unfortunately, dragEnd does not work. I also > tried dragLeave and it works OK as a replacement for mouseUp. but it > also works when in the process of dragging as you would expect. I > really need to work this out as my app requires both drag and drop and > mouseUp events. Any other suggestions or work-around? > > Thanks very much, Roger > The only other suggestion I have is to have multiple dragDrop routines: one in the original button so if the user effectively cancels the drag by letting the mouse go on that button, you can handle it as if it was mouseUp. Then in the stack or card or destination object, have another dragDrop that actually deals with the dropped data. Sarah From sarahr at genesearch.com.au Tue Dec 14 17:25:42 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 15 Dec 2004 08:25:42 +1000 Subject: Video_Input.rev In-Reply-To: References: Message-ID: <173AB2EF-4E1F-11D9-8AD4-0003937A97B8@genesearch.com.au> RevOnline - Learning Centre - Sample stacks has a Video Capture stack which I think is the same as the old Video_Input stack. Sarah On 15 Dec 2004, at 6:14 am, sims wrote: > I'm looking for the video sample stack "Video_Input.rev" > Can anyone tell me where it is or send me a copy? > > tia > sims > EuroRevCon 2006 From klaus at major-k.de Tue Dec 14 17:27:48 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 14 Dec 2004 23:27:48 +0100 Subject: ZIP on OS X In-Reply-To: <51811400-4E1A-11D9-8D93-000A95C61E96@easynet.fr> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <51811400-4E1A-11D9-8D93-000A95C61E96@easynet.fr> Message-ID: <6277DBC4-4E1F-11D9-BBD2-000A27B49A96@major-k.de> Bon soir Pierre, > Hello Klaus, > > on mouseup > put shell ("zip /Users/sahores/Desktop/dess-capture.qtbr.zip > /Users/sahores/Desktop/dess-capture.qtbr") into aaa > answer aaa > put shell ("unzip -j /Users/sahores/Desktop/dess-capture.qtbr -d > /Users/sahores/Desktop/") into aaa > answer aaa > end mouseup > > To get help about zip/unzip options, type in a shell window "zip > -h"/"unzip -h" Ah, tr?s bien! Merci beaucoup, monsieur! I was a bit disappointed since i knew that the command "zip" WAS available, but "man zip" only gave "no manual entry for zip". But it looks like you cannot "zip" folders/apps this way :-( Anyway, thanks a lot... > Tchuss :) -> Tschüss ;-) Au revoir, mon ami... Klaus Major klaus at major-k.de http://www.major-k.de From sarahr at genesearch.com.au Tue Dec 14 17:30:34 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 15 Dec 2004 08:30:34 +1000 Subject: revCopyFolder problems in Rev 2.5 In-Reply-To: <000301c4e1fa$17d47650$64fea8c0@chris1> References: <000301c4e1fa$17d47650$64fea8c0@chris1> Message-ID: > Does anyone know if revCopyFolder is broken in Rev 2.5 build 2? I'm > having > problems with it. Calling "the result" right after it returns > "execution > error". If I revert back to Rev 2.2 it works fine. Anyone else had > problems with this? > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > Works fine here, but I have done the updates. OS X 10.3.6 Cheers, Sarah From wdesigns at austin.rr.com Tue Dec 14 17:31:41 2004 From: wdesigns at austin.rr.com (Douglas Westbrook) Date: Tue, 14 Dec 2004 16:31:41 -0600 Subject: No mouseUp In-Reply-To: <3C7E6CDD-4E1E-11D9-8AD4-0003937A97B8@genesearch.com.au> References: <20041214154716.AA09C930129@mail.runrev.com> <90119604-4DF4-11D9-BB14-000D933610BE@mac.com> <3C7E6CDD-4E1E-11D9-8AD4-0003937A97B8@genesearch.com.au> Message-ID: You might try On mousedown set dragdatata to whatever send mouse up to me in .2 seconds end mousedown On Dec 14, 2004, at 4:19 PM, Sarah Reichelt wrote: >>>> I have the following script in a List field and the mouseUp handler >>>> doesn't work! I noticed that it is the "set the dragData" line in >>>> the >>>> mouseDown that disables the mouseUp. Can someone please tell me >>>> what's going on and how I can keep the mouseUp? >>>> >>>> >>>> on mouseDown >>>> get the hilitedLines of me >>>> set the dragData to line it of me >>>> end mouseDown >>>> >>>> on mouseUp >>>> beep 2 >>>> end mouseUp >>>> >>> Hi Roger, >>> >>> I would guess that because you have started a drag operation, mouseUp >>> is not going to happen. Try looking for a dragEnd message instead. >>> >>> Sarah >> >> Hello Sarah, >> >> Thanks for responding. Unfortunately, dragEnd does not work. I also >> tried dragLeave and it works OK as a replacement for mouseUp. but it >> also works when in the process of dragging as you would expect. I >> really need to work this out as my app requires both drag and drop >> and mouseUp events. Any other suggestions or work-around? >> >> Thanks very much, Roger >> > The only other suggestion I have is to have multiple dragDrop > routines: one in the original button so if the user effectively > cancels the drag by letting the mouse go on that button, you can > handle it as if it was mouseUp. Then in the stack or card or > destination object, have another dragDrop that actually deals with the > dropped data. > > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Tue Dec 14 17:48:10 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 15 Dec 2004 08:48:10 +1000 Subject: Dreamcard Player - help In-Reply-To: <20041214213644.XCPE17983.fed1rmmtao02.cox.net@smtp.west.cox.net> References: <20041214213644.XCPE17983.fed1rmmtao02.cox.net@smtp.west.cox.net> Message-ID: <3AF29BAA-4E22-11D9-8AD4-0003937A97B8@genesearch.com.au> > To RunRev support people and anyone else who knows, I don't fit into either of these categories, but I am someone who is trying to help :-) > > I?m still not able to get my MAForums.rev application to ?play? on a > Windows computer that only has the Dreamcard Player installed on it. > The app works with the Player on a Windows computer with the > installation of the developer. > > The app is the demo from Sarah at troz.com, the app that needs to read > a web page thru the internet. > > If the computer with just the Dreamcard Player needs some other > component installed on it, then why doesn?t the player come with the > required components? > The MAForums stack downloads web pages and extracts information from them. As such it needs access to Rev's internet library. While I have never used DreamCard, from your description it sounds as if the library is not part of the DreamCard player installation on your other computer. Did you run the DreamCard player installer on the second computer, or did you just copy over the Player application? The installer is available at I don't use Windows, but I just downloaded the Player installer for Mac OS X and it comes with a components folder that contains the internet library. (It is part of the stack revlibrary.rev in the components/global environment/ folder.) I would expect most stacks to fail unless this components folder was in the same folder as the DreamCard player application. If you have the player and it's components installed correctly, then I don't know what the problem could be and can only suggest that you un-install it, download a fresh copy and try installing again. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From dsc at swcp.com Tue Dec 14 17:50:40 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 15:50:40 -0700 Subject: ditto experience Message-ID: <9445AB68-4E22-11D9-A82F-000A9567A3E6@swcp.com> I appreciate the pointers to ditto recently and earlier. I found a couple interesting things. When I compressed and uncompressed a standalone, the folder MacOS was 80 bytes larger than the original. The content file was the same size as the original. I used --rsrc. Could that have made empty resource forks? Also, the compress and uncompress fixed the finder icons for files inside a recently made standalone. How could that happen? Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From revlist at cableone.net Tue Dec 14 17:51:06 2004 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 14 Dec 2004 15:51:06 -0700 Subject: revCopyFolder problems in Rev 2.5 In-Reply-To: Message-ID: <001b01c4e22f$65c5f930$64fea8c0@chris1> Thanks, Sarah. Did you try it on an app bundle by chance? That's what I'm trying to copy. Should have specified that in the first place. Sorry. Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah Reichelt Sent: Tuesday, December 14, 2004 3:31 PM To: How to use Revolution Subject: Re: revCopyFolder problems in Rev 2.5 > Does anyone know if revCopyFolder is broken in Rev 2.5 build 2? I'm > having > problems with it. Calling "the result" right after it returns > "execution > error". If I revert back to Rev 2.2 it works fine. Anyone else had > problems with this? > > Thanks, > > Chris Sheffield > Software Development > Read Naturally > Works fine here, but I have done the updates. OS X 10.3.6 Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.3 - Release Date: 12/14/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.3 - Release Date: 12/14/2004 From psahores at easynet.fr Tue Dec 14 18:09:38 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 15 Dec 2004 00:09:38 +0100 Subject: ZIP on OS X In-Reply-To: <6277DBC4-4E1F-11D9-BBD2-000A27B49A96@major-k.de> References: <15DB1E60-4DF7-11D9-BBD2-000A27B49A96@major-k.de> <51811400-4E1A-11D9-8D93-000A95C61E96@easynet.fr> <6277DBC4-4E1F-11D9-BBD2-000A27B49A96@major-k.de> Message-ID: <3A95FC9C-4E25-11D9-8D93-000A95C61E96@easynet.fr> Hello again Klaus, Le 14 d?c. 04, ? 23:27, Klaus Major a ?crit : > Bon soir Pierre, > >> Hello Klaus, >> >> on mouseup >> put shell ("zip /Users/sahores/Desktop/dess-capture.qtbr.zip >> /Users/sahores/Desktop/dess-capture.qtbr") into aaa >> answer aaa >> put shell ("unzip -j /Users/sahores/Desktop/dess-capture.qtbr -d >> /Users/sahores/Desktop/") into aaa >> answer aaa >> end mouseup >> >> To get help about zip/unzip options, type in a shell window "zip >> -h"/"unzip -h" > > Ah, tr?s bien! Merci beaucoup, monsieur! > > I was a bit disappointed since i knew that the command "zip" WAS > available, but "man zip" > only gave "no manual entry for zip". > > But it looks like you cannot "zip" folders/apps this way :-( Yes you can, wirklich, but you will need to feet the right options in "zip -h" / "unzip -h" Last login: Tue Dec 14 23:24:45 on ttyp2 Welcome to Darwin! [G412:~] sahores% zip -h Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly Onno van der Linden and Kai Uwe Rommel. Type 'zip -L' for the software License. Zip 2.1 (April 27th 1996). Usage: zip [-options] [-b path] [-t mmddyy] [-n suffixes] [zipfile list] [-xi list] The default action is to add or replace zipfile entries from list, which can include the special name - to compress standard input. If zipfile and list are omitted, zip compresses stdin to stdout. -f freshen: only changed files -u update: only changed or new files -d delete entries in zipfile -m move into zipfile (delete files) -k force MSDOS (8+3) file names -g allow growing existing zipfile -r recurse into directories -j junk (don't record) directory names -0 store only -l convert LF to CR LF (-ll CR LF to LF) -1 compress faster -9 compress better -q quiet operation -v verbose operation/print version info -c add one-line comments -z add zipfile comment -b use "path" for temp file -t only do files after "mmddyy" -@ read names from stdin -o make zipfile as old as latest entry -x exclude the following names -i include only the following names -F fix zipfile (-FF try harder) -D do not add directory entries -A adjust self-extracting exe -J junk zip file prefix (unzipsfx) -T test zipfile integrity -X eXclude eXtra file attributes -y store symbolic links as the link instead of the referenced file -h show this help -n don't compress these suffixes [G412:~] sahores% > > Anyway, thanks a lot... > >> Tchuss :) > > -> Tschüss ;-) > > > Au revoir, mon ami... > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at easynet.fr Tue Dec 14 18:16:36 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 15 Dec 2004 00:16:36 +0100 Subject: Fwd: ZIP on OS X Message-ID: <33D949B4-4E26-11D9-8D93-000A95C61E96@easynet.fr> Hello again Klaus, Le 14 d?c. 04, ? 23:27, Klaus Major a ?crit : > Bon soir Pierre, > >> Hello Klaus, >> >> on mouseup >> put shell ("zip /Users/sahores/Desktop/dess-capture.qtbr.zip >> /Users/sahores/Desktop/dess-capture.qtbr") into aaa >> answer aaa >> put shell ("unzip -j /Users/sahores/Desktop/dess-capture.qtbr -d >> /Users/sahores/Desktop/") into aaa >> answer aaa >> end mouseup >> >> To get help about zip/unzip options, type in a shell window "zip >> -h"/"unzip -h" > > Ah, tr?s bien! Merci beaucoup, monsieur! > > I was a bit disappointed since i knew that the command "zip" WAS > available, but "man zip" > only gave "no manual entry for zip". > > But it looks like you cannot "zip" folders/apps this way :-( Yes you can, wirklich, but you will need to feet the right options in "zip -h" / "unzip -h" Last login: Tue Dec 14 23:24:45 on ttyp2 Welcome to Darwin! [G412:~] sahores% zip -h Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly Onno van der Linden and Kai Uwe Rommel. Type 'zip -L' for the software License. Zip 2.1 (April 27th 1996). Usage: zip [-options] [-b path] [-t mmddyy] [-n suffixes] [zipfile list] [-xi list] The default action is to add or replace zipfile entries from list, which can include the special name - to compress standard input. If zipfile and list are omitted, zip compresses stdin to stdout. -f freshen: only changed files -u update: only changed or new files -d delete entries in zipfile -m move into zipfile (delete files) -k force MSDOS (8+3) file names -g allow growing existing zipfile -r recurse into directories -j junk (don't record) directory names -0 store only -l convert LF to CR LF (-ll CR LF to LF) -1 compress faster -9 compress better -q quiet operation -v verbose operation/print version info -c add one-line comments -z add zipfile comment -b use "path" for temp file -t only do files after "mmddyy" -@ read names from stdin -o make zipfile as old as latest entry -x exclude the following names -i include only the following names -F fix zipfile (-FF try harder) -D do not add directory entries -A adjust self-extracting exe -J junk zip file prefix (unzipsfx) -T test zipfile integrity -X eXclude eXtra file attributes -y store symbolic links as the link instead of the referenced file -h show this help -n don't compress these suffixes [G412:~] sahores% Gott zieh dankt, we can ;) Best, Pierre > > Anyway, thanks a lot... > >> Tchuss :) > > -> Tschüss ;-) > > > Au revoir, mon ami... > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Tue Dec 14 18:33:39 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 15 Dec 2004 09:33:39 +1000 Subject: revCopyFolder problems in Rev 2.5 In-Reply-To: <001b01c4e22f$65c5f930$64fea8c0@chris1> References: <001b01c4e22f$65c5f930$64fea8c0@chris1> Message-ID: <956C8AD2-4E28-11D9-8AD4-0003937A97B8@genesearch.com.au> Hi Chris, To copy an app bundle, you need to use revCopyFile - even though it is really a folder :-) Sarah On 15 Dec 2004, at 8:53 am, Chris Sheffield wrote: > Thanks, Sarah. Did you try it on an app bundle by chance? That's > what I'm > trying to copy. Should have specified that in the first place. Sorry. > > Chris Sheffield > Software Development > Read Naturally > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah > Reichelt > Sent: Tuesday, December 14, 2004 3:31 PM > To: How to use Revolution > Subject: Re: revCopyFolder problems in Rev 2.5 > >> Does anyone know if revCopyFolder is broken in Rev 2.5 build 2? I'm >> having >> problems with it. Calling "the result" right after it returns >> "execution >> error". If I revert back to Rev 2.2 it works fine. Anyone else had >> problems with this? >> >> Thanks, >> >> Chris Sheffield >> Software Development >> Read Naturally >> > Works fine here, but I have done the updates. OS X 10.3.6 > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.296 / Virus Database: 265.5.3 - Release Date: 12/14/2004 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.296 / Virus Database: 265.5.3 - Release Date: 12/14/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From jacque at hyperactivesw.com Tue Dec 14 19:16:50 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2004 18:16:50 -0600 Subject: Dreamcard Player - help In-Reply-To: <64D89D22-4E1B-11D9-8BF1-0050E410655F@fjrhome.net> References: <20041214213644.XCPE17983.fed1rmmtao02.cox.net@smtp.west.cox.net> <64D89D22-4E1B-11D9-8BF1-0050E410655F@fjrhome.net> Message-ID: <41BF8272.1000908@hyperactivesw.com> On 12/14/04 3:59 PM, Frank D. Engel, Jr. wrote: > If you need to contact Rev's support, this is not the place for it; try > support at runrev.com, or check out http://support.runrev.com. Except that support now sends most everyone to this list when possible, as users must purchase a support incident unless it is just an installation/up-and-running issue. So asking here first is appropriate. > > As far as why that does not work against the player unless the developer > is installed, that sounds a bit strange. Are these the only differences > between the two machines? Are you sure there is not some other > substantial difference in the configuration? Maybe one has WinXP and > the other Win2K, or QuickTime is installed on one and not the other... I'm seeing a lot of this type of complaint. As near as I can tell, the Player is missing some components -- some of them crucial. I just haven't figured out which ones yet. I need to do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alw918 at earthlink.net Tue Dec 14 19:30:02 2004 From: alw918 at earthlink.net (Andrew) Date: Tue, 14 Dec 2004 16:30:02 -0800 Subject: Image in white rectangle In-Reply-To: <20041214170018.19697930127@mail.runrev.com> Message-ID: <7577F117-4E30-11D9-8106-000393DD0724@earthlink.net> Hi, list. I have a quick question. When importing an image, it always appears inside a white rectangle. Is there any way to set the white to "transparent"? Thanks! From dick.kriesel at mail.com Tue Dec 14 19:42:36 2004 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 14 Dec 2004 16:42:36 -0800 Subject: No mouseUp In-Reply-To: Message-ID: On 12/13/04 11:39 AM, "Roger Guay" wrote: > I have the following script in a List field and the mouseUp handler > doesn't work! I noticed that it is the "set the dragData" line in the > mouseDown that disables the mouseUp. Can someone please tell me what's > going on and how I can keep the mouseUp? > > > on mouseDown > get the hilitedLines of me > set the dragData to line it of me > end mouseDown > > on mouseUp > beep 2 > end mouseUp If you paste the following into the script of your list field, and then drag, you can see in the message box what messages fire when. (After you paste, you may need to delete the extra linefeeds that email line wrapping causes.) on mouseDown if the clickLine is empty then put param(0) & return else put param(0) && the clickLine & ": " & the value of the clickLine & return set the dragData["text"] to the value of the clickLine end if end mouseDown on mouseUp if the clickLine is empty then put param(0) & return after msg else put param(0) && the clickLine & ": " & the dragData["text"] & return after msg end if end mouseUp on dragDrop put word 2 of the clickLine into tMouseDownLineNumber put word 2 of the mouseLine into tMouseUpLineNumber put param(0) && "from line" && tMouseDownLineNumber && "onto line" && tMouseUpLineNumber & return after msg if tMouseUpLineNumber < tMouseDownLineNumber then -- note: moving up delete line tMouseDownLineNumber of me put the dragData["text"] & return before line tMouseUpLineNumber of me else if tMouseUpLineNumber > tMouseDownLineNumber then -- note: moving down put return & the dragData["text"] after line tMouseUpLineNumber of me delete line tMouseDownLineNumber of me else if tMouseUpLineNumber is empty then -- note: moving past the last line delete line tMouseDownLineNumber of me put return & the dragData["text"] after me else put "it appears to be a click on line" && tMouseDownLineNumber & return after msg end if if the last char of me is return then put "last line is empty" & return after msg set the acceptDrop to "false" end dragDrop on dragEnd put param(0) && the clickLine & ": " & the dragData["text"] & return after msg end dragEnd on dragEnter put param(0) && the clickLine & ": " & the dragData["text"] & return after msg set the acceptDrop to "true" end dragEnter on dragLeave put param(0) && the clickLine & ": " & the dragData["text"] & return after msg end dragLeave HTH. Does it? From dsc at swcp.com Tue Dec 14 19:52:38 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 17:52:38 -0700 Subject: Image in white rectangle In-Reply-To: <7577F117-4E30-11D9-8106-000393DD0724@earthlink.net> References: <7577F117-4E30-11D9-8106-000393DD0724@earthlink.net> Message-ID: <9DEFA10C-4E33-11D9-A82F-000A9567A3E6@swcp.com> On Dec 14, 2004, at 5:30 PM, Andrew wrote: > When importing an image, it always appears inside a white rectangle. > Is there any way to set the white to "transparent"? I don't see that in a quick test I did. Maybe the border got turned on, somehow. Or do you mean the image itself has a white rectangle? If the white is only at the edge... In that case you can write a small script to get the imageData, and compute an alphaData and set that. Or you might be running across bug 560 or bug 1090, where transparency is lost. The first is a problem in pasting an image. The second is a problem of transparency being lost when the card changes. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From irog at mac.com Tue Dec 14 20:24:56 2004 From: irog at mac.com (Roger Guay) Date: Tue, 14 Dec 2004 17:24:56 -0800 Subject: No mouseUp In-Reply-To: <20041214221504.7E81C93014F@mail.runrev.com> References: <20041214221504.7E81C93014F@mail.runrev.com> Message-ID: <20EBECC4-4E38-11D9-B9EA-000D933610BE@mac.com> On Dec 14, 2004, at 2:15 PM, use-revolution-request at lists.runrev.com wrote: > Message: 20 > Date: Wed, 15 Dec 2004 08:19:35 +1000 > From: Sarah Reichelt > Subject: Re: No mouseUp > To: How to use Revolution > Message-ID: <3C7E6CDD-4E1E-11D9-8AD4-0003937A97B8 at genesearch.com.au> > Content-Type: text/plain; charset=US-ASCII; format=flowed > >>>> I have the following script in a List field and the mouseUp handler >>>> doesn't work! I noticed that it is the "set the dragData" line in >>>> the >>>> mouseDown that disables the mouseUp. Can someone please tell me >>>> what's going on and how I can keep the mouseUp? >>>> >>>> >>>> on mouseDown >>>> get the hilitedLines of me >>>> set the dragData to line it of me >>>> end mouseDown >>>> >>>> on mouseUp >>>> beep 2 >>>> end mouseUp >>>> >>> Hi Roger, >>> >>> I would guess that because you have started a drag operation, mouseUp >>> is not going to happen. Try looking for a dragEnd message instead. >>> >>> Sarah >> >> Hello Sarah, >> >> Thanks for responding. Unfortunately, dragEnd does not work. I also >> tried dragLeave and it works OK as a replacement for mouseUp. but it >> also works when in the process of dragging as you would expect. I >> really need to work this out as my app requires both drag and drop and >> mouseUp events. Any other suggestions or work-around? >> >> Thanks very much, Roger >> > The only other suggestion I have is to have multiple dragDrop routines: > one in the original button so if the user effectively cancels the drag > by letting the mouse go on that button, you can handle it as if it was > mouseUp. Then in the stack or card or destination object, have another > dragDrop that actually deals with the dropped data. > > Sarah Dang! That does not work either!!! This is such a common interface that I would think that something could be done??? All I want to do is drag a content title to different folders and yet be able to click on that title to view it's content. There has got to be a way to do this. Thanks very much for any other suggestions. Cheers, Roger From dsc at swcp.com Tue Dec 14 20:27:56 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 18:27:56 -0700 Subject: revCopyFolder problems in Rev 2.5 In-Reply-To: <956C8AD2-4E28-11D9-8AD4-0003937A97B8@genesearch.com.au> References: <001b01c4e22f$65c5f930$64fea8c0@chris1> <956C8AD2-4E28-11D9-8AD4-0003937A97B8@genesearch.com.au> Message-ID: <8C225AAB-4E38-11D9-A82F-000A9567A3E6@swcp.com> On Dec 14, 2004, at 4:33 PM, Sarah Reichelt wrote: > To copy an app bundle, you need to use revCopyFile - even though it is > really a folder :-) The doc entry for revCopyFile says the opposite. Is the doc wrong? Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From dsc at swcp.com Tue Dec 14 20:57:02 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 18:57:02 -0700 Subject: No mouseUp In-Reply-To: <20EBECC4-4E38-11D9-B9EA-000D933610BE@mac.com> References: <20041214221504.7E81C93014F@mail.runrev.com> <20EBECC4-4E38-11D9-B9EA-000D933610BE@mac.com> Message-ID: <9D1F665E-4E3C-11D9-A82F-000A9567A3E6@swcp.com> On Dec 14, 2004, at 6:24 PM, Roger Guay wrote: >> The only other suggestion I have is to have multiple dragDrop >> routines: >> one in the original button so if the user effectively cancels the drag >> by letting the mouse go on that button, you can handle it as if it was >> mouseUp. Then in the stack or card or destination object, have another >> dragDrop that actually deals with the dropped data. >> >> Sarah > > Dang! That does not work either!!! This is such a common interface > that I would think that something could be done??? All I want to do > is drag a content title to different folders and yet be able to click > on that title to view it's content. There has got to be a way to do > this. Something similar works for me. To make it work I had to set acceptDrop to true right after setting the dragData. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From gwills at ozemail.com.au Tue Dec 14 21:24:40 2004 From: gwills at ozemail.com.au (gwills at ozemail.com.au) Date: Wed, 15 Dec 2004 13:24:40 +1100 Subject: Screen area blocker Message-ID: <20041215022440.ITNG27218.swebmail00.mail.ozemail.net@localhost> Hi All I am wondering if anyone has any comments on if this can be done. I am working with a student who has a severe physical disability. She is attending a regular High School and participating in the mainstream academic program. She is accessing some computer programs that I have developed using a "smartNav" mouse that is controlled by her head. Some commercial software is not as user friendly as it could be - as she is still developing precise control of the mouse. What I am wanting to do is have a program that can block out certain areas of the commercial program. A bit like a piece of cardboard placed over the screen so that only specific areas are accessed by the mouse. Can Rev be written so that it is always sitting on top of any program that is running, thus blocking out unwanted mouse clicks into distracting areas of the program. I look forward to any options. Thanks. Greg Wills This message was sent through MyMail http://www.mymail.com.au From dsc at swcp.com Tue Dec 14 21:44:34 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 19:44:34 -0700 Subject: Screen area blocker In-Reply-To: <20041215022440.ITNG27218.swebmail00.mail.ozemail.net@localhost> References: <20041215022440.ITNG27218.swebmail00.mail.ozemail.net@localhost> Message-ID: <40C4EA3D-4E43-11D9-A82F-000A9567A3E6@swcp.com> On Dec 14, 2004, at 7:24 PM, wrote: > Can Rev be written so that it is always sitting on top of any program > that is running, thus blocking out unwanted mouse clicks into > distracting areas of the program. > > I look forward to any options. Thanks. Perhaps setting the systemWindow property on the main stack of an Revolution standalone will get you much of the way there. The window can be an odd shape, too. If the position of the commercial software window is not fixed, then the standalone window should follow it. I don't have any ideas for that part. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From alw918 at earthlink.net Tue Dec 14 22:27:52 2004 From: alw918 at earthlink.net (Andrew) Date: Tue, 14 Dec 2004 19:27:52 -0800 Subject: image in white rectangle In-Reply-To: <20041215023949.D8EC1930167@mail.runrev.com> Message-ID: <4D86FA4E-4E49-11D9-818A-000393DD0724@earthlink.net> oh, perhaps I didn't explain myself well. Say I'm importing an image of a person standing in full figure against a white background. When this image is in front of another larger image, you can see the white background behind the person. I just want to make the white background behind the person invisible so it just looks like the person is standing in front of the other picture. Thanks! On Tuesday, December 14, 2004, at 06:39 PM, use-revolution-request at lists.runrev.com wrote: > On Dec 14, 2004, at 5:30 PM, Andrew wrote: > >> When importing an image, it always appears inside a white rectangle. >> Is there any way to set the white to "transparent"? > > I don't see that in a quick test I did. Maybe the border got turned > on, somehow. > > Or do you mean the image itself has a white rectangle? > > If the white is only at the edge... In that case you can write a small > script to get the imageData, and compute an alphaData and set that. > > Or you might be running across bug 560 or bug 1090, where transparency > is lost. The first is a problem in pasting an image. The second is a > problem of transparency being lost when the card changes. From david at kwinter.ca Tue Dec 14 22:57:45 2004 From: david at kwinter.ca (David Kwinter) Date: Tue, 14 Dec 2004 19:57:45 -0800 Subject: image in white rectangle References: <4D86FA4E-4E49-11D9-818A-000393DD0724@earthlink.net> Message-ID: <00ba01c4e25a$3c6ae930$fd01a8c0@davidvq5o4w7vw> You want to make the white part of your image transparent. There's a tool to do this, but it only makes 1 specific color transparent. Superior would be a tool that anti-aliased the edges using alphadata. The tool is in Development Menu/Revolution Online/User Spaces/Category/Programming/Makes transp... ----- Original Message ----- From: "Andrew" To: Sent: Tuesday, December 14, 2004 7:27 PM Subject: Re: image in white rectangle > oh, perhaps I didn't explain myself well. > Say I'm importing an image of a person standing in full figure against a > white background. When this image is in front of another larger image, > you can see the white background behind the person. I just want to make > the white background behind the person invisible so it just looks like the > person is standing in front of the other picture. > > Thanks! > On Tuesday, December 14, 2004, at 06:39 PM, > use-revolution-request at lists.runrev.com wrote: > >> On Dec 14, 2004, at 5:30 PM, Andrew wrote: >> >>> When importing an image, it always appears inside a white rectangle. >>> Is there any way to set the white to "transparent"? >> >> I don't see that in a quick test I did. Maybe the border got turned >> on, somehow. >> >> Or do you mean the image itself has a white rectangle? >> >> If the white is only at the edge... In that case you can write a small >> script to get the imageData, and compute an alphaData and set that. >> >> Or you might be running across bug 560 or bug 1090, where transparency >> is lost. The first is a problem in pasting an image. The second is a >> problem of transparency being lost when the card changes. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Tue Dec 14 23:11:54 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 15 Dec 2004 14:11:54 +1000 Subject: revCopyFolder problems in Rev 2.5 In-Reply-To: <8C225AAB-4E38-11D9-A82F-000A9567A3E6@swcp.com> References: <001b01c4e22f$65c5f930$64fea8c0@chris1> <956C8AD2-4E28-11D9-8AD4-0003937A97B8@genesearch.com.au> <8C225AAB-4E38-11D9-A82F-000A9567A3E6@swcp.com> Message-ID: <74174EF8-4E4F-11D9-8AD4-0003937A97B8@genesearch.com.au> I didn't read the docs, I just tested it :-) If you use "answer folder" or it's AppleScript equivalent, you can't select an app bundle. Only "answer file" allows you to select an app bundle, so I assumed that Rev would treat it like a file and copy it using revCopyFile. On testing, this did indeed work and the copied app had all it's bundle contents with it. Cheers, Sarah On 15 Dec 2004, at 11:30 am, Dar Scott wrote: > > On Dec 14, 2004, at 4:33 PM, Sarah Reichelt wrote: > >> To copy an app bundle, you need to use revCopyFile - even though it >> is really a folder :-) > > The doc entry for revCopyFile says the opposite. Is the doc wrong? > > Dar Scott From dsc at swcp.com Tue Dec 14 23:21:37 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 14 Dec 2004 21:21:37 -0700 Subject: image in white rectangle In-Reply-To: <4D86FA4E-4E49-11D9-818A-000393DD0724@earthlink.net> References: <4D86FA4E-4E49-11D9-818A-000393DD0724@earthlink.net> Message-ID: On Dec 14, 2004, at 8:27 PM, Andrew wrote: > Say I'm importing an image of a person standing in full figure against > a white background. When this image is in front of another larger > image, you can see the white background behind the person. I just > want to make the white background behind the person invisible so it > just looks like the person is standing in front of the other picture. For soft edges, your best bet might be to bring the image into an image editing program such as Photoshop, make parts transparent and then save it as a PNG file. If the image isn't a person or the ragged edge is OK, you can try the tool David suggested. Or you can modify the script suggestion I made to soften the edges. I doubt this would be as good as what an image editing program can do. Unless you do something like cut the size in half or third at the same time. You can also erase parts with the eraser, but that will have ragged edges. If your background is white and no other components are near the edge of the picture, then the ragged edge might be OK. Dar Scott **************************************** DSC http://www.swcp.com/dsc/ Programming Services and Software **************************************** From mfstuart at cox.net Tue Dec 14 23:26:32 2004 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 14 Dec 2004 20:26:32 -0800 Subject: Dreamcard Player - help Message-ID: <000c01c4e25e$4151ce60$636f0444@stuart> Frank, There are differences between the two computers. WINXP: (home computer) - Developer - No Quicktime - MAForums works with Developer & Player WIN2000: (work computer) - No Developer - Player - has Quicktime - MAForums does open, but does not return data to the form from the MA Forum, when clicking on the Load button. Not sure why the Quicktime would make a difference - whether installed or not. Thanx, Mark Stuart From mfstuart at cox.net Tue Dec 14 23:30:17 2004 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 14 Dec 2004 20:30:17 -0800 Subject: Dreamcard Player - help Message-ID: <001101c4e25e$c7b33430$636f0444@stuart> Sarah, I will check the computer folders where the Player is installed, specifically the global environment folder for revlibrary.rev. If all this is the same on both computers, I think my next step is to contact RunRev support for installation/deployment configuration requirements for this kind of application. Thanx, Mark Stuart From gbojsza at gmail.com Tue Dec 14 23:38:54 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 14 Dec 2004 23:38:54 -0500 Subject: Process confusion on Windows XP Message-ID: <3d8af4150412142038782a904@mail.gmail.com> Hi, I am trying to use Rev's process command on a Windows XP machine (using Rev 2.5). The goal is to: open a cmd window change directories start a dos program (it is interactive) in the cmd window read and write to the dos program So far I have been able to open a cmd window but I notice that it is different than the cmd window opened by windows (Start --> Run... -->cmd). The difference is the one opened by Rev only has a flashing cursor and not the text and prompt that normally appears. I would really appreciate it if someone can offer a suggestion or a sample stack. Since the dos program is interactive I don't think that there is any other Rev commands that would work? thanks, Glen From tominjapan at excite.com Tue Dec 14 23:44:58 2004 From: tominjapan at excite.com (Thomas McCarthy) Date: Tue, 14 Dec 2004 23:44:58 -0500 (EST) Subject: Painless GCI info please (esp. hosting) Message-ID: <20041215044458.D0D8D3DE4@xprdmailfe8.nwk.excite.com> I'd like to put some of my work (for teachers-mostly text manipulation stuff) onto the web for easy access. My current provider doesn't allow much in the way of CGI access. My question: Is there a provider you'd recommend for Rev CGI hosting. My primary concerns are cost and ease in that order. Since I don't plan to make any money from my effort, I'd rather not pay monthly to make it available. Any suggestions would be most welcome, tom mccarthy _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From docmann at gmail.com Tue Dec 14 23:48:00 2004 From: docmann at gmail.com (docmann) Date: Tue, 14 Dec 2004 22:48:00 -0600 Subject: Dreamcard Player - help In-Reply-To: <001101c4e25e$c7b33430$636f0444@stuart> References: <001101c4e25e$c7b33430$636f0444@stuart> Message-ID: <9d58de7d04121420484873494a@mail.gmail.com> Hello Mark, If it's any consolation, I also have a couple of threads currently running on the list about issues with the player not functioning with a mySQL database. With my testing, running my stack from the development environment on either Linux or XP, works as expected, but the same stacks do not run in the player on either O/S. I've tried just about every possible combination as to where to place the support files without any luck. Hopefully someone from support will have a look to see what the problem might be. Waiting patiently.... :) On another note, don't be too discouraged about the Rev products in general. I've been watching/testing the development of Rev since the very early days and it's really quite remarkable just how far it's progressed. Problems with the player or not, I'm still convinced that it's the best multi-platform development tool available and will upgrade to the studio version shortly. -Doc- On Tue, 14 Dec 2004 20:30:17 -0800, Mark Stuart wrote: > Sarah, > > I will check the computer folders where the Player is installed, > specifically the global environment folder for revlibrary.rev. > > If all this is the same on both computers, I think my next step is to > contact RunRev support for installation/deployment configuration > requirements for this kind of application. > > > Thanx, > > Mark Stuart > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Dec 15 00:17:46 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Dec 2004 21:17:46 -0800 Subject: Painless GCI info please (esp. hosting) In-Reply-To: <20041215044458.D0D8D3DE4@xprdmailfe8.nwk.excite.com> References: <20041215044458.D0D8D3DE4@xprdmailfe8.nwk.excite.com> Message-ID: <41BFC8FA.8000903@fourthworld.com> Thomas McCarthy wrote: > I'd like to put some of my work (for teachers-mostly text > manipulation stuff) onto the web for easy access. My current > provider doesn't allow much in the way of CGI access. > My question: > Is there a provider you'd recommend for Rev CGI hosting. My > primary concerns are cost and ease in that order. Since I > don't plan to make any money from my effort, I'd rather not > pay monthly to make it available. Hosting services that let you run custom C-based CGIs and don't charge are hard to find. If a decent monthy rate becomes acceptable, I can't say enough good things about TierraNet: I was turned on to them by one of my clients, and I've been very happy: their fees are in line with market averages, their infrastructure is solid (redundant T3, on-site generator, nightly backup, etc.), and their service is among the best I've encountered after six years of reselling hosting. TierraNet maintains a server farm pre-configured with the BSD libraries needed for the Rev engine -- if you sign up with them ask to be a server farm 2 to run MetaCard (I've been with them a while, so they only know the engine by its older name ). I have half a dozen domains running Rev CGIs on TierraNet servers, with more in development. FWIW, their FTP servers give me a really fast handshake -- that's a small detail, but when you log in as often as I do to upload scripts it makes a good difference in one's workflow. When I was hosted with Earthlink and XO the handshake would take several seconds, but with TierraNet it's rarely more than a second (then again, we're both in California so there are few hops to make). -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From b.xavier at internet.lu Wed Dec 15 00:32:06 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 15 Dec 2004 06:32:06 +0100 Subject: Process confusion on Windows XP In-Reply-To: <3d8af4150412142038782a904@mail.gmail.com> Message-ID: <20041215052258.5425D9300AC@mail.runrev.com> Hi Glen, try this stack http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=53 which demonstrates usage of cmd in NT or XP... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Glen Bojsza > Sent: Wednesday, December 15, 2004 05:39 > To: use-revolution at lists.runrev.com > Subject: Process confusion on Windows XP > > Hi, > > I am trying to use Rev's process command on a Windows XP > machine (using Rev 2.5). > > The goal is to: > > open a cmd window > > change directories > > start a dos program (it is interactive) in the cmd window > > read and write to the dos program > > So far I have been able to open a cmd window but I notice > that it is different than the cmd window opened by windows > (Start --> Run... > -->cmd). > > The difference is the one opened by Rev only has a flashing > cursor and not the text and prompt that normally appears. > > I would really appreciate it if someone can offer a > suggestion or a sample stack. Since the dos program is > interactive I don't think that there is any other Rev > commands that would work? > > thanks, > > Glen > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at jaedworks.com Wed Dec 15 01:05:38 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 14 Dec 2004 22:05:38 -0800 Subject: revCopyFolder problems in Rev 2.5 In-Reply-To: <8C225AAB-4E38-11D9-A82F-000A9567A3E6@swcp.com> References: <001b01c4e22f$65c5f930$64fea8c0@chris1> <956C8AD2-4E28-11D9-8AD4-0003937A97B8@genesearch.com.au> <8C225AAB-4E38-11D9-A82F-000A9567A3E6@swcp.com> Message-ID: At 6:27 PM -0700 12/14/2004, Dar Scott wrote: >On Dec 14, 2004, at 4:33 PM, Sarah Reichelt wrote: >>To copy an app bundle, you need to use revCopyFile - even though it >>is really a folder :-) > >The doc entry for revCopyFile says the opposite. Is the doc wrong? I think this behavior changed a version or two ago, so yes, it likely is incorrect... -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From sims at ezpzapps.com Wed Dec 15 01:50:22 2004 From: sims at ezpzapps.com (sims) Date: Wed, 15 Dec 2004 07:50:22 +0100 Subject: Video_Input.rev In-Reply-To: <173AB2EF-4E1F-11D9-8AD4-0003937A97B8@genesearch.com.au> References: <173AB2EF-4E1F-11D9-8AD4-0003937A97B8@genesearch.com.au> Message-ID: >RevOnline - Learning Centre - Sample stacks has a Video Capture >stack which I think is the same as the old Video_Input stack. > >Sarah Thanks Sarah...but attempting to enter "Sample Projects" results in an error "There was an error executing a script in stack revOnline. No more information is available because the stack is password protected." "Sample Scripts" is available but "Sample Projects" is not. That would make for a frustrating learning experience :-/ for newbies. Klaus sent me the stack anyway - now all I need is for someone to send me a nice video camera :-) ciao sims EuroRevCon 2006 Be there or be octagonal! From mfstuart at cox.net Wed Dec 15 02:06:45 2004 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 14 Dec 2004 23:06:45 -0800 Subject: Dreamcard Player - help Message-ID: <000001c4e274$a37f01f0$636f0444@stuart> Hi Doc, Thanx for the encouragement. I've been spending a few hours checking/testing Dreamcard for my possible use. Out of the box (so to speak) the player hasn't proved anything as yet, which now includes your report. I hope someone at Runrev is reading this to give some response on such situations. I also develop for the PDA platform, and with this software, the company has a forum. In this forum users are able to help and be helped. Not only by the users, but also the company staff/developers themselves - they get online and help users. I think that the company HAS to play a daily role in contributing to their forum. Someone mentioned on one of my threads that Runrev support would respond if contacted concerning installation and configuration of this software. As I mentioned above, I hope they're reading first time users submissions to this forum, to not only encourage (as you have done) but to retain their new users. Mark From mfstuart at cox.net Wed Dec 15 02:07:08 2004 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 14 Dec 2004 23:07:08 -0800 Subject: Dreamcard Player - help Message-ID: <000001c4e274$b128a090$636f0444@stuart> Hi Doc, Thanx for the encouragement. I've been spending a few hours checking/testing Dreamcard for my possible use. Out of the box (so to speak) the player hasn't proved anything as yet, which now includes your report. I hope someone at Runrev is reading this to give some response on such situations. I also develop for the PDA platform, and with this software, the company has a forum. In this forum users are able to help and be helped. Not only by the users, but also the company staff/developers themselves - they get online and help users. I think that the company HAS to play a daily role in contributing to their forum. Someone mentioned on one of my threads that Runrev support would respond if contacted concerning installation and configuration of this software. As I mentioned above, I hope they're reading first time users submissions to this forum, to not only encourage (as you have done) but to retain their new users. Mark From frank at backtalk.com Wed Dec 15 04:48:12 2004 From: frank at backtalk.com (Frank Leahy) Date: Wed, 15 Dec 2004 09:48:12 +0000 Subject: revCopyFolder problems in Rev 2.5 In-Reply-To: <20041215023949.F0CE993018D@mail.runrev.com> References: <20041215023949.F0CE993018D@mail.runrev.com> Message-ID: <6F260083-4E7E-11D9-B5B8-000A9580FCCE@backtalk.com> Chris, You might look at the code of revCopyFolder and see if it's doing something different in 2.2 vs 2.5. You can find the code by selecting "View: Rev UI Elements In Lists" from the menu bar, then opening the Application Browser and looking for the revLibrary stack, selecting "card id 1002", then looking at the script for button "revCommon". In that script you'll find the code for revCopyFolder. In 2.2 mine shows get shell ("cp -rf" && quote&pSrcFolder"e && quote&pDestFolder"e) for OS X, with other values for System 9 and Windows. -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Dec 15, 2004, at 2:39 AM, use-revolution-request at lists.runrev.com wrote: > Subject: Re: revCopyFolder problems in Rev 2.5 > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > >> Does anyone know if revCopyFolder is broken in Rev 2.5 build 2? I'm >> having >> problems with it. Calling "the result" right after it returns >> "execution >> error". If I revert back to Rev 2.2 it works fine. Anyone else had >> problems with this? >> >> Thanks, >> >> Chris Sheffield >> Software Development >> Read Naturally >> > Works fine here, but I have done the updates. OS X 10.3.6 > > Cheers, > Sarah > From benr_mc at cogapp.com Wed Dec 15 04:50:32 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 15 Dec 2004 09:50:32 +0000 Subject: image in white rectangle In-Reply-To: Message-ID: Andrew wrote: > Say I'm importing an image of a person standing in full figure against > a white background. When this image is in front of another larger > image, you can see the white background behind the person. I just want > to make the white background behind the person invisible so it just > looks like the person is standing in front of the other picture. I can testify that doing this to a real world image is not trivial (and doing it fast, even more so). I used Rev a couple of years ago for an application where members of the public took a photo of themselves in front of a blue screen, and then used a touchscreen to manipulate the photo in various ways (adding different backgrounds, props etc). The project was ultimately a success (and I still get a very entertaining check feed of images, peaking at around 50 a day) but it was a nightmare, and we wrote off a bundle on it. I confidently and naively assumed that I would take an RGB point that was the 'pure' (or at least average) bluescreen colour, construct a sphere around this, and make transparent any pixel with a colour in this space. Then I decide I needed an inner and outer sphere, with a penumbra of transparency falling off from one to the other. Then I tried something else, ... and so it went on. I was partly handicapped by the architects (who decided that they didn't like the standard bluescreen colour, and went for a dark green instead (!) and also ignored everything we told them about lighting for blue screen, and saved money by using the worst possible option. And the speed issue was greatly magnified because although I coded the backend app which took the photo and added transparency in Revolution, I lost the battle to have the frontend app in Revolution as well; it was coded in Director, which proved to be a massive cycle hog. My app which took 10 seconds (which seemed long but acceptable) to process the image when running in the foreground, took four minutes when Director - doing nothing - was active. So that put the pressure on. But the whole experience greatly increased my respect for Photoshop et al! There's no such thing as a flat colour in a real-world photo. And depending on the image source, all sorts of strange colour pixels can turn up in an area which broadly looks like one colour. Depending on your application, I'd say: either allow for a _lot_ of development time; explore the ways in which you can alter the environment (making the source image more helpful is a lot easier than trying to solve the problems afterwards); consider whether you might do better to build on someone else's work, seeing if you could AppleScript Photoshop or a similar app to do this work for you. Possibly all of the above! Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From chipp at chipp.com Wed Dec 15 05:03:55 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 15 Dec 2004 02:03:55 -0800 Subject: adjust system volume on WinXP? Message-ID: <41C00C0B.7020601@chipp.com> I can adjust the 'application' volume using the playLoudness command. But, how can I adjust the overall system volume? Try this: Start winamp or your favorite mp3 player and load it with a song. set the volume of the player to it's loudest. Now go into Rev and type in the msg: set the playloudness to 10 (volume gets lower) set the playloudness to 100 (volume gets higher) so, one would think it does affect globally..not so fast. now go to the volume control panel and set the slider to almost the bottom so that you can barely hear the audio. No go into Rev and type into the msg: set the playloudness to 100. nothing changes, the volume is still very low. Any ideas anyone? -Chipp From benr_mc at cogapp.com Wed Dec 15 05:11:19 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 15 Dec 2004 10:11:19 +0000 Subject: parsing comments in scripts In-Reply-To: <5.1.0.14.0.20041213215905.028c8c98@mail.tweedly.net> Message-ID: Alex Tweedly wrote: > If you want the editor to have an "uncomment the entire handler" command, > then it's going to need to look into comments, to see whether or not > removing the leading comment indicator would leave a line which could then > be a start / finish of a handler. Doesn't seem too bad to me - but I know > there were concerns about the interpreter (now the editor) looking at > comments and guessing about their meaning. Two possible solutions here (I didn't say either were pretty): * 'Comment Handler' finds the start and end of the handler that the insertion point lies in; and extends this range of lines to incorporate any contiguous comment lines. It then adds "-- " to the start of every line in this range. Hence: -- a comment about foo -- on foo x -- put x into it get x end foo becomes -- -- a comment about this -- -- -- on foo x -- -- put x into it -- get x -- end foo 'Uncomment Handler' then takes the contiguous range of commented lines round the insertion point, and removes the initial "-- " from each one - thus restoring previous comments as they were. * we've got range comments now, /* */. So 'Comment Handler' could work like this: -- a comment about foo -- /* on foo x -- put x into it get x end foo */ Then 'Uncomment Handler' searches up and down from the insertion point for some pretty easily recognised patterns: "/* on

") Revolution tries to split the combining character from the n when unicodeText is set. (I would guess this is a bug. Revolution seems to confuse Unicode and Japanese. Wanna submit it?) The above method forces them to stay together. Use this in your special key handler of your Boruca edit field: set the htmlText of field "field" to the htmlText of field "field" &\ format("") This will add the character to the end of the field. You might have to fiddle with that. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From BNZ2 at CDC.GOV Wed Dec 22 15:27:56 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 22 Dec 2004 15:27:56 -0500 Subject: 3D Rev Cards... Message-ID: <64878EF567131D4596246171F75FD4A90EC5BB@m-epo-1.epo.cdc.gov> Would 3D Rev Cards/stacks be possible? That is, all objects in 3-D, the card possessing X,Y,Z dimensions, and some sort of intuitive means of navigating within the card, including the ability to change perspective in all the ways that a person change the direction in which the look. The files would not necessarily have to be all that much larger, depending on the nature of the 3-D objects involved. If you think about it, a stack is already a 3-D object, if it has multiple cards. What would it take to expand that so that it feels 3-D to the user? From dsc at swcp.com Wed Dec 22 15:57:24 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 Dec 2004 13:57:24 -0700 Subject: Umlaut on a consonant letter In-Reply-To: <64878EF567131D4596246171F75FD4A9469E5A@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E5A@m-epo-1.epo.cdc.gov> Message-ID: <149A0FCA-545C-11D9-95E4-000A9567A3E6@swcp.com> On Dec 22, 2004, at 1:07 PM, Lynch, Jonathan wrote: > I have a stack I use to figure out Unicode numbers for various symbols > - > the one thing I found was that any use of Unicode in a field really > requires that the whole field be in Unicode. Otherwise, it gets > confused. Have others found this? I was just about to send a comment on this. I noticed that if textFont of the field is set to "Lucida Grande,Japanese", the unicode method I tried works. It seems that otherwise, Revolution tries to separate the n from the combining character and put it outside of unicode. It is weird using "Japanese" as the language for the font. This now works: on mouseUp set useUnicode to true set the textFont of field "field" to "Lucida Grande,Japanese" set the unicodeText of field "field" to numToChar(110) & numToChar(776) put the htmlText of field "field" end mouseUp Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From toeloop at swissonline.ch Wed Dec 22 15:59:14 2004 From: toeloop at swissonline.ch (=?ISO-8859-1?Q?Thomas_B=E4hler?=) Date: Wed, 22 Dec 2004 21:59:14 +0100 Subject: Can't build a standalone Message-ID: <56226300-545C-11D9-AB70-00306555CAAA@swissonline.ch> n'Abend Malte > ...Was your stack Password protected? I checked if the stack was password protected: it was not. To be sure, I typed "set the password of this stack to empty" and tried again building a standalone with "Search for required inclusions..." but the result was the same as before: "There was an error while saving the standalone application". With the option "Select inclusions for standalone application" there's no problem. By searching for clues I stumbled over a userprop named "revstack" in my stack The "revstack" was set to "false". I changed it to "true" and couldn't see any difference. Even after deleting this userprop nothing changed. I don't know where it came from or what it was meant to be ? Cheers Thomas From speitel at hawaii.edu Wed Dec 22 16:10:54 2004 From: speitel at hawaii.edu (Thomas Speitel) Date: Wed, 22 Dec 2004 11:10:54 -1000 Subject: External to run dc camera and deck? In-Reply-To: <20041222205253.DF2E9930220@mail.runrev.com> Message-ID: Aloha, Does anyone know of an external that controls (and perhaps receives input) via firewire a mini dv deck and camera? Thanks, Tom Speitel From fde101 at fjrhome.net Wed Dec 22 16:27:58 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 22 Dec 2004 16:27:58 -0500 Subject: open printing with dialog -- Windows equiv? In-Reply-To: <20041123174340.15157.qmail@web60504.mail.yahoo.com> References: <20041123174340.15157.qmail@web60504.mail.yahoo.com> Message-ID: <59DD10DC-5460-11D9-AF71-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Okay, I finally got around to trying this, but it doesn't work. I followed these steps as closely as I possibly could, but I still get strange printouts from Windows (XP is bad, 2000 is pathetic), and OS X printouts still look great. The biggest issue (perhaps the only one left) with XP printing is that text at the right edge of a field does not print. In other words, the field is x units wide, Rev allows the line of text to be x+y units wide, and the extra y pixels get cut off instead of wrapped. The field is multiline and other lines below that one do exist. In W2K (the real manifestation of what some people thought Y2K would be ... though an overall improvement over its predecessors, I think), the printouts show extra blank lines in the middle of a field, some lines wrap prematurely after a word or two, and so forth. Oh, and I just recently figured out the problem with the "Preparing" stack: it was topLevel, and hidden behind my modal dialog (which was a sheet in OS X, so not a problem there...) Oops! Fixed by displaying it as a palette. On Nov 23, 2004, at 12:43 PM, Jan Schenkel wrote: > > Hi Frank, > > The thing with formatForPrinting is that you shouldn't > change the content of the stack after setting this > property to true, or the formatting will be off. > So the best option is to set the data,; next you set > formatForPrinting false and then back to true ; next > you save the stack, close and reopen it ; and then > print it. > As for your 'preparing' stack not showing up : is it > possible you're running that part of the script inside > a lock/unlock screen pair ? > > Jan Schenkel. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFByebf7aqtWrR9cZoRAoRAAJ4ysvxA2s6GpEmHfFeEwduxbggrbgCfbHWa F9uOT9hB2wDOLvqmx/DheSE= =MkHr -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From runrev at rivertext.com Wed Dec 22 16:32:25 2004 From: runrev at rivertext.com (Brian Thomas) Date: Wed, 22 Dec 2004 13:32:25 -0800 Subject: the secrets of Monks In-Reply-To: <20041222205254.150BA930223@mail.runrev.com> References: <20041222205254.150BA930223@mail.runrev.com> Message-ID: At last, the conclusion to the longest running project in the history of interactive media. Thanks again to everyone who helped build the If Monks had Macs (or Windows) library. Runtime Revolution has just released a stack of scripts and tips as to using Revolution/Dreamcard for multimedia. The stack may not be of much help to the wizards on this site who have been so helpful to over the years that I have been working on Monks. Nonetheless, it is a good resource for you to know about and point out to new multimedia developers. And the stack does share a wonderful technique that Jeanne A.E. deVoto worked out for me so Monks could display life-size (museum sized) paintings on small computer screens. You can download the demo/codeshare tutorial through revOnline or by using this link: http://revonline.runrev.com/resources/coding/monks-demo.zip The two main differences between the new edition of Monks and last year's is that: 1). Sophie, our ebook reader is now compatible with Mac OS 10.3. Also all the ebooks have been revised and a new one added. The new ebook is H.G.Wells The War of the Worlds. (I haven't tried to make it as compelling as Orson Wells did, but I have added an introduction that argues that the story is as timely at today's headlines.) This new version of Sophie and all the ebooks is a free download from Richard Gaskin's web site. If you already have a copy of Monks you can just replace the old Sophie folder with the new one (being careful not to toss any notebooks you may have created out. http://fourthworld.com/products/sophie/download.html 2). I have included all my latest experiments in digital video and photography -- all my efforts to take the ideals out of the library and into the streets. These additions are all available on my web sites. http://rivertext.smugmug.com/ http://rivertext.com/stuff.html ------------------- For those of you who may not know what the hell this post has been about, here is a brief timeline of "the longest running project in the history of interactive media": The first library of fun and games and serious ideas that was called If Monks had Macs was built with Apple Computer's HyperCard, compressed onto two floppy disks and released as freeware in 1988. That was before the creative success of the CD-ROM (which began the following year with the Voyager Company's release of "Beethoven's Ninth.") In 1995 when the Voyager Company published the first commercial version of Monks I made the mistake of requesting that they add this line to the back of the package: "Brian Thomas is currently working on If Monks had Windows." I failed to achieve this goal three times -- I failed in: Oracle Media Objects, SuperCard, and mTropolis. Nonetheless, all that time I was re-working the library's provocative text to make it beautifully illustrated, quick and deep. Now I have succeeded in bringing If Monks had Macs to Windows as well as to Mac OS X thanks to "Revolution." For more info see my web site. http://rivertext.com/ -- Brian From gwalias-rev at yahoo.com Wed Dec 22 16:48:12 2004 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Wed, 22 Dec 2004 13:48:12 -0800 (PST) Subject: the secrets of Monks In-Reply-To: Message-ID: <20041222214812.11919.qmail@web51102.mail.yahoo.com> Congratulations on "If Monks" Brian .. I have already spent several happy hours engrossed in its cloister - and newly annointed to the rev order, I will definitely download the demo stacks and try to learn from them. Gordon --- Brian Thomas wrote: > > At last, the conclusion to the longest running > project in the history > of interactive media. Thanks again to everyone who > helped build the > If Monks had Macs (or Windows) library. > > Runtime Revolution has just released a stack of > scripts and tips as > to using Revolution/Dreamcard for multimedia. The > stack may not be of > much help to the wizards on this site who have been > so helpful to > over the years that I have been working on Monks. > Nonetheless, it is > a good resource for you to know about and point out > to new multimedia > developers. And the stack does share a wonderful > technique that > Jeanne A.E. deVoto worked out for me so Monks could > display life-size > (museum sized) paintings on small computer screens. > You can download > the demo/codeshare tutorial through revOnline or by > using this link: > > http://revonline.runrev.com/resources/coding/monks-demo.zip > > The two main differences between the new edition of > Monks and last > year's is that: > > 1). Sophie, our ebook reader is now compatible with > Mac OS 10.3. Also > all the ebooks have been revised and a new one > added. The new ebook > is H.G.Wells The War of the Worlds. (I haven't tried > to make it as > compelling as Orson Wells did, but I have added an > introduction that > argues that the story is as timely at today's > headlines.) This new > version of Sophie and all the ebooks is a free > download from Richard > Gaskin's web site. If you already have a copy of > Monks you can just > replace the old Sophie folder with the new one > (being careful not to > toss any notebooks you may have created out. > > http://fourthworld.com/products/sophie/download.html > > 2). I have included all my latest experiments in > digital video and > photography -- all my efforts to take the ideals out > of the library > and into the streets. > > These additions are all available on my web sites. > > http://rivertext.smugmug.com/ > > http://rivertext.com/stuff.html > > ------------------- > > For those of you who may not know what the hell this > post has been > about, here is a brief timeline of "the longest > running project in > the history of interactive media": > > The first library of fun and games and serious ideas > that was called > If Monks had Macs was built with Apple Computer's > HyperCard, > compressed onto two floppy disks and released as > freeware in 1988. > That was before the creative success of the CD-ROM > (which began the > following year with the Voyager Company's release of > "Beethoven's > Ninth.") In 1995 when the Voyager Company published > the first > commercial version of Monks I made the mistake of > requesting that > they add this line to the back of the package: > > "Brian Thomas is currently working on If Monks had > Windows." > > I failed to achieve this goal three times -- I > failed in: Oracle > Media Objects, SuperCard, and mTropolis. > Nonetheless, all that time I > was re-working the library's provocative text to > make it beautifully > illustrated, quick and deep. Now I have succeeded in > bringing If > Monks had Macs to Windows as well as to Mac OS X > thanks to > "Revolution." > > For more info see my web site. > > http://rivertext.com/ > > -- > Brian > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ===== :::::::::: Gordon Webster :::::::::: From edgore at shinra.com Wed Dec 22 17:33:47 2004 From: edgore at shinra.com (Edwin Gore) Date: Wed, 22 Dec 2004 15:33:47 -0700 Subject: 3D Rev Cards... Message-ID: <200412222233.iBMMXlhY077141@mmm1505.boca15-verio.com> I can think of some ways to make card objects behave in a "3-D" fashion using parallax scrolling techniques based on object number. That is, when the user scrolls the view of the card, the objects move up or down, left or right in different increments with low numbered object moving more than high numbered objects. >----- ------- Original Message ------- ----- >From: "Lynch, Jonathan" >To: "How to use Revolution" > >Sent: Wed, 22 Dec 2004 15:27:56 > >Would 3D Rev Cards/stacks be possible? > >That is, all objects in 3-D, the card possessing >X,Y,Z dimensions, and >some sort of intuitive means of navigating within >the card, including >the ability to change perspective in all the ways >that a person change >the direction in which the look. > >The files would not necessarily have to be all that >much larger, >depending on the nature of the 3-D objects >involved. > >If you think about it, a stack is already a 3-D >object, if it has >multiple cards. What would it take to expand that >so that it feels 3-D >to the user? >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From SimPLsol at aol.com Wed Dec 22 17:39:01 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 22 Dec 2004 17:39:01 EST Subject: A little help needed please ;?( Message-ID: <1f4.388027e.2efb5185@aol.com> If the data is in a text file, and this is an infrequent change, why not just edit it directly in a text editor (any word processor should work)? Paul Looney From pixelbird at interisland.net Wed Dec 22 17:48:31 2004 From: pixelbird at interisland.net (Ken Norris) Date: Wed, 22 Dec 2004 14:48:31 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: <20041222164418.75BC49301E1@mail.runrev.com> References: <20041222164418.75BC49301E1@mail.runrev.com> Message-ID: <9A8B1CBA-546B-11D9-813F-000A27945590@interisland.net> Hi frank, > From: "Frank D. Engel, Jr." > Subject: Re: DreamCard Review-PCPLUS > To: How to use Revolution > > > It's a Windows magazine, probably written by Windows fans. What do > they know? > > ;-) > > Seriously, they are both correct, and lacking. Rev is by far an easier > environment to work with than Visual Studio, and personally I hate > Microsoft stuff. OTOH, the documentation is quite lacking from the > perspective of learning how to use Rev (the tutorials in RevOnline are > a nice start, but still lacking). Additionally, there are some flaws > in the interface design of the IDE which can be quite confusing for new > users. > > Rev is *very* nice after you know where to look for things, but > HyperCard it is not. People need to be able to assemble useful things from a list of ready-made parts they can just copy/paste. One of the things that got HC off and running was the plethora of useful ready-to-run and/or modify stacks, together with ready-made fields, buttons, artwork, etc. IMO, that's what it needs. Like a bunch of Barbie and Ken doll themes with add-on objects. Ken N. From BNZ2 at CDC.GOV Wed Dec 22 17:41:55 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 22 Dec 2004 17:41:55 -0500 Subject: 3D Rev Cards... Message-ID: <64878EF567131D4596246171F75FD4A90EC5BC@m-epo-1.epo.cdc.gov> That would make sense - and each object could have a custom property defining it's Z location, which the parallax scrolling technique use. I was also thinking about using like 400 cards (which would obviously be a memory hog), each card representing a single layer in a 3-D box. An object would appear on a card if it it's Z-range contains that card number. This would depend on the cards themselves being transparent (or partially transparent), allowing cards below to show through - I don't know if that is possible. I was also thinking one could assign additional custom properties to each object to define it's various 3-D characteristics, then write a rather complex interpreting algorithm that places a picture of the card into an image - with the actual look of the image based on your zoom, pan, tilt, rotate, and other factors. I understand that the math for 3-D images is a bit challenging - but boy, it would sure look cool! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Edwin Gore Sent: Wednesday, December 22, 2004 5:34 PM To: use-revolution at lists.runrev.com Subject: RE: 3D Rev Cards... I can think of some ways to make card objects behave in a "3-D" fashion using parallax scrolling techniques based on object number. That is, when the user scrolls the view of the card, the objects move up or down, left or right in different increments with low numbered object moving more than high numbered objects. >----- ------- Original Message ------- ----- >From: "Lynch, Jonathan" >To: "How to use Revolution" > >Sent: Wed, 22 Dec 2004 15:27:56 > >Would 3D Rev Cards/stacks be possible? > >That is, all objects in 3-D, the card possessing >X,Y,Z dimensions, and >some sort of intuitive means of navigating within >the card, including >the ability to change perspective in all the ways >that a person change >the direction in which the look. > >The files would not necessarily have to be all that >much larger, >depending on the nature of the 3-D objects >involved. > >If you think about it, a stack is already a 3-D >object, if it has >multiple cards. What would it take to expand that >so that it feels 3-D >to the user? >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gwalias-rev at yahoo.com Wed Dec 22 17:55:00 2004 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Wed, 22 Dec 2004 14:55:00 -0800 (PST) Subject: DreamCard Review-PCPLUS In-Reply-To: <03d801c4e864$345e1090$dd09113f@DOWNSTAIRS> Message-ID: <20041222225500.39639.qmail@web51106.mail.yahoo.com> I have used both VB and rev and while they both effectively do the same thing, I have to say that VB is rather gray and uninspiring by comparison. I find that the so called "cosmetic details" of a language or a development platform are in reality way more than merely cosmetic - it's like a car you drive every day wherein even the little things that niggle can eventually make your life miserable - you want the controls on the dash to look great and be easy on the eye and the doors to shut easily with a nice solid clunk, the steering wheel to feel good in your hands as you're zooming effortlessly along etc. etc. VB may have been some hot s**t in its day, but now it justs reminds me of my old Fiat. We should concede them a minor point about the rev documentation though. Yes, all the info is there - somewhere - but it's arranged more like a jigsaw puzzle than a book and when I'm trying to learn a new programming language, a book is a whole lot easier. All that said, IMHO rev wins hand down! Gordon From BNZ2 at CDC.GOV Wed Dec 22 17:57:58 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 22 Dec 2004 17:57:58 -0500 Subject: DreamCard Review-PCPLUS Message-ID: <64878EF567131D4596246171F75FD4A9469E60@m-epo-1.epo.cdc.gov> So - there are obviously VB to rev converts - are there any Rev to VB converts? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon Webster Sent: Wednesday, December 22, 2004 5:55 PM To: How to use Revolution Subject: Re: DreamCard Review-PCPLUS I have used both VB and rev and while they both effectively do the same thing, I have to say that VB is rather gray and uninspiring by comparison. I find that the so called "cosmetic details" of a language or a development platform are in reality way more than merely cosmetic - it's like a car you drive every day wherein even the little things that niggle can eventually make your life miserable - you want the controls on the dash to look great and be easy on the eye and the doors to shut easily with a nice solid clunk, the steering wheel to feel good in your hands as you're zooming effortlessly along etc. etc. VB may have been some hot s**t in its day, but now it justs reminds me of my old Fiat. We should concede them a minor point about the rev documentation though. Yes, all the info is there - somewhere - but it's arranged more like a jigsaw puzzle than a book and when I'm trying to learn a new programming language, a book is a whole lot easier. All that said, IMHO rev wins hand down! Gordon _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ps1 at softseven.org Wed Dec 22 18:05:12 2004 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 22 Dec 2004 17:05:12 -0600 Subject: htmlText help In-Reply-To: <6954E200-5459-11D9-95E4-000A9567A3E6@swcp.com> References: <41C99F19.3020905@roman.uib.no> <6954E200-5459-11D9-95E4-000A9567A3E6@swcp.com> Message-ID: <6.1.1.1.2.20041222170356.0264b680@softseven.org> At 02:38 PM 12/22/2004, you wrote: >On Dec 22, 2004, at 12:42 PM, Dar Scott wrote: > >>On OS X I tried using Unicode in Revolution by putting the combining >>diaeresis (0308) after an n. The font was Lucinda Grande. It didn't >>render as I expected; I only saw the n. > >Here is a way to get Revolution to render correctly: > > set the htmlText of field "field" to \ > format("

lang=\"ja\">n̈

") Where is the object for htmlText located. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org From ps1 at softseven.org Wed Dec 22 18:11:22 2004 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 22 Dec 2004 17:11:22 -0600 Subject: Sample Source Code Message-ID: <6.1.1.1.2.20041222170751.02618808@softseven.org> Does anyone know of any web sites with sample source code that is free. I been through all the code that comes with Revolution and would like to see more. If you know of any web sites or have any code you would like to share please do so. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org From alex at tweedly.net Wed Dec 22 18:22:55 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 22 Dec 2004 23:22:55 +0000 Subject: the secrets of Monks In-Reply-To: References: <20041222205254.150BA930223@mail.runrev.com> Message-ID: <41CA01CF.50404@tweedly.net> Brian Thomas wrote: > > At last, the conclusion to the longest running project in the history > of interactive media. Thanks again to everyone who helped build the If > Monks had Macs (or Windows) library. > > Runtime Revolution has just released a stack of scripts and tips as to > using Revolution/Dreamcard for multimedia. The stack may not be of > much help to the wizards on this site who have been so helpful to over > the years that I have been working on Monks. Nonetheless, it is a good > resource for you to know about and point out to new multimedia > developers. And the stack does share a wonderful technique that Jeanne > A.E. deVoto worked out for me so Monks could display life-size (museum > sized) paintings on small computer screens. You can download the > demo/codeshare tutorial through revOnline or by using this link: > > http://revonline.runrev.com/resources/coding/monks-demo.zip Looks pretty good - but I had rather mixed success trying to run it on Win XP. 1. If you run it from the Dreamcard Player, it fails pretty thoroughly. NO images are shown - so almost nothing can be done. Even the "quit" button is invisible, so unless you happen to know where it is, you are stuck. (The "Close" button in the menu bar is disabled - so there is no way out except Ctrl-Del-Alt and terminating the program.) I'm guessing this is because of BZ 2294 (there is no defaultFolder when running in Dreamcard Player). 2. If run with the Rev (2.5 Dreamcard - but full Rev, not Player) engine by double-clicking the stack, the cursor is invisible. I reported this as BZ 2138 (though I thought it was only Dreamcard Player it happened in - but I am 99.99% sure this happens with the Monks stack in the full Rev engine; there's just a .001% chance I'm picking up the wrong engine by mistake - I'm running it via right-click, Open with ... and selecting the engine within the Rev 2.5 folder). 3. If I run Rev, then open the stack within that - it's great !! Thank You ! -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From alex at tweedly.net Wed Dec 22 18:30:49 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 22 Dec 2004 23:30:49 +0000 Subject: the secrets of Monks In-Reply-To: <41CA01CF.50404@tweedly.net> References: <20041222205254.150BA930223@mail.runrev.com> <41CA01CF.50404@tweedly.net> Message-ID: <41CA03A9.1060203@tweedly.net> Alex Tweedly wrote: > Looks pretty good - but I had rather mixed success trying to run it on > Win XP. *(&*^%! Sorry - that was supposed to go direct to Brian at rivertext, not to the list. I'm trying out Thunderbird for my email (replacing Eudora) and have made a good variety of mistakes in the last two days ... -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From sarahr at genesearch.com.au Wed Dec 22 18:41:40 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 23 Dec 2004 09:41:40 +1000 Subject: Sample Source Code In-Reply-To: <6.1.1.1.2.20041222170751.02618808@softseven.org> References: <6.1.1.1.2.20041222170751.02618808@softseven.org> Message-ID: <07640D2C-5473-11D9-80AA-0003937A97B8@genesearch.com.au> There are plenty of sites around with stacks that you can look at. First, try checking revOnline, where you will fine a bunch of stuff. Next stop would be the Revolution web ring - my internet connection is down at the moment and I am emailing through shared dial-up so I can't check the address, but if you go to my site, you will see a whole load of projects that you are welcome to download and check, as well as some links at the bottom to the web ring and a few other sites. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 23 Dec 2004, at 9:18 am, Paul Salyers wrote: > Does anyone know of any web sites with sample source code that is > free. I been through all the code that comes with Revolution and would > like to see more. If you know of any web sites or have any code you > would like to share please do so. > > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org From dsc at swcp.com Wed Dec 22 18:45:22 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 Dec 2004 16:45:22 -0700 Subject: htmlText help In-Reply-To: <6.1.1.1.2.20041222170356.0264b680@softseven.org> References: <41C99F19.3020905@roman.uib.no> <6954E200-5459-11D9-95E4-000A9567A3E6@swcp.com> <6.1.1.1.2.20041222170356.0264b680@softseven.org> Message-ID: <8B945631-5473-11D9-95E4-000A9567A3E6@swcp.com> On Dec 22, 2004, at 4:05 PM, Paul Salyers wrote: >>> On OS X I tried using Unicode in Revolution by putting the combining >>> diaeresis (0308) after an n. The font was Lucinda Grande. It >>> didn't render as I expected; I only saw the n. >> >> Here is a way to get Revolution to render correctly: >> >> set the htmlText of field "field" to \ >> format("

> lang=\"ja\">n̈

") > > Where is the object for htmlText located. It is a property of a field. (Or a chunk of a field text.) It is an HTML-like description of the text of a field that includes style and fonts and so on. This particular problem can be addressed by setting the textFont of the field include the encoding "Japanese". That forces the field to use unicode encoding for the entire field. That way the modifier, the combining diaeresis, is kept with the modified character. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From troy at rpsystems.net Wed Dec 22 18:49:13 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 22 Dec 2004 18:49:13 -0500 Subject: DreamCard Review-PCPLUS In-Reply-To: <64878EF567131D4596246171F75FD4A9469E60@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E60@m-epo-1.epo.cdc.gov> Message-ID: <1569C1CE-5474-11D9-BB0C-000A95A09CF8@rpsystems.net> On Dec 22, 2004, at 5:57 PM, Lynch, Jonathan wrote: > So - there are obviously VB to rev converts - are there any Rev to VB > converts? For the most part they wouldn't be hanging around here. -- Troy RPSystems, Ltd. http://www.rpsystems.net From ps1 at softseven.org Wed Dec 22 20:33:47 2004 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 22 Dec 2004 19:33:47 -0600 Subject: Keys pressed Message-ID: <6.1.1.1.2.20041222192626.026328d0@softseven.org> I need to know how to do a keypressed function: EX: press the "I" and it will goto the Information card Case Asc("I"), Asc("i") Open instruction card End case This is an VB example and I have the painful job of converting without much help in doc Paul Salyers PS1 - Senior Rep. PS1 at softseven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home From ambassador at fourthworld.com Wed Dec 22 20:40:35 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Dec 2004 17:40:35 -0800 Subject: Keys pressed In-Reply-To: <6.1.1.1.2.20041222192626.026328d0@softseven.org> References: <6.1.1.1.2.20041222192626.026328d0@softseven.org> Message-ID: <41CA2213.8030802@fourthworld.com> Paul Salyers wrote: > I need to know how to do a keypressed function: > > EX: > > press the "I" and it will goto the Information card > > Case Asc("I"), Asc("i") > Open instruction card > End case > > This is an VB example and I have the painful job of converting without > much help in doc There must be something in those 3,000 pages for ya' -- let's see what we can find: ...launching Rev, clicking Documentation.... ...flipped the option control to "Search for:", enter "key pressed"... - blamo!: found the keyDown and keyUp messages. Check those out and you should have what you need. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From alex at tweedly.net Wed Dec 22 20:43:15 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2004 01:43:15 +0000 Subject: Keys pressed In-Reply-To: <6.1.1.1.2.20041222192626.026328d0@softseven.org> References: <6.1.1.1.2.20041222192626.026328d0@softseven.org> Message-ID: <41CA22B3.4060607@tweedly.net> Paul Salyers wrote: > I need to know how to do a keypressed function: > > EX: > > press the "I" and it will goto the Information card > > Case Asc("I"), Asc("i") > Open instruction card > End case > > This is an VB example and I have the painful job of converting without > much help in doc See docs under keyDown and similar .... on keyDown theKey switch theKey case "I" go card "Information" break .... end switch end keyDown But do look at the docs - there are some important exceptions where certain keys trigger different events. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From stephenREVOLUTION at barncard.com Wed Dec 22 20:47:46 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 22 Dec 2004 19:47:46 -0600 Subject: Keys pressed Message-ID: >This is an VB example and I have the painful job of converting >without much help in doc bollocks! The docs aren't that bad! From alex at tweedly.net Wed Dec 22 20:51:23 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2004 01:51:23 +0000 Subject: Keys pressed In-Reply-To: <41CA2213.8030802@fourthworld.com> References: <6.1.1.1.2.20041222192626.026328d0@softseven.org> <41CA2213.8030802@fourthworld.com> Message-ID: <41CA249B.7020108@tweedly.net> Richard Gaskin wrote: > Paul Salyers wrote: > >> I need to know how to do a keypressed function: >> >> EX: >> >> press the "I" and it will goto the Information card >> >> Case Asc("I"), Asc("i") >> Open instruction card >> End case >> >> This is an VB example and I have the painful job of converting >> without much help in doc > > > There must be something in those 3,000 pages for ya' -- let's see what > we can find: > > ...launching Rev, clicking Documentation.... > ...flipped the option control to "Search for:", enter "key pressed"... > > - blamo!: found the keyDown and keyUp messages. > > Check those out and you should have what you need. I'm sure it's in there - and I'm even sure Paul tried to look ..... don't assume it's as easy as it might seem with the benefit of knowledge/hindsight/intuition that makes you pick the right phrase. Here's what I did .... ... launching Rev,. click Documentation... ... flip option to Search ...., enter "keypress" wait for approx 2 minutes while it spins that stupid little cursor .... get about 10 entries .... none of which is keyDown or keyUp (though the 7th entry would (if I hadn't given up by then) have referred me to keyDown in the "See also ..." list.) -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From DMJV5 at aol.com Wed Dec 22 20:51:48 2004 From: DMJV5 at aol.com (DMJV5 at aol.com) Date: Wed, 22 Dec 2004 20:51:48 EST Subject: Keys pressed Message-ID: <8d.1cd5d972.2efb7eb4@aol.com> please stop the e-mails From johnrule at rcsprogramming.com Wed Dec 22 21:07:47 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Wed, 22 Dec 2004 18:07:47 -0800 Subject: AirSync graphics issue In-Reply-To: <20041222205254.150BA930223@mail.runrev.com> Message-ID: <200412222008953.SM01412@minipcxp> It's not just a graphics problem, stand alone apps compiled with any engine later than 2.5 will crash when in the 'remote' mode. JR > It takes some cajones to say that the engine is "very good at exposing > bugs in the drivers for graphics cards", but damned if it isn't true. > And it's logical enough, even if other apps don't trip over the same > wires*: specs for Windows drivers are a bizarre hodge-podge from > multiple vendors, and display manufacturers are always testing and > revising their drivers constantly (the good ones, anyway). From ambassador at fourthworld.com Wed Dec 22 22:00:31 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Dec 2004 19:00:31 -0800 Subject: Keys pressed In-Reply-To: <41CA249B.7020108@tweedly.net> References: <6.1.1.1.2.20041222192626.026328d0@softseven.org> <41CA2213.8030802@fourthworld.com> <41CA249B.7020108@tweedly.net> Message-ID: <41CA34CF.2010005@fourthworld.com> Alex Tweedly wrote: > Richard Gaskin wrote: > >> Paul Salyers wrote: >> >>> I need to know how to do a keypressed function: >>> >>> EX: >>> >>> press the "I" and it will goto the Information card >>> >>> Case Asc("I"), Asc("i") >>> Open instruction card >>> End case >>> >>> This is an VB example and I have the painful job of converting >>> without much help in doc >> >> There must be something in those 3,000 pages for ya' -- let's see what >> we can find: >> >> ...launching Rev, clicking Documentation.... >> ...flipped the option control to "Search for:", enter "key pressed"... >> >> - blamo!: found the keyDown and keyUp messages. >> >> Check those out and you should have what you need. > > I'm sure it's in there - and I'm even sure Paul tried to look ..... I didn't mean to imply he hadn't. But while I don't know what path he had tried, I do know what I would try if I were there in his office working for him, which is what I wrote. Fortunately, the phrasing he used turns up great results. But as you found, varations can be less useful: > don't assume it's as easy as it might seem with the benefit of > knowledge/hindsight/intuition that makes you pick the right phrase. > > Here's what I did .... > > ... launching Rev,. click Documentation... > ... flip option to Search ...., enter "keypress" > > wait for approx 2 minutes while it spins that stupid little cursor .... > get about 10 entries .... none of which is keyDown or keyUp 2 minutes? What speed? Searching through thousands of tiny text files will never be as fast as working with the native object model as was done in earlier versions, and if it takes two minutes I'd agree it passes a threshold of usefulness. > (though the 7th entry would (if I hadn't given up by then) have referred > me to keyDown in the "See also ..." list.) You're right: I had searched only for the term Paul used, "key pressed". Trying another avenue, switching to the "Topics" mode I see many things but none called something like "Working with text". Searching for "keyboard event" also yields zero entries. So does searching for "key event". Ironically, the best search turns out to be the exact one the poster was looking for, but variations on that are fruitless. Rather than risk another long thread about the docs, I'll follow my own advice and explore recommendations for improving searching to the RevDocs group at . But I do agree that there's much room for improvement. Hopefully the recommendations from the RevDocs group will help. Good catch. Thanks. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed Dec 22 22:03:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Dec 2004 19:03:20 -0800 Subject: AirSync graphics issue In-Reply-To: <200412222008953.SM01412@minipcxp> References: <200412222008953.SM01412@minipcxp> Message-ID: <41CA3578.7010000@fourthworld.com> John Rule wrote: >>It takes some cajones to say that the engine is "very good at exposing >>bugs in the drivers for graphics cards", but damned if it isn't true. >>And it's logical enough, even if other apps don't trip over the same >>wires*: specs for Windows drivers are a bizarre hodge-podge from >>multiple vendors, and display manufacturers are always testing and >>revising their drivers constantly (the good ones, anyway). > > It's not just a graphics problem, stand alone apps compiled with any engine > later than 2.5 will crash when in the 'remote' mode. Graphics problems can find expression in symptoms deeper than odd rendering. Remember, we're talking about a serious hodge-podge of specs at play here. :) Did you check the driver version and hardware accelleration? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From runrev at rivertext.com Wed Dec 22 23:04:36 2004 From: runrev at rivertext.com (Brian Thomas) Date: Wed, 22 Dec 2004 20:04:36 -0800 Subject: monks demo error -- atten: Mark Waddingham In-Reply-To: <20041223013543.94694930242@mail.runrev.com> References: <20041223013543.94694930242@mail.runrev.com> Message-ID: >Message: 14 >Date: Wed, 22 Dec 2004 23:22:55 +0000 >From: Alex Tweedly >Subject: Re: the secrets of Monks > > >Looks pretty good - but I had rather mixed success trying to run it on >Win XP. > >1. If you run it from the Dreamcard Player, it fails pretty thoroughly. >NO images are shown - so almost nothing can be done. Even the "quit" >button is invisible, so unless you happen to know where it is, you are >stuck. (The "Close" button in the menu bar is disabled - so there is no >way out except Ctrl-Del-Alt and terminating the program.) > >I'm guessing this is because of BZ 2294 (there is no defaultFolder when >running in Dreamcard Player). > >2. If run with the Rev (2.5 Dreamcard - but full Rev, not Player) engine >by double-clicking the stack, the cursor is invisible. I reported this >as BZ 2138 (though I thought it was only Dreamcard Player it happened in >- but I am 99.99% sure this happens with the Monks stack in the full Rev >engine; there's just a .001% chance I'm picking up the wrong engine by >mistake - I'm running it via right-click, Open with ... and selecting >the engine within the Rev 2.5 folder). > >3. If I run Rev, then open the stack within that - it's great !! Thank You ! > >-- Alex. > Thanks Alex, Before sending to Runtime Revolution I tested it in Windows XP ONLY by opening it the way you did in number 3 -- opening Rev. first. I had included a READ ME file that I asked Mark Waddingham to remove that explained how to get it to work despite the problems you mention. It read like this: In order for this stack to work it AND its "data" folder must be in the same folder as the Runtime Revolution application you are using to view it. You could browse this stack with either the DreamCard player, DreamCard, or Revolution. Drag "monks.rev and the "data" folder out of this folder and into the folder for the Runtime Revolution application you are using to view it. If you already have a "data" folder in that application then separately drag the monks.rev file into the Runtime Revolution folder and then drag the two folders inside my "data" folder into your already existing "data" folder. ---- Then Richard Gaskin re-wrote the script he wrote for Monks to create a path. This is the script: on preOpenStack put the filename of this stack into tPath set the itemdel to "/" delete last item of tPath set the defaultfolder to tPath end preOpenStack So now you're telling me that this script won't work in Dreamcard and there is no way to fix it. -- I have to ask Mark to put the Read Me back in? -- I tested it on Rev & Dreamcard but now I see that I still had the files in the correct position in the Dreamcard player folder and so it only appeared to be working. This whole thing seems like a major flaw in Dreamcard. Do you expect everyone to make little stacks with it that don't need to have their files kept externally? -- Brian From wdesigns at austin.rr.com Wed Dec 22 23:52:56 2004 From: wdesigns at austin.rr.com (Douglas Westbrook) Date: Wed, 22 Dec 2004 22:52:56 -0600 Subject: Keys pressed In-Reply-To: <41CA34CF.2010005@fourthworld.com> References: <6.1.1.1.2.20041222192626.026328d0@softseven.org> <41CA2213.8030802@fourthworld.com> <41CA249B.7020108@tweedly.net> <41CA34CF.2010005@fourthworld.com> Message-ID: <835B3041-549E-11D9-9520-000A95B26B74@austin.rr.com> try this If 105 = the keysdown then go to card "instruction" of stack "whatever" On Dec 22, 2004, at 9:00 PM, Richard Gaskin wrote: > Alex Tweedly wrote: >> Richard Gaskin wrote: >>> Paul Salyers wrote: >>> >>>> I need to know how to do a keypressed function: >>>> >>>> EX: >>>> >>>> press the "I" and it will goto the Information card >>>> >>>> Case Asc("I"), Asc("i") >>>> Open instruction card >>>> End case >>>> >>>> This is an VB example and I have the painful job of converting >>>> without much help in doc >>> >>> There must be something in those 3,000 pages for ya' -- let's see >>> what we can find: >>> >>> ...launching Rev, clicking Documentation.... >>> ...flipped the option control to "Search for:", enter "key >>> pressed"... >>> >>> - blamo!: found the keyDown and keyUp messages. >>> >>> Check those out and you should have what you need. >> >> I'm sure it's in there - and I'm even sure Paul tried to look ..... > > I didn't mean to imply he hadn't. But while I don't know what path he > had tried, I do know what I would try if I were there in his office > working for him, which is what I wrote. > > Fortunately, the phrasing he used turns up great results. But as you > found, varations can be less useful: > >> don't assume it's as easy as it might seem with the benefit of >> knowledge/hindsight/intuition that makes you pick the right phrase. >> Here's what I did .... >> ... launching Rev,. click Documentation... >> ... flip option to Search ...., enter "keypress" >> wait for approx 2 minutes while it spins that stupid little cursor >> .... >> get about 10 entries .... none of which is keyDown or keyUp > > 2 minutes? What speed? > > Searching through thousands of tiny text files will never be as fast > as working with the native object model as was done in earlier > versions, and if it takes two minutes I'd agree it passes a threshold > of usefulness. > >> (though the 7th entry would (if I hadn't given up by then) have >> referred me to keyDown in the "See also ..." list.) > > You're right: I had searched only for the term Paul used, "key > pressed". > > Trying another avenue, switching to the "Topics" mode I see many > things but none called something like "Working with text". Searching > for "keyboard event" also yields zero entries. So does searching for > "key event". > > Ironically, the best search turns out to be the exact one the poster > was looking for, but variations on that are fruitless. > > Rather than risk another long thread about the docs, I'll follow my > own advice and explore recommendations for improving searching to the > RevDocs group at . > > But I do agree that there's much room for improvement. Hopefully the > recommendations from the RevDocs group will help. > > Good catch. Thanks. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Dec 23 00:30:36 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2004 23:30:36 -0600 Subject: Sample Source Code In-Reply-To: <6.1.1.1.2.20041222170751.02618808@softseven.org> References: <6.1.1.1.2.20041222170751.02618808@softseven.org> Message-ID: <41CA57FC.5080302@hyperactivesw.com> On 12/22/04 5:11 PM, Paul Salyers wrote: > Does anyone know of any web sites with sample source code that is free. > I been through all the code that comes with Revolution and would like to > see more. If you know of any web sites or have any code you would like > to share please do so. What you need is the list that Richard Gaskin is keeping: A very good list of resources from a lot of different people -- sample stacks, library code, utilities, other examples. You're bound to find something in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Dec 23 00:38:08 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Dec 2004 21:38:08 -0800 Subject: Sample Source Code In-Reply-To: <41CA57FC.5080302@hyperactivesw.com> References: <6.1.1.1.2.20041222170751.02618808@softseven.org> <41CA57FC.5080302@hyperactivesw.com> Message-ID: <41CA59C0.4000108@fourthworld.com> J. Landman Gay wrote: > On 12/22/04 5:11 PM, Paul Salyers wrote: > >> Does anyone know of any web sites with sample source code that is >> free. I been through all the code that comes with Revolution and would >> like to see more. If you know of any web sites or have any code you >> would like to share please do so. > > > What you need is the list that Richard Gaskin is keeping: > > > > A very good list of resources from a lot of different people -- sample > stacks, library code, utilities, other examples. You're bound to find > something in there. Thank you, Jacque. It may be worth noting that that list is also in RevNet, on the Links card. And while you're in RevNet, check out the Stacks list -- lots of downloadable stuff there (including Jacque's addictive Blocker game). To use RevNet just open Development->Plugins->GoRevNet -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mfstuart at cox.net Thu Dec 23 01:52:04 2004 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 22 Dec 2004 22:52:04 -0800 Subject: Database Tutorial Message-ID: <000a01c4e8bb$e97824f0$636f0444@stuart> Hi folks, I'm a brand new user to Dreamcard that needs to access MySQL databases, and I need a tutorial to guide me thru the steps of building an example application. I've looked at Sarah's "MySQLTests.rev" example, and it's great, but it's not want I want to do. BTW: I'm a software developer and have been using eDeveloper from Magic Software for many years now, and know what I'm looking to do. Basically, I would like to use a tutorial that brings it all together, in a "real world" database oriented application. For example, if you look at any good Contact Manager, or CRM application that's out there on the web today, you will see that's the kind of application I would like to try and build. Typically, in a "real world" example, there would be: Setup screens for: - Database Connection - User Name & Password - Security - Printer Setup - Etc. Data access: - List Views - data displayed to the user in a datagrid - View Detail forms - modify, create, delete, print - a record from the List View - Form Navigation - viewing different data sets/tables: Customers, Orders, ToDo's, etc. - Record Find, Lookup - Etc. The tutorial would explain the following: Event driven structure to the code to handle all data elements. Bound Data Combo Box, List Box examples Combo Box content dependant on prior Combo Box user selection Drop down menus Toolbar menu Form and record Navigation Data Lookups - Selection screens that display data in a list format, such as City List. User selects record and that record value is returned to the previous screen/field. I don't know if the above is asking too much, but other software companies like RunRev do have tutorials that accompany their tools, to help the developer get oriented to the tool quickly. I have searched extensively for the following on the web (MySQL, database, Dreamcard, Revolution), and have not found anything that guides the developer thru the steps of database development using either Dreamcard or Revolution. If you have something that I would be interested in, please reply back to me personally, and we'll discuss this. Thanx, Mark Stuart From chipp at chipp.com Thu Dec 23 02:25:09 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 22 Dec 2004 23:25:09 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: <64878EF567131D4596246171F75FD4A9469E60@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E60@m-epo-1.epo.cdc.gov> Message-ID: <41CA72D5.1050004@chipp.com> I was using VB before I started with Rev. -Chipp Lynch, Jonathan wrote: > So - there are obviously VB to rev converts - are there any Rev to VB > converts? From chipp at chipp.com Thu Dec 23 02:26:33 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 22 Dec 2004 23:26:33 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: <200412221330.iBMDU6m8031742@xasamail.com> References: <200412221330.iBMDU6m8031742@xasamail.com> Message-ID: <41CA7329.7000500@chipp.com> Webmailman, Do you have a URL for this review, or is it as anonymous as you are? -Chipp webmailman wrote: > Dreamcard2.5 slammed hard by PCPLUS! > Rating: 4 of 10 > > Time to wake up and smell the coffee, Revolutionaries! > > > In issue 224 (Christmas 2004), Paul Hudson gives readers his insights into Dreamcard 2.5. Here are a few excerpts: > > "An integrated development environment designed to allow non-programmers to become programmers. Bizarrely designed to make even the simplests operations difficult beyond belief, VisualBasic.NET is faster and a great deal easier to use." > > [Tranlsation: Non-intuitive interface is a severe handicap. VB.NET is easier for beginners.] > > > "If you're a non-programmer and want to stay a non-programmer, for goodness sake use PowerPoint, Access, Visual Basic for Applications, or some other tool you already have. If you want to become a programmer, this is perhaps the finest example of how not to do it--stick with Visual Studio." > > [Translation: For typical office and home users, use your existing MS tools; they're more than adequate for most of your needs. If you want to test the waters of becomming a programmer, don't waste time with DreamCard; go directly to Visual Studio.] > > > "The GUI looks easier than it is--full marks go to the menu bars for total confusion." > > [Translation: What were they thinking when they came up with the ridiculous tool bar system?] > > > "As with other graphical IDEs, you can drag and drop components directly onto your window and manipulate them visually--at this point you're thinking that sounds something like VB.NET. Sadly, that vision is cruelly shattered when you try to make your GUI do something. Adding functionality throws you into the deep-end, grasping wildly for some sort of documentation to help you out. Documentation there is, but it doesn't help you." > > [Translation: There is ducomentaion, but the design sux so bad as to be next to useless.] > > > "The 'programs' you make now that you're a programmer get run through DreamCard Player, which is a great way to burst the bubble of professionalism in just three easy steps." > > [If you want your presentations to look profesional, better stick with tried-and-true tools that you probably already know, like PowerPoint.] > > > Looks like some re-think is in order... > > > > http://www.xasamail.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Thu Dec 23 02:30:07 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 22 Dec 2004 23:30:07 -0800 Subject: AirSync graphics issue In-Reply-To: <200412222008953.SM01412@minipcxp> References: <200412222008953.SM01412@minipcxp> Message-ID: <41CA73FF.2090403@chipp.com> I agree with Richard, Please check the Hardware acceleration. To do this do the following on your WinXP computer: right-click the desktop and select properties click the settings tab click the advanced button lower right click the troubleshoot tab drag the slider to the complete left side Apply and OK Now test and let us know what you find. -Chipp John Rule wrote: > It's not just a graphics problem, stand alone apps compiled with any engine > later than 2.5 will crash when in the 'remote' mode. > > JR From ambassador at fourthworld.com Thu Dec 23 02:41:50 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Dec 2004 23:41:50 -0800 Subject: monks demo error -- atten: Mark Waddingham In-Reply-To: References: <20041223013543.94694930242@mail.runrev.com> Message-ID: <41CA76BE.9080507@fourthworld.com> Brian Thomas wrote: > ---- > > Then Richard Gaskin re-wrote the script he wrote for Monks to create a > path. This is the script: > > on preOpenStack > put the filename of this stack into tPath > set the itemdel to "/" > delete last item of tPath > set the defaultfolder to tPath > end preOpenStack > > So now you're telling me that this script won't work in Dreamcard and > there is no way to fix it. -- I have to ask Mark to put the Read Me back > in? -- If the Monks stack is the only one running at the time, what's changing the defaultFolder? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From webmail at xasamail.com Thu Dec 23 04:47:18 2004 From: webmail at xasamail.com (webmailman) Date: Thu, 23 Dec 2004 10:47:18 +0100 Subject: DreamCard Review-PCPLUS Message-ID: <200412230947.iBN9lIJJ014862@xasamail.com> -Chipp wrote: Webmailman, Do you have a URL for this review, or is it as anonymous as you are? ======================================================== Hmmm, did you read the whole post? I thought this was a very clear reference: "In issue 224 (Christmas 2004), Paul Hudson gives readers his insights ...." Also, this citation makes no reference to a URL, because it was not taken from a website. I would think if you can figure out DreamCard/Revolution, you should most certainly be able to determine how and where to find the review from the specific details given. http://www.xasamail.com/ From Signe.Sanne at roman.uib.no Thu Dec 23 06:09:58 2004 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Thu, 23 Dec 2004 12:09:58 +0100 Subject: Umlaut on a consonant letter In-Reply-To: <149A0FCA-545C-11D9-95E4-000A9567A3E6@swcp.com> References: <64878EF567131D4596246171F75FD4A9469E5A@m-epo-1.epo.cdc.gov> <149A0FCA-545C-11D9-95E4-000A9567A3E6@swcp.com> Message-ID: <41CAA786.6000509@roman.uib.no> Dar Scott skrev: > > On Dec 22, 2004, at 1:07 PM, Lynch, Jonathan wrote: > >> I have a stack I use to figure out Unicode numbers for various symbols - >> the one thing I found was that any use of Unicode in a field really >> requires that the whole field be in Unicode. Otherwise, it gets >> confused. Have others found this? > > > I was just about to send a comment on this. > > I noticed that if textFont of the field is set to "Lucida > Grande,Japanese", the unicode method I tried works. > > It seems that otherwise, Revolution tries to separate the n from the > combining character and put it outside of unicode. > > It is weird using "Japanese" as the language for the font. > > This now works: > > on mouseUp > set useUnicode to true > set the textFont of field "field" to "Lucida Grande,Japanese" > set the unicodeText of field "field" to numToChar(110) & numToChar(776) > put the htmlText of field "field" > end mouseUp > > Dar > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Programming Services and Software > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Lots of thanks to Richard, Dar, Jonathan and Frank. I now have a field exposing text with accented letters and the umlaut at the same time. Merry Christmas to all the very helpful Revolutionies! Best from Norway Signe Marie Sanne From alex at tweedly.net Thu Dec 23 06:36:25 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2004 11:36:25 +0000 Subject: monks demo error -- atten: Mark Waddingham In-Reply-To: <41CA76BE.9080507@fourthworld.com> References: <20041223013543.94694930242@mail.runrev.com> <41CA76BE.9080507@fourthworld.com> Message-ID: <41CAADB9.40103@tweedly.net> Richard Gaskin wrote: > Brian Thomas wrote: > >> >> So now you're telling me that this script won't work in Dreamcard and >> there is no way to fix it. -- I have to ask Mark to put the Read Me >> back in? -- > Yes. > > If the Monks stack is the only one running at the time, what's > changing the defaultFolder? > Nothing - it never gets set in the first place. See the Bugzilla entry I mentioned (2294) for the full details, but the important part of it is ... > /------- Additional Comment #2 > From > Mark Waddingham 2004-10-30 09:03 ------- / > >Confirmed in 2.5 - at present the Dreamcard Player sets the filename of stacks >to empty regardless of whether they were local or downloaded (and so in the URL >cache). This is obviously incorrect and the player should distinguish. > -- Alex. -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From ambassador at fourthworld.com Thu Dec 23 07:29:01 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 04:29:01 -0800 Subject: monks demo error -- atten: Mark Waddingham In-Reply-To: <41CAADB9.40103@tweedly.net> References: <20041223013543.94694930242@mail.runrev.com> <41CA76BE.9080507@fourthworld.com> <41CAADB9.40103@tweedly.net> Message-ID: <41CABA0D.1050907@fourthworld.com> Alex Tweedly wrote: > Richard Gaskin wrote: >> If the Monks stack is the only one running at the time, what's >> changing the defaultFolder? >> > Nothing - it never gets set in the first place. See the Bugzilla > entry I mentioned (2294) for the full details, but the important > part of it is ... > >> /------- Additional Comment #2 >> From >> Mark Waddingham 2004-10-30 09:03 >> ------- / >> >> Confirmed in 2.5 - at present the Dreamcard Player sets the >> filename of stacks to empty regardless of whether they were >> local or downloaded (and so in the URL cache). This is >> obviously incorrect and the player should distinguish. Wow. Drag. How did that get changed? Local stack files having a fileName had been a reliable part of the engine for more than 14 years. The Player has no debugger. For this reason it's absolutely critical that differences between its behavior and the IDE or any standalone be kept to an absolute minimum. People will not use the Player if it introduces unexpected behaviors. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From sanke at hrz.uni-kassel.de Thu Dec 23 07:41:05 2004 From: sanke at hrz.uni-kassel.de (sanke at hrz.uni-kassel.de) Date: Thu, 23 Dec 2004 13:41:05 +0100 Subject: DreamCard Review-PCPLUS Message-ID: <1103805665.41cabce14e3ce@www.uni-kassel.de> Paul Salyers wrote: "Neobook 4" - 199 US$ - includes a web object. "Neobook 5" - will be released in January - has improved web capabilities: "The compiler now supports HTML files! Simply place an HTML file inside a Web Browser object, and the compiler will parse the file and include any linked images, other HTML files, etc. automatically. HTML content does not need to be extracted for viewing." 2. "Multimedia Builder" includes a web object, too Multimedia Builder sells for $ 60 US - including a MP3 license and $ 45 US without (but with the web object). Additional features of Multimedia Builder that would be nice to have in Revolution (quotations from the website): "From this version you can place any rectangular object over the Video object! Video still plays OnTop, but it's now "masked" with the objects placed over the video rectangle." "Added "Web Archive (*.mht file) to HTML object and Browser function." "Integrated macromedia Flash object - you can control MMB script from Macromedia FLASH!"-- =========== Both programs have a very much usable IDE and a script language - which, for that matter, of course do not compare to the potential of XTalk languages, but offer low-end alternatives for beginning programmers with a restricted budget. I have licensed Multimedia Builder for use in my programming classes and use it alongside with Revolution. Since Runrev has given up to offer a free "Starter Edition", quite a number of students - who just want to have some more options than with Power Point or Ezedia - choose Multimedia Builder. It should also be noted that MMB with its integrated web object and as a full-fledged authoring system with its low price is a very affordable program ? and accompanied by a number of additional programs like ?RealDraw Pro? (with excellent features to produce transparent graphics) or Photo correction utilities that are also low-priced. Check out their lively website and discussion list. Unfortunately both Neobook and MMB are only available for Windows. --Wilhelm Sanke -------------------------------------------------------- This mail sent through http://www.uni-kassel.de/www-mail From ludovic.thebault at laposte.net Thu Dec 23 07:47:45 2004 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 23 Dec 2004 13:47:45 +0100 Subject: How fix the bug 2126 ? Message-ID: <20041223134745360955.GyazMail.ludovic.thebault@laposte.net> Hello, the bug of disappearing menus in rev 2.5 seem to be fixed, as i saw it in bugzilla. But how fix it on my rev app ? I've the last release. Thanks. From johnrule at rcsprogramming.com Thu Dec 23 09:48:57 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Thu, 23 Dec 2004 06:48:57 -0800 Subject: AirSync graphics issue In-Reply-To: <20041223122545.90D68930233@mail.runrev.com> Message-ID: <200412230849125.SM01360@minipcxp> > Please check the Hardware acceleration. I did all of this before posting to this group. The consistent problem that I find (and the reason I am posting) is that the only application that is giving me problems is -anything- RunRev. Again, I reiterate, everything else works, RR doesn't. I seriously doubt that RR is exposing other deficiencies at this point (and it does take 'cajones' to make that claim). It would be very simple if RR was compatible with Windows CE, I could avoid 'remote desktop' entirely. JR From fde101 at fjrhome.net Thu Dec 23 10:29:05 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 23 Dec 2004 10:29:05 -0500 Subject: DreamCard Review-PCPLUS In-Reply-To: <20041222225500.39639.qmail@web51106.mail.yahoo.com> References: <20041222225500.39639.qmail@web51106.mail.yahoo.com> Message-ID: <61CD8988-54F7-11D9-8F7C-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Dec 22, 2004, at 5:55 PM, Gordon Webster wrote: > We should concede them a minor point about the rev > documentation though. Yes, all the info is there - > somewhere - but it's arranged more like a jigsaw > puzzle than a book and when I'm trying to learn a new > programming language, a book is a whole lot easier. I like the way you put this. Yes, a jigsaw puzzle is about right. The arrangement of the Rev docs makes for a great reference for people who already know exactly what they are looking for, or are at least familiar enough to have a grasp on the terminology. They make for a rather pathetic learning tool if you are not already familiar with Rev, or at least with HyperCard or something quite similar. What is really needed is a Tutorial, which actively walks new users through their first few projects. Not the video things on RevOnline (though they are definitely a step in the right direction), but more like the "wizard"/"assistant" type interfaces used in some software: Step 1: this is what we are about to do (click next), Step 2: do this, then this, here is why, then click next, ... Anyone remember the Apple Guide? Those nice red circles that pointed you visually to exactly what the help text was referring to? Or how about the fact that if you missed a step, the Apple Guide detected that and actually helped you to do it, pointing out in the meantime exactly what you missed? (Anyone have a clue why this was left out of OS X? I think it was one of the best online help systems ever created!) There should be an "orientation" tutorial which walks new users through the very basics of working with Rev and rudimentary scripting (on mouseUp go to next card end mouseUp), and a series of similar tutorials for advanced topics, such as one on inheritance, one on chunk expressions, one on the geometry manager, one (actually several) on database access, etc. These tutorials need to cover the topics fairly thoroughly. In addition to the tutorials, it would be good for Rev to beef up the "Topics" section of the documentation to include virtually all features of Transcript. The "Topics" section would act as a good complement to the tutorials, to help users fill in the blanks after completing a tutorial. There should probably be a one-to-one correspondence between tutorial categories and topics categories: for each tutorial or series of tutorials, more documentation can be found in the "Topics" category with the same name. > All that said, IMHO rev wins hand down! So true. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFByuRC7aqtWrR9cZoRAjouAJwIvZRxTnrZfYqcY2I3xt3pps44LgCfWSCp h7k0fbScLOAZ9DO0WaTr7ts= =88gk -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From stephenREVOLUTION at barncard.com Thu Dec 23 10:36:56 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 23 Dec 2004 09:36:56 -0600 Subject: DreamCard Review-PCPLUS Message-ID: Well, Mr. Attitude, PCPLUS sounds like a product- is it a magazine, newspaper, whatever?? - I've never heard of it and certainly never read it. Also it's hard to figure if you posted this to slam Rev? Was the 'smell the coffee' part yours or in the quoted article? So no, the source, purpose and meaning of the post is NOT clear. >Hmmm, did you read the whole post? I thought this was a very clear reference: > >"In issue 224 (Christmas 2004), Paul Hudson gives readers his insights ...." > >Also, this citation makes no reference to a URL, because it was not >taken from a website. I would think if you can figure out >DreamCard/Revolution, you should most certainly be able to determine >how and where to find the review from the specific details given. > > > http://www.xasamail.com/ >_ From stephenREVOLUTION at barncard.com Thu Dec 23 10:49:53 2004 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 23 Dec 2004 09:49:53 -0600 Subject: Neobook and MMB Message-ID: >A number of other moderately priced multimedia authoring systems offer "web >objects". Runrev should indeed consider to integrate a web control, too. > > >Unfortunately both Neobook and MMB are only available for Windows. Well, that pretty much nixes them for me. so what's the point? These products don't even come close to Rev, which is far more than a 'multimedia authoring system". You are arguing about the modest fee to add altbrowser to the package that a stock rev offers today. Not everyone needs a 'web control". From serrano.jc at elp-info.fr Thu Dec 23 10:58:09 2004 From: serrano.jc at elp-info.fr (Jean-Claude SERRANO) Date: Thu, 23 Dec 2004 16:58:09 +0100 Subject: Standalone and Valentina In-Reply-To: <287FF0E5-5432-11D9-A9C0-000D9337CDC8@mangomultimedia.com> Message-ID: Thanks for your quick answer. I had already test the method 1. I have tried everything you told me to do (method 2) and it still does not work. The dialog box in preopenstack is always empty. Best regards. ----------------------- Jean-Claude SERRANO ELP Informatique serrano.jc at elp-info.fr ----------------------- Le 22/12/04 16:57, ??Trevor DeVore?? a ?crit?: > On Dec 22, 2004, at 3:18 AM, Jean-Claude SERRANO wrote: > >> I have an application developed in revolution. >> This application works with a database Valentina. >> The Connection to the database is good by using Revolution on Mac OS X. >> But, I can?t connect to the database in the standalone version. >> >> Can somebody help me? > > Oui, on peut vous aider. > > When you build a standalone you need to make the database dll/bundles > available to your standalone executable. There are a couple of ways to > do this. > > Method 1: Use the Standalone Builder > > If you are using Rev 2.5 (maybe 2.2 as well, I don't remember) then you > configure your standalone application by selecting "Standalone > Application Settings..." from the file menu or the Application Browser > contextual menu. From the "General" section select the "Database > Support" checkbox and select "Valentina". In theory this should place > all the files you need for database connectivity in the folder the > Standalone Builder puts your executable in. I haven't tried it for > Valentina but I know it doesn't work for MySQL in 2.5. > > Method 2: Do it manually > > This is my preferred method. Once you understand how everything works > it isn't too hard and you can place the required database files > anywhere you would like. I'm an organization freak so this suits me > nicely :-) > > When working with databases and Revolution you generally need two > externals whether working on OS X or Windows. The first is > revdb.dll/.bundle which is the database abstraction external for > Revolution. When you call a handler such as revOpenDatabase you are > using this external. You can find these files in the > "components/global environment/" folder in your Revolution application > folder. > > The second file is the database external itself, in your case > VXCMD_macho/VXCMD.dll. These files are located in "components/global > environment/database_drivers/MacOSX/" and "components/global > environment/database_drivers/Win32/". > > To begin with you must copy these files in a location where your > executable will easily be able to find them. Here is what I do: > > ./myExecutable.exe > ./data/externals/revdb.dll > ./data/externals/revdb.bundle > ./data/externals/VXCMD_macho > ./data/externals/VXCMD.dll > > Now that the files are in the proper location you need to tell your > executable where to find the files. This requires two steps. First > you need to set the externals property of the stack used to make your > standalone so the engine knows where to find revdb.dll/.bundle. Second > you need to set the the database driver path using > revSetDatabaseDriverPath. > > Though there are other ways to set externals property of a stack the > most straightforward way is to set the externals in the "startup" > handler that is called when your executable launches. You could put > something like this in your stack script: > > on startup > local tExternals = "" > > put sys_AppPath() & "/data/externals/revdb.dll" &cr into tExternals > put sys_AppPath() & "/data/externals/revdb.bundle" after tExternals > > set the externals of this stack to tExternals > > pass startup > end startup > > /** > * Set the database driver path. > */ > on preOpenStack > --> TEST: DISPLAY THE EXTERNAL PACKAGES AVAILABLE TO THE STACK > --> SHOULD DISPLAY "RevDB". > answer the externalPackages of this stack > > revSetDatabaseDriverPath (sys_AppPath() & "/data/externals/") > > pass preOpenStack > end preOpenStack > > > /** > * Returns the path to the executable. > */ > function sys_AppPath > local tPath = "" > > put address into tPath > set itemDel to ":" > delete item 1 of tPath > > return tPath > end sys_AppPath > > > This code will set the externals of the stack and display a dialog box > showing which external packages are available to the stack. If > everything went as planned then the dialog box should display "RevDB". > Hopefully this will get you started. If you aren't using revDB and are > just accessing Valentina directly using the XCMD then you would do > things slightly differently. If this is the case then let me know I > can explain how to do that. > > Hope this helps, > From rcozens at pon.net Thu Dec 23 10:26:45 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 23 Dec 2004 07:26:45 -0800 Subject: Sample Source Code In-Reply-To: <6.1.1.1.2.20041222170751.02618808@softseven.org> References: <6.1.1.1.2.20041222170751.02618808@softseven.org> Message-ID: >Does anyone know of any web sites with sample source code that is free. Paul: All components of Serendipity Library are open source--. -- Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy P.O. Box 217 Manchester, CA 95459-0217 (707) 895-2584 "Promoting a healthy and bountiful offshore environment." From betypaul at arvotek.net Thu Dec 23 11:06:04 2004 From: betypaul at arvotek.net (betypaul) Date: Thu, 23 Dec 2004 11:06:04 -0500 Subject: unhilite line in list field Message-ID: <8C3CEEBE-54FC-11D9-9F11-000A95C38590@arvotek.net> Hi Paul, > Hi > My script has a list field where each selection is utilized in turn. > I would like the selection to be unhilited in turn after it is > utilized, > so that as the repeats are worked through the highlights turn off. > Possible? > This doesn't work -- > > repeat for each line mychoice in the selectedText of fld "mylistfield" > doSomething > unhilite mychoice of the selectedText of fld "mylistfield" -- ????? > end repeat > > but, has anyone found a way to do this? Just to see if i get you right: You want to "unhilite" ALL lines AFTER you did something with the hilited lines? Sorry I wasn't clear I want to unhilite EACH line after something is done with that particular line . The highlights would go off one after the other as the repeats are worked through, thus indicating to the user the progress of the process. Probably not possible. I thought I would throw it out Paul The you can: ... repeat for each line mychoice in the selectedText of fld "mylistfield" doSomething end repeat set the hilitedlines of fld "mylistfield" to 0 ... If that's not what you were after, drop another line :-) > Seasons greetings to you all > > Paul Regards Klaus Major From lists at mangomultimedia.com Thu Dec 23 11:55:13 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Dec 2004 09:55:13 -0700 Subject: Database Tutorial In-Reply-To: <000a01c4e8bb$e97824f0$636f0444@stuart> References: <000a01c4e8bb$e97824f0$636f0444@stuart> Message-ID: <69DAE302-5503-11D9-A1C8-000D9337CDC8@mangomultimedia.com> On Dec 22, 2004, at 11:52 PM, Mark Stuart wrote: > Hi folks, > > I'm a brand new user to Dreamcard that needs to access MySQL > databases, and > I need a tutorial to guide me thru the steps of building an example > application. Hi Mark, I have a library at my site which makes dealing with databases in Revolution a little easier (at least for me). There is an article that introduces the library and a sample Revolution stack that shows how to use it. It is just a really basic recipe program but may give you some ideas. It doesn't cover everything you mentioned but I would be happy to answer any questions you may have about databases and Rev. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From klaus at major-k.de Thu Dec 23 11:57:07 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 23 Dec 2004 17:57:07 +0100 Subject: unhilite line in list field In-Reply-To: <8C3CEEBE-54FC-11D9-9F11-000A95C38590@arvotek.net> References: <8C3CEEBE-54FC-11D9-9F11-000A95C38590@arvotek.net> Message-ID: Hi Paul, >>> Hi >>> My script has a list field where each selection is utilized in turn. >>> I would like the selection to be unhilited in turn after it is >>> utilized, >>> so that as the repeats are worked through the highlights turn off. >>> Possible? >>> This doesn't work -- >>> >>> repeat for each line mychoice in the selectedText of fld >>> "mylistfield" >>> doSomething >>> unhilite mychoice of the selectedText of fld "mylistfield" -- ????? >>> end repeat >>> >>> but, has anyone found a way to do this? >> >> Just to see if i get you right: >> >> You want to "unhilite" ALL lines AFTER you did something with the >> hilited lines? > > Sorry I wasn't clear > I want to unhilite EACH line after something is done with that > particular line . > The highlights would go off one after the other as the repeats are > worked through, thus indicating to the user the progress of the > process. > Probably not possible. I thought I would throw it out Ah, know i understand :-) Sure this is possible... ... put the hilitedlines of fld "mylistfield" into tLines put tLines into remaininglines repeat for each item i in tLines ## do something with: line i of fld "mylistfield" delete item 1 of remaininglines set the hilitedlines of fld "mylistfield" to remaininglines end repeat ... Tested and works :-) > Paul Regards Klaus Major klaus at major-k.de http://www.major-k.de From lists at mangomultimedia.com Thu Dec 23 12:29:32 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Dec 2004 10:29:32 -0700 Subject: Standalone and Valentina In-Reply-To: References: Message-ID: <35234124-5508-11D9-A1C8-000D9337CDC8@mangomultimedia.com> On Dec 23, 2004, at 8:58 AM, Jean-Claude SERRANO wrote: > Thanks for your quick answer. > > I had already test the method 1. > I have tried everything you told me to do (method 2) and it still does > not > work. > > The dialog box in preopenstack is always empty. Sorry, I gave you a sys_appPath function that won't work correctly. Replace the previous code with this: on startup local tExternals = "" put sys_AppPath(true) & "/data/externals/revdb.dll" &cr into tExternals put sys_AppPath(true) & "/data/externals/revdb.bundle" after tExternals set the externals of this stack to tExternals pass startup end startup /** * Set the database driver path. */ on preOpenStack --> TEST: DISPLAY THE EXTERNAL PACKAGES AVAILABLE TO THE STACK --> SHOULD DISPLAY "RevDB". answer the externalPackages of this stack revSetDatabaseDriverPath (sys_AppPath() & "/data/externals/") pass preOpenStack end preOpenStack /** * Returns the path to the executable. * * @param pGetBundleFolder Set to true to return the folder an app bundle is in rather than the full path to the executable on OS X. * * @return String */ function sys_AppPath pGetBundleFolder local tPath = "" put address into tPath if pGetBundleFolder = true AND platform() contains "MacOS" and item 1 of systemVersion() >= 10 then get offset(".app/Contents/MacOS/", tPath) if it > 0 then -- 2.4.3 or later delete char it to length(tPath) of tPath end if end if set itemDel to slash delete item -1 of tPath set itemDel to ":" delete item 1 of tPath return tPath end sys_AppPath That should work for you. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From BNZ2 at CDC.GOV Thu Dec 23 12:28:37 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 23 Dec 2004 12:28:37 -0500 Subject: Neobook and MMB Message-ID: <64878EF567131D4596246171F75FD4A9469E62@m-epo-1.epo.cdc.gov> If you buy altbrowser, do you also by the right to incorporate it into standalone applications that are distributed to others, or must the license be purchased separately for every person who receives the standalone? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Stephen Barncard Sent: Thursday, December 23, 2004 10:50 AM To: How to use Revolution Subject: Neobook and MMB >A number of other moderately priced multimedia authoring systems offer "web >objects". Runrev should indeed consider to integrate a web control, too. > > >Unfortunately both Neobook and MMB are only available for Windows. Well, that pretty much nixes them for me. so what's the point? These products don't even come close to Rev, which is far more than a 'multimedia authoring system". You are arguing about the modest fee to add altbrowser to the package that a stock rev offers today. Not everyone needs a 'web control". _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Thu Dec 23 12:44:33 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 23 Dec 2004 18:44:33 +0100 Subject: Neobook and MMB In-Reply-To: <64878EF567131D4596246171F75FD4A9469E62@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E62@m-epo-1.epo.cdc.gov> Message-ID: <4E4EBE36-550A-11D9-978C-000A27B49A96@major-k.de> Hi Jonathan, > If you buy altbrowser, do you also by the right to incorporate it into > standalone applications that are distributed to others, yes! From Chipp's F&A page: Can I distribute altBrowser with my commercial RunRev apps? Certainly! That's exactly why we designed it. The only restriction is you cannot sell altBrowser to other RunRev users in a way which would undermind our selling of it. > or must the license be purchased separately for every person who > receives the > standalone? no! :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From ambassador at fourthworld.com Thu Dec 23 12:49:39 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 09:49:39 -0800 Subject: AirSync graphics issue In-Reply-To: <200412230849125.SM01360@minipcxp> References: <200412230849125.SM01360@minipcxp> Message-ID: <41CB0533.2070004@fourthworld.com> John Rule wrote: >>Please check the Hardware acceleration. > > I did all of this before posting to this group. The consistent > problem that I find (and the reason I am posting) is that the only > application that is giving me problems is -anything- RunRev. Again, I > reiterate, everything else works, RR doesn't. That you'd confirmed the system has the very latest display driver and that you've turned off hardware accelleration was not clear from either of your two posts. Now that the first two steps have been well covered, how about the third: What did Tuviah say when you sent your crash logs to support at runrev.com? > I seriously doubt that RR is exposing other deficiencies at this > point (and it does take 'cajones' to make that claim). It certainly does. I used to mistake Raney for being flippant on this until his advice panned out as he suggested time after time. > It would be very simple if RR was compatible with Windows CE, > I could avoid 'remote desktop' entirely. How are the two related? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Thu Dec 23 13:25:48 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 10:25:48 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: <1103805665.41cabce14e3ce@www.uni-kassel.de> References: <1103805665.41cabce14e3ce@www.uni-kassel.de> Message-ID: <41CB0DAC.9050102@fourthworld.com> sanke at hrz.uni-kassel.de wrote: > Paul Salyers wrote: > > > > A number of other moderately priced multimedia authoring systems offer "web > objects". Runrev should indeed consider to integrate a web control, too. I just hope they keep it separate, even if they do bundle it. Engine size still matters to me, and it's too easy to add stuff that I rarely if ever use -- I'd hate to see a 5MB engine, and stuff adds up. Heck, if I had it my way I'd like to see QT broken out into a separate includable module. I only need it in three apps, and everything else is carrying that code around with no benefit to my customers. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From tsalagi at elohigadugi.org Thu Dec 23 13:54:17 2004 From: tsalagi at elohigadugi.org (duane poncy) Date: Thu, 23 Dec 2004 10:54:17 -0800 Subject: Formatting help needed Message-ID: <20041223105417106539.GyazMail.tsalagi@elohigadugi.org> I've written this script to format a dictionary entry: on preOpen set the useUnicode to true set the textFont of field "Glyph" to "Aboriginal Sans,unicode" set the textFont of field "Display" to "Aboriginal Sans,english" set the htmlText of field "Display" to "" & the htmltext of field "POS" \ & " " & the htmltext of field "pronounce" & "" & return & \ the htmltext of field "Definitions" & return & \ "example" & return & \ "" & the htmlText of field "example" & "" \ & return & return & "see also " & \ "" & the htmlText of field "xref1" & ", " & \ the htmlText of field "xref2" & "" end preOpen What I get is this: --------------------------------- n. ah dah doh leez dee prayer; worship example doo dah doo dah see also gadoliga adaliga ----------------------------------- what I should (or want to) get is this: ----------------------------------- n. ah dah doh leez dee prayer; worship example doo dah doo dah see also gadoliga, adaliga ------------------------------------ I'm getting CRs where I don't want them, and I'm not getting them where I do??? Does anyone have any idea what I'm doing wrong? Thank you. Duane Poncy visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- From BNZ2 at CDC.GOV Thu Dec 23 13:57:52 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 23 Dec 2004 13:57:52 -0500 Subject: Formatting help needed Message-ID: <64878EF567131D4596246171F75FD4A9469E65@m-epo-1.epo.cdc.gov> If you are setting the htmltext, then don't you need to use

or
to create returns and linefeeds? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of duane poncy Sent: Thursday, December 23, 2004 1:54 PM To: Revolution Subject: Formatting help needed I've written this script to format a dictionary entry: on preOpen set the useUnicode to true set the textFont of field "Glyph" to "Aboriginal Sans,unicode" set the textFont of field "Display" to "Aboriginal Sans,english" set the htmlText of field "Display" to "" & the htmltext of field "POS" \ & " " & the htmltext of field "pronounce" & "" & return & \ the htmltext of field "Definitions" & return & \ "example" & return & \ "" & the htmlText of field "example" & "" \ & return & return & "see also " & \ "" & the htmlText of field "xref1" & ", " & \ the htmlText of field "xref2" & "" end preOpen What I get is this: --------------------------------- n. ah dah doh leez dee prayer; worship example doo dah doo dah see also gadoliga adaliga ----------------------------------- what I should (or want to) get is this: ----------------------------------- n. ah dah doh leez dee prayer; worship example doo dah doo dah see also gadoliga, adaliga ------------------------------------ I'm getting CRs where I don't want them, and I'm not getting them where I do??? Does anyone have any idea what I'm doing wrong? Thank you. Duane Poncy visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Thu Dec 23 14:15:15 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Dec 2004 13:15:15 -0600 Subject: unhilite line in list field In-Reply-To: Message-ID: On 12/23/04 10:57 AM, "Klaus Major" wrote: >> Sorry I wasn't clear >> I want to unhilite EACH line after something is done with that >> particular line . >> The highlights would go off one after the other as the repeats are >> worked through, thus indicating to the user the progress of the >> process. >> Probably not possible. I thought I would throw it out > > Ah, know i understand :-) > > Sure this is possible... > > ... > put the hilitedlines of fld "mylistfield" into tLines > put tLines into remaininglines > repeat for each item i in tLines > ## do something with: line i of fld "mylistfield" > delete item 1 of remaininglines > set the hilitedlines of fld "mylistfield" to remaininglines > end repeat And if you want to start with nothing highlighted, and then highlight one line at a time as you work with the line, you can do this: set the hilitedLines of fld "mylistfield" to 0 -- clears any hilites repeat with x = 1 to the number of lines of fld "mylistfield" set the hilitedLines of fld "mylistfield" to x -- do something with line I of fld "mylistfield" end repeat set the hilitedLines of fld "mylistfield" to 0 -- clears any hilites HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From hershrev at realtorsgroup.us Thu Dec 23 14:06:10 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 23 Dec 2004 14:06:10 -0500 Subject: open printing with dialog -- Windows equiv? In-Reply-To: <59DD10DC-5460-11D9-AF71-0050E410655F@fjrhome.net> Message-ID: Sorry to say , I think the whole printing lib needs to be enhanced. I definitely think that every body should give there full vote for it . http://support.runrev.com/bugdatabase/show_bug.cgi?id=1619 when it comes to business applications with out these enhancements you are dead........ besides that , its a shame , RR a tool with every thing to it, capable , easy and so on should lack a main feature and an important one like this, especially with many competition out there Hershel Fisch On Wednesday, December 22, 2004, at 04:27 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Okay, I finally got around to trying this, but it doesn't work. I > followed these steps as closely as I possibly could, but I still get > strange printouts from Windows (XP is bad, 2000 is pathetic), and OS X > printouts still look great. > > The biggest issue (perhaps the only one left) with XP printing is that > text at the right edge of a field does not print. In other words, the > field is x units wide, Rev allows the line of text to be x+y units > wide, and the extra y pixels get cut off instead of wrapped. The > field is multiline and other lines below that one do exist. > > In W2K (the real manifestation of what some people thought Y2K would > be ... though an overall improvement over its predecessors, I think), > the printouts show extra blank lines in the middle of a field, some > lines wrap prematurely after a word or two, and so forth. > > > Oh, and I just recently figured out the problem with the "Preparing" > stack: it was topLevel, and hidden behind my modal dialog (which was a > sheet in OS X, so not a problem there...) Oops! Fixed by displaying > it as a palette. > > On Nov 23, 2004, at 12:43 PM, Jan Schenkel wrote: >> >> Hi Frank, >> >> The thing with formatForPrinting is that you shouldn't >> change the content of the stack after setting this >> property to true, or the formatting will be off. >> So the best option is to set the data,; next you set >> formatForPrinting false and then back to true ; next >> you save the stack, close and reopen it ; and then >> print it. >> As for your 'preparing' stack not showing up : is it >> possible you're running that part of the script inside >> a lock/unlock screen pair ? >> >> Jan Schenkel. > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFByebf7aqtWrR9cZoRAoRAAJ4ysvxA2s6GpEmHfFeEwduxbggrbgCfbHWa > F9uOT9hB2wDOLvqmx/DheSE= > =MkHr > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Dec 23 14:28:11 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Dec 2004 13:28:11 -0600 Subject: Formatting help needed In-Reply-To: <64878EF567131D4596246171F75FD4A9469E65@m-epo-1.epo.cdc.gov> Message-ID: On 12/23/04 12:57 PM, "Lynch, Jonathan" wrote: > If you are setting the htmltext, then don't you need to use

or >
to create returns and linefeeds? Yes, you need to put "

" in front of each line, and "

" at the end of each line, and use
when you want a blank line. Also, in examining your code you can use (&&) for "concatenate with a space between" instead of (& " " &), and I noticed you had overlapping tags () which is a no-no (the should be paird from the inside out, like ). So after it was fixed it would be: on preOpen set the useUnicode to true set the textFont of field "Glyph" to "Aboriginal Sans,unicode" set the textFont of field "Display" to "Aboriginal Sans,english" set the htmlText of field "Display" to "

" & \ the htmltext of field "POS" && the htmltext of field \ "pronounce" & "

" & return & \ "

" & the htmltext of field "Definitions" & "

" & \ return & "

example

" & \ return & "

" & the htmlText of field "example" & \ "

" & return & "
" & return & \ "

see also

" & return & \ "

" & the htmlText of field "xref1" & ", " & \ the htmlText of field "xref2" & "

" end preOpen Another method I use is to put the "

" in *after* the fact. So while I'm building the html string, I'm just using returns (I use "CR" instead of "return" because it is shorter), and then use "replace" on it just before I send it to where I want it, like this: on preOpen set the useUnicode to true set the textFont of field "Glyph" to "Aboriginal Sans,unicode" set the textFont of field "Display" to "Aboriginal Sans,english" put "" & the htmltext of field "POS" && the htmltext of field \ "pronounce" & "" & CR & the htmltext of field \ "Definitions" & CR & "example" & CR & \ "" & the htmlText of field "example" & "" & CR & \ CR & CR & "see also

" & CR & \ "" & the htmlText of field "xref1" & ", " & \ the htmlText of field "xref2" & "" into tHTML replace CR with "

" in tHTML -- takes care of all "inner" CRs put "

" & tHTML & "

" into tHTML set the htmlText of fld "Display" to tHTML end preOpen HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Thu Dec 23 14:43:34 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Dec 2004 13:43:34 -0600 Subject: open printing with dialog -- Windows equiv? In-Reply-To: <59DD10DC-5460-11D9-AF71-0050E410655F@fjrhome.net> References: <20041123174340.15157.qmail@web60504.mail.yahoo.com> <59DD10DC-5460-11D9-AF71-0050E410655F@fjrhome.net> Message-ID: <41CB1FE6.9080104@hyperactivesw.com> On 12/22/04 3:27 PM, Frank D. Engel, Jr. wrote: > The biggest issue (perhaps the only one left) with XP printing is that > text at the right edge of a field does not print. In other words, the > field is x units wide, Rev allows the line of text to be x+y units wide, > and the extra y pixels get cut off instead of wrapped. The field is > multiline and other lines below that one do exist. > > In W2K (the real manifestation of what some people thought Y2K would be > ... though an overall improvement over its predecessors, I think), the > printouts show extra blank lines in the middle of a field, some lines > wrap prematurely after a word or two, and so forth. I spent 2 days of unbillable time trying to get a decent printout from a Windows box. I never could get it quite right. The problem you are describing is due to the differences between Windows printing fonts and display fonts. For some unfathomable reason, MS decided to give printing fonts different metrics than the equivalent display font (printing fonts are generally larger) so that when you print, the edges of the field cut off the ends of the lines. In my stack, after days of messing with formatForPrinting (turn it off, turn it on, open, close, twiddle twiddle,) I finally just left formatForPrinting set to false permanently, and used MS Sans Serif as the printing field font -- this font seems to pretty much match its own screen metrics and printed okay. Or maybe I set the printing field one font size smaller than what I was aiming for; I can't remember now. This printing business on Windows really needs an overhaul. You might want to look at the revPrintField script as it does overcome some of the problems. If it is possible for you to pass your data field to that library handler, it might be easier in the long run. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sanke at hrz.uni-kassel.de Thu Dec 23 14:54:06 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 23 Dec 2004 20:54:06 +0100 Subject: Neobook and MMB (was: RE: DreamCard Review-PCPLUS) Message-ID: <41CB225E.4040606@hrz.uni-kassel.de> On Thu, 23 Dec 2004, Stephen Barncard wrote: > >>A number of other moderately priced multimedia authoring systems > offer "web > >>objects". Runrev should indeed consider to integrate a web control, too. > >> > >> > >>Unfortunately both Neobook and MMB are only available for Windows. > > > Well, that pretty much nixes them for me. And for a lot of other people > so what's the point? These products don't even come close to Rev, > which is far more than a 'multimedia authoring system". This is exactly what I meant to express with "Both programs ...of course do not compare to the potential of XTalk languages". What constitutes a 'multimedia authoring system' though is a matter of definition, and it would not hurt Rev to be put in such a category. > You are arguing about the modest fee to add altbrowser to the package > that a stock rev offers today. Not everyone needs a 'web control". There are a lot of things not everyone needs - even in Rev. But some people - like Paul Salyers to whom I responded - would like to have an integrated web object. And I don't think I was "arguing about the modest fee to add altbrowser" - my plea was to integrate altBrowser into Rev - I just mentioned the interesting prices of these "low-end alternatives for beginning programmers" (my words) .-- At which point there remains to wish you - and all list members - a Merry Xmas and some quiet and possibly creative days "between the years" - as we would say in this region of the world. Best regards, Wilhelm Sanke From webmaster at dreamscapesoftware.com Thu Dec 23 14:58:52 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 23 Dec 2004 13:58:52 -0600 Subject: Printing Images Message-ID: <002101c4e929$d519df30$cd1d113f@DOWNSTAIRS> With everyone talking about printing faults, I figured I should bring up one that I have noticed for a long time (even since MetaCard). When I print an Image, it comes out all "spotty" looking. Almost like it was printed on a 2 Dot's per Inch printer (Seriously). Any ideas on this issue? The image is usually located within a field, but I do remember that the same thing happening with images not residing in fields. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From mark at maseurope.net Thu Dec 23 15:00:01 2004 From: mark at maseurope.net (Mark Smith) Date: Thu, 23 Dec 2004 20:00:01 +0000 Subject: SpecialFolderPath in standalone In-Reply-To: <20041223170040.B6B0A93023C@mail.runrev.com> References: <20041223170040.B6B0A93023C@mail.runrev.com> Message-ID: <3AA61E8A-551D-11D9-A12D-000D93C19756@maseurope.net> I can't find anything related to this in the archives, so maybe some kind soul can help me out here. I want to write some prefs to a prefs file in the users library folder (this is OS X) I do this: on savePrefs put "file:" & specialFolderPath("Preferences") & "/MyPrefs" into fName put thePrefs into URL fName end savePrefs This works fine in theIDE, but not at all in the standalone. The file is simply not updated. Any ideas? Thanks Mark Smith From ambassador at fourthworld.com Thu Dec 23 15:12:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 12:12:09 -0800 Subject: SpecialFolderPath in standalone In-Reply-To: <3AA61E8A-551D-11D9-A12D-000D93C19756@maseurope.net> References: <20041223170040.B6B0A93023C@mail.runrev.com> <3AA61E8A-551D-11D9-A12D-000D93C19756@maseurope.net> Message-ID: <41CB2699.90207@fourthworld.com> Mark Smith wrote: > I can't find anything related to this in the archives, so maybe some > kind soul can help me out here. > > I want to write some prefs to a prefs file in the users library folder > (this is OS X) Try this and see what you get: on savePrefs put "file:" & specialFolderPath("Preferences") & "/MyPrefs" into fName ANSWER THE RESULT --< see what the engine tells you put thePrefs into URL fName end savePrefs -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From gizmotron at earthlink.net Thu Dec 23 15:23:14 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 23 Dec 2004 12:23:14 -0800 Subject: SpecialFolderPath in standalone In-Reply-To: <3AA61E8A-551D-11D9-A12D-000D93C19756@maseurope.net> Message-ID: <79544E06-5520-11D9-BDE7-000A95743F7A@earthlink.net> On Thursday, December 23, 2004, at 12:00 PM, Mark Smith wrote: > on savePrefs > put "file:" & specialFolderPath("Preferences") & "/MyPrefs" into fName > put thePrefs into URL fName > end savePrefs > > This works fine in theIDE, but not at all in the standalone. The file > is simply not updated. > > Any ideas? > > Thanks > > Mark Smith if the platform is "MacOS" then put specialFolderPath("preferences") into regStatGoPath put regStatGoPath & "/text.txt" into stashAdX end if if there is a file stashAdX then answer Yes, there is a file" put URL ("binfile:" & stashAdX) into temp put compress(temp) into hipR put base64Encode(hipR) into URL ("binfile:" & stashAdX) end if or: put URL ("file:" & stashAdX) into temp put temp into URL ("file:" & stashAdX) HTH, Mark From fde101 at fjrhome.net Thu Dec 23 15:15:50 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 23 Dec 2004 15:15:50 -0500 Subject: open printing with dialog -- Windows equiv? In-Reply-To: References: Message-ID: <70C963AA-551F-11D9-8F7C-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That bug already has my 5 votes. Sorry, bugzilla won't let me give it more (believe me, I tried). Also, that bug does not correctly address this issue. I can't really use revPrintField as my layout is a highly complex multipage layout which needs somewhat precise positioning, including "tables" and images. For now, I filed this as bug #2492 (and voted for it). I guess I'll have to work on other parts of the project until this is resolved. And here we were shooting for a February release. Not if this isn't resolved by then. It's a real show-stopper. Oh, and let's not vent too harshly at Rev for this -- even though Rev could definitely be improved in this area, it seems to me that Windows is primarily at fault here. Using different font metrics from screen to printer is downright stupid. Anything to make our lives more difficult... Anyone know if it's possible to trick Windows into using the screen metrics when printing? That would be a nice trick. How about a new global property in Rev called "alwaysPrintWithScreenMetricsDespiteSillyOperatingSystemConventions" (or a shorter version thereof). On Dec 23, 2004, at 2:06 PM, Hershel Fisch wrote: > Sorry to say , I think the whole printing lib needs to be enhanced. I > definitely think that every body should give there full vote for it . > http://support.runrev.com/bugdatabase/show_bug.cgi?id=1619 > when it comes to business applications with out these enhancements you > are dead........ > besides that , its a shame , RR a tool with every thing to it, > capable , easy and so on should lack a main feature and an important > one like this, especially with many competition out there > Hershel Fisch > On Wednesday, December 22, 2004, at 04:27 PM, Frank D. Engel, Jr. > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Okay, I finally got around to trying this, but it doesn't work. I >> followed these steps as closely as I possibly could, but I still get >> strange printouts from Windows (XP is bad, 2000 is pathetic), and OS >> X printouts still look great. >> >> The biggest issue (perhaps the only one left) with XP printing is >> that text at the right edge of a field does not print. In other >> words, the field is x units wide, Rev allows the line of text to be >> x+y units wide, and the extra y pixels get cut off instead of >> wrapped. The field is multiline and other lines below that one do >> exist. >> >> In W2K (the real manifestation of what some people thought Y2K would >> be ... though an overall improvement over its predecessors, I think), >> the printouts show extra blank lines in the middle of a field, some >> lines wrap prematurely after a word or two, and so forth. >> >> >> Oh, and I just recently figured out the problem with the "Preparing" >> stack: it was topLevel, and hidden behind my modal dialog (which was >> a sheet in OS X, so not a problem there...) Oops! Fixed by >> displaying it as a palette. >> >> On Nov 23, 2004, at 12:43 PM, Jan Schenkel wrote: >>> >>> Hi Frank, >>> >>> The thing with formatForPrinting is that you shouldn't >>> change the content of the stack after setting this >>> property to true, or the formatting will be off. >>> So the best option is to set the data,; next you set >>> formatForPrinting false and then back to true ; next >>> you save the stack, close and reopen it ; and then >>> print it. >>> As for your 'preparing' stack not showing up : is it >>> possible you're running that part of the script inside >>> a lock/unlock screen pair ? >>> >>> Jan Schenkel. >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFByebf7aqtWrR9cZoRAoRAAJ4ysvxA2s6GpEmHfFeEwduxbggrbgCfbHWa >> F9uOT9hB2wDOLvqmx/DheSE= >> =MkHr >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFByyd37aqtWrR9cZoRAm+TAJ9nygP7VT1O93DeaUvlK5mVvHszrACfeF8w gQ95HNhFeAUoJ5l5OzUbhws= =dDcS -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From hershrev at realtorsgroup.us Thu Dec 23 15:14:04 2004 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 23 Dec 2004 15:14:04 -0500 Subject: open printing with dialog -- Windows equiv? In-Reply-To: <70C963AA-551F-11D9-8F7C-0050E410655F@fjrhome.net> Message-ID: <316840B6-551F-11D9-AFD8-0030654C1E62@realtorsgroup.us> On Thursday, December 23, 2004, at 03:15 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > That bug already has my 5 votes. Sorry, bugzilla won't let me give it > more (believe me, I tried). Also, that bug does not correctly address > this issue. > > I can't really use revPrintField as my layout is a highly complex > multipage layout which needs somewhat precise positioning, including > "tables" and images. While enhancments will be I hope that all of them will be included. > > For now, I filed this as bug #2492 (and voted for it). I guess I'll > have to work on other parts of the project until this is resolved. > > And here we were shooting for a February release. Not if this isn't > resolved by then. It's a real show-stopper. > > Oh, and let's not vent too harshly at Rev for this -- even though Rev > could definitely be improved in this area, it seems to me that Windows > is primarily at fault here. Using different font metrics from screen > to printer is downright stupid. Anything to make our lives more > difficult... > > Anyone know if it's possible to trick Windows into using the screen > metrics when printing? That would be a nice trick. How about a new > global property in Rev called > "alwaysPrintWithScreenMetricsDespiteSillyOperatingSystemConventions" > (or a shorter version thereof). LOL..................HA HA, good. Hershel > > > > On Dec 23, 2004, at 2:06 PM, Hershel Fisch wrote: > >> Sorry to say , I think the whole printing lib needs to be enhanced. I >> definitely think that every body should give there full vote for it . >> http://support.runrev.com/bugdatabase/show_bug.cgi?id=1619 >> when it comes to business applications with out these enhancements >> you are dead........ >> besides that , its a shame , RR a tool with every thing to it, >> capable , easy and so on should lack a main feature and an important >> one like this, especially with many competition out there >> Hershel Fisch >> On Wednesday, December 22, 2004, at 04:27 PM, Frank D. Engel, Jr. >> wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Okay, I finally got around to trying this, but it doesn't work. I >>> followed these steps as closely as I possibly could, but I still get >>> strange printouts from Windows (XP is bad, 2000 is pathetic), and OS >>> X printouts still look great. >>> >>> The biggest issue (perhaps the only one left) with XP printing is >>> that text at the right edge of a field does not print. In other >>> words, the field is x units wide, Rev allows the line of text to be >>> x+y units wide, and the extra y pixels get cut off instead of >>> wrapped. The field is multiline and other lines below that one do >>> exist. >>> >>> In W2K (the real manifestation of what some people thought Y2K would >>> be ... though an overall improvement over its predecessors, I >>> think), the printouts show extra blank lines in the middle of a >>> field, some lines wrap prematurely after a word or two, and so >>> forth. >>> >>> >>> Oh, and I just recently figured out the problem with the "Preparing" >>> stack: it was topLevel, and hidden behind my modal dialog (which was >>> a sheet in OS X, so not a problem there...) Oops! Fixed by >>> displaying it as a palette. >>> >>> On Nov 23, 2004, at 12:43 PM, Jan Schenkel wrote: >>>> >>>> Hi Frank, >>>> >>>> The thing with formatForPrinting is that you shouldn't >>>> change the content of the stack after setting this >>>> property to true, or the formatting will be off. >>>> So the best option is to set the data,; next you set >>>> formatForPrinting false and then back to true ; next >>>> you save the stack, close and reopen it ; and then >>>> print it. >>>> As for your 'preparing' stack not showing up : is it >>>> possible you're running that part of the script inside >>>> a lock/unlock screen pair ? >>>> >>>> Jan Schenkel. >>> - ----------------------------------------------------------- >>> Frank D. Engel, Jr. >>> >>> $ ln -s /usr/share/kjvbible /usr/manual >>> $ true | cat /usr/manual | grep "John 3:16" >>> John 3:16 For God so loved the world, that he gave his only begotten >>> Son, that whosoever believeth in him should not perish, but have >>> everlasting life. >>> $ >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.2.4 (Darwin) >>> >>> iD8DBQFByebf7aqtWrR9cZoRAoRAAJ4ysvxA2s6GpEmHfFeEwduxbggrbgCfbHWa >>> F9uOT9hB2wDOLvqmx/DheSE= >>> =MkHr >>> -----END PGP SIGNATURE----- >>> >>> >>> >>> ___________________________________________________________ >>> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer >>> 10 Personalized POP and Web E-mail Accounts, and much more. >>> Signup at www.doteasy.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFByyd37aqtWrR9cZoRAm+TAJ9nygP7VT1O93DeaUvlK5mVvHszrACfeF8w > gQ95HNhFeAUoJ5l5OzUbhws= > =dDcS > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From BNZ2 at CDC.GOV Thu Dec 23 15:26:21 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 23 Dec 2004 15:26:21 -0500 Subject: open printing with dialog -- Windows equiv? Message-ID: <64878EF567131D4596246171F75FD4A9469E66@m-epo-1.epo.cdc.gov> Just a thought... An odd work-around... Couldn't you make an image of the layout that you wish to print, then print the image? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Hershel Fisch Sent: Thursday, December 23, 2004 3:14 PM To: How to use Revolution Subject: Re: open printing with dialog -- Windows equiv? On Thursday, December 23, 2004, at 03:15 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > That bug already has my 5 votes. Sorry, bugzilla won't let me give it > more (believe me, I tried). Also, that bug does not correctly address > this issue. > > I can't really use revPrintField as my layout is a highly complex > multipage layout which needs somewhat precise positioning, including > "tables" and images. While enhancments will be I hope that all of them will be included. > > For now, I filed this as bug #2492 (and voted for it). I guess I'll > have to work on other parts of the project until this is resolved. > > And here we were shooting for a February release. Not if this isn't > resolved by then. It's a real show-stopper. > > Oh, and let's not vent too harshly at Rev for this -- even though Rev > could definitely be improved in this area, it seems to me that Windows > is primarily at fault here. Using different font metrics from screen > to printer is downright stupid. Anything to make our lives more > difficult... > > Anyone know if it's possible to trick Windows into using the screen > metrics when printing? That would be a nice trick. How about a new > global property in Rev called > "alwaysPrintWithScreenMetricsDespiteSillyOperatingSystemConventions" > (or a shorter version thereof). LOL..................HA HA, good. Hershel > > > > On Dec 23, 2004, at 2:06 PM, Hershel Fisch wrote: > >> Sorry to say , I think the whole printing lib needs to be enhanced. I >> definitely think that every body should give there full vote for it . >> http://support.runrev.com/bugdatabase/show_bug.cgi?id=1619 >> when it comes to business applications with out these enhancements >> you are dead........ >> besides that , its a shame , RR a tool with every thing to it, >> capable , easy and so on should lack a main feature and an important >> one like this, especially with many competition out there >> Hershel Fisch >> On Wednesday, December 22, 2004, at 04:27 PM, Frank D. Engel, Jr. >> wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Okay, I finally got around to trying this, but it doesn't work. I >>> followed these steps as closely as I possibly could, but I still get >>> strange printouts from Windows (XP is bad, 2000 is pathetic), and OS >>> X printouts still look great. >>> >>> The biggest issue (perhaps the only one left) with XP printing is >>> that text at the right edge of a field does not print. In other >>> words, the field is x units wide, Rev allows the line of text to be >>> x+y units wide, and the extra y pixels get cut off instead of >>> wrapped. The field is multiline and other lines below that one do >>> exist. >>> >>> In W2K (the real manifestation of what some people thought Y2K would >>> be ... though an overall improvement over its predecessors, I >>> think), the printouts show extra blank lines in the middle of a >>> field, some lines wrap prematurely after a word or two, and so >>> forth. >>> >>> >>> Oh, and I just recently figured out the problem with the "Preparing" >>> stack: it was topLevel, and hidden behind my modal dialog (which was >>> a sheet in OS X, so not a problem there...) Oops! Fixed by >>> displaying it as a palette. >>> >>> On Nov 23, 2004, at 12:43 PM, Jan Schenkel wrote: >>>> >>>> Hi Frank, >>>> >>>> The thing with formatForPrinting is that you shouldn't >>>> change the content of the stack after setting this >>>> property to true, or the formatting will be off. >>>> So the best option is to set the data,; next you set >>>> formatForPrinting false and then back to true ; next >>>> you save the stack, close and reopen it ; and then >>>> print it. >>>> As for your 'preparing' stack not showing up : is it >>>> possible you're running that part of the script inside >>>> a lock/unlock screen pair ? >>>> >>>> Jan Schenkel. >>> - ----------------------------------------------------------- >>> Frank D. Engel, Jr. >>> >>> $ ln -s /usr/share/kjvbible /usr/manual >>> $ true | cat /usr/manual | grep "John 3:16" >>> John 3:16 For God so loved the world, that he gave his only begotten >>> Son, that whosoever believeth in him should not perish, but have >>> everlasting life. >>> $ >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.2.4 (Darwin) >>> >>> iD8DBQFByebf7aqtWrR9cZoRAoRAAJ4ysvxA2s6GpEmHfFeEwduxbggrbgCfbHWa >>> F9uOT9hB2wDOLvqmx/DheSE= >>> =MkHr >>> -----END PGP SIGNATURE----- >>> >>> >>> >>> ___________________________________________________________ >>> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer >>> 10 Personalized POP and Web E-mail Accounts, and much more. >>> Signup at www.doteasy.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFByyd37aqtWrR9cZoRAm+TAJ9nygP7VT1O93DeaUvlK5mVvHszrACfeF8w > gQ95HNhFeAUoJ5l5OzUbhws= > =dDcS > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Thu Dec 23 15:27:32 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 23 Dec 2004 15:27:32 -0500 Subject: open printing with dialog -- Windows equiv? In-Reply-To: <64878EF567131D4596246171F75FD4A9469E66@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E66@m-epo-1.epo.cdc.gov> Message-ID: <12DE4658-5521-11D9-8F7C-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It would be very slow, particularly with a PostScript laser printer (like mine), but it has some real merit as a temporary work-around. I'll definitely give that a try. On Dec 23, 2004, at 3:26 PM, Lynch, Jonathan wrote: > Just a thought... > > An odd work-around... > > Couldn't you make an image of the layout that you wish to print, then > print the image? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Hershel > Fisch > Sent: Thursday, December 23, 2004 3:14 PM > To: How to use Revolution > Subject: Re: open printing with dialog -- Windows equiv? > > > On Thursday, December 23, 2004, at 03:15 PM, Frank D. Engel, Jr. > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> That bug already has my 5 votes. Sorry, bugzilla won't let me give it > >> more (believe me, I tried). Also, that bug does not correctly address > >> this issue. >> >> I can't really use revPrintField as my layout is a highly complex >> multipage layout which needs somewhat precise positioning, including >> "tables" and images. > While enhancments will be I hope that all of them will be included. >> >> For now, I filed this as bug #2492 (and voted for it). I guess I'll >> have to work on other parts of the project until this is resolved. >> >> And here we were shooting for a February release. Not if this isn't >> resolved by then. It's a real show-stopper. >> >> Oh, and let's not vent too harshly at Rev for this -- even though Rev >> could definitely be improved in this area, it seems to me that Windows > >> is primarily at fault here. Using different font metrics from screen >> to printer is downright stupid. Anything to make our lives more >> difficult... >> >> Anyone know if it's possible to trick Windows into using the screen >> metrics when printing? That would be a nice trick. How about a new >> global property in Rev called >> "alwaysPrintWithScreenMetricsDespiteSillyOperatingSystemConventions" >> (or a shorter version thereof). > LOL..................HA HA, good. > Hershel >> >> >> >> On Dec 23, 2004, at 2:06 PM, Hershel Fisch wrote: >> >>> Sorry to say , I think the whole printing lib needs to be enhanced. I > >>> definitely think that every body should give there full vote for it . >>> http://support.runrev.com/bugdatabase/show_bug.cgi?id=1619 >>> when it comes to business applications with out these enhancements >>> you are dead........ >>> besides that , its a shame , RR a tool with every thing to it, >>> capable , easy and so on should lack a main feature and an important >>> one like this, especially with many competition out there >>> Hershel Fisch >>> On Wednesday, December 22, 2004, at 04:27 PM, Frank D. Engel, Jr. >>> wrote: >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Okay, I finally got around to trying this, but it doesn't work. I >>>> followed these steps as closely as I possibly could, but I still get > >>>> strange printouts from Windows (XP is bad, 2000 is pathetic), and OS > >>>> X printouts still look great. >>>> >>>> The biggest issue (perhaps the only one left) with XP printing is >>>> that text at the right edge of a field does not print. In other >>>> words, the field is x units wide, Rev allows the line of text to be >>>> x+y units wide, and the extra y pixels get cut off instead of >>>> wrapped. The field is multiline and other lines below that one do >>>> exist. >>>> >>>> In W2K (the real manifestation of what some people thought Y2K would > >>>> be ... though an overall improvement over its predecessors, I >>>> think), the printouts show extra blank lines in the middle of a >>>> field, some lines wrap prematurely after a word or two, and so >>> > forth. >>>> >>>> >>>> Oh, and I just recently figured out the problem with the "Preparing" > >>>> stack: it was topLevel, and hidden behind my modal dialog (which was > >>>> a sheet in OS X, so not a problem there...) Oops! Fixed by >>>> displaying it as a palette. >>>> >>>> On Nov 23, 2004, at 12:43 PM, Jan Schenkel wrote: >>>>> >>>>> Hi Frank, >>>>> >>>>> The thing with formatForPrinting is that you shouldn't >>>>> change the content of the stack after setting this >>>>> property to true, or the formatting will be off. >>>>> So the best option is to set the data,; next you set >>>>> formatForPrinting false and then back to true ; next >>>>> you save the stack, close and reopen it ; and then >>>>> print it. >>>>> As for your 'preparing' stack not showing up : is it >>>>> possible you're running that part of the script inside >>>>> a lock/unlock screen pair ? >>>>> >>>>> Jan Schenkel. >>>> - ----------------------------------------------------------- >>>> Frank D. Engel, Jr. >>>> >>>> $ ln -s /usr/share/kjvbible /usr/manual >>>> $ true | cat /usr/manual | grep "John 3:16" >>>> John 3:16 For God so loved the world, that he gave his only begotten > >>>> Son, that whosoever believeth in him should not perish, but have >>>> everlasting life. >>>> $ >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: GnuPG v1.2.4 (Darwin) >>>> >>>> iD8DBQFByebf7aqtWrR9cZoRAoRAAJ4ysvxA2s6GpEmHfFeEwduxbggrbgCfbHWa >>>> F9uOT9hB2wDOLvqmx/DheSE= >>>> =MkHr >>>> -----END PGP SIGNATURE----- >>>> >>>> >>>> >>>> ___________________________________________________________ >>>> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer >>>> 10 Personalized POP and Web E-mail Accounts, and much more. >>>> Signup at www.doteasy.com >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFByyd37aqtWrR9cZoRAm+TAJ9nygP7VT1O93DeaUvlK5mVvHszrACfeF8w >> gQ95HNhFeAUoJ5l5OzUbhws= >> =dDcS >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFByyo07aqtWrR9cZoRAmuaAJ0VC9snJl4S4G2D/Nu67a920ZXHjwCdGm6C IxfYa7OnCDWRvQeV0QFNRD8= =fTFd -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From alex at tweedly.net Thu Dec 23 15:42:57 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2004 20:42:57 +0000 Subject: Script local variables and initialization. Message-ID: <41CB2DD1.4040001@tweedly.net> I think I've discovered something, but if possible I'd like it to be confirmed (or alternatively, to know that I'm wrong, and then I can go back to debugging). I have some script local variables, used in multiple handlers within the card script. I expected them to be reset at start up, and to retain their values from then on - but it appears that they are in fact reset before openCard. (i.e. I call one of the handlers within the card script from preOpenStack, that sets an initial value, but that value appears to be lost. I know it's probably a bad idea to call a card handler from preOpenStack, and I'll be changing that anyway - but it would be reassuring to know that this unconfirmed theory is correct.) The docs are a bit vague > The value of a script local variable is retained between handlers, but > is lost when you quit the application, when you close the stack > (unless its destroyStack property is false), or when the script is > re-compiled. which doesn't really mention start-up conditions. Thanks -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From webmail at xasamail.com Thu Dec 23 15:51:14 2004 From: webmail at xasamail.com (webmail at xasamail.com) Date: Thu, 23 Dec 2004 22:51:14 +0200 Subject: DreamCard Review-PCPLUS Message-ID: <20041223204752.3236D34782@sa7.bezeqint.net> Let the flames begin!! "Flame, flame, burning hot Rise up now and scorch the lot. Let the stench of flesh a-burning Leave them all with stomachs churning." WOW! Talk about the pot calling the kettle black! Looks like a lump of coal in your stocking this Christmas--HO-HO-HO! If "issue 224" isn't sufficient to clue you in to it being a publication of some type, you might as well just skip over the whole post. You could have spent your time doing a Google search rather than ranting at me. I stand by my statement in the prior post: "I would think if you can figure out DreamCard/Revolution, you should most certainly be able to determine how and where to find the review from the specific details given." I suspect from your rant that you wear blinders to all things non-Mac. Doesn't a title like PCPLUS tip you off this must be non-mac oriented? As for the purpose, no point in even commenting on that, because people (hmm, looks like your are a good example) on this list distort things so much that even when purpose is stated, a wide selection of interpretations abound. So, take it and put whatever spin YOU feel like--negative, neutral, positive--no matter. webmailman >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >Stephen Barncard said: Well, Mr. Attitude, PCPLUS sounds like a product- is it a magazine, newspaper, whatever?? - I've never heard of it and certainly never read it. Also it's hard to figure if you posted this to slam Rev? Was the 'smell the coffee' part yours or in the quoted article? So no, the source, purpose and meaning of the post is NOT clear. From BNZ2 at CDC.GOV Thu Dec 23 15:54:48 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 23 Dec 2004 15:54:48 -0500 Subject: DreamCard Review-PCPLUS Message-ID: <64878EF567131D4596246171F75FD4A9469E67@m-epo-1.epo.cdc.gov> Maybe we just don't wish to waste time playing detective - do you really have nothing better to do than taunt? COUGH,COUGHgetalifeCOUGH -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of webmail at xasamail.com Sent: Thursday, December 23, 2004 3:51 PM To: use-revolution at lists.runrev.com Subject: DreamCard Review-PCPLUS Let the flames begin!! "Flame, flame, burning hot Rise up now and scorch the lot. Let the stench of flesh a-burning Leave them all with stomachs churning." WOW! Talk about the pot calling the kettle black! Looks like a lump of coal in your stocking this Christmas--HO-HO-HO! If "issue 224" isn't sufficient to clue you in to it being a publication of some type, you might as well just skip over the whole post. You could have spent your time doing a Google search rather than ranting at me. I stand by my statement in the prior post: "I would think if you can figure out DreamCard/Revolution, you should most certainly be able to determine how and where to find the review from the specific details given." I suspect from your rant that you wear blinders to all things non-Mac. Doesn't a title like PCPLUS tip you off this must be non-mac oriented? As for the purpose, no point in even commenting on that, because people (hmm, looks like your are a good example) on this list distort things so much that even when purpose is stated, a wide selection of interpretations abound. So, take it and put whatever spin YOU feel like--negative, neutral, positive--no matter. webmailman >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >Stephen Barncard said: Well, Mr. Attitude, PCPLUS sounds like a product- is it a magazine, newspaper, whatever?? - I've never heard of it and certainly never read it. Also it's hard to figure if you posted this to slam Rev? Was the 'smell the coffee' part yours or in the quoted article? So no, the source, purpose and meaning of the post is NOT clear. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Thu Dec 23 15:59:30 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 Dec 2004 13:59:30 -0700 Subject: Script local variables and initialization. In-Reply-To: <41CB2DD1.4040001@tweedly.net> References: <41CB2DD1.4040001@tweedly.net> Message-ID: <8A29ED85-5525-11D9-9730-000A9567A3E6@swcp.com> On Dec 23, 2004, at 1:42 PM, Alex Tweedly wrote: > The docs are a bit vague > >> The value of a script local variable is retained between handlers, >> but is lost when you quit the application, when you close the stack >> (unless its destroyStack property is false), or when the script is >> re-compiled. > > which doesn't really mention start-up conditions. The key word might be "re-compiled". I would have thought that it would be re-compiled only once and that at first use. Here is a way to find out if it is being compiled twice and when. Use a later version and put in a new command in the script. Then open the stack on an earlier version that doesn't have the command. You will get an error when it compiles. If it really compiles twice, then you will get it twice. It may be that your send or call fails. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ps1 at softseven.org Thu Dec 23 15:57:28 2004 From: ps1 at softseven.org (Paul Salyers) Date: Thu, 23 Dec 2004 14:57:28 -0600 Subject: if dir exist In-Reply-To: <41CB2DD1.4040001@tweedly.net> References: <41CB2DD1.4040001@tweedly.net> Message-ID: <6.1.1.1.2.20041223145012.0267d0a0@softseven.org> I'm trying to get out on VB thinking and into Rev I searched under exist and fount nothing. Can some1 help with this code? It checks to see if c:\winnt\ exist if so then it works from that director, else it works from the c:\windows\ directory This is one of the headaches that programmers can thank Billy Boy for. Maybe there is a better way in Rev, if so I don't know about it. * Dire = Dir("c:\winnt\", vbDirectory) If Dire <> "" Then Dire = "c:\winnt\" Else Dire = "c:\Windows\" End If Paul Salyers PS1 - Senior Rep. PS1 at softseven.org From alex at tweedly.net Thu Dec 23 16:11:05 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2004 21:11:05 +0000 Subject: if dir exist In-Reply-To: <6.1.1.1.2.20041223145012.0267d0a0@softseven.org> References: <41CB2DD1.4040001@tweedly.net> <6.1.1.1.2.20041223145012.0267d0a0@softseven.org> Message-ID: <41CB3469.4080306@tweedly.net> Paul Salyers wrote: > I'm trying to get out on VB thinking and into Rev > > I searched under exist and fount nothing. Can some1 help with this code? > What you need is the "there is a" operator. if there is a folder "C:\winnt" then etc. There may be a better way - but please check it first (I only have WinXP on hand ...) specialFolderpath("System") -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From ambassador at fourthworld.com Thu Dec 23 16:25:11 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 13:25:11 -0800 Subject: if dir exist In-Reply-To: <6.1.1.1.2.20041223145012.0267d0a0@softseven.org> References: <41CB2DD1.4040001@tweedly.net> <6.1.1.1.2.20041223145012.0267d0a0@softseven.org> Message-ID: <41CB37B7.4070209@fourthworld.com> On the use-rev list Paul Salyers wrote: > I'm trying to get out on VB thinking and into Rev > > I searched under exist and fount nothing. Can some1 help with this code? Hmmm.... this is another interesting search anomaly. Had you searched for the English singular verb form "exists" (e.g. "if this exists then...") you would have found the "exists" function. While that function only tests the existence of objects, it has a See Also item that points to the "there is" operator for files and folders. But since "exist" is a substring of "exists", it would be nice if there was a substring option to compliment the whole-word search apparently driving the docs now. Yesterday's search was similar: you had searched for "keyPress", which is a programmer term, but had you searched for the English phrase "key press" you would have found what you were looking for quickly. As we explore the strengths and weaknesses of the docs' Search tool here, I'm taking notes and passing them along to those who might be able to improve its results. So please keep 'em coming: anytime you don't find something easily, dropping a note here not only gets you the answer but also makes folks aware of ways to improve the usefulness of the docs. In the meantime, perhaps one general rule these searches suggest for better results is to try the common English form of a phrase when the VB term doesn't turn up what you'd expect. Thanks for the post. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mark at maseurope.net Thu Dec 23 16:27:57 2004 From: mark at maseurope.net (Mark Smith) Date: Thu, 23 Dec 2004 21:27:57 +0000 Subject: SpecialFolderPath in standalone In-Reply-To: <20041223201907.8812C93028E@mail.runrev.com> References: <20041223201907.8812C93028E@mail.runrev.com> Message-ID: <83D2CAEF-5529-11D9-8917-000D93C19756@maseurope.net> Thanks Richard and Mark. Further investigation following your suggestions shows that the problem is not what I thought. In fact the special folder path stuff works fine, it's the XML stuff that builds the prefs that's screwing up. Since it works fine in the IDE , and I'm including the XML library in the standalone build, I'm still mystified... Further investigations.... Thanks, Mark Smith From mark at maseurope.net Thu Dec 23 16:51:10 2004 From: mark at maseurope.net (Mark Smith) Date: Thu, 23 Dec 2004 21:51:10 +0000 Subject: SpecialFolderPath in standalone In-Reply-To: <20041223201907.8812C93028E@mail.runrev.com> References: <20041223201907.8812C93028E@mail.runrev.com> Message-ID: Following on, I remembered seeing something on the list about Rev 2.5 not building correctly, so I built the standalone with Rev 2.2. Hey presto! All works. This seems to suggest that 2.5 is not attaching libraries properly, (or at all). Has this been bugzilla'd? Thanks for the suggestions, Mark Smith From dsc at swcp.com Thu Dec 23 16:51:51 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 Dec 2004 14:51:51 -0700 Subject: Script local variables and initialization. In-Reply-To: <41CB2DD1.4040001@tweedly.net> References: <41CB2DD1.4040001@tweedly.net> Message-ID: On Dec 23, 2004, at 1:42 PM, Alex Tweedly wrote: > (i.e. I call one of the handlers within the card script from > preOpenStack, that sets an initial value, but that value appears to be > lost. I know it's probably a bad idea to call a card handler from > preOpenStack, and I'll be changing that anyway - but it would be > reassuring to know that this unconfirmed theory is correct.) Works for me. on preOpenStack put "pos" into x call "setL x" of card 2 of me end preOpenStack I would think you can call a card handler from preOpenStack. Did you mean startup? Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From alex at tweedly.net Thu Dec 23 16:58:05 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2004 21:58:05 +0000 Subject: Script local variables and initialization. In-Reply-To: <8A29ED85-5525-11D9-9730-000A9567A3E6@swcp.com> References: <41CB2DD1.4040001@tweedly.net> <8A29ED85-5525-11D9-9730-000A9567A3E6@swcp.com> Message-ID: <41CB3F6D.3000304@tweedly.net> Dar Scott wrote: > The key word might be "re-compiled". > > I would have thought that it would be re-compiled only once and that > at first use. > > Here is a way to find out if it is being compiled twice and when. Use > a later version and put in a new command in the script. Then open the > stack on an earlier version that doesn't have the command. You will > get an error when it compiles. If it really compiles twice, then you > will get it twice. I'm not sure if I understood this correctly or not - can I rephrase it and you tell me if that's what you mean, or if I got it wrong ? Use a later version of Rev, and add a newly-added command in the card script. Check that works. Then switch to an earlier version of Rev and load the stack into that; there should be compile errors due to the command which doesn't exist in this earlier version. Yes ? Or no ? Is there a way to find which commands are recently added ? Or any specific suggestions for commands added between 2.2.1 and 2.5 (the only two versions I have). > It may be that your send or call fails. Don't think so. The handler in the card script ("Display") is called from the preOpenStack to fill in the field values - which it does. There is no other call to it except within button scripts; so the fact that it has values in it strongly suggests it is being successfully called from the preOpenStack - and it is filling in the correct values for record number 1. (Also checked this within debugger - and can see the local variable starting empty and having "1" assigned to it). Then when I click on any of my navigation buttons, "Display" is called again - but the debugger shows that the local variables are all empty, including the one(s) set in the first time through "Display". Moving the call to "Display" from "preOpenStack" to "openCard" SEEMS to fix it - but I'm worried that I'm just pushing some problem into hiding. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From dsc at swcp.com Thu Dec 23 16:59:56 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 Dec 2004 14:59:56 -0700 Subject: Script local variables and initialization. In-Reply-To: References: <41CB2DD1.4040001@tweedly.net> Message-ID: On Dec 23, 2004, at 2:51 PM, Dar Scott wrote: > call "setL x" of card 2 of me I also tried send and send in time. Maybe you forgot to Close and Remove from Memory? Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From dsc at swcp.com Thu Dec 23 17:09:18 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 Dec 2004 15:09:18 -0700 Subject: Script local variables and initialization. In-Reply-To: <41CB3F6D.3000304@tweedly.net> References: <41CB2DD1.4040001@tweedly.net> <8A29ED85-5525-11D9-9730-000A9567A3E6@swcp.com> <41CB3F6D.3000304@tweedly.net> Message-ID: <4A481B63-552F-11D9-9730-000A9567A3E6@swcp.com> This may not be needed; I tried what I thought you said and it worked for me. On Dec 23, 2004, at 2:58 PM, Alex Tweedly wrote: >> Here is a way to find out if it is being compiled twice and when. >> Use a later version and put in a new command in the script. Then >> open the stack on an earlier version that doesn't have the command. >> You will get an error when it compiles. If it really compiles twice, >> then you will get it twice. > > I'm not sure if I understood this correctly or not - can I rephrase it > and you tell me if that's what you mean, or if I got it wrong ? > > Use a later version of Rev, and add a newly-added command in the card > script. Check that works. > > Then switch to an earlier version of Rev and load the stack into that; > there should be compile errors due to the command which doesn't exist > in this earlier version. > > Yes ? Or no ? Yes. > > Is there a way to find which commands are recently added ? Or any > specific suggestions for commands added between 2.2.1 and 2.5 (the > only two versions I have). Try encrypt. If it is really compiling twice you will see two errors, I assume. If you get no errors, you may have a shadow stack (a term I just made up) in memory. Quit Revolution and reopen the stack. This test may not be needed. I tried something trivial and it worked for me on 2.5 on OS X. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From alex at tweedly.net Thu Dec 23 17:10:00 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2004 22:10:00 +0000 Subject: Script local variables and initialization. In-Reply-To: References: <41CB2DD1.4040001@tweedly.net> Message-ID: <41CB4238.5020903@tweedly.net> Dar Scott wrote: > > On Dec 23, 2004, at 1:42 PM, Alex Tweedly wrote: > >> (i.e. I call one of the handlers within the card script from >> preOpenStack, that sets an initial value, but that value appears to >> be lost. I know it's probably a bad idea to call a card handler from >> preOpenStack, and I'll be changing that anyway - but it would be >> reassuring to know that this unconfirmed theory is correct.) > > > Works for me. > > on preOpenStack > put "pos" into x > call "setL x" of card 2 of me > end preOpenStack > > I would think you can call a card handler from preOpenStack. Did you > mean startup? > No, I did mean preOpenStack, but this example works for me too. Darn ! - it seemed like a decent theory :-( OK - back to debugging ...... Many thanks ! -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From 3mcgrath at adelphia.net Thu Dec 23 18:01:07 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 23 Dec 2004 18:01:07 -0500 Subject: DreamCard Review-PCPLUS In-Reply-To: <20041223204752.3236D34782@sa7.bezeqint.net> References: <20041223204752.3236D34782@sa7.bezeqint.net> Message-ID: <87CEFF69-5536-11D9-A6A2-000A95DA60FA@adelphia.net> I cold not find issue 224 and any search with "Dreamcard" or "Revolution" showed up nothing. still not clear. Tom On Dec 23, 2004, at 3:51 PM, webmail at xasamail.com wrote: > Let the flames begin!! > > "Flame, flame, burning hot > Rise up now and scorch the lot. > Let the stench of flesh a-burning > Leave them all with stomachs churning." > > WOW! Talk about the pot calling the kettle black! Looks like a lump of > coal in your stocking this Christmas--HO-HO-HO! > > If "issue 224" isn't sufficient to clue you in to it being a > publication of some type, you might as well just skip over the whole > post. You could have spent your time doing a Google search rather than > ranting at me. I stand by my statement in the prior post: "I would > think if you can figure out DreamCard/Revolution, you should most > certainly be able to determine how and where to find the review from > the specific details given." I suspect from your rant that you wear > blinders to all things non-Mac. Doesn't a title like PCPLUS tip you > off this must be non-mac oriented? > > As for the purpose, no point in even commenting on that, because > people (hmm, looks like your are a good example) on this list distort > things so much that even when purpose is stated, a wide selection of > interpretations abound. So, take it and put whatever spin YOU feel > like--negative, neutral, positive--no matter. > > webmailman >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >> Stephen Barncard said: > Well, Mr. Attitude, PCPLUS sounds like a product- is it a magazine, > newspaper, whatever?? - I've never heard of it and certainly never > read it. Also it's hard to figure if you posted this to slam Rev? Was > the 'smell the coffee' part yours or in the quoted article? > > So no, the source, purpose and meaning of the post is NOT clear. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Thu Dec 23 18:03:48 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 23 Dec 2004 18:03:48 -0500 Subject: DreamCard Review-PCPLUS In-Reply-To: <87CEFF69-5536-11D9-A6A2-000A95DA60FA@adelphia.net> References: <20041223204752.3236D34782@sa7.bezeqint.net> <87CEFF69-5536-11D9-A6A2-000A95DA60FA@adelphia.net> Message-ID: At the PCPlus website. That was where I searched and found nothing. On Dec 23, 2004, at 6:01 PM, Thomas McGrath III wrote: > I cold not find issue 224 and any search with "Dreamcard" or > "Revolution" showed up nothing. > > > still not clear. > > Tom > > On Dec 23, 2004, at 3:51 PM, webmail at xasamail.com wrote: > >> Let the flames begin!! >> >> "Flame, flame, burning hot >> Rise up now and scorch the lot. >> Let the stench of flesh a-burning >> Leave them all with stomachs churning." >> >> WOW! Talk about the pot calling the kettle black! Looks like a lump >> of coal in your stocking this Christmas--HO-HO-HO! >> >> If "issue 224" isn't sufficient to clue you in to it being a >> publication of some type, you might as well just skip over the whole >> post. You could have spent your time doing a Google search rather >> than ranting at me. I stand by my statement in the prior post: "I >> would think if you can figure out DreamCard/Revolution, you should >> most certainly be able to determine how and where to find the review >> from the specific details given." I suspect from your rant that you >> wear blinders to all things non-Mac. Doesn't a title like PCPLUS tip >> you off this must be non-mac oriented? >> >> As for the purpose, no point in even commenting on that, because >> people (hmm, looks like your are a good example) on this list >> distort things so much that even when purpose is stated, a wide >> selection of interpretations abound. So, take it and put whatever >> spin YOU feel like--negative, neutral, positive--no matter. >> >> webmailman >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>> Stephen Barncard said: >> Well, Mr. Attitude, PCPLUS sounds like a product- is it a magazine, >> newspaper, whatever?? - I've never heard of it and certainly never >> read it. Also it's hard to figure if you posted this to slam Rev? Was >> the 'smell the coffee' part yours or in the quoted article? >> >> So no, the source, purpose and meaning of the post is NOT clear. >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From fde101 at fjrhome.net Thu Dec 23 18:12:51 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 23 Dec 2004 18:12:51 -0500 Subject: SpecialFolderPath in standalone In-Reply-To: References: <20041223201907.8812C93028E@mail.runrev.com> Message-ID: <2B1AB265-5538-11D9-8F7C-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can manually copy the external into the 'externals' dir in the same loc as the standalone (windows/UNIX) or in the Contents/MacOS folder inside the bundle for OS X. On Dec 23, 2004, at 4:51 PM, Mark Smith wrote: > Following on, I remembered seeing something on the list about Rev 2.5 > not building correctly, so I built the standalone with Rev 2.2. > > Hey presto! All works. > > This seems to suggest that 2.5 is not attaching libraries properly, > (or at all). Has this been bugzilla'd? > > Thanks for the suggestions, > > > Mark Smith > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBy1Dz7aqtWrR9cZoRAnXYAKCNezaVL5lMaYYCHPe+KpOpZD6xBgCghhjs J0lCkWkp+ZzyO8jgxWOqQ74= =ZMdZ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From frank at backtalk.com Thu Dec 23 18:27:01 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 23 Dec 2004 23:27:01 +0000 Subject: Script local variables and initialization. In-Reply-To: <20041223220450.888E09302A2@mail.runrev.com> References: <20041223220450.888E09302A2@mail.runrev.com> Message-ID: <25870AFA-553A-11D9-A88F-000A9580FCCE@backtalk.com> On Dec 23, 2004, at 10:04 PM, use-revolution-request at lists.runrev.com wrote: > From: Dar Scott > Subject: Re: Script local variables and initialization. > To: How to use Revolution > Message-ID: <8A29ED85-5525-11D9-9730-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Dec 23, 2004, at 1:42 PM, Alex Tweedly wrote: > >> The docs are a bit vague >> >>> The value of a script local variable is retained between handlers, >>> but is lost when you quit the application, when you close the stack >>> (unless its destroyStack property is false), or when the script is >>> re-compiled. >> >> which doesn't really mention start-up conditions. > > The key word might be "re-compiled". > > I would have thought that it would be re-compiled only once and that at > first use. > > Here is a way to find out if it is being compiled twice and when. Use > a later version and put in a new command in the script. Then open the > stack on an earlier version that doesn't have the command. You will > get an error when it compiles. If it really compiles twice, then you > will get it twice. It gets recompiled whenever you edit a script and click "Apply". So, if you've initialized something in openCard or preOpenCard, or some other pre or open handler, then edit the script, the variables will become uninitialized. -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From frank at backtalk.com Thu Dec 23 18:31:09 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 23 Dec 2004 23:31:09 +0000 Subject: DreamCard Review-PCPLUS In-Reply-To: <20041223220450.888E09302A2@mail.runrev.com> References: <20041223220450.888E09302A2@mail.runrev.com> Message-ID: The review doesn't appear to be available online, which is why he can't give us a URL for it (either that or there wasn't actually a review) -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Dec 23, 2004, at 10:04 PM, use-revolution-request at lists.runrev.com wrote: > From: webmail at xasamail.com > Subject: DreamCard Review-PCPLUS > To: use-revolution at lists.runrev.com > Message-ID: <20041223204752.3236D34782 at sa7.bezeqint.net> > > Let the flames begin!! > > "Flame, flame, burning hot > Rise up now and scorch the lot. > Let the stench of flesh a-burning > Leave them all with stomachs churning." > > WOW! Talk about the pot calling the kettle black! Looks like a lump of > coal in your stocking this Christmas--HO-HO-HO! > > If "issue 224" isn't sufficient to clue you in to it being a > publication of some type, you might as well just skip over the whole > post. You could have spent your time doing a Google search rather than > ranting at me. I stand by my statement in the prior post: "I would > think if you can figure out DreamCard/Revolution, you should most > certainly be able to determine how and where to find the review from > the specific details given." I suspect from your rant that you wear > blinders to all things non-Mac. Doesn't a title like PCPLUS tip you > off this must be non-mac oriented? From edutec at sympatico.ca Thu Dec 23 18:47:44 2004 From: edutec at sympatico.ca (Roger Kenyon) Date: Thu, 23 Dec 2004 18:47:44 -0500 Subject: Adventure Games with Revolution? Message-ID: I can find no dedicated Mac OS X game engine for point-and-click adventure games in the spirit of Day of the Tentacle, Monkey Island, Sam & Max. Do you know of any point-and-click adventure games made with Revolution? General multimedia tools don't take care of the low-level game management and there are few or no adventure games templates. Revolution has potential, but I would really like a template. Would anybody be open to making a Revolution point-and-click adventure game to guide others? From ambassador at fourthworld.com Thu Dec 23 19:11:10 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 16:11:10 -0800 Subject: Adventure Games with Revolution? In-Reply-To: References: Message-ID: <41CB5E9E.9060705@fourthworld.com> Roger Kenyon wrote: > Do you know of any point-and-click adventure games made with Revolution? Here's a great 5-CD one with a gorgeous soundtrack: The game was originally developed for Mac OS in SuperCard, and recently ported to Windows using Rev. I'm preparing to do an interview in January with its author for revJournal, the Rev webzine. Also of interest is "If Monks Had Macs", from rivertext.com. There's a text adventure game within its vast collection, but the overall feel of the piece is rather like exploring an abstract game space. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Thu Dec 23 19:28:32 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 16:28:32 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: <20041223204752.3236D34782@sa7.bezeqint.net> References: <20041223204752.3236D34782@sa7.bezeqint.net> Message-ID: <41CB62B0.2000906@fourthworld.com> webmail at xasamail.com wrote: > Let the flames begin!! I've been rather surprised by the reaction to the review excerpts posted here. While "webmailman" had been anonymous (and likely to remain so after the flaming), a simple search in the use-rev archives shows at least one prior post from that addrerss on a scripting issue. So it seems safe to say Mr. webmailman is a Rev scripter, not a troll. As for PC Plus, I can assure you it's a real magazine. They ran an article on WebMerge there last year, and kindly included my demo on their CD. It's one of a good many magazines published by Future Publications, and my associations with them have all been top-notch. I'm surprised PC Plus has been posting articles at their site at all. Many of Future Pub's mags don't have a content site (just subscription info), as the company is very much print-oriented. I'm glad to see this foray into web publishing, and I suspect that since they seem to be in transition getting confortable with the web model it may well be the case that they only post articles there once the shelf life of an issue has expired (usually 30 to 60 days from publication). MacTech magazine once had a similar model. The article wasn't really all that bad when step back and look at the big picture. The biggest problem was that he was reviewing the wrong product: a comparison with VB should be against Revolution, RunRev's professional tool, not their more consumer-oriented DreamCard. But given that the word "professional" appears in descriptions for both products it's not surprising that he picked the wrong one. So perhaps it was a good thing: if a professional writer can't figure out which product he should be working with, what does that say for less experienced prospects? This is a great opportunity for RunRev to better hone each product's message to help customers distinguish them. If they can also restore the "Getting Started" info that had been in the docs in all versions prior to v2.5 I suspect their next review will be as good as most of the others they get. Note to Mr. webmailman: please try to not take the response in this venue too seriously. Heck, when MacWorld gave Rev a 4-out-of-5 review people here complained about that too. :) It's just what happens when you're in love with a market underdog. Fortunately RunRev management seems to recognize the opportunity this latest review represents for more effective management of the product's message, so I suspect down the road we'll see both the product, and subsequent reviews of it, improved. After all, that's what reviewers are for. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From edutec at sympatico.ca Thu Dec 23 19:39:25 2004 From: edutec at sympatico.ca (Roger Kenyon) Date: Thu, 23 Dec 2004 19:39:25 -0500 Subject: Adventure Games with Revolution? In-Reply-To: <41CB5E9E.9060705@fourthworld.com> Message-ID: Richard: Could you tell me more about the text adventure game within "If Monks Had Macs". I went to the site, but it is, well, less than lucid. I am mainly interested in point-and-click adventure games (such as Day of the Tentacle, Monkey Island, or Sam & Max), but text adventure with Revolution is an interesting idea. It is bound to be easier to use than Inform or TADS. On 12/23/04 7:11 PM, "Richard Gaskin" wrote: > rivertext.com From ambassador at fourthworld.com Thu Dec 23 20:41:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 17:41:52 -0800 Subject: Adventure Games with Revolution? In-Reply-To: References: Message-ID: <41CB73E0.2020406@fourthworld.com> Roger Kenyon wrote: > On 12/23/04 7:11 PM, "Richard Gaskin" wrote: > >>rivertext.com > Richard: > > Could you tell me more about the text adventure game within > "If Monks Had Macs". I went to the site, but it is, well, > less than lucid. Oh, it's quie lucid. But "If Monks Had Macs" is hard to pin down. Brian's description of it at the rivertext.com site is a pretty good one, given the size and diversity of the collection of goodies on the CD. As the author of the book "Secrets of Successful Multimedia Design" put it: "...resists categorization...acheived 'acknowledged masterpiece' status without anyone being able to hand a label on it." I tried to sum it up in the pages at my own site for Sophie, the free e-book reader we jointly developed which is also included in the "Monks" package: Sophie is only one part of the collection of literary machines, interative art and provacative ideas found in If Monks Had Macs, a multimedia CD-ROM product for Mac and Windows. RunRev and Rivertext recently issues a joint release with a demo that should be available somewhere -- in RevOnline? > I am mainly interested in point-and-click adventure games (such as > Day of the Tentacle, Monkey Island, or Sam & Max), but text adventure > with Revolution is an interesting idea. It is bound to be easier to > use than Inform or TADS. Indeed it is. Rev's text handling is both efficient and easy to do. To paraphrase Meis van der Rohe, God is in chunk expressions. ;) The text adventure in "Monks" is a fun one: in "Meat and Conversation" you take on the role of a travelling monk, with the goal of avoiding temptations. There's also a solitaire game, Killing Time, nicely done with a set of gorgeously-drawn cards, with coding done by Jacque Gay (who's popular Blocker and Klondike stacks she made in Rev have kept me quite busy for embarassingly long stretches). But there's a lot more there: Jeanne DeVoto contributed some code to Brian's exploration of Bruegel's "Tower of Babel" painting, I collaborated with him on a personal journal application that's included, and all this and more is accessed from a bookshelf in a nicely rendered monastary cloister, complete with animated fountain and monk chants. :) My personal favorite in "Monks" is the Thinkertoy, a wonderfully novel way to nagivate among the writings of Emerson and others on slavery (there's a screen shot of it near the bottom-left of this page: ). With all that going on it's definitely hard to describe in a quick sound-byte. :) But as for graphical adventure games, I know there must be more out there. As you know Myst was built with HyperCard and The Castle was built a while ago with SuperCard: Making of: Review: Interview: But of these graphical point-and-clicks I must say I've had a great time with Alida (alidagame.com). One of the difficulties with finding point-and-click adventure games is that even though you and I love them the market is fixated on real-time 3D, which requires a specialized engine and usually a lot of resources to put together. But there's always room for more -- dive in and build one and I'll play it. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From kray at sonsothunder.com Thu Dec 23 22:14:45 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Dec 2004 21:14:45 -0600 Subject: if dir exist In-Reply-To: <6.1.1.1.2.20041223145012.0267d0a0@softseven.org> Message-ID: On 12/23/04 2:57 PM, "Paul Salyers" wrote: > I'm trying to get out on VB thinking and into Rev Well, as some of us here have a lot of time invested in both (I've been using VB since VB 3), don't hesitate to ask your questions here. > I searched under exist and fount nothing. Can some1 help with this code? Hmm. When I opened the Rev documentation with the Dictionary active, typing in "exist" gave me two hits: 'existence' and 'exists', both of which have a tip at the bottom that says "to find out whether a file or folder exists or whether a process is running, use there (sic) there is a operator". Unfortunately, the phrase "there is a" is not in bold, so it may not be readily apparent (RunRev are you taking notice?). Anyway, using "there is a {file|folder} " is the way to go. If you know the path exactly, you can do this (paraphrasing your VB code): if there is a folder "C:\winnt\" then put "C:\winnt\" into Dire -- btw, why "dire?" else put "C:\Windows\" into Dire end if If you just want to know what the current "Windows" folder is, you can refer to the tip at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm?_file010 which shows that the phrase "system" can be used with the 'specialFolderPath' function to get what the current Windows/WinNT directory is for the given system: put specialFolderPath("system") into Dire This also translates into code # 36, which wil give you the same thing: put specialFolderPath("36") into Dire Better to use a one-liner than to type 5 or more lines, IMHO... Hope this helps, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Thu Dec 23 22:34:08 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 Dec 2004 20:34:08 -0700 Subject: Unicode control pictures on OS X? Message-ID: I thought I had used Unicode control pictures (U+2400 up) on OS X, but now they don't work. All I get is a box with ctl in it. Was there a change in Revolution, fonts, me or OS X that changed this? I get this with every font! Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From dsc at swcp.com Thu Dec 23 23:05:41 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 Dec 2004 21:05:41 -0700 Subject: Unicode control pictures on OS X? In-Reply-To: References: Message-ID: <13D8F36B-5561-11D9-9730-000A9567A3E6@swcp.com> On Dec 23, 2004, at 8:34 PM, Dar Scott wrote: > I thought I had used Unicode control pictures (U+2400 up) on OS X, but > now they don't work. All I get is a box with ctl in it. Was there a > change in Revolution, fonts, me or OS X that changed this? I get this > with every font! I'm using OS X 10.3.7 and Revolution 2.5. A control picture is an image representing a control character such as the ASCII control characters. For example, numToChar(0x240A) is normally an staggered LF. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ps1 at softseven.org Thu Dec 23 23:23:53 2004 From: ps1 at softseven.org (Paul Salyers) Date: Thu, 23 Dec 2004 22:23:53 -0600 Subject: DreamCard Review-PCPLUS In-Reply-To: <64878EF567131D4596246171F75FD4A9469E60@m-epo-1.epo.cdc.gov > References: <64878EF567131D4596246171F75FD4A9469E60@m-epo-1.epo.cdc.gov> Message-ID: <6.1.1.1.2.20041223222251.02649450@softseven.org> At 04:57 PM 12/22/2004, you wrote: >So - there are obviously VB to rev converts - are there any Rev to VB >converts? Where do I find a VB to Rev converter? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org From kray at sonsothunder.com Fri Dec 24 00:21:35 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Dec 2004 23:21:35 -0600 Subject: DreamCard Review-PCPLUS In-Reply-To: <6.1.1.1.2.20041223222251.02649450@softseven.org> Message-ID: On 12/23/04 10:23 PM, "Paul Salyers" wrote: > At 04:57 PM 12/22/2004, you wrote: >> So - there are obviously VB to rev converts - are there any Rev to VB >> converts? > > > Where do I find a VB to Rev converter? Unfortunately there isn't one since the structure and formats of both tools are widely different. You'd have to recreate your application in Rev from scratch, but I (and everyone else on this list) would be happy to help you do that... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Fri Dec 24 01:12:08 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 Dec 2004 23:12:08 -0700 Subject: Unicode control pictures on OS X? In-Reply-To: <13D8F36B-5561-11D9-9730-000A9567A3E6@swcp.com> References: <13D8F36B-5561-11D9-9730-000A9567A3E6@swcp.com> Message-ID: On Dec 23, 2004, at 9:05 PM, Dar Scott wrote: >> I thought I had used Unicode control pictures (U+2400 up) on OS X, >> but now they don't work. All I get is a box with ctl in it. Was >> there a change in Revolution, fonts, me or OS X that changed this? I >> get this with every font! > > I'm using OS X 10.3.7 and Revolution 2.5. A control picture is an > image representing a control character such as the ASCII control > characters. For example, numToChar(0x240A) is normally an staggered > LF. I don't think this is a Revolution problem. I used both Font Checker and Font Explorer and didn't find any fonts with control pictures. So either I'm losing my marbles or something happened when I upgraded from 10.2 to 10.3. I remember the glyphs were very ugly, so maybe they were yanked from the font I was using. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From chipp at chipp.com Fri Dec 24 01:22:01 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 23 Dec 2004 22:22:01 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: <41CB0DAC.9050102@fourthworld.com> References: <1103805665.41cabce14e3ce@www.uni-kassel.de> <41CB0DAC.9050102@fourthworld.com> Message-ID: <41CBB589.9040501@chipp.com> Richard Gaskin wrote: > I just hope they keep it separate, even if they do bundle it. Engine > size still matters to me, and it's too easy to add stuff that I rarely > if ever use -- I'd hate to see a 5MB engine, and stuff adds up. > > Heck, if I had it my way I'd like to see QT broken out into a separate > includable module. I only need it in three apps, and everything else is > carrying that code around with no benefit to my customers. Well put. And with Trevor's excellent QT external it could be done. I, too am concerned about engine bloat. But, as you know, RR has better connectors to the engine than we (as external developers) do-- this has advantages. From nrkweto03 at hotmail.com Fri Dec 24 01:44:48 2004 From: nrkweto03 at hotmail.com (kweto) Date: Fri, 24 Dec 2004 15:44:48 +0900 Subject: finding local IP... on Win98? References: Message-ID: Hello again, Both methods advised by Thierry Arbellot and Dar Scott worked... on Win2K but not on Win98SE. The result I got for hostAddress on a local computer was... 0.0.0.0 .. when I tried both Thierry Arbellot's... > put "255.255.255.255:43222" into testSocket > open datagram socket to testSocket > put hostAddress(testSocket) into theIPAddress > close socket testSocket .. and Dar Scott's variation of using... > the IP address of something on the LAN that is fixed" So I'm back to square one, i.e., how to use Rev to find out a computer's LAN IP. Cheers, Nicolas Cueto (Nihon) From chipp at chipp.com Fri Dec 24 02:03:10 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 23 Dec 2004 23:03:10 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: <41CB62B0.2000906@fourthworld.com> References: <20041223204752.3236D34782@sa7.bezeqint.net> <41CB62B0.2000906@fourthworld.com> Message-ID: <41CBBF2E.7000901@chipp.com> C'mon Richard, I know it's Christmas, but you may want to take your rose colored glasses off for a second:-) If anyone's at fault for flaming, it's Mr. Anon. Certainly, the points you make are correct, but please don't mistake your intimate knowledge of PC Plus and their prior business with you, for our (list members) familiarity with the same. Anyone who starts a post: "Let the flames begin!! "Flame, flame, burning hot Rise up now and scorch the lot. Let the stench of flesh a-burning Leave them all with stomachs churning." surely cannot be taken seriously as a contributor of fact to this list. Especially when considering he or she wishes not to be known at all. (Yeah, I too previously found 1 other post...big deal). Knowing your reputation for fact and fairness, I believe you are surely correct in your assessment of the article, the one you obviously read. Neither I nor others have had access to the article. I did (as Thomas) Google the Magazine and the Author to find out as much as I could, then even asked for a URL here on the list, with no success. As one of the few users here with experience in VB, I would like to create a rebuttal letter to the article-- and I can't do it without reading it first. Just as any profession, there are good reviewers, and those who are not. I, like you, prefer to do research on the magazine and author before deciding how best to reply (or not). best, Chipp Richard Gaskin wrote: > webmail at xasamail.com wrote: > >> Let the flames begin!! > > > I've been rather surprised by the reaction to the review excerpts posted > here. While "webmailman" had been anonymous (and likely to remain so > after the flaming), a simple search in the use-rev archives shows at > least one prior post from that addrerss on a scripting issue. So it > seems safe to say Mr. webmailman is a Rev scripter, not a troll. From jamesjrichards at lineone.net Fri Dec 24 02:45:45 2004 From: jamesjrichards at lineone.net (James Richards) Date: Fri, 24 Dec 2004 07:45:45 +0000 Subject: DreamCard Review-PCPLUS In-Reply-To: <20041223122533.1A75193023E@mail.runrev.com> References: <20041223122533.1A75193023E@mail.runrev.com> Message-ID: Hmmm! Google reveals this to be one of the many PC magazines (UK based), and the review is not available online. So for the many non UK list members not very accessible - tho I guess it may be posted at some time. In the meantime unless someone else buys the magazine and posts their thoughts on the review we are dependent on "webmailman's" summary of the review. Interestingly the same magazine were offering Dreamcard as a freebie, I think, with their October issue, but my displacement activity tendencies at this time of year didn't push me into following that link... Regards James -- James J Richards On Thu, 23 Dec 2004 10:47:18 +0100, "webmailman" wrote: > Do you have a URL for this review, or is it as anonymous as you are? > ======================================================== > Hmmm, did you read the whole post? I thought this was a very clear > reference: > > "In issue 224 (Christmas 2004), Paul Hudson gives readers his insights > ...." > > Also, this citation makes no reference to a URL, because it was not > taken from a website. I would think if you can figure out > DreamCard/Revolution, you should most certainly be able to determine > how and where to find the review from the specific details given. From ambassador at fourthworld.com Fri Dec 24 02:50:59 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2004 23:50:59 -0800 Subject: DreamCard Review-PCPLUS In-Reply-To: References: <20041223122533.1A75193023E@mail.runrev.com> Message-ID: <41CBCA63.4090202@fourthworld.com> James Richards wrote: > Hmmm! Google reveals this to be one of the many PC magazines (UK based), > and the review is not available online. So for the many non UK list > members not very accessible - tho I guess it may be posted at some > time. Their distrubution in the States isn't bad. I've picked up copies of PC Plus and other Future Pubs mags at Borders, Barnes and Noble, and other major booksellers and newsstands. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From wmb at internettrainer.com Fri Dec 24 03:51:53 2004 From: wmb at internettrainer.com (Wolfgang M.Bereuter) Date: Fri, 24 Dec 2004 09:51:53 +0100 Subject: DreamCard Review-PCPLUS In-Reply-To: <41CBB589.9040501@chipp.com> References: <1103805665.41cabce14e3ce@www.uni-kassel.de> <41CB0DAC.9050102@fourthworld.com> <41CBB589.9040501@chipp.com> Message-ID: <0EBB6A10-5589-11D9-BD2F-003065430226@internettrainer.com> On 24.12.2004, at 07:22, Chipp Walters wrote: >> I just hope they keep it separate, even if they do bundle it. Engine >> size still matters to me, and it's too easy to add stuff that I >> rarely if ever use -- I'd hate to see a 5MB engine, and stuff adds >> up. >> Heck, if I had it my way I'd like to see QT broken out into a >> separate includable module. I only need it in three apps, and >> everything else is carrying that code around with no benefit to my >> customers. > > Well put. And with Trevor's excellent QT external it could be done. I, > too am concerned about engine bloat. But, as you know, RR has better > connectors to the engine than we (as external developers) do-- this > has advantages. Well?! No, thats not well Chipp, thats excellent!! Its exactly what I m wainting and talking about since the beginning: The real modular developer concept! Againts th ewe will violate you all-M$ starategy. But not only for ENGINE for the IDE too!! We did not need that bloated Dreamcard, wich is not fish nor meat. A real starter tool with a modular ide. That would be the killer app, but how many times I have voted for that! I have given up and... Anyway, thanks a lot Richard, may be once upon the time your voice is tavelling to the highlands, waking up the sleeping nessies... regards Wolfgang M. Bereuter T-mapping? is PhotoLearning Mindmaps! ............................... http://www.internettrainer.com wmb at internettrainer.com ............................... Edelhofg. 17/11, A-1180 Wien, Austria Tel/Fax: ++43-1-479 2539 From klaus at major-k.de Fri Dec 24 06:15:34 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 24 Dec 2004 12:15:34 +0100 Subject: DreamCard Review-PCPLUS In-Reply-To: <64878EF567131D4596246171F75FD4A9469E67@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E67@m-epo-1.epo.cdc.gov> Message-ID: <21796875-559D-11D9-B014-000A27B49A96@major-k.de> Hi friends, very funny, but it was clear for me within a fraction of a millisecond that PCPLUS is a (printed) magazine... (No, i did not "Gurgle" ;-) Especially in conjunction with "Issue xyz"... But i am just a simple german guy and definitively NOT representative. To me the (tiny :-) resulting flame war is, to say it clear, unnecessary, immature and embarrassing! For ALL of the participants! @"webmail" Your last post HAS a little whiff of overacting... Merry christmas everybody AND PEACE ON EARTH, DAMN :-D Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From Stgoldberg at aol.com Fri Dec 24 06:35:28 2004 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Fri, 24 Dec 2004 06:35:28 EST Subject: Adventure Games with Revolution Message-ID: If I understand correctly, the recent adventure game Alida was written in Revolution by a single author who did all the programming and art. Stephen Goldberg In a message dated 12/24/04 2:04:35 AM, use-revolution-request at lists.runrev.com writes: > > I am mainly interested in point-and-click adventure games (such as Day of > the Tentacle, Monkey Island, or Sam & Max), but text adventure with > Revolution is an interesting idea. It is bound to be easier to use than > Inform or TADS. > From johnmiller1950 at sbcglobal.net Fri Dec 24 06:50:16 2004 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Fri, 24 Dec 2004 06:50:16 -0500 Subject: Shortcut Problems in Windows XP Message-ID: Greetings All, I have assigned a shortcut to a button, but Windows XP intercepts the command at the system level. Is there a way to give my app first shot at the shortcut? A related question - Is there a way to rest control of the f keys away from Windows and assign them in Revolution? Many Thanks, John Miller From mark at maseurope.net Fri Dec 24 07:10:50 2004 From: mark at maseurope.net (Mark Smith) Date: Fri, 24 Dec 2004 12:10:50 +0000 Subject: SpecialFolderPath in standalone In-Reply-To: <20041224065817.3B1D7930243@mail.runrev.com> References: <20041224065817.3B1D7930243@mail.runrev.com> Message-ID: Frank, that's useful advice. Will save me some head scratching until they fix it. Mark Smith From gefisher at mac.com Fri Dec 24 09:10:24 2004 From: gefisher at mac.com (Glenn E. Fisher) Date: Fri, 24 Dec 2004 08:10:24 -0600 Subject: Adventure Games with Revolution? Message-ID: <8DEF2393-55B5-11D9-9B1F-0030654DB056@mac.com> Roger, > I can find no dedicated Mac OS X game engine for point-and-click > adventure > games in the spirit of Day of the Tentacle, Monkey Island, Sam & Max. > > Do you know of any point-and-click adventure games made with > Revolution? > General multimedia tools don't take care of the low-level game > management > and there are few or no adventure games templates. Revolution has > potential, > but I would really like a template. > > Would anybody be open to making a Revolution point-and-click adventure > game > to guide others? I am currently working on a couple of games that might be of interest. They are not completed yet, but they'll give you an idea of a point and click game. They are not adventures, but a computerized version of table games. Use the mac.com link below and click on the "Games" link. Have fun, 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 marty at vertex.ucls.uchicago.edu Fri Dec 24 09:25:08 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Fri, 24 Dec 2004 08:25:08 -0600 (CST) Subject: Adventure Games with Revolution? In-Reply-To: <20041224065816.6B39B930262@mail.runrev.com> References: <20041224065816.6B39B930262@mail.runrev.com> Message-ID: > Roger Kenyon asks: > > I can find no dedicated Mac OS X game engine for point-and-click adventure > games in the spirit of Day of the Tentacle, Monkey Island, Sam & Max. > > Do you know of any point-and-click adventure games made with Revolution? > General multimedia tools don't take care of the low-level game management > and there are few or no adventure games templates. Revolution has potential, > but I would really like a template. > > Would anybody be open to making a Revolution point-and-click adventure game > to guide others? My 8th grade students make adventure games in Rev every quarter. I don't actually know that much about gaming, so I'm not sure what a template would provide for you that you couldn't program yourself. To get them started I show them Spelunx. Yes, I know it's really old and lame and much better adventure games exist, but (1) it was made with HyperCard, which impresses the kids, as they know it's a precurser to Rev, and (2) we own it. That gets the the students thinking about the kinds of things they can do themselves, and off they go! We don't have a copy of Myst, or I'd show 'em that too. Or maybe I wouldn't -- it might intimidate some of the students; Spelunx seems much more do-able. I also had one girl who, although 13 years old, knew about the original text-based adventure game, and re-created it in Rev. It was really well done! (She admitted that doing a text-based game was underutilizing Rev's features, but she wanted to do it anyway.) So, what is a game template, and might one help my students? - marty -- Marty Billingsley The University of Chicago Laboratory Schools From fde101 at fjrhome.net Fri Dec 24 10:05:10 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 24 Dec 2004 10:05:10 -0500 Subject: Adventure Games with Revolution? In-Reply-To: References: <20041224065816.6B39B930262@mail.runrev.com> Message-ID: <348703B8-55BD-11D9-AF89-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmm... what kind of "low-level" features are you looking for, more specifically? Just paste (or draw) each picture onto a card, and put a transparent, don't-show-name button over each hotspot. on mouseUp go to card end mouseUp. Done. Maybe some mouseEnter-type handlers for fancy navigation cursors, and possibly some resize logic so that the game can be played full-screen. As for saved games, just save the name of the card or some such, along with any inventory you might be keeping (remember that there was really very little in the way of game state in Myst, but of course it would be possible to do extensive tracking of game state in Rev if you really wanted to.) Myst is actually a *very* simple game from the perspective of the engine (the later follow-ups to Myst have become slightly more complex); what really sets it off is the artistry and the puzzles that were used (none of which would be difficult at all to do in Rev). On Dec 24, 2004, at 9:25 AM, Marty Billingsley wrote: >> Roger Kenyon asks: >> >> I can find no dedicated Mac OS X game engine for point-and-click >> adventure >> games in the spirit of Day of the Tentacle, Monkey Island, Sam & Max. >> >> Do you know of any point-and-click adventure games made with >> Revolution? >> General multimedia tools don't take care of the low-level game >> management >> and there are few or no adventure games templates. Revolution has >> potential, >> but I would really like a template. >> >> Would anybody be open to making a Revolution point-and-click >> adventure game >> to guide others? > > My 8th grade students make adventure games in Rev every quarter. I > don't > actually know that much about gaming, so I'm not sure what a template > would provide for you that you couldn't program yourself. > > To get them started I show them Spelunx. Yes, I know it's really old > and lame and much better adventure games exist, but (1) it was made > with > HyperCard, which impresses the kids, as they know it's a precurser to > Rev, and (2) we own it. That gets the the students thinking about the > kinds of things they can do themselves, and off they go! > > We don't have a copy of Myst, or I'd show 'em that too. Or maybe I > wouldn't -- it might intimidate some of the students; Spelunx seems > much more do-able. > > I also had one girl who, although 13 years old, knew about the original > text-based adventure game, and re-created it in Rev. It was really > well done! (She admitted that doing a text-based game was > underutilizing > Rev's features, but she wanted to do it anyway.) > > So, what is a game template, and might one help my students? > > - marty > > -- > Marty Billingsley > The University of Chicago Laboratory Schools > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBzDAm7aqtWrR9cZoRAqKvAJ9WqWKcQqn8bgqa8VaRaW3QwsY6DwCgiPKx k495NHLhSRIH7FMzpD0uxaE= =ZEw6 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From kray at sonsothunder.com Fri Dec 24 11:50:32 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Dec 2004 10:50:32 -0600 Subject: Shortcut Problems in Windows XP In-Reply-To: Message-ID: On 12/24/04 5:50 AM, "John Miller" wrote: > Greetings All, > > I have assigned a shortcut to a button, but Windows XP intercepts the > command at the system level. Is there a way to give my app first shot > at the shortcut? John, I'm not exactly sure what you mean here when you say "assigned a shortcut to a button"; can you clarify? > A related question - Is there a way to rest control of the f keys away > from Windows and assign them in Revolution? Yes, use a "functionKey" handler: on functionKey pKey answer "You pressed F" & pKey end functionKey Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From marty at vertex.ucls.uchicago.edu Fri Dec 24 12:57:45 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Fri, 24 Dec 2004 11:57:45 -0600 (CST) Subject: Adventure Games with Revolution? In-Reply-To: <20041224170020.41197930270@mail.runrev.com> References: <20041224170020.41197930270@mail.runrev.com> Message-ID: > "Frank D. Engel, Jr." > Hmm... what kind of "low-level" features are you looking for, more > specifically? > > Just paste (or draw) each picture onto a card, and put a transparent, > don't-show-name button over each hotspot. on mouseUp go to card > end mouseUp. Done. This is exactly the type of thing my students do. It's really simple to get started with, and you can incorporate other features as you learn Rev. Some of my kids have a room, for example, where the user has to play Pong and get a certain number of points in order to advance. (Or, as one very cute game had, a Winnie-the-Pooh holding onto a balloon and dodging the oncoming bees -- a girl's take on the typical "missile-style" game.) Other students implement an inventory, where the user can pick up objects that are then useful later in the game. Only one student has implemented a game where the game state was saved -- mostly because I don't teach them about saving to external text files (because I don't understand the file paths myself:-). As I've said before, I'm finding Rev to be a great vehicle for introducing young students to programming. - marty -- Marty Billingsley The University of Chicago Laboratory Schools From ambassador at fourthworld.com Fri Dec 24 13:13:17 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Dec 2004 10:13:17 -0800 Subject: Adventure Games with Revolution In-Reply-To: References: Message-ID: <41CC5C3D.1080402@fourthworld.com> Stgoldberg at aol.com wrote: > If I understand correctly, the recent adventure game Alida was written in > Revolution by a single author who did all the programming and art. Yes indeed. And he's quite a talented musician as well, and the unusually high quality of the soundtrack reflects that. It's a truly amazing work, all five CD's worth: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Fri Dec 24 13:37:37 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 24 Dec 2004 11:37:37 -0700 Subject: Getting the right font in unicode Message-ID: When setting general unicode chars through either htmlText (with font specified and lang="ja") or unicodeText (with font (& language Japanese, Unicode or w) specified in the textFont of the field, Revolution seems to pick a font instead of using the one I specify. I know the char is in the unicode font. Workarounds? Dar unicode is unicode is unicode ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ps1 at softseven.org Fri Dec 24 13:57:58 2004 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 24 Dec 2004 12:57:58 -0600 Subject: Desk top icon In-Reply-To: References: Message-ID: <6.1.1.1.2.20041224125521.02586688@softseven.org> In VB I have the code to make a desktop icon with the click of a check box. By removing the check you remove the desktop icon, Is this possible in Rev? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org From rgmiller6748 at sbcglobal.net Fri Dec 24 15:40:05 2004 From: rgmiller6748 at sbcglobal.net (Ray Miller) Date: Fri, 24 Dec 2004 12:40:05 -0800 (PST) Subject: Is the problem Micro$oft or its customers? In-Reply-To: <20041222170024.82E9B9301D1@mail.runrev.com> Message-ID: <20041224204005.77204.qmail@web80804.mail.yahoo.com> --- use-revolution-request at lists.runrev.com wrote: From: Richard Gaskin > > > So I have three ways to handle these reports: > > a) Tell them it's conformant with Micro$oft's > published spec and so they > need to get used to it, possibly providing an email > address for > Micro$oft's design team so they can complain > directly to the source. > > b) Ignore Micro$oft's XP Visual Design Guidelines > and use their darker > background color (the tan behind the tab) for the > tab control itself. > > c) Use the Gaslight method: Tell 'em it's actually > the same but their > vision has changed. ;) > > > I've been doing a), but as more reports come in I'm > considering the > possibility that the > enormously-well-funded-yet-still-tasteless UI team > at Micro$oft may have gotten it wrong; maybe that > color is indeed too light. > > So do I conform to Micro$oft and face the wrath of > customers, or conform > to the customers and face the wrath of reviewers? > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any > Web site > > Richard, I've always hated the WS doom and gloom colors. If they've lightened up recently, and that's the new GUI from MS, then go with it. (Or start a new one: get crap from everyone!) Ray Miller From soapdog at mac.com Fri Dec 24 16:50:08 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 24 Dec 2004 19:50:08 -0200 Subject: Adventure Games with Revolution In-Reply-To: <41CC5C3D.1080402@fourthworld.com> References: <41CC5C3D.1080402@fourthworld.com> Message-ID: Holy God! I just checked the URL!!!!! This is wonderfull, I am buying the CDs right now, that reminds me of Myst.... andre On Dec 24, 2004, at 4:13 PM, Richard Gaskin wrote: > Stgoldberg at aol.com wrote: >> If I understand correctly, the recent adventure game Alida was >> written in Revolution by a single author who did all the programming >> and art. > > Yes indeed. And he's quite a talented musician as well, and the > unusually high quality of the soundtrack reflects that. > > It's a truly amazing work, all five CD's worth: > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From kray at sonsothunder.com Fri Dec 24 17:15:44 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Dec 2004 16:15:44 -0600 Subject: Desk top icon In-Reply-To: <6.1.1.1.2.20041224125521.02586688@softseven.org> Message-ID: On 12/24/04 12:57 PM, "Paul Salyers" wrote: > > > > In VB I have the code to make a desktop icon with the click of a check box. > By removing the check you remove the desktop icon, Is this possible in Rev? If you mean making a shortcut to your application (or any file for that matter), the answer is "yes". You do: create alias to file So to create an alias to "C:\Program Files\MyApp\MyApp.exe" you'd do: put specialFolderPath("desktop") & "/MyApp.lnk" into tAlias create alias tAlias to file "C:/Program Files/MyApp/MyApp.exe" Note that inside Rev, all paths use the "/" delimiter, regardless of platform. Rev does understand the "native" file delimiter ("\" in Windows and ":" in Macintosh) most of the time, but it's a good habit to get into to start using the "/" delimiter as often as possible. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alex at tweedly.net Fri Dec 24 17:43:29 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 Dec 2004 22:43:29 +0000 Subject: finding local IP... on Win98? In-Reply-To: References: Message-ID: <41CC9B91.3000300@tweedly.net> kweto wrote: >Hello again, > >Both methods advised by Thierry Arbellot and Dar Scott worked... on Win2K >but not on Win98SE. > >The result I got for hostAddress on a local computer was... > >0.0.0.0 > >.. when I tried both Thierry Arbellot's... > > > >> put "255.255.255.255:43222" into testSocket >> open datagram socket to testSocket >> put hostAddress(testSocket) into theIPAddress >> close socket testSocket >> >> I'm not entirely surprised that failed - using "255.255.255.255" is something of a "trick", so it could work or fail depending on the OS. >.. and Dar Scott's variation of using... > > >>the IP address of something on the LAN that is fixed" >> >> But I'm amazed that failed. Are you sure :-) ? >So I'm back to square one, i.e., how to use Rev to find out a computer's LAN >IP. > > What is the LAN address that you used on Win98SE ? In fact - what's the whole output from "ipconfig" ? Can you check that you can "ping" the server address from the Win98SE machine ? Is the LAN address you used that of another machine you can access / control ? If so, could you put a UDP "echo server" on it and try sending it UDP packets from Win98SE ? If that works - i.e. you can send a datagram packet and get a reply from the server, then the hostAddress() function really, really should work - and if it doesn't, I think it's time for a Bugzilla submission. OTOH, if that doesn't work, then again we may be close to ready for Bugzilla - but maybe get back to the list with all the results up till then .... (If you don't have a datagram echo server and client, email me off-list and I'll send you one.) -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From capellan2000 at yahoo.com Fri Dec 24 18:24:59 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 24 Dec 2004 15:24:59 -0800 (PST) Subject: Using Md5Digest on stacks loaded in memory In-Reply-To: <20041224170020.6AA7393027C@mail.runrev.com> Message-ID: <20041224232459.49290.qmail@web40510.mail.yahoo.com> Hi Developers, Recently, i had been working on refining some of my stacks for distribution among fellow teachers and i had been experimenting with security issues. I'll like that my player app verify that the stacks that i send them were not tampered in any way, so i'm working in a verification system that could use the built-in md5digest function. I could verify the md5digest of a stack stored in the hard disk with the following code: put url "binfile:C:/WINDOWS/Escritorio/myStack.rev" into zxs -- zxs is a local variable put binaryDecode("H*",md5Digest(zxs),tHexDigest) -- convert the binary data of md5digest in hexadecimal put tHexDigest -- write the results in the message box and could verify the md5digest of a file stored as a custom property with the following code: set the customProperty_01 of the topstack to url "binfile:C:/WINDOWS/Escritorio/md5sums.exe" -- i have included the file within the topstack put binaryDecode("H*",md5Digest(the customProperty_01 of the topstack),tHexDigest) -- converting in hexadecimal the binary result of the md5digest function put tHexDigest -- write the results in the message box But, How could i get the md5Digest of a stack loaded in memory? This code does not works in my side: put binaryDecode("H*",md5Digest(the topstack),tHexDigest) put tHexDigest It produces a different result than the code that reads the stack from the Hard Disk... Thanks in advance for your help. My best wishes for this new year! :-) al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Send holiday email and support a worthy cause. Do good. http://celebrity.mail.yahoo.com From capellan2000 at yahoo.com Fri Dec 24 19:01:53 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 24 Dec 2004 16:01:53 -0800 (PST) Subject: Adventure Games with Revolution In-Reply-To: <20041224170020.6AA7393027C@mail.runrev.com> Message-ID: <20041225000153.77479.qmail@web40504.mail.yahoo.com> Hi Andre, I hope that you are recovering fine from your broken arm! :-| Andre Garzia wrote: >Holy God! I just checked the URL!!!!! >This is wonderfull, I am buying >the CDs right now, that reminds me of Myst.... I think alike! :-) But i'm curious about the name. Is Alida the daughter, the wife or the mother of the author? ;-) Richard, when you interview the author of the game, Could you ask him about the name's origin? Marty Billingsley wrote: >My students create games every quarter Wow! A whole class making Creative Multimedia!!! Could you publish some of these works of your students? Always is good for developers to see the beginnings of the next generation of programmers. > As I've said before, I'm finding Rev to be a > great vehicle for introducing young students > to programming. Did you check the stack Metatalk Programming course created by Scott Raney? This is an excellent example of courseware made in this platform. I feel compelled to ask, but is the University of Chicago managing high schools too? al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? All your favorites on one personal page ? Try My Yahoo! http://my.yahoo.com From dsc at swcp.com Fri Dec 24 19:09:14 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 24 Dec 2004 17:09:14 -0700 Subject: Using Md5Digest on stacks loaded in memory In-Reply-To: <20041224232459.49290.qmail@web40510.mail.yahoo.com> References: <20041224232459.49290.qmail@web40510.mail.yahoo.com> Message-ID: <35C116E6-5609-11D9-92CA-000A9567A3E6@swcp.com> On Dec 24, 2004, at 4:24 PM, Alejandro Tejada wrote: > I could verify the md5digest of a stack stored > in the hard disk with the following code: Good idea. > and could verify the md5digest of a file stored > as a custom property with the following code: I do this. Good idea. > But, How could i get the md5Digest of a > stack loaded in memory? I don't know if you can relate a stack in memory to an md5Digest created for a binary file. You might be able to create an md5Digest of selected properties. However, if I modified one of your stacks, I might modify it to generate the "md5" hex code of itself that it got before. It's like asking a person if he is a liar. Maybe you can create a small stack or plugin whose sole purpose is to create the md5Digest of stacks and related files. You can distribute this in person or find some other way to distribute it that you are comfortable with. For some systems you might give the recipient by another channel instructions using system utilities. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ambassador at fourthworld.com Fri Dec 24 19:39:02 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Dec 2004 16:39:02 -0800 Subject: Adventure Games with Revolution In-Reply-To: <20041225000153.77479.qmail@web40504.mail.yahoo.com> References: <20041225000153.77479.qmail@web40504.mail.yahoo.com> Message-ID: <41CCB6A6.5010401@fourthworld.com> Alejandro Tejada wrote: > Hi Andre, > > I hope that you are recovering fine from > your broken arm! :-| > > Andre Garzia wrote: > > >>Holy God! I just checked the URL!!!!! >>This is wonderfull, I am buying >>the CDs right now, that reminds me of Myst.... > > > I think alike! :-) > But i'm curious about the name. > > Is Alida the daughter, the wife or the mother > of the author? ;-) > > Richard, when you interview the author of > the game, Could you ask him about the > name's origin? It's the name of the band. From his site at : ----------------------------------------- What is Alida about? Alida is a point and click interactive graphical adventure game. The story centres around four young men in the band Alida that attained phenomenal success with their first CD release. Loads of money coupled with wild imagination resulted in construction of "Alida" - the theme park. It's an unusual place - a giant guitar 330 metres long! But these guys didn't stop there - the guitar can actually be played (assisted by machinery); the internal workings of the guitar can be accessed and manipulated (machine heads, switch, pots etc..) As Alida was nearing completion things got complicated, their popularity was waning and money stopped coming in. Distrust set in. Each of the band members claimed different areas of Alida for themselves where they devised weird and elaborate systems to protect their wealth. They retracted from each other finally leaving Alida uninhabited. Fifteen years later one of the guys is missing on Alida... Five years in the making, the Alida world will captivate you with meticulous graphics, unique locations, intriguing puzzles, bizarre transportation machines, ornate objects, electronic imagery, tactile contraptions, massive constructions, animated natural elements and original music score. ------------------------------------------- -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ps1 at softseven.org Fri Dec 24 19:43:15 2004 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 24 Dec 2004 18:43:15 -0600 Subject: Adventure Games with Revolution In-Reply-To: <41CCB6A6.5010401@fourthworld.com> References: <20041225000153.77479.qmail@web40504.mail.yahoo.com> <41CCB6A6.5010401@fourthworld.com> Message-ID: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> I tryed to cut & paste text from my script editor to notepad and nothing pasted, but it pasted in Word. Anyone know why this was. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home From kray at sonsothunder.com Fri Dec 24 21:55:09 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Dec 2004 20:55:09 -0600 Subject: finding local IP... on Win98? In-Reply-To: Message-ID: On 12/24/04 12:44 AM, "kweto" wrote: > So I'm back to square one, i.e., how to use Rev to find out a computer's LAN > IP. How about doing a shell to "ipConfig /all" and then parsing the result? On my Windows 98 machine I get two IP Addresses, one in a block that says "0 Ethernet adapter" and one that says "1 Ethernet adapter". I have a chunk of code that I've used to find the MAC address, so I adapted it to get the IP address. Since there's more than one, I continue to search until I get something other than 0.0.0.0 (watch for word wraps): on mouseUp put GetMyIP() into tIP if tIP contains "Error" then answer tIP else -- do what you want with the IP address end if end mouseUp function GetMyIP local tStart,tEnd put specialFolderPath("system") & "/IPCONFIG.EXE" into tWinIPConfig put specialFolderPath("system") & \ "/SYSTEM32/IPCONFIG.EXE" into tWinSysIPConfig put (there is a file tWinIPConfig) into winExists put (there is a file tWinSysIPConfig) into sys32Exists if winExists or sys32Exists then set the hideConsoleWindows to true put shell("ipconfig /all") into tData repeat if matchChunk(tData,"IP Address[\. ]*: ([A-Z0-9\.]*)",tStart,tEnd) then put char tStart to tEnd of tData into tIP if tIP <> "0.0.0.0" then return tIP else delete char 1 to tEnd of tData end if else return "Error: IP Address not found." end if end repeat return "Error: IP Address not found." else return "IPCONFIG not found" end if end GetMyIP HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Dec 24 22:02:18 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Dec 2004 21:02:18 -0600 Subject: Adventure Games with Revolution In-Reply-To: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> Message-ID: On 12/24/04 6:43 PM, "Paul Salyers" wrote: > I tryed to cut & paste text from my script editor to notepad and nothing > pasted, but it pasted in Word. Anyone know why this was. No idea, Paul... what version of Windows are you using, and what version of Revolution? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ps1 at softseven.org Fri Dec 24 22:09:11 2004 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 24 Dec 2004 21:09:11 -0600 Subject: Copy & Paste problrms In-Reply-To: References: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> Message-ID: <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> At 09:02 PM 12/24/2004, you wrote: >On 12/24/04 6:43 PM, "Paul Salyers" wrote: > > > I tryed to cut & paste text from my script editor to notepad and nothing > > pasted, but it pasted in Word. Anyone know why this was. > >No idea, Paul... what version of Windows are you using, and what version of >Revolution? Windows 2000 Pro 5.00.2195 Service Pack 4 NotePad 5.0 Build 2195 Service pack 4 Rev 2.5 But it's greak to me! Paul Salyers PS1 - Senior Rep. PS1 at softseven.org From nrkweto03 at hotmail.com Fri Dec 24 23:30:04 2004 From: nrkweto03 at hotmail.com (kweto) Date: Sat, 25 Dec 2004 13:30:04 +0900 Subject: finding local IP... on Win98? References: Message-ID: Ken Ray wrote: > How about doing a shell to "ipConfig /all" and then parsing the result? That did the trick! Thanks -- both for the solution and for your script itself, which brought to my attention how to better use "matchChunk" and the hitherto unknown "shell" and "specialFolderPath" functions. Actually, my machines run Japanese versions of Win98SE so the "IP Address" search term had to be translated.) Cheers, Nicolas Cueto (from the land of odd Kurisumasu celebrations) From kray at sonsothunder.com Fri Dec 24 23:37:14 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Dec 2004 22:37:14 -0600 Subject: Copy & Paste problrms In-Reply-To: <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> Message-ID: On 12/24/04 9:09 PM, "Paul Salyers" wrote: > At 09:02 PM 12/24/2004, you wrote: >> On 12/24/04 6:43 PM, "Paul Salyers" wrote: >> >>> I tryed to cut & paste text from my script editor to notepad and nothing >>> pasted, but it pasted in Word. Anyone know why this was. >> >> No idea, Paul... what version of Windows are you using, and what version of >> Revolution? > > > Windows 2000 Pro > 5.00.2195 > Service Pack 4 > > NotePad > 5.0 > Build 2195 > Service pack 4 > > Rev 2.5 This appears to have been a reported bug in Rev 2.5 (it works fine in Rev 2.2) - (see Bugzilla bug #2289), but Chipp Walters says its fixed (although I downloaded the most recent public version and it still doesn't work). Perhaps Chipp can chime in on this one... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chipp at chipp.com Sat Dec 25 01:04:33 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 24 Dec 2004 22:04:33 -0800 Subject: Copy & Paste problrms In-Reply-To: <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> References: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> Message-ID: <41CD02F1.3020801@chipp.com> Hi Paul, There is a noted bug in the latest version of Rev where it's only copying and pasting unicode, and becaue notepad doesn't support unicode, it doesn't work. It's been fixed in the next release. Workarounds: 1) Paste into something like WordPad which does support unicode 2) Use my 'altClipConvert' plugin to converty your clipboard text to something Notepad will recognize. It's at the bottom of page: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm Happy holiday season! best, Chipp Paul Salyers wrote: >> On 12/24/04 6:43 PM, "Paul Salyers" wrote: >> >> > I tryed to cut & paste text from my script editor to notepad and >> nothing >> > pasted, but it pasted in Word. Anyone know why this was. From capellan2000 at yahoo.com Sat Dec 25 08:08:57 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 25 Dec 2004 05:08:57 -0800 (PST) Subject: Using Md5Digest on stacks loaded in memory In-Reply-To: <20041224170020.6AA7393027C@mail.runrev.com> Message-ID: <20041225130857.46115.qmail@web40513.mail.yahoo.com> Hi Dar, Thanks a lot for answering this question. Dar Scott wrote: >> But, How could i get the md5Digest of a >> stack loaded in memory? > I don't know if you can relate a stack in > memory to an md5Digest created for a binary file. But, it's possible to get a md5digest of a custom property that only exist in memory, because the stack has not been saved to disk yet. So it could exist some way to get the md5digest from a stack that exist only in memory (and still has not been saved to disk). I believe that the engine uses a md5digest of the stack to ask the user if wants to save the stack loaded in memory before closing it. >However, if I modified one of your stacks, I might >modify it to generate the "md5" hex code of itself >that it got before. It's like asking a person if he >is a liar. Yes, i suspect that. But the purpose of having a digest attached to the file is to reduce the risk of having a substack that execute scripts not authorized on the machine that is running. I know about the secure mode, but it is a major blocker. The stack could not write a text file to disk or change the registry (all these restrictions are fine), but when i try to put text in the clipboard, to paste in another document the clipboard is always empty!?!?!?. I've tried this code, and many variations without success: set the clipboarddata to localVariableZXC I'll like to be wrong about this, and that even in secure mode, i could put data on the clipboard to paste in a text editor, like notepad, but in my side this is not possible or maybe i'm using the wrong code. >Maybe you can create a small stack or plugin >whose sole purpose is to create the md5Digest of >stacks and related files. Looks like this is the solution, but this question still remains unanswered: How could the engine get the md5digest of a single part of a stack loaded in memory (a custom property) and not from the whole stack, that only exists in memory too???? al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com From capellan2000 at yahoo.com Sat Dec 25 09:16:54 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 25 Dec 2004 06:16:54 -0800 (PST) Subject: Adventure Games with Revolution Message-ID: <20041225141654.83228.qmail@web40526.mail.yahoo.com> Richard Gaskin wrote: >> Richard, when you interview the author of >> the game, Could you ask him about the >> name's origin? >It's the name of the band. Ah! Good point. But anyway ask him if it's the name of a familiar... ;-) By the way, the idea of building a giant guitar that works really sounds like if it came from the head of Rock musicians... :-)) Have a nice weekend! al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From dsc at swcp.com Sat Dec 25 11:59:35 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 25 Dec 2004 09:59:35 -0700 Subject: Using Md5Digest on stacks loaded in memory In-Reply-To: <20041225130857.46115.qmail@web40513.mail.yahoo.com> References: <20041225130857.46115.qmail@web40513.mail.yahoo.com> Message-ID: <5B26E98A-5696-11D9-9C2C-000A9567A3E6@swcp.com> Alejandro, On Dec 25, 2004, at 6:08 AM, Alejandro Tejada wrote: > But, it's possible to get a md5digest of a custom > property that only exist in memory, because > the stack has not been saved to disk yet. Yes. That value will be preserved through saving and opening. > So it could exist some way to get the md5digest > from a stack that exist only in memory > (and still has not been saved to disk). Even if you were to iterate through all properties, built-in and private, it won't be the same as that for the file. The file will have other overhead. That would be good check though. > > I believe that the engine uses a md5digest of > the stack to ask the user if wants to save > the stack loaded in memory before closing it. I don't know about this one. I know there have been attempts at that for the edited script. I have no reason to think that the internal form of a stack resembles that of the stack file. > I know about the secure mode, but it is a major > blocker. The stack could not write a text file > to disk or change the registry (all these > restrictions are fine), but when i try to put > text in the clipboard, to paste in another document > the clipboard is always empty!?!?!?. > I've tried this code, and many variations > without success: > > set the clipboarddata to localVariableZXC > > I'll like to be wrong about this, and that even in > secure mode, i could put data on the clipboard to > paste in a text editor, like notepad, but in my > side this is not possible or maybe i'm using the > wrong code. You might want to break this out into another query. I'm not familiar with this. >> Maybe you can create a small stack or plugin >> whose sole purpose is to create the md5Digest of >> stacks and related files. > > Looks like this is the solution, Great! > but this question > still remains unanswered: > > How could the engine get the md5digest of a > single part of a stack loaded in memory > (a custom property) and not from the whole > stack, that only exists in memory too???? From our scripting we don't have access to that memory. We have access to values which we can pull from properties. In Transcript we are hidden from (protected from) those raw details. I suppose it is possible for RunRev to make a function that does this, but it might have to save to a memory location and calculate on that. The stack includes information such as the length of the value of properties as well as the length of their names. It also has to associate properties with the right objects. This is more than just the value of the properties. At some point that needs to be organized as a sequence of bytes that the md5 needs. I do think that some kind of signing or checking for revOnline would be great. If added there, there might be some general IDE features added we can use. That might check for the md5 of a downloaded stack (file image) before opening it. Hey! What are you doing working? Don't you have festivities and/or worship to attend to on Christmas? Oh, I better go, too. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ps1 at softseven.org Sat Dec 25 12:30:49 2004 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 25 Dec 2004 11:30:49 -0600 Subject: CGI lib for Rev In-Reply-To: <41CD02F1.3020801@chipp.com> References: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> <41CD02F1.3020801@chipp.com> Message-ID: <6.1.1.1.2.20041225112617.0266be20@softseven.org> Has anyone did any thin with the CGI lib I downloaded it, but as yet have not did any thin with it. When I see it I though if there is any PHP lib. I prefer PHP as to CGI. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org http://ps1.softseven.org From marty at vertex.ucls.uchicago.edu Sat Dec 25 12:38:04 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Sat, 25 Dec 2004 11:38:04 -0600 (CST) Subject: Adventure Games with Revolution? In-Reply-To: <20041225165538.2096D930143@mail.runrev.com> References: <20041225165538.2096D930143@mail.runrev.com> Message-ID: > Alejandro Tejada > > >My students create games every quarter > > Wow! A whole class making Creative Multimedia!!! > > Could you publish some of these works of > your students? Am working on putting my curriculum together into a book, and will include student work. It's pretty impressive, considering these guys are in 8thy grade and only have one quarter (about 12 weeks) to learn Rev. > Did you check the stack Metatalk Programming > course created by Scott Raney? > This is an excellent example of courseware > made in this platform. Will do. Thanks for the pointer. > I feel compelled to ask, but is the University > of Chicago managing high schools too? Ummm....we're an N-12 school, founded by John Dewey over a century ago to explore new methods of teaching. We're more independent from the University than we used to be, but were never "managed" by them in the modern sense. We're less exploratory and more college prep than in days gone by, but still do some fun things with curriculum. www.ucls.uchicago.edu if you're interested. cheers, - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From ps1 at softseven.org Sat Dec 25 12:50:18 2004 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 25 Dec 2004 11:50:18 -0600 Subject: What's I doing wrong In-Reply-To: References: <20041225165538.2096D930143@mail.runrev.com> Message-ID: <6.1.1.1.2.20041225114013.0266c5f8@softseven.org> When I typed in "check" I get nothing about a check box. I want know how to test if there is a check in there or not. If there is I want one message displayed if no check is there I want a different message displayed. Then instructions will be carried out as to if the check exists or not. When searching for "check" all I got was "checkmark property " "check box" got nothing. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org http://ps1.softseven.org From tvogelaar at de-mare.nl Sat Dec 25 12:57:10 2004 From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare)) Date: Sat, 25 Dec 2004 18:57:10 +0100 Subject: CGI lib for Rev In-Reply-To: <6.1.1.1.2.20041225112617.0266be20@softseven.org> References: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> <41CD02F1.3020801@chipp.com> <6.1.1.1.2.20041225112617.0266be20@softseven.org> Message-ID: <665E82B4-569E-11D9-8626-000D93C854AC@de-mare.nl> Op 25-dec-04 om 18:30 heeft Paul Salyers het volgende geschreven: > Has anyone did any thin with the CGI lib I downloaded it, but as yet > have not did any thin with it. When I see it I though if there is any > PHP lib. I prefer PHP as to CGI. > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > http://ps1.softseven.org You prefer PHP? Not for long if you already know Revolution. I can imagine you prefer PHP above Perl CGI, but Perl is by far not the only programming language you can use. It can also be written in Rev's own language! You should take a look at Jacqueline's great tutorial at http://www.hyperactivesw.com/cgitutorial/index.html There are dozens of satisfied users of this CGI lib. And I am one of them. I made two content management systems based on CGI lib. Terry From ps1 at softseven.org Sat Dec 25 12:59:35 2004 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 25 Dec 2004 11:59:35 -0600 Subject: CGI lib for Rev In-Reply-To: <665E82B4-569E-11D9-8626-000D93C854AC@de-mare.nl> References: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> <41CD02F1.3020801@chipp.com> <6.1.1.1.2.20041225112617.0266be20@softseven.org> <665E82B4-569E-11D9-8626-000D93C854AC@de-mare.nl> Message-ID: <6.1.1.1.2.20041225115659.0266cd18@softseven.org> At 11:57 AM 12/25/2004, you wrote: >You prefer PHP? Not for long if you already know Revolution. I can imagine >you prefer PHP above Perl CGI, but Perl is by far not the only programming >language you can use. It can also be written in Rev's own language! > >You should take a look at Jacqueline's great tutorial at >http://www.hyperactivesw.com/cgitutorial/index.html > >There are dozens of satisfied users of this CGI lib. And I am one of them. >I made two content management systems based on CGI lib. > >Terry I'll look into it, but the reason I like PHP is because PHP is easy to set up and there is almost no cgi-bin folder to mess with no chmod. Also will Rev cgi use mysql? That is very important. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home From klaus at major-k.de Sat Dec 25 13:03:53 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 25 Dec 2004 19:03:53 +0100 Subject: What's I doing wrong In-Reply-To: <6.1.1.1.2.20041225114013.0266c5f8@softseven.org> References: <20041225165538.2096D930143@mail.runrev.com> <6.1.1.1.2.20041225114013.0266c5f8@softseven.org> Message-ID: <567DD5AC-569F-11D9-B3EB-000A27B49A96@major-k.de> Hi Paul > When I typed in "check" I get nothing about a check box. I want know > how to test if there is a check in there or not. If there is I want > one message displayed if no check is there I want a different message > displayed. > > Then instructions will be carried out as to if the check exists or not. > > When searching for "check" all I got was "checkmark property " > > "check box" got nothing. you need to check "the hilite" of that button... ... if the hilite of btn "my checkbox" = true then ## it it "checked" ## do something else ## it is NOT "checked" ## do something else... end if ... Hope that helps... > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > http://ps1.softseven.org Regards and merry christmas :-) Klaus Major klaus at major-k.de http://www.major-k.de From capellan2000 at yahoo.com Sat Dec 25 15:52:20 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 25 Dec 2004 12:52:20 -0800 (PST) Subject: setting the Clipboarddata under securemode In-Reply-To: <20041225165538.493A0930151@mail.runrev.com> Message-ID: <20041225205220.63749.qmail@web40502.mail.yahoo.com> Hi developers, How many of you had used the secure mode? When a RR player or standalone is using the securemode a stack could not write a text file to disk or change the registry (all these restrictions are fine), but when i try to put text in the clipboard, to paste in another document the clipboard is always empty!?!?!?. I've tried this code, and many variations without success: set the clipboarddata to localVariableZXC I'll like to be wrong about this, and that even in secure mode, i could put data on the clipboard to paste in a text editor, like Wordpad, but in my side this is not possible or maybe i'm using the wrong code. Could you test this on your side? Thanks in advance and Merry Christmas! al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From sanke at hrz.uni-kassel.de Sat Dec 25 16:08:31 2004 From: sanke at hrz.uni-kassel.de (sanke at hrz.uni-kassel.de) Date: Sat, 25 Dec 2004 22:08:31 +0100 Subject: Adventure Games with Revolution Message-ID: <1104008911.41cdd6cf5a521@www.uni-kassel.de> Marty Billingsley wrote: > My students create games every quarter Alejandro Tejada asked: > Wow! A whole class making Creative Multimedia!!! > (snip) > I feel compelled to ask, but is the University > of Chicago managing high schools too? Marty Billingsley answered: > Ummm....we're an N-12 school, founded by John Dewey > over a century ago to explore new methods of > teaching. We're more independent from the University > than we used to be, but were never "managed" by > them in the modern sense. We're less exploratory > and more college prep than in days gone by, but > still do some fun things with curriculum. > www.ucls.uchicago.edu if you're interested. > > cheers, > - marty > > Marty Billingsley (marty at ucls.uchicago.edu) > The University of Chicago Laboratory Schools May I add the remark that John Dewey, philosopher and educator (among his books "Democracy and Education"), who founded the Laboratory School in 1896, also developed - together with Kilpatrick - the "project method", applied now in schools around the world and especially in the U.S.A. In this sense Marty Billingsley with his "game projects" is acting in the best tradition of John Dewey and "progressive education" of which Dewey was a part. Concerning cooperation or symbiosis between universities and high schools that extend beyond "dual enrollment" there are quite a number of examples, among them "Boston University Academy", where the Vice-President of the university is principal of the high school at the same time (at least he was last time when I visited there). Also make a search for "Middle College Schools", which are meanwhile rather widespread. --Wilhelm Sanke -------------------------------------------------------- This mail sent through http://www.uni-kassel.de/www-mail From soapdog at mac.com Sat Dec 25 21:41:00 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 26 Dec 2004 00:41:00 -0200 Subject: CGI lib for Rev In-Reply-To: <6.1.1.1.2.20041225115659.0266cd18@softseven.org> References: <6.1.1.1.2.20041224184152.0271fb88@softseven.org> <6.1.1.1.2.20041224210355.0258ccd0@softseven.org> <41CD02F1.3020801@chipp.com> <6.1.1.1.2.20041225112617.0266be20@softseven.org> <665E82B4-569E-11D9-8626-000D93C854AC@de-mare.nl> <6.1.1.1.2.20041225115659.0266cd18@softseven.org> Message-ID: <943D05A0-56E7-11D9-8BEE-0003936D012E@mac.com> Paul, check the cgitutorial link, you'll be amazed with what you can do. Also check my CGI-Tool palette http://www.soapdog.org/rev/cgitool.rev which is a simple palette that will help you to upload and chmod all your files to the server, it works like a distribution builder for CGI's. Also knowing your chmods is a security issue and very important. The pallete will help uploading and setting perms for your cgis and for the libcgi itself. Have fun andre On Dec 25, 2004, at 3:59 PM, Paul Salyers wrote: > At 11:57 AM 12/25/2004, you wrote: >> You prefer PHP? Not for long if you already know Revolution. I can >> imagine you prefer PHP above Perl CGI, but Perl is by far not the >> only programming language you can use. It can also be written in >> Rev's own language! >> >> You should take a look at Jacqueline's great tutorial at >> http://www.hyperactivesw.com/cgitutorial/index.html >> >> There are dozens of satisfied users of this CGI lib. And I am one of >> them. I made two content management systems based on CGI lib. >> >> Terry > > > I'll look into it, but the reason I like PHP is because PHP is easy to > set up and there is almost no cgi-bin folder to mess with no chmod. > Also will Rev cgi use mysql? That is very important. > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > (918) 465-7426 -- Cell > (918) 967-1013 -- Home > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From frank at backtalk.com Sun Dec 26 06:40:27 2004 From: frank at backtalk.com (Frank Leahy) Date: Sun, 26 Dec 2004 11:40:27 +0000 Subject: Using Md5Digest on stacks loaded in memory In-Reply-To: <20041225165538.493A0930151@mail.runrev.com> References: <20041225165538.493A0930151@mail.runrev.com> Message-ID: On Dec 25, 2004, at 4:55 PM, use-revolution-request at lists.runrev.com wrote: > From: Alejandro Tejada > Subject: Using Md5Digest on stacks loaded in memory > To: use-revolution at lists.runrev.com > Message-ID: <20041225130857.46115.qmail at web40513.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > Hi Dar, > > Thanks a lot for answering this question. > > Dar Scott wrote: > >>> But, How could i get the md5Digest of a >>> stack loaded in memory? > >> I don't know if you can relate a stack in >> memory to an md5Digest created for a binary file. > > But, it's possible to get a md5digest of a custom > property that only exist in memory, because > the stack has not been saved to disk yet. > > So it could exist some way to get the md5digest > from a stack that exist only in memory > (and still has not been saved to disk). > Just a thought...I haven't tried it myself, but Is it possible that setting the custom property to store the MD5 digest is altering the stack so that the in-memory MD5 digest no longer matches the on-disk value? Have you tried getting the MD5 digest from the stack on disk, NOT setting the MD5 digest property, then seeing what the MD5 digest returns from the stack in memory? If they match, then you know that setting the MD5 digest property is disturbing the in-memory MD5 digest calculation. In that case you can probably 1) remove the MD5 digest property from the stack, 2) calc the MD5 digest of the on disk version, 3) store the MD5 digest custom property, 4) open the stack in memory, 5) remove the MD5 digest custom property, and 5) calc the MD5 digest of the in memory stack (minus the MD5 digest property). Regards, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From chipp at chipp.com Sun Dec 26 06:56:09 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 26 Dec 2004 03:56:09 -0800 Subject: function to calculate string length... Message-ID: <41CEA6D9.9040809@chipp.com> Looking for some help. I have a list field and want to add an elipsis (...) at the end of lines which are truncated and won't fit in the field. I was wondering if anyone out there may have a function to do this quickly? TIA, best, Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/2004 From chipp at chipp.com Sun Dec 26 07:21:54 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 26 Dec 2004 04:21:54 -0800 Subject: function to calculate string length... In-Reply-To: <41CEA6D9.9040809@chipp.com> References: <41CEA6D9.9040809@chipp.com> Message-ID: <41CEACE2.9030101@chipp.com> Well, I cobbled this together from some of the archives... Anyone see an obvious place to optimize? on formatFld pFldName, pTxt lock screen put the width of fld pFldName into tW set the width of fld "formatCheck" to tW repeat for each line L in pTxt put L into fld "formatCheck" put false into tIsTooLong repeat while the formattedwidth of fld "formatCheck" > tW delete last char of fld "formatCheck" put true into tIsTooLong end repeat if tIsTooLong is true then put fld "formatCheck" after tList delete char -5 to -1 of tList put "..." & cr after tList else put L & cr after tList end if end repeat delete last char of tList put tList into fld pFldName unlock screen end formatFld Chipp Walters wrote: > Looking for some help. > > I have a list field and want to add an elipsis (...) at the end of lines > which are truncated and won't fit in the field. I was wondering if > anyone out there may have a function to do this quickly? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/2004 From rev at armbase.com Sun Dec 26 07:59:27 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 26 Dec 2004 12:59:27 +0000 Subject: resize in browse mode Message-ID: <6.1.2.0.0.20041226125323.01a24d48@mail.armbase.com> Hi All. I think it is called browse mode. Here is what I want do do. I have a field in a stack that I want to resize (not is edit mode but in use mode). I want the end user to be able to resize it by dragging the corner of the field (say bottom right corner). In the documentation there is a command to alter the size of something but this is a defined size. I want the user to be able to create and arbitrary size of their own choosing but I cannot see the command. this will be called y pressing the alt or other key. I was think ing of something like this on mouseDown if the altKey is down then resize me end if end mouseDown Any ideas, I know it is simple but I get lost in the docs because I'm a bit thick :-) Cheers Bob PS happy Christmas from Scotland From gbojsza at gmail.com Sun Dec 26 08:14:57 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 26 Dec 2004 08:14:57 -0500 Subject: Passing CTRL characters Message-ID: <3d8af4150412260514126583c5@mail.gmail.com> It is possible to send or pass ctrl-c to openProcess or cmd window on Win XP? Thanks, Glen From gbojsza at gmail.com Sun Dec 26 08:24:09 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 26 Dec 2004 08:24:09 -0500 Subject: Example stack (storing external data) Message-ID: <3d8af415041226052444946299@mail.gmail.com> Though there have been many discussions around "how to store data" from a standalone application I have never found an example stack. I want to create a small application which contains several cards. On each card the user can build a network using some predefined graphics and store specific information (custom properties) about each graphic. For each network map the application will create a new card. Since you cannot store the information inside the stanalone stack an external stack (netmap.dat) needs to be maintained. I am looking for input as how it would best be managed. There is also the importance that the netmap.dat file be secure from prying eyes (not easily readable). Again, I appreciate everyone's thoughts. regards, Glen From Stgoldberg at aol.com Sun Dec 26 09:36:48 2004 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 26 Dec 2004 09:36:48 EST Subject: Parent-child relationship in Revolution Message-ID: I am a new user of Revolution and apologize for missing many of the past discussions. I hope someone can help with the following question, which I could not immediately find addressed in the documentation: Can I establish a "parent-child" relationship within Revolution in the following 2 situations: a. Can I arrange it so that while the program is running, the user can move a graphic and have another graphic follow along? b. Can I attach a button to a scrolling field such that the button scrolls along with the field? An advice would be greatly appreciated. Happy holidays to all. Stephen Goldberg From 3mcgrath at adelphia.net Sun Dec 26 13:52:08 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 26 Dec 2004 13:52:08 -0500 Subject: Parent-child relationship in Revolution In-Reply-To: References: Message-ID: <3E494808-576F-11D9-B70A-000A95DA60FA@adelphia.net> I don't know how others would do this but I would use a Custom Property to store the name of the 'child' graphic or whatever. Then via script move the child which ever way you want. If you it is relative move than store the 'move' coordinates and then move the child by that. Make a new custom property called CustPropChild (or whatever) and put the name of the child graphic into it. You might have to put quotes before and after the myChild. on moveMe put the CustPropChild of me into myChild put the loc of me into myLoc set the loc of graphic myChild to myLoc end moveMe on mouseUp moveMe end mouseUp Others will help you more but the Custom Prop is great for storing things like this associated with a particular graphic/field etc. Tom On Dec 26, 2004, at 9:36 AM, Stgoldberg at aol.com wrote: > I am a new user of Revolution and apologize for missing many of the > past > discussions. I hope someone can help with the following question, > which I could > not immediately find addressed in the documentation: Can I establish a > "parent-child" relationship within Revolution in the following 2 > situations: > a. Can I arrange it so that while the program is running, the user > can move > a graphic and have another graphic follow along? > b. Can I attach a button to a scrolling field such that the button > scrolls > along with the field? > An advice would be greatly appreciated. Happy holidays to all. > Stephen Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From frank at backtalk.com Sun Dec 26 14:07:58 2004 From: frank at backtalk.com (Frank Leahy) Date: Sun, 26 Dec 2004 19:07:58 +0000 Subject: function to calculate string length... In-Reply-To: <20041226170006.589CE93011B@mail.runrev.com> References: <20041226170006.589CE93011B@mail.runrev.com> Message-ID: <74D3D79A-5771-11D9-A88F-000A9580FCCE@backtalk.com> If you have strings that are much longer than the field size, then using a binary algorithm might be faster. Check the string length, if too big, then check the length of 1/2 the string, if too small, then check the length of 3/4 of the string, and so on until you get within a character or two. You could also take the width of a medium character, such as "n", and use that to get you to within a couple of chars of the correct length. -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Dec 26, 2004, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > From: Chipp Walters > Subject: Re: function to calculate string length... > To: chipp at chipp.com, How to use Revolution > > Message-ID: <41CEACE2.9030101 at chipp.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Well, I cobbled this together from some of the archives... > Anyone see an obvious place to optimize? From scott at tactilemedia.com Sun Dec 26 14:33:51 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 26 Dec 2004 11:33:51 -0800 Subject: Parent-child relationship in Revolution In-Reply-To: Message-ID: Recently, Stgoldberg at aol.com wrote: > Can I establish a > "parent-child" relationship within Revolution in the following 2 situations: > a. Can I arrange it so that while the program is running, the user can move > a graphic and have another graphic follow along? Enter the following in your message box: go url "http://www.tactilemedia.com/tmpanel.rev" Click the "Demo Stacks" link at the top and scroll down to Lemmings. The math in the demo stack is wrong but it illustrates the concept you're looking for. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Sun Dec 26 15:04:24 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 Dec 2004 13:04:24 -0700 Subject: Passing CTRL characters In-Reply-To: <3d8af4150412260514126583c5@mail.gmail.com> References: <3d8af4150412260514126583c5@mail.gmail.com> Message-ID: <571D4B3A-5779-11D9-9103-000A9567A3E6@swcp.com> On Dec 26, 2004, at 6:14 AM, Glen Bojsza wrote: > It is possible to send or pass ctrl-c to openProcess or cmd window on > Win XP? You can close the pipe pair (close the process), or you can kill with the kill command. I have a vague memory of the process lingering in open process after a close for a tiny bit, so you might want to wait before you kill it. Long, long ago I was able to create a scenario in which a process did not quit after close. I'm not sure if kill even worked from Revolution. You can try to send numToChar(3) down the pipe to the process, but it seems to me that didn't work. Maybe I'm wrong. It's an easy experiment to try. Maybe you have. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From gbojsza at gmail.com Sun Dec 26 15:24:59 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 26 Dec 2004 15:24:59 -0500 Subject: Passing CTRL characters In-Reply-To: <571D4B3A-5779-11D9-9103-000A9567A3E6@swcp.com> References: <3d8af4150412260514126583c5@mail.gmail.com> <571D4B3A-5779-11D9-9103-000A9567A3E6@swcp.com> Message-ID: <3d8af41504122612241bdb192a@mail.gmail.com> Hi Dar, I have been successful in the past killing open processes...I think I should have added the example of what I'm trying to do. I open a cmd window and then do a ping 192.168.254.300 which continually runs until you use a ctrl-c. This keeps the openprocess cmd available for other commands to be sent to it. So for not having elaborating more on this originally. Glen On Sun, 26 Dec 2004 13:04:24 -0700, Dar Scott wrote: > > On Dec 26, 2004, at 6:14 AM, Glen Bojsza wrote: > > > It is possible to send or pass ctrl-c to openProcess or cmd window on > > Win XP? > > You can close the pipe pair (close the process), or you can kill with > the kill command. > > I have a vague memory of the process lingering in open process after a > close for a tiny bit, so you might want to wait before you kill it. > > Long, long ago I was able to create a scenario in which a process did > not quit after close. I'm not sure if kill even worked from > Revolution. > > You can try to send numToChar(3) down the pipe to the process, but it > seems to me that didn't work. Maybe I'm wrong. It's an easy > experiment to try. Maybe you have. > > Dar > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Programming Services and Software > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dick.kriesel at mail.com Sun Dec 26 16:21:31 2004 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 26 Dec 2004 13:21:31 -0800 Subject: function to calculate string length... In-Reply-To: <41CEACE2.9030101@chipp.com> Message-ID: Chipp -- I'm not sure these opportunities to optimize are either obvious or significant for your application, but I'd welcome your assessment. -- for each excess character, execute a put into the field rather than a delete, because the delete involves both reading and writing the field -- for each line that has an excess character, append the shortened line to tList without reading the field -- execute fewer lines of code in each repeat loop -- refer to the field by number rather than by name -- obviate field "formatCheck" -- delete only enough characters to make the ellipsis fit -- execute no repeat loop if the field is too narrow for the ellipsis (Watch out for the email line wrapping.) on formatFld pFldName, pTxt lock screen put the number of field pFldName into tFieldNumber put the width of field tFieldNumber into tWidth put "..." into field tFieldNumber if the formattedWidth of field tFieldNumber > tWidth then put pTxt into field tFieldNumber else repeat for each line tLine in pTxt put tLine into field tFieldNumber if the formattedWidth of field tFieldNumber > tWidth then put (char 1 to -2 of tLine) & "..." into tLine repeat forever put tLine into field tFieldNumber if the formattedWidth of field tFieldNumber > tWidth then delete char -4 of tLine else exit repeat end repeat end if put tLine & cr after tList end repeat put char 1 to -2 of tList into field tFieldNumber end if unlock screen end formatFld Although it's beyond just optimizing the code, you could set the textStyle of the line that's too long to "condensed" before you start trimming characters. -- Dick On 12/26/04 4:21 AM, "Chipp Walters" wrote: > Well, I cobbled this together from some of the archives... > Anyone see an obvious place to optimize? > > on formatFld pFldName, pTxt > lock screen > put the width of fld pFldName into tW > set the width of fld "formatCheck" to tW > repeat for each line L in pTxt > put L into fld "formatCheck" > put false into tIsTooLong > repeat while the formattedwidth of fld "formatCheck" > tW > delete last char of fld "formatCheck" > put true into tIsTooLong > end repeat > if tIsTooLong is true then > put fld "formatCheck" after tList > delete char -5 to -1 of tList > put "..." & cr after tList > else > put L & cr after tList > end if > end repeat > delete last char of tList > put tList into fld pFldName > unlock screen > end formatFld > > > Chipp Walters wrote: >> Looking for some help. >> >> I have a list field and want to add an elipsis (...) at the end of lines >> which are truncated and won't fit in the field. I was wondering if >> anyone out there may have a function to do this quickly? > From rev at armbase.com Sun Dec 26 17:18:06 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 26 Dec 2004 22:18:06 +0000 Subject: resize in browse mode In-Reply-To: <6.1.2.0.0.20041226125323.01a24d48@mail.armbase.com> References: <6.1.2.0.0.20041226125323.01a24d48@mail.armbase.com> Message-ID: <6.1.2.0.0.20041226221650.01a28000@mail.armbase.com> At 12:59 26/12/2004, you wrote: >Hi All. > >I think it is called browse mode. Here is what I want do do. >I have a field in a stack that I want to resize (not is edit mode but in >use mode). >I want the end user to be able to resize it by dragging the corner of the >field (say bottom right corner). > > In the documentation there is a command to alter the size of something > but this is a defined size. I want the user to be able to create and > arbitrary size of their own choosing but I cannot see the command. > >this will be called by pressing the alt or other key. >I was thinking of something like this > >on mouseDown > if the altKey is down then > resize me > end if >end mouseDown I just tried on mouseDown if the controlKey is down then set the bottom of 1004 to me end if end mousedown No result yet. Still searching the docs and google... :-) Cheers Bob From kray at sonsothunder.com Sun Dec 26 17:45:10 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 26 Dec 2004 16:45:10 -0600 Subject: resize in browse mode In-Reply-To: <6.1.2.0.0.20041226125323.01a24d48@mail.armbase.com> Message-ID: On 12/26/04 6:59 AM, "Bob Hartley" wrote: > Hi All. > > I think it is called browse mode. Here is what I want do do. > I have a field in a stack that I want to resize (not is edit mode but in > use mode). > I want the end user to be able to resize it by dragging the corner of the > field (say bottom right corner). > > In the documentation there is a command to alter the size of something > but this is a defined size. I want the user to be able to create and > arbitrary size of their own choosing but I cannot see the command. > > this will be called y pressing the alt or other key. > I was think ing of something like this > > on mouseDown > if the altKey is down then > resize me > end if > end mouseDown Happy Christmas, Bob! Try this: on mouseStillDown if the altKey is down then put the rect of me into tRect put the mouseH into item 3 of tRect put the mouseV into item 4 of tRect set the rect of me to tRect end if end mouseStillDown This is kind of crude (i.e. it doesn't take into account the different in offset from the bottom-right of the field and the location of the mouse), but you get the idea. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jrosat at mac.com Sun Dec 26 17:51:56 2004 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 26 Dec 2004 23:51:56 +0100 Subject: How to add a value to an Item of a menu option button Message-ID: Bonjour ? tous, In my database, I've got a table with two fields and many records: Value Name 12 Name1 16 Name2 25 Name3 etc. On a card I created a menu option button with items come from the field Name of my database: Menu Items: Name1 Name2 Name3 etc. But when I select an option, I need to now the value of the item selected, not the item itself. For example, if I select "Name2", I need to know the value "16". How to add a value to an Item of a menu option button ? Thanks for your help. J?r?me Rosat From rev at armbase.com Sun Dec 26 18:10:59 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 26 Dec 2004 23:10:59 +0000 Subject: resize in browse mode In-Reply-To: References: <6.1.2.0.0.20041226125323.01a24d48@mail.armbase.com> Message-ID: <6.1.2.0.0.20041226230807.01ab2910@mail.armbase.com> At 22:45 26/12/2004, you wrote: >On 12/26/04 6:59 AM, "Bob Hartley" wrote: Hi Ken Happy Christmas >Happy Christmas, Bob! > >Try this: > >on mouseStillDown > if the altKey is down then > put the rect of me into tRect > put the mouseH into item 3 of tRect > put the mouseV into item 4 of tRect > set the rect of me to tRect > end if >end mouseStillDown Still no luck with this. I opened a new stack, created one text field (control-e to get to the script editor for the object) pasted in the code. Tyen I went back to browse and tried holding down ALT and dragging out the field. It didn't resize. Any alternative? Cheers Bob >This is kind of crude (i.e. it doesn't take into account the different in >offset from the bottom-right of the field and the location of the mouse), >but you get the idea. > > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Sun Dec 26 18:08:43 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 26 Dec 2004 17:08:43 -0600 Subject: resize in browse mode In-Reply-To: <6.1.2.0.0.20041226230807.01ab2910@mail.armbase.com> Message-ID: On 12/26/04 5:10 PM, "Bob Hartley" wrote: > At 22:45 26/12/2004, you wrote: >> On 12/26/04 6:59 AM, "Bob Hartley" wrote: > > Hi Ken > > Happy Christmas > > >> Happy Christmas, Bob! >> >> Try this: >> >> on mouseStillDown >> if the altKey is down then >> put the rect of me into tRect >> put the mouseH into item 3 of tRect >> put the mouseV into item 4 of tRect >> set the rect of me to tRect >> end if >> end mouseStillDown > > > Still no luck with this. > > I opened a new stack, created one text field (control-e to get to the > script editor for the object) pasted in the code. > > Tyen I went back to browse and tried holding down ALT and dragging out the > field. > > It didn't resize. Is the field open (i.e. you can type into it)? Because I tried this with the field locked (the lockText is true) and it worked for me. If the field is open, do you need to keep it open? If so, you'll need to overlay some object in the "resizing" area that you want in order to be able to trap the mouse doing down. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rev at armbase.com Sun Dec 26 18:13:55 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 26 Dec 2004 23:13:55 +0000 Subject: resize in browse mode In-Reply-To: References: <6.1.2.0.0.20041226125323.01a24d48@mail.armbase.com> Message-ID: <6.1.2.0.0.20041226231158.01aae5f8@mail.armbase.com> Hi Again Ken and others I meant to say that if I can get this one thing done I will be able to get on with my app. It is just the one thing I need at the moment. I like to test concepts in a modular way before diving in to the ful app.# Cheers Bob; Scotland > > In the documentation there is a command to alter the size of something > > but this is a defined size. I want the user to be able to create and > > arbitrary size of their own choosing but I cannot see the command. > > > > this will be called y pressing the alt or other key. > > I was think ing of something like this > > > > on mouseDown > > if the altKey is down then > > resize me > > end if > > end mouseDown > >Happy Christmas, Bob! > >Try this: > >on mouseStillDown > if the altKey is down then > put the rect of me into tRect > put the mouseH into item 3 of tRect > put the mouseV into item 4 of tRect > set the rect of me to tRect > end if >end mouseStillDown > >This is kind of crude (i.e. it doesn't take into account the different in >offset from the bottom-right of the field and the location of the mouse), >but you get the idea. > > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From claus at dreischer.de Sun Dec 26 18:11:40 2004 From: claus at dreischer.de (Claus Dreischer) Date: Mon, 27 Dec 2004 00:11:40 +0100 Subject: identify broken images In-Reply-To: References: Message-ID: Hi, i have a small problem i don't see a simple solution for. Maybe someone here has one. I want to display JPGs from file, so i make a put URL ("binfile:" & my_file) into image "im_1" This is working OK. But when the JPG in the filepath my_file is faulty (broken download or something) The above line displays an empty image "im_1". I now want to identify these faulty images. I tried the following with no result: if the imagedata of image "im_1" is not empty then ... if image "im_1" is not empty then ... if the length of image "im_1" > 0 then ... Has anyone an idea how to identify an "empty" image? (its not realy empty but nothing is displayed) Regards, Claus. From kray at sonsothunder.com Sun Dec 26 18:10:59 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 26 Dec 2004 17:10:59 -0600 Subject: How to add a value to an Item of a menu option button In-Reply-To: Message-ID: On 12/26/04 4:51 PM, "J?r?me Rosat" wrote: > Bonjour ? tous, > > In my database, I've got a table with two fields and many records: > > Value Name > > 12 Name1 > 16 Name2 > 25 Name3 > etc. > > On a card I created a menu option button with items come from the field > Name of my database: > Menu Items: > Name1 > Name2 > Name3 > etc. > > But when I select an option, I need to now the value of the item > selected, not the item itself. > For example, if I select "Name2", I need to know the value "16". > > How to add a value to an Item of a menu option button ? Yes. You can add a custom property (like uMenuValue) to the option button that contains the values, one on each line: 12 16 25 And then do this: on menuPick put line (the menuHistory of me) of the uMenuValue of me into tValue -- gets the corresponding line in the custom property to the line selected -- in the option menu -- do something with tValue end menuPick Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rev at armbase.com Sun Dec 26 18:21:10 2004 From: rev at armbase.com (Bob Hartley) Date: Sun, 26 Dec 2004 23:21:10 +0000 Subject: resize in browse mode In-Reply-To: References: <6.1.2.0.0.20041226230807.01ab2910@mail.armbase.com> Message-ID: <6.1.2.0.0.20041226231847.01ac0a08@mail.armbase.com> Hi Ken > > I opened a new stack, created one text field (control-e to get to the > > script editor for the object) pasted in the code. > > > > Tyen I went back to browse and tried holding down ALT and dragging out the > > field. > > > > It didn't resize. > >Is the field open (i.e. you can type into it)? Because I tried this with the >field locked (the lockText is true) and it worked for me. If the field is >open, do you need to keep it open? If so, you'll need to overlay some object >in the "resizing" area that you want in order to be able to trap the mouse >doing down. Yes the field needs to be open. It is for students to stick in text for their projects and they need the field to be resized so they can have many fields of different size and number in their card. cheers 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 >http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sun Dec 26 18:16:08 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 Dec 2004 16:16:08 -0700 Subject: Using Md5Digest on stacks loaded in memory In-Reply-To: References: <20041225165538.493A0930151@mail.runrev.com> Message-ID: <1FF6FEAC-5794-11D9-9103-000A9567A3E6@swcp.com> On Dec 26, 2004, at 4:40 AM, Frank Leahy wrote: > Just a thought...I haven't tried it myself, but Is it possible that > setting the custom property to store the MD5 digest is altering the > stack so that the in-memory MD5 digest no longer matches the on-disk > value? I didn't think of this scenario. I was picturing Alejandro trying to take the md5 of the one in memory. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From jrosat at mac.com Sun Dec 26 18:34:13 2004 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Mon, 27 Dec 2004 00:34:13 +0100 Subject: How to add a value to an Item of a menu option button In-Reply-To: References: Message-ID: Ken, Thank you very much. The answer appears so simple. You are a genius. J?r?me Rosat Le 27 d?c. 04, ? 00:10, Ken Ray a ?crit : > On 12/26/04 4:51 PM, "J?r?me Rosat" wrote: > >> Bonjour ? tous, >> >> In my database, I've got a table with two fields and many records: >> >> Value Name >> >> 12 Name1 >> 16 Name2 >> 25 Name3 >> etc. >> >> On a card I created a menu option button with items come from the >> field >> Name of my database: >> Menu Items: >> Name1 >> Name2 >> Name3 >> etc. >> >> But when I select an option, I need to now the value of the item >> selected, not the item itself. >> For example, if I select "Name2", I need to know the value "16". >> >> How to add a value to an Item of a menu option button ? > > Yes. You can add a custom property (like uMenuValue) to the option > button > that contains the values, one on each line: > > 12 > 16 > 25 > > And then do this: > > on menuPick > put line (the menuHistory of me) of the uMenuValue of me into tValue > -- gets the corresponding line in the custom property to the line > selected > -- in the option menu > > -- do something with tValue > end menuPick > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Sun Dec 26 19:13:33 2004 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 27 Dec 2004 00:13:33 +0000 Subject: UDP (datagram) socket usage. Message-ID: <41CF53AD.6060506@tweedly.net> I'm having a little bit of trouble with using UDP (datagram) sockets, and hope someone can tell me either what I'm missing, or an alternative way to do what I want. When I started using Rev, I ported over some of my very basic networking scripts, and thought I had got enough of them working to know what I was doing. Turns out there was one piece I missed, and I can't figure out how to do it in Rev. I did both server and client for TCP, and the "peer-to-peer style UDP", and I did the UDP server-side - but I never got around to doing the UDP client-side part of it (because for that I just used the program I already had set up and running on another machine that didn't have Rev on it). What I've always done for "client-server" style UDP is used a pair of adjacent port numbers - one for client->server, the other for server->client. I think you can often get away with just one - but using the pair means you can do much of your testing on a single machine. Server pseudo-code: > accept datagram connections on port "4567" with message "gotPacket" > on gotPacket pRemote, pData > put pRemote into pRemote > set the itemDel to ":" > add 1 to item 2 of pRemote > open datagram socket to pRemote > write "reply with " & param(2) to socket pRemote > close socket pRemote > end gotPacket Now the echo client version, using standard system calls, is simply > s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) > r = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) > > s.connect( (HOST,PORT) ) > > # get the source port allocated, and listen on adjacent one > reply_host, reply_port = s.getsockname() > reply_port += 1 > r.bind( (reply_host, reply_port) ) > > while 1 : > str = raw_input('type it') > s.send(str) > data = r.recv(1024) > print "Back came ", data > > s.close() Most of this translates simply into Rev - except I can't find the equivalent of getsockname(), which tells me the local IP address and port number which will be filled in as source addr, source port in the UDP packet. The server uses this to determine where to send its reply; source addr is, of course, just the IP address of the client machine (which I can get from hostAddress() once I have connected the socket) - but I don't see a way to find which source port will be chosen. Without that, I don't know which port to bind to in order to receive the server responses. Is there a way to find that ? Or, alternatively, is there a different way to set up a client-server UDP pair ? i.e. have a pre-defined port number used on the server, which is also configured in every client, but allocate the client ports dynamically. Thanks -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 22/12/2004 From kray at sonsothunder.com Sun Dec 26 19:26:16 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 26 Dec 2004 18:26:16 -0600 Subject: resize in browse mode In-Reply-To: <6.1.2.0.0.20041226231847.01ac0a08@mail.armbase.com> Message-ID: On 12/26/04 5:21 PM, "Bob Hartley" wrote: >> Is the field open (i.e. you can type into it)? Because I tried this with the >> field locked (the lockText is true) and it worked for me. If the field is >> open, do you need to keep it open? If so, you'll need to overlay some object >> in the "resizing" area that you want in order to be able to trap the mouse >> doing down. > > > Yes the field needs to be open. Ah, that's the problem. In order to trap the mouse going down, you'll need to do one of the following: 1) Temporarily lock the field by trapping the "mouseWithin" of the field, checking for the state of the alt (option) key and then unlocking the field when the mouse has been released (or moved out of the field); or 2) Create a separate object at the lower-right corner of the open field (perhaps a transparent button) that can act as a "resizer". This object would move along with the field as it is resized. Here's an example of the first: on mouseStillDown if the optionKey is down then put the rect of me into tRect put the mouseH into item 3 of tRect put the mouseV into item 4 of tRect set the rect of me to tRect end if end mouseStillDown on mouseWithin if the optionKey is down then if the lockText of me is false then set the lockText of me to true end if else if the lockText of me is true then set the lockText of me to false end if end if end mouseWithin Does this work for you? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Sun Dec 26 20:45:54 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 Dec 2004 18:45:54 -0700 Subject: UDP (datagram) socket usage. In-Reply-To: <41CF53AD.6060506@tweedly.net> References: <41CF53AD.6060506@tweedly.net> Message-ID: <0BCC1119-57A9-11D9-9103-000A9567A3E6@swcp.com> I have use the crossing pair before. This is handy in some environments for symmetry in both TCP and UDP. You usually can get symmetry with UDP without the crossed pair, but Revolution doesn't support that, the best I can tell. On Dec 26, 2004, at 5:13 PM, Alex Tweedly wrote: > Server pseudo-code: > >> accept datagram connections on port "4567" with message >> "gotPacket" > >> on gotPacket pRemote, pData >> put pRemote into pRemote >> set the itemDel to ":" >> add 1 to item 2 of pRemote There is a potential problem here. The socket designator might include a socket ID. >> open datagram socket to pRemote >> write "reply with " & param(2) to socket pRemote >> close socket pRemote >> end gotPacket > > Now the echo client version, using standard system calls, is simply > >> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) >> r = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) >> >> s.connect( (HOST,PORT) ) >> >> # get the source port allocated, and listen on adjacent one >> reply_host, reply_port = s.getsockname() >> reply_port += 1 >> r.bind( (reply_host, reply_port) ) >> >> while 1 : >> str = raw_input('type it') >> s.send(str) >> data = r.recv(1024) >> print "Back came ", data >> s.close() > > Most of this translates simply into Rev - except I can't find the > equivalent of getsockname(), which tells me the local IP address and > port number which will be filled in as source addr, source port in the > UDP packet. A weakness, in my opinion. But you can work around this. > The server uses this to determine where to send its reply; source addr > is, of course, just the IP address of the client machine (which I can > get from hostAddress() once I have connected the socket) - but I don't > see a way to find which source port will be chosen. Without that, I > don't know which port to bind to in order to receive the server > responses. > > Is there a way to find that ? shell()? > Or, alternatively, is there a different way to set up a client-server > UDP pair ? i.e. have a pre-defined port number used on the server, > which is also configured in every client, but allocate the client > ports dynamically. If you must have the crossing pair, simply send data to the corresponding port on the other side. Both sides will have source ports that are not known, but the destination ports will be known. But you don't need to use a crossing pair for a client server relationship. The server knows the port on the other end (pRemote, in your example). Simply reply to that. > ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From alex at tweedly.net Sun Dec 26 21:40:14 2004 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 27 Dec 2004 02:40:14 +0000 Subject: UDP (datagram) socket usage. In-Reply-To: <0BCC1119-57A9-11D9-9103-000A9567A3E6@swcp.com> References: <41CF53AD.6060506@tweedly.net> <0BCC1119-57A9-11D9-9103-000A9567A3E6@swcp.com> Message-ID: <41CF760E.2070407@tweedly.net> Dar Scott wrote: > > But you don't need to use a crossing pair for a client server > relationship. > > The server knows the port on the other end (pRemote, in your > example). Simply reply to that. Sorry, but I don't get it. The server can reply to pRemote easily - but how does the client receive that packet ? The client doesn't know the port number that appeared in pRemote, so he doesn't know the values he needs for an "accept". Thanks -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 22/12/2004 From dsc at swcp.com Sun Dec 26 22:07:09 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 Dec 2004 20:07:09 -0700 Subject: UDP (datagram) socket usage. In-Reply-To: <41CF760E.2070407@tweedly.net> References: <41CF53AD.6060506@tweedly.net> <0BCC1119-57A9-11D9-9103-000A9567A3E6@swcp.com> <41CF760E.2070407@tweedly.net> Message-ID: <65B4BED2-57B4-11D9-9103-000A9567A3E6@swcp.com> On Dec 26, 2004, at 7:40 PM, Alex Tweedly wrote: >> The server knows the port on the other end (pRemote, in your >> example). Simply reply to that. > > Sorry, but I don't get it. > > The server can reply to pRemote easily - but how does the client > receive that packet ? > The client doesn't know the port number that appeared in pRemote, so > he doesn't know the values he needs for an "accept". Sorry about that. I was confused about this originally, too. The docs don't help. And it being unlike the TCP comm, confuses it, too. When you 'open datagram socket', specify a callback. The callback is NOT for completion of the open. That completes immediately. It is for the incoming packets, the responses. The slight minus is that there is no way to squelch input. The big plus is that you don't loose data. Some UDP client-server transactions are short-lived. The server sends one datagram back and closes. The client receives one one response datagram and closes. (If this doesn't fit your model, we can get more into it.) Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From drothe at optusnet.com.au Sun Dec 26 22:16:28 2004 From: drothe at optusnet.com.au (D.Rothe) Date: Mon, 27 Dec 2004 13:16:28 +1000 Subject: Setting more than 1 textStyle Message-ID: <003101c4ebc2$76336900$66fe1dd3@p4c2ghz> Setting more than 1 textStyle With the following script it obviously sets the hilited word of a field to the chosen style. Select another style and it resets the word to plain text before applying the new style! How can I set the hilited word to more than one textStyle.... e.g Bold, Italic & Underlined or what ever combination? Is there a way to lock the text first or ??????????????? on menuPick pWhich set the label of me to pWhich switch pWhich case "Plain" set the textStyle of the hilitedText to "plain" break case "Bold" set the textStyle of the hilitedText to "bold" break case "Italic" set the textStyle of the hilitedText to "italic" break case "Underline" set the textStyle of the hilitedText to "underline" break end switch end menuPick Thanx to all replies......Dwayne R p.s 1 other question, why does the text overflow onto the selection arrow of an option menu if the text is longer than the button is wide? Try it out, load your fonts into a option menu (width 100). Yeah sure you can make the button wider but some imported font names are ridiculously long e.g (Do Not Eat This Fat Italic). Cheers... From drothe at optusnet.com.au Sun Dec 26 22:57:06 2004 From: drothe at optusnet.com.au (D.Rothe) Date: Mon, 27 Dec 2004 13:57:06 +1000 Subject: Identifying text attributes Message-ID: <000a01c4ebc8$22b106b0$66fe1dd3@p4c2ghz> How to identify text attributes? Is it possible to identify the style attributes of a selected word in a field, like in most word processors, when you hilite some text the font name, size & style is shown in a menu? This would be on the user side not edit. cheers..... From kray at sonsothunder.com Mon Dec 27 01:10:21 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 27 Dec 2004 00:10:21 -0600 Subject: Identifying text attributes In-Reply-To: <000a01c4ebc8$22b106b0$66fe1dd3@p4c2ghz> Message-ID: On 12/26/04 9:57 PM, "D.Rothe" wrote: > How to identify text attributes? > Is it possible to identify the style attributes of a selected word in a field, > like in most word processors, when you hilite some text the font name, size & > style is shown in a menu? This would be on the user side not edit. Yes, you can get the textFont, textSize, textStyle, etc. of the selectedChunk. Check the entry for "textStyle" in the docs to find out how to handle multiple text styles in the selection... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Dec 27 01:15:04 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 27 Dec 2004 00:15:04 -0600 Subject: Setting more than 1 textStyle In-Reply-To: <003101c4ebc2$76336900$66fe1dd3@p4c2ghz> Message-ID: On 12/26/04 9:16 PM, "D.Rothe" wrote: > Setting more than 1 textStyle > With the following script it obviously sets the hilited word of a field to the > chosen style. Select another style and it resets the word to plain text before > applying the new style! > How can I set the hilited word to more than one textStyle.... e.g Bold, Italic > & Underlined or what ever combination? > Is there a way to lock the text first or ??????????????? No, you get the textStyle of the selection, and then add another style to make a combination. For example, if the textStyle if "plain", you replace it with "bold", "italic", etc. If it is something other than "plain", you add it with a comma between: "bold,italic", "italic,underline", "bold,italic,underline", etc. See the docs for the entry on "textStyle" for more information. > p.s 1 other question, why does the text overflow onto the selection arrow of > an option menu if the text is longer than the button is wide? Try it out, load > your fonts into a option menu (width 100). Yeah sure you can make the button > wider but some imported font names are ridiculously long e.g (Do Not Eat This > Fat Italic). Personally, I think this is a bug... but you can compare the formattedWidth of the option button with the width of the optionButton to see if it is larger. If so, you can start removing characters from the end until it fits. Rev is fast enough to do this (even though it's laborious) so your user won't see the changes (especially if it's under locktext), but personally this should be handled automatically by Rev. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rev at armbase.com Mon Dec 27 03:51:11 2004 From: rev at armbase.com (Bob Hartley) Date: Mon, 27 Dec 2004 08:51:11 +0000 Subject: resize in browse mode In-Reply-To: References: <6.1.2.0.0.20041226231847.01ac0a08@mail.armbase.com> Message-ID: <6.1.2.0.0.20041227084927.0037e530@mail.armbase.com> Hi Ken and others This works partly >Ah, that's the problem. In order to trap the mouse going down, you'll need >to do one of the following: > >1) Temporarily lock the field by trapping the "mouseWithin" of the field, >checking for the state of the alt (option) key and then unlocking the field >when the mouse has been released (or moved out of the field); or > >2) Create a separate object at the lower-right corner of the open field >(perhaps a transparent button) that can act as a "resizer". This object >would move along with the field as it is resized. > >Here's an example of the first: > >on mouseStillDown > if the optionKey is down then > put the rect of me into tRect > put the mouseH into item 3 of tRect > put the mouseV into item 4 of tRect > set the rect of me to tRect > end if >end mouseStillDown > >on mouseWithin > if the optionKey is down then > if the lockText of me is false then > set the lockText of me to true > end if > else > if the lockText of me is true then > set the lockText of me to false > end if > end if >end mouseWithin > >Does this work for you? Almost. It works for the action I saught but it now stops the earlier grab action to move the field with control held (It will resize with alt) The full ascript is on mouseDown if the controlKey is down then grab me end if end mouseDown if the optionKey is down then put the rect of me into tRect put the mouseH into item 3 of tRect put the mouseV into item 4 of tRect set the rect of me to tRect end if end mouseStillDown on mouseWithin if the optionKey is down then if the lockText of me is false then set the lockText of me to true end if else if the lockText of me is true then set the lockText of me to false end if end if end mouseWithin cheers 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 >http://lists.runrev.com/mailman/listinfo/use-revolution From rev at armbase.com Mon Dec 27 06:11:33 2004 From: rev at armbase.com (Bob Hartley) Date: Mon, 27 Dec 2004 11:11:33 +0000 Subject: resize in browse mode In-Reply-To: <6.1.2.0.0.20041227084927.0037e530@mail.armbase.com> References: <6.1.2.0.0.20041226231847.01ac0a08@mail.armbase.com> <6.1.2.0.0.20041227084927.0037e530@mail.armbase.com> Message-ID: <6.1.2.0.0.20041227110451.01aa5e60@mail.armbase.com> At 08:51 27/12/2004, you wrote: >Hi Ken and others > >This works partly Ahh now Ken, I misunderstood you regarding the writable nature of the field. I thought that you meant "would the field be written to in future and then resized". Well yes written to and NO not intended to be resized, however, the solution you gave is actually better than I had envisaged so I'll stick with this >>I can move the field and resize it empty but only resize it when written to. >> >>I can have this as a "feature" :-) IE the user makes the template and >>clones this per data entry. They cannot move the fields once the template >>has been created, BUT can slightly resize them to tweak the look of >>individual records. >> >>I'm off for a break until the 5th Jan to www.burghead.com and will get >>into it on return. While I'm up there I will finalise the plan of the >>application. >> >>You have been a great help. >> >>All the best >>Bob >> >>Here's an example of the first: >> >>on mouseStillDown >> if the optionKey is down then >> put the rect of me into tRect >> put the mouseH into item 3 of tRect >> put the mouseV into item 4 of tRect >> set the rect of me to tRect >> end if >>end mouseStillDown >> >>on mouseWithin >> if the optionKey is down then >> if the lockText of me is false then >> set the lockText of me to true >> end if >> else >> if the lockText of me is true then >> set the lockText of me to false >> end if >> end if >>end mouseWithin >> >>Does this work for you? > > >Almost. > >It works for the action I saught but it now stops the earlier grab action >to move the field with control held (It will resize with alt) > >The full ascript is >on mouseDown > if the controlKey is down then > grab me > end if >end mouseDown > if the optionKey is down then > put the rect of me into tRect > put the mouseH into item 3 of tRect > put the mouseV into item 4 of tRect > set the rect of me to tRect > end if >end mouseStillDown > >on mouseWithin > if the optionKey is down then > if the lockText of me is false then > set the lockText of me to true > end if > else > if the lockText of me is true then > set the lockText of me to false > end if > end if >end mouseWithin > >cheers >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 >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From rev at armbase.com Mon Dec 27 06:14:20 2004 From: rev at armbase.com (Bob Hartley) Date: Mon, 27 Dec 2004 11:14:20 +0000 Subject: resize in browse mode Message-ID: <6.1.2.0.0.20041227111325.019f0408@mail.armbase.com> On 27/12/2004 11:11:33, How to use Revolution (use-revolution at lists.runrev.com) wrote: > At 08:51 27/12/2004, you wrote: OK the formatting of this mail went askew should be > >Hi Ken and others > > > >This works partly > > > Ahh now Ken, I misunderstood you regarding the writable nature of the > field. > > I thought that you meant > "would the field be written to in future and then > resized". Well yes > written to and NO not intended to be resized, however, > the solution you gave is actually better than I had envisaged so I'll stick > with this > > I can move the field and resize it empty but only resize it when written to. > > I can have this as a "feature" :-) IE the user makes the template and > clones this per data entry. They cannot move the fields once the template > has been created, BUT can slightly resize them to tweak the look of > individual records. > etc cheers bob From klaus at major-k.de Mon Dec 27 06:57:40 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 27 Dec 2004 12:57:40 +0100 Subject: identify broken images In-Reply-To: References: Message-ID: <82A6031D-57FE-11D9-B58B-000A27B49A96@major-k.de> Hi Claus, alles frisch? :-) > Hi, > > i have a small problem i don't see a simple solution for. > Maybe someone here has one. > I want to display JPGs from file, so i make a > > put URL ("binfile:" & my_file) into image "im_1" > > This is working OK. > But when the JPG in the filepath my_file is faulty (broken download or > something) > The above line displays an empty image "im_1". > > I now want to identify these faulty images. > I tried the following with no result: > > if the imagedata of image "im_1" is not empty then ... > if image "im_1" is not empty then ... > if the length of image "im_1" > 0 then ... > > Has anyone an idea how to identify an "empty" image? > (its not realy empty but nothing is displayed) I don't think there is a built-in solution for this problem... A long time ago i godzillad this issue, since you even can: set the filename of img 1 to "../folder/word.DOC" without problem, the result is empty! ...and you end with a lovely grey image :-( But somehow the RR crew did not (want to?) understand this issue and closed it!!! See bug 762, marked as "Resolved/Not a bug"... And the workaround does NOT work! The formattedheight/-width does NOT report 0!!!!! (But sometimes i am NOT in the mood to "fight for my right to paaaaaaaarty!" :-) There may be a chance to use Trevor's QuickTime External to check if QT can open that file but that may not help, if you are on *NIX or cannot use QT for whatever reason... Sorry for the bad news... > Regards, > Claus. Best Klaus Major klaus at major-k.de http://www.major-k.de From thierry.arbellot at wanadoo.fr Mon Dec 27 07:03:42 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon, 27 Dec 2004 13:03:42 +0100 Subject: identify broken images In-Reply-To: Message-ID: <5A63A93C-57FF-11D9-9E9B-000A27E40768@wanadoo.fr> Hi, Have you tried the size property on the image ? if the size of image "im_1" = 0 then ... Thierry On Monday, Dec 27, 2004, at 00:11 Europe/Paris, Claus Dreischer wrote: > Hi, > > i have a small problem i don't see a simple solution for. > Maybe someone here has one. > > I want to display JPGs from file, so i make a > > put URL ("binfile:" & my_file) into image "im_1" > > This is working OK. > But when the JPG in the filepath my_file is faulty (broken download or > something) > The above line displays an empty image "im_1". > > I now want to identify these faulty images. > I tried the following with no result: > > if the imagedata of image "im_1" is not empty then ... > > if image "im_1" is not empty then ... > > if the length of image "im_1" > 0 then ... > > > Has anyone an idea how to identify an "empty" image? > (its not realy empty but nothing is displayed) > > > Regards, > Claus. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Mon Dec 27 07:17:49 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 27 Dec 2004 13:17:49 +0100 Subject: identify broken images In-Reply-To: <5A63A93C-57FF-11D9-9E9B-000A27E40768@wanadoo.fr> References: <5A63A93C-57FF-11D9-9E9B-000A27E40768@wanadoo.fr> Message-ID: <52EA9C60-5801-11D9-B58B-000A27B49A96@major-k.de> Bon jour Thierry, > Hi, > > Have you tried the size property on the image ? > if the size of image "im_1" = 0 then ... c'est merveilleux!!!! Great idea, works fine, thanks a lot!!! Although i am the other Klaus (with a "K") i appreciate this nice and clean solution, too ;-) > Thierry Au revoir Klaus Major klaus at major-k.de http://www.major-k.de From thierry.arbellot at wanadoo.fr Mon Dec 27 07:51:52 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon, 27 Dec 2004 13:51:52 +0100 Subject: identify broken images In-Reply-To: <52EA9C60-5801-11D9-B58B-000A27B49A96@major-k.de> Message-ID: <1498E0D8-5806-11D9-9E9B-000A27E40768@wanadoo.fr> On Monday, Dec 27, 2004, at 13:17 Europe/Paris, Klaus Major wrote: > Bonjour Thierry, Guten Tag Klaus, > >> Hi, >> >> Have you tried the size property on the image ? >> if the size of image "im_1" = 0 then ... > > c'est merveilleux!!!! > > Great idea, works fine, thanks a lot!!! > > Although i am the other Klaus (with a "K") i appreciate this nice and > clean solution, too ;-) This is my Christmas present for you ;-) > Au revoir Auf Wiedersehen Thierry From claus at dreischer.de Mon Dec 27 07:53:03 2004 From: claus at dreischer.de (Claus Dreischer) Date: Mon, 27 Dec 2004 13:53:03 +0100 Subject: identify broken images In-Reply-To: <5A63A93C-57FF-11D9-9E9B-000A27E40768@wanadoo.fr> References: <5A63A93C-57FF-11D9-9E9B-000A27E40768@wanadoo.fr> Message-ID: >Hi, > >Have you tried the size property on the image ? >if the size of image "im_1" = 0 then ... > >Thierry Hi Thierry, yes, i tried it now: :-( doesn't work either. Thanks for the answer, Claus. -- -- http://www.danasoft.com/sig/dsagsdg.jpg From tsalagi at elohigadugi.org Mon Dec 27 11:05:18 2004 From: tsalagi at elohigadugi.org (duane poncy) Date: Mon, 27 Dec 2004 08:05:18 -0800 Subject: Arrow keys on background list field Message-ID: <20041227080518633274.GyazMail.tsalagi@elohigadugi.org> I need some help on my Cherokee Dictionary project. I have my entries on separate cards and a scroll list field of dictionary entries on a background group. Everything works fine when I use my find field or when i click on the entry directly. The problem comes when I try to use the arrow keys to move up or down on the list. I am guessing that is because each time I change my selection I am moving to a new card. I have tried to change the hilighted line on the new card with a handler, but this doesn't seem to work either. Also, the arrow key seems to bring up the last card I was on, instead of the next card on the list. Sometimes it even brings up the Rev Documentation stack if I've been using that recently. Thanks for any help you can give me! visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- From ps1 at softseven.org Mon Dec 27 11:50:32 2004 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 27 Dec 2004 10:50:32 -0600 Subject: Arrow keys on background list field In-Reply-To: <20041227080518633274.GyazMail.tsalagi@elohigadugi.org> References: <20041227080518633274.GyazMail.tsalagi@elohigadugi.org> Message-ID: <6.1.1.1.2.20041227104712.02746bb0@softseven.org> How do I get a card to pull up a image from my image card. The image card has 12 images, but I want be able to pull any image into a different card when wanted. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org http://ps1.softseven.org From chipp at chipp.com Mon Dec 27 12:19:02 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 27 Dec 2004 09:19:02 -0800 Subject: Putting Images In-Reply-To: <6.1.1.1.2.20041227104712.02746bb0@softseven.org> References: <20041227080518633274.GyazMail.tsalagi@elohigadugi.org> <6.1.1.1.2.20041227104712.02746bb0@softseven.org> Message-ID: <41D04406.902@chipp.com> try this: put img "myImageNumber3" of card "CardFullOfImages" into img "myImage" -Chipp Paul Salyers wrote: > > > > How do I get a card to pull up a image from my image card. The image > card has 12 images, but I want be able to pull any image into a > different card when wanted. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/2004 From tsalagi at elohigadugi.org Mon Dec 27 12:40:54 2004 From: tsalagi at elohigadugi.org (duane poncy) Date: Mon, 27 Dec 2004 09:40:54 -0800 Subject: revMail, revGoURL Message-ID: <20041227094054345791.GyazMail.tsalagi@elohigadugi.org> I'm sure I must be doing something stupid, but I am trying to put an email link in my menu. I have tried both revMail and revGoURL. Instead of opening my email program, it opens my browser to an http address followed by my mailto address. Other links (on websites, programs, etc.) open correctly, so it's not my system settings. I am on a Mac G4 with OSX. Any ideas? visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- From thierry.arbellot at wanadoo.fr Mon Dec 27 12:51:50 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon, 27 Dec 2004 18:51:50 +0100 Subject: revMail, revGoURL In-Reply-To: <20041227094054345791.GyazMail.tsalagi@elohigadugi.org> Message-ID: Hi, If you use rev 2.5, this bug has been fixed. You should run "check for updates" from the "help" menu. Thierry On Monday, Dec 27, 2004, at 18:40 Europe/Paris, duane poncy wrote: > I'm sure I must be doing something stupid, but I am > trying to put an email link in my menu. I have tried > both revMail and revGoURL. Instead of opening my > email program, it opens my browser to an http address > followed by my mailto address. Other links (on > websites, programs, etc.) open correctly, so it's > not my system settings. > > I am on a Mac G4 with OSX. Any ideas? > > visit elohi gadugi: poetry, software, > Cherokee culture and Native American rights. > http://elohigadugi.org/ > > -------------------------------------------------------- > Another world is not only possible, she is on her way. > On a quiet day, I can hear her breathing. - Arundhati Roy > --------------------------------------------------------- From capellan2000 at yahoo.com Mon Dec 27 13:38:11 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 27 Dec 2004 10:38:11 -0800 (PST) Subject: identify broken images In-Reply-To: <20041227170024.8F96F9300D7@mail.runrev.com> Message-ID: <20041227183811.48680.qmail@web40528.mail.yahoo.com> on Mon, 27 Dec 2004 Claus Dreischer signed his e-mail with the following link: Very nice example of graphic processing in the server! What are the steps to achieve this? Thanks in advance! al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From nrkweto03 at hotmail.com Mon Dec 27 16:57:46 2004 From: nrkweto03 at hotmail.com (Nicolas Cueto) Date: Tue, 28 Dec 2004 06:57:46 +0900 Subject: Arrow keys on background list field References: <20041227080518633274.GyazMail.tsalagi@elohigadugi.org> Message-ID: What I think is happening is that, each time a new card comes up, the "focus" is no longer on the scroll list field and thus the "arrowKey" message is being handled by another object. The solution, I imagine, is to insert some script lines somewhere (the card? the stack?) that use Rev's "focus", "arrowKey" and "focusedObject" to ensure the scroll list field always receives the "arrowKey" message. Cheers, Nicolas Cueto (Japan) From webmaster at dreamscapesoftware.com Mon Dec 27 17:10:10 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 27 Dec 2004 16:10:10 -0600 Subject: identify broken images References: <5A63A93C-57FF-11D9-9E9B-000A27E40768@wanadoo.fr> Message-ID: <007d01c4ec60$d5e97940$cf04113f@DOWNSTAIRS> The "size" property of an image will only return a value if the image has been imported into Revolution and is not a "referenced" image. If it is a "referenced" image then Rev will always report "0". Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Mon Dec 27 17:22:45 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 27 Dec 2004 16:22:45 -0600 Subject: identify broken images References: Message-ID: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> I did notice that compairing the "imagePixmapID" is giving me clues to solve the problem. If the image is a "referenced" image, and it is broken, it seems to be reporting empty. If the image is not "referenced", and it is broken, the imagePixmapID is reporting a negative number. Is this what your looking for... if (the imagePixmapID of img "test") is empty then answer "This image is broken and unreadable." exit to top end if Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From drothe at optusnet.com.au Mon Dec 27 17:33:43 2004 From: drothe at optusnet.com.au (D.Rothe) Date: Tue, 28 Dec 2004 08:33:43 +1000 Subject: use-revolution Digest, Vol 15, Issue 76 References: <20041227170024.951FB93008C@mail.runrev.com> Message-ID: <000d01c4ec64$20aadd90$b1f6a4cb@p4c2ghz> Thanx I found the answer in the docs.... for eac case I used the following code; worked perfectly ;?) case "Bold" if the textStyle of the hilitedText is empty then set the textStyle of the hilitedText to "bold" else set the textStyle of the hilitedText to \ (the textStyle of the hilitedText) & comma & "bold" end if thanx............. ----- Original Message ----- > Message: 5 > Date: Mon, 27 Dec 2004 00:10:21 -0600 > From: Ken Ray > Subject: Re: Identifying text attributes > To: Use Revolution List > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 12/26/04 9:57 PM, "D.Rothe" wrote: > > > How to identify text attributes? > > Is it possible to identify the style attributes of a selected word in a field, > > like in most word processors, when you hilite some text the font name, size & > > style is shown in a menu? This would be on the user side not edit. > > Yes, you can get the textFont, textSize, textStyle, etc. of the > selectedChunk. Check the entry for "textStyle" in the docs to find out how > to handle multiple text styles in the selection... > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > ------------------------------ From claus at dreischer.de Mon Dec 27 18:49:20 2004 From: claus at dreischer.de (Claus Dreischer) Date: Tue, 28 Dec 2004 00:49:20 +0100 Subject: identify broken images In-Reply-To: <20041227183811.48680.qmail@web40528.mail.yahoo.com> References: <20041227183811.48680.qmail@web40528.mail.yahoo.com> Message-ID: At 10:38 Uhr -0800 27.12.2004, Alejandro Tejada wrote: >on Mon, 27 Dec 2004 >Claus Dreischer signed his e-mail with >the following link: > > > >Very nice example of graphic processing >in the server! >What are the steps to achieve this? > >Thanks in advance! > >al ooopsi, i forgot to remove the sig. That's not mine, i ... aeh .. borrowed it from someone ... From Cubist at aol.com Mon Dec 27 19:07:03 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 27 Dec 2004 19:07:03 EST Subject: Arrow keys on background list field Message-ID: <1f0.31fe9f50.2f01fda7@aol.com> sez tsalagi at elohigadugi.org: >I need some help on my Cherokee Dictionary project. >I have my entries on separate cards and a scroll list >field of dictionary entries on a background group. >Everything works fine when I use my find field or >when i click on the entry directly. The problem comes >when I try to use the arrow keys to move up or down >on the list. I am guessing that is because each time >I change my selection I am moving to a new card. >I have tried to change the hilighted line >on the new card with a handler, but this doesn't >seem to work either. > >Also, the arrow key seems to bring up the last >card I was on, instead of the next card on the list. >Sometimes it even brings up the Rev Documentation >stack if I've been using that recently. Seems to me that trapping for the "keyDown" message, or perhaps "arrowKey", might be helpful here. Something along these lines should do what you want: on keyDown Diskey put the hilitedLine of me into CurrentLine switch DisKey case "left" # if you want the left arrow to behave the same as the up arrow, # remove all the code from this 'fork' of the switch put 1 into NextLine break case "up" # note: i don't recall the precise syntax for the value of "the hilitedLine", # so you may need to tweak the line immediately after this comment put max ((CurrentLine - 1), the number of lines in me) into NextLine break case "right" # see comment for the "left" fork of this switch put the number of lines in me into NextLine case "down" # same caveat as for "up" put min ((CurrentLine + 1), the number of lines in me) into NextLine break default # this fork of the switch covers everything *but* arrow keys. # do as you please with them end switch if CurrentLine = NextLine then # the user is trying to scroll back to before the first line, # or else to scroll past the last line. BAD user! beep 2 else # let the user scroll normally set the hilitedline of me to NextLine if DisKey is in "left up" then go prev card else go next card end if end if end keyDown That handler has not been tested, but its underlying logic (if not its *syntax*...) should be okay. Hope this helps... From claus at dreischer.de Mon Dec 27 19:41:20 2004 From: claus at dreischer.de (Claus Dreischer) Date: Tue, 28 Dec 2004 01:41:20 +0100 Subject: identify broken images In-Reply-To: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> References: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> Message-ID: At 16:22 Uhr -0600 27.12.2004, Derek Bump wrote: >I did notice that compairing the "imagePixmapID" is giving me clues >to solve the problem. If the image is a "referenced" image, and it >is broken, it seems to be reporting empty. If the image is not >"referenced", and it is broken, the imagePixmapID is reporting a >negative number. Is this what your looking for... > >if (the imagePixmapID of img "test") is empty then > answer "This image is broken and unreadable." > exit to top >end if > > >Derek Bump Hi Derek, THAT'S exactly what i was looking for! Thank you. Now, how can this information come back to bug 762? Klaus? Can you put this solution/information there so that other people can find it? Once again, thanks Derek. Regards, Claus. (the tall one ;) From ps1 at softseven.org Mon Dec 27 19:53:08 2004 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 27 Dec 2004 18:53:08 -0600 Subject: MP3 VS MP4 In-Reply-To: References: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> Message-ID: <6.1.1.1.2.20041227185129.026b4238@softseven.org> I heard there was a better sound format called MP4. Anyone know any thing about this for sure? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org http://ps1.softseven.org From mpetrides at earthlink.net Mon Dec 27 20:07:12 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 27 Dec 2004 20:07:12 -0500 Subject: MP3 VS MP4 In-Reply-To: <6.1.1.1.2.20041227185129.026b4238@softseven.org> References: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> <6.1.1.1.2.20041227185129.026b4238@softseven.org> Message-ID: Paul, Not sure this is what you are referring to, but iTunes music store downloads have an extension of .m4p These files are "protected AAC" file, i.e. encrypted Advanced Audio Coding format files. Unencrypted AAC files have an extension of .m4a A google search on AAC yielded the following info: First: http://www.apple.com/mpeg4/aac/ has a lot of background information and a PDF file MPEG-4 Fact Sheet. Second: the following excerpt comes from: http://www.vialicensing.com/products/mpeg4aac/standard.html Advanced Audio Coding (AAC) is a wideband audio coding algorithm that exploits two primary coding strategies to dramatically reduce the amount of data needed to convey high-quality digital audio. First, signal components that are "perceptually irrelevant" and can be discarded without a perceived loss of audio quality are removed. Next, redundancies in the coded audio signal are eliminated. Efficient audio compression is achieved by a variety of perceptual audio coding and data compression tools, which are combined in the MPEG-4 AAC specification. The MPEG-4 AAC standard incorporates MPEG-2 AAC, forming the basis of the MPEG-4 audio compression technology for data rates above 32 kbps per channel. Additional tools increase the effectiveness of AAC at lower bit rates, and add scalability or error resilience characteristics. These additional tools extend AAC into its MPEG-4 incarnation (ISO/IEC 14496-3, Subpart 4). HTH. Marian On Dec 27, 2004, at 7:53 PM, Paul Salyers wrote: > > > > I heard there was a better sound format called MP4. Anyone know any > thing about this for sure? > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > http://ps1.softseven.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ps1 at softseven.org Mon Dec 27 20:42:42 2004 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 27 Dec 2004 19:42:42 -0600 Subject: MP3 VS MP4 In-Reply-To: References: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> <6.1.1.1.2.20041227185129.026b4238@softseven.org> Message-ID: <6.1.1.1.2.20041227194018.0277e350@softseven.org> I had heard that Mac was producing an MP4 format for sounds that is going be compressed tighter than MP3, also it's going be a Public Domain format. (FREE) no license will be needed. Would like this confermed if anyone knows about it. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home From kray at sonsothunder.com Tue Dec 28 00:33:35 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 27 Dec 2004 23:33:35 -0600 Subject: identify broken images In-Reply-To: <5A63A93C-57FF-11D9-9E9B-000A27E40768@wanadoo.fr> Message-ID: On 12/27/04 6:03 AM, "Thierry Arbellot" wrote: > Hi, > > Have you tried the size property on the image ? > if the size of image "im_1" = 0 then ... > > Thierry > > On Monday, Dec 27, 2004, at 00:11 Europe/Paris, Claus Dreischer wrote: > >> Hi, >> >> i have a small problem i don't see a simple solution for. >> Maybe someone here has one. >> >> I want to display JPGs from file, so i make a >> >> put URL ("binfile:" & my_file) into image "im_1" >> >> This is working OK. >> But when the JPG in the filepath my_file is faulty (broken download or >> something) >> The above line displays an empty image "im_1". >> >> I now want to identify these faulty images. >> I tried the following with no result: >> >> if the imagedata of image "im_1" is not empty then ... >> >> if image "im_1" is not empty then ... >> >> if the length of image "im_1" > 0 then ... >> >> >> Has anyone an idea how to identify an "empty" image? >> (its not realy empty but nothing is displayed) Can't you just say: if there is a file (the fileName of image "im_1") then answer "it's cool" else answer "it's missing" end if Or am I missing something? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Dec 28 00:34:35 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 27 Dec 2004 23:34:35 -0600 Subject: Arrow keys on background list field In-Reply-To: <20041227080518633274.GyazMail.tsalagi@elohigadugi.org> Message-ID: On 12/27/04 10:05 AM, "duane poncy" wrote: > Also, the arrow key seems to bring up the last > card I was on, instead of the next card on the list. > Sometimes it even brings up the Rev Documentation > stack if I've been using that recently. > > Thanks for any help you can give me! set the navigationArrows to false That should do it... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ps1 at softseven.org Tue Dec 28 00:37:23 2004 From: ps1 at softseven.org (Paul Salyers) Date: Mon, 27 Dec 2004 23:37:23 -0600 Subject: programming In-Reply-To: References: <20041227080518633274.GyazMail.tsalagi@elohigadugi.org> Message-ID: <6.1.1.1.2.20041227233541.0278b008@softseven.org> Anyone here interested din programming for me in Rev? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org http://ps1.softseven.org From webmaster at dreamscapesoftware.com Tue Dec 28 00:43:19 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 27 Dec 2004 23:43:19 -0600 Subject: identify broken images References: Message-ID: <000e01c4eca0$23a45030$b190fc04@DOWNSTAIRS> > Or am I missing something? A "broken" image is an image who's contents are not entirely there. This often happens when a connection is lost while downloading files over the internet. The file in fact does reside on your computer's hard drive, but it is not entirely complete. The script that you showed would only verify the file's presence, not it's integrity. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From klaus at major-k.de Tue Dec 28 05:42:13 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 28 Dec 2004 11:42:13 +0100 Subject: identify broken images In-Reply-To: References: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> Message-ID: <22993AC6-58BD-11D9-A152-000A27B49A96@major-k.de> Hi Claus and Derek, > At 16:22 Uhr -0600 27.12.2004, Derek Bump wrote: >> I did notice that compairing the "imagePixmapID" is giving me clues >> to solve the problem. If the image is a "referenced" image, and it >> is broken, it seems to be reporting empty. If the image is not >> "referenced", and it is broken, the imagePixmapID is reporting a >> negative number. Is this what your looking for... >> >> if (the imagePixmapID of img "test") is empty then >> answer "This image is broken and unreadable." >> exit to top >> end if >> >> Derek Bump > > Hi Derek, > > THAT'S exactly what i was looking for! > Thank you. > > Now, how can this information come back to bug 762? > Klaus? > Can you put this solution/information there so that other people can > find it? Sure, just added this to Godzilla :-) (But the other problem with the ugly grey background still remains...) I found that the imagepixmapid is always (at least in my tests here) empty if an image (imported or referenced) is broken or not even an image... Anyway, if it is a valid image, it will always be a positive number! Very useful, indeed :-) > Once again, thanks Derek. > > Regards, > Claus. > (the tall one ;) Regards Klaus, the small(?) one, but with a major K ;-) Klaus Major klaus at major-k.de http://www.major-k.de From malte.brill at t-online.de Tue Dec 28 05:58:04 2004 From: malte.brill at t-online.de (malte.brill at t-online.de) Date: Tue, 28 Dec 2004 11:58:04 +0100 (CET) Subject: resize in browse mode In-Reply-To: <20041227170024.951FB93008C@mail.runrev.com> References: <20041227170024.951FB93008C@mail.runrev.com> Message-ID: <1104231290.41d13b7a393a4@modem.webmail.t-online.de> Hi Bob and all, I hope I?m not double posting this solution. (I need to read the archives online at the moment using dial up) You can try this: In the fields script: on mousemove if the optionkey is down and the mouse is down then set the rect of me to the topleft of me,the mouseloc end if end mousemove Hope that helps. Regards, Malte From malte.brill at t-online.de Tue Dec 28 06:51:17 2004 From: malte.brill at t-online.de (malte.brill at t-online.de) Date: Tue, 28 Dec 2004 12:51:17 +0100 (CET) Subject: resize in browse mode In-Reply-To: <20041227170024.951FB93008C@mail.runrev.com> References: <20041227170024.951FB93008C@mail.runrev.com> Message-ID: <1104234219.41d146eb265cf@modem.webmail.t-online.de> Hi, I did it again... Posting without propewr testing. The previous script only works if the field is empty. The script below also works with non empty fields. on mouseMove if the optionkey is down and the mouse is down then set the lockText of me to true set the rect of me to the topleft of me,the mouseloc --add width and height check here end if end mouseMove on mouseRelease set the lockText of me to false end mouseRelease You might want to check if the field is broader or taller than a certain threshold (30 Pixels in this case): on mouseMove if the optionkey is down and the mouse is down then set the lockText of me to true lock screen set the rect of me to the topleft of me,the mouseloc --width and height check below put the topleft of me into oldTopleft if the width of me<30 then set the width of me to 30 end if if the height of me<30 then set the height of me to 30 end if set the topleft of me to oldTopleft unlock screen end if end mouseMove on mouseRelease set the lockText of me to false end mouseRelease Sorry for posting too fast in my previous mail. Best, Malte From malte.brill at t-online.de Tue Dec 28 07:01:15 2004 From: malte.brill at t-online.de (malte.brill at t-online.de) Date: Tue, 28 Dec 2004 13:01:15 +0100 (CET) Subject: resize in browse mode In-Reply-To: <20041227170024.951FB93008C@mail.runrev.com> References: <20041227170024.951FB93008C@mail.runrev.com> Message-ID: <1104235119.41d14a6f7e40c@modem.webmail.t-online.de> Ok ok... one thing I forgot. please add a mouseUp handler to avoid the field staying locked on mouseMove if the optionkey is down and the mouse is down then set the lockText of me to true set the rect of me to the topleft of me,the mouseloc --add width and height check here end if end mouseMove on mouseRelease set the lockText of me to false end mouseRelease on mouseUp mouseRelease end mouseUp Now I shut up... Malte From malte.brill at t-online.de Tue Dec 28 07:14:30 2004 From: malte.brill at t-online.de (malte.brill at t-online.de) Date: Tue, 28 Dec 2004 13:14:30 +0100 (CET) Subject: putting images In-Reply-To: <20041227170024.951FB93008C@mail.runrev.com> References: <20041227170024.951FB93008C@mail.runrev.com> Message-ID: <1104235770.41d14cfa4c68b@modem.webmail.t-online.de> Chipp wrote: >try this: >put img "myImageNumber3" of card "CardFullOfImages" into img "myImage" Or to save memory use a button. Make sure it?s a transparent one. lock screen set the width of btn "myButton" to the width of img "yourImage" cd "cardFullOfImages" set the height of btn "myButton" to the height of img "yourImage" cd "cardFullOfImages" --do the same for the loc if needed.. set the icon of btn "myButton" to the ID of img "yourImage" cd "cardFullOfImages" unlock screen Best, Malte From alex at tweedly.net Tue Dec 28 08:03:21 2004 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Dec 2004 13:03:21 +0000 Subject: UDP (datagram) socket usage. In-Reply-To: <65B4BED2-57B4-11D9-9103-000A9567A3E6@swcp.com> References: <41CF53AD.6060506@tweedly.net> <0BCC1119-57A9-11D9-9103-000A9567A3E6@swcp.com> <41CF760E.2070407@tweedly.net> <65B4BED2-57B4-11D9-9103-000A9567A3E6@swcp.com> Message-ID: <41D15999.6080803@tweedly.net> Dar Scott wrote: > Sorry about that. I was confused about this originally, too. The > docs don't help. And it being unlike the TCP comm, confuses it, too. > > When you 'open datagram socket', specify a callback. The callback is > NOT for completion of the open. That completes immediately. It is > for the incoming packets, the responses. I could have tried for a month of Sundays without guessing that - thank you. The echo client / server now almost works (i.e. server works all the time, client works to the Rev server, but haven't yet got it to work with the original (non-Rev) server on another machine). > The slight minus is that there is no way to squelch input. The big > plus is that you don't loose data. > > Some UDP client-server transactions are short-lived. The server sends > one datagram back and closes. The client receives one one response > datagram and closes. (If this doesn't fit your model, we can get more > into it.) No, there's no problem with the model - I've been working with connectionless protocols including UDP for the best part of 20 years; I'm pretty comfortable with distributed algorithms - the model fits this application very nicely. It's simply the translation of the standard BSD-socket API into Rev that's confusing me (and the rather less than helpful docs). Fortunately, as usual, the very helpful list members go a long way to make up the the unhelpful docs. Thank you again -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 22/12/2004 From tsalagi at elohigadugi.org Tue Dec 28 10:50:42 2004 From: tsalagi at elohigadugi.org (duane poncy) Date: Tue, 28 Dec 2004 07:50:42 -0800 Subject: use-revolution Digest, Vol 15, Issue 77 In-Reply-To: <20041228120952.1E6419300E5@mail.runrev.com> References: <20041228120952.1E6419300E5@mail.runrev.com> Message-ID: <20041228075042488965.GyazMail.tsalagi@elohigadugi.org> Thank you! I guess I should use the update menu item occasionally! Duane On Tue, 28 Dec 2004 07:09:52 -0500 (EST), use-revolution- request at lists.runrev.com wrote: > Hi, > > If you use rev 2.5, this bug has been fixed. > You should run "check for updates" from the "help" menu. > > Thierry > > On Monday, Dec 27, 2004, at 18:40 Europe/Paris, duane poncy wrote: > >> I'm sure I must be doing something stupid, but I am >> trying to put an email link in my menu. I have tried >> both revMail and revGoURL. Instead of opening my >> email program, it opens my browser to an http address >> followed by my mailto address. Other links (on >> websites, programs, etc.) open correctly, so it's >> not my system settings. >> >> I am on a Mac G4 with OSX. Any ideas? visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- From fde101 at fjrhome.net Tue Dec 28 10:58:04 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 28 Dec 2004 10:58:04 -0500 Subject: What's I doing wrong In-Reply-To: <567DD5AC-569F-11D9-B3EB-000A27B49A96@major-k.de> References: <20041225165538.2096D930143@mail.runrev.com> <6.1.1.1.2.20041225114013.0266c5f8@softseven.org> <567DD5AC-569F-11D9-B3EB-000A27B49A96@major-k.de> Message-ID: <41F1882E-58E9-11D9-AF97-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Right, in Rev, a checkbox is just one "style" of button, as are radio buttons, etc. You can also check (or uncheck) a checkbox by setting the hilite property, and you can intercept changes to the hilite with a mouseUp handler in the button's script. On Dec 25, 2004, at 1:03 PM, Klaus Major wrote: > Hi Paul > >> When I typed in "check" I get nothing about a check box. I want know >> how to test if there is a check in there or not. If there is I want >> one message displayed if no check is there I want a different message >> displayed. >> >> Then instructions will be carried out as to if the check exists or >> not. >> >> When searching for "check" all I got was "checkmark property " >> >> "check box" got nothing. > > you need to check "the hilite" of that button... > > ... > if the hilite of btn "my checkbox" = true then > ## it it "checked" > ## do something > else > ## it is NOT "checked" > ## do something else... > end if > ... > > Hope that helps... > >> Paul Salyers >> PS1 - Senior Rep. >> PS1 at softseven.org >> http://ps1.softseven.org > > Regards and merry christmas :-) > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0YKM7aqtWrR9cZoRArb5AJ0UkygZgT7E2rpRPkjxnlz2ZlYYKwCeInNo CJr9fBC96EUrWBHRRkbc4qg= =fORh -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Dec 28 11:04:34 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 28 Dec 2004 11:04:34 -0500 Subject: Example stack (storing external data) In-Reply-To: <3d8af415041226052444946299@mail.gmail.com> References: <3d8af415041226052444946299@mail.gmail.com> Message-ID: <2ABE3FC2-58EA-11D9-AF97-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As for the "not easily readable" part, you can set the password property to encrypt the stack. On Dec 26, 2004, at 8:24 AM, Glen Bojsza wrote: > Though there have been many discussions around "how to store data" > from a standalone application I have never found an example stack. > > I want to create a small application which contains several cards. On > each card the user can build a network using some predefined graphics > and store specific information (custom properties) about each graphic. > > For each network map the application will create a new card. > > Since you cannot store the information inside the stanalone stack an > external stack (netmap.dat) needs to be maintained. > > I am looking for input as how it would best be managed. There is also > the importance that the netmap.dat file be secure from prying eyes > (not easily readable). > > Again, I appreciate everyone's thoughts. > > regards, > > Glen > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0YQT7aqtWrR9cZoRAkZBAJwKa8QFNM5f30zNgd4tleHC/nR1hwCePV4t QWIoWOYJYy5u/OSUB35pLlk= =DslJ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From BNZ2 at CDC.GOV Tue Dec 28 11:13:03 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 11:13:03 -0500 Subject: Example stack (storing external data) Message-ID: <64878EF567131D4596246171F75FD4A9469E6B@m-epo-1.epo.cdc.gov> Something to consider - will the size of this data stack keep growing indefinitely? If so, every time you save it, you are saving the entire data set, not just the new card. This gets cumbersome when the stack gets very large. With an indefinitely expanding data set, you need to work out a scheme for archiving old data, or creating a new stack every year (or month, or whatever), or saving each record as an independent stack, or as an independent text file. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. Engel, Jr. Sent: Tuesday, December 28, 2004 11:05 AM To: How to use Revolution Subject: Re: Example stack (storing external data) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As for the "not easily readable" part, you can set the password property to encrypt the stack. On Dec 26, 2004, at 8:24 AM, Glen Bojsza wrote: > Though there have been many discussions around "how to store data" > from a standalone application I have never found an example stack. > > I want to create a small application which contains several cards. On > each card the user can build a network using some predefined graphics > and store specific information (custom properties) about each graphic. > > For each network map the application will create a new card. > > Since you cannot store the information inside the stanalone stack an > external stack (netmap.dat) needs to be maintained. > > I am looking for input as how it would best be managed. There is also > the importance that the netmap.dat file be secure from prying eyes > (not easily readable). > > Again, I appreciate everyone's thoughts. > > regards, > > Glen > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0YQT7aqtWrR9cZoRAkZBAJwKa8QFNM5f30zNgd4tleHC/nR1hwCePV4t QWIoWOYJYy5u/OSUB35pLlk= =DslJ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Tue Dec 28 11:16:42 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 28 Dec 2004 11:16:42 -0500 Subject: Using Md5Digest on stacks loaded in memory In-Reply-To: <1FF6FEAC-5794-11D9-9103-000A9567A3E6@swcp.com> References: <20041225165538.493A0930151@mail.runrev.com> <1FF6FEAC-5794-11D9-9103-000A9567A3E6@swcp.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A better, "off-the-shelf" solution for verification of the stacks would be to create detached signatures with a system such as GPG (a free download), which can then be verified with a public key. This way, you'd have a "proven" cryptographic signature generated against the entire file which could be used to verify its authenticity, rather than dealing with a subset of the file (one or more custom properties or scripts). OS X download: macgpg.sourceforge.net Windows download: winpt.sourceforge.net Other platforms (official site): www.gnupg.org On Dec 26, 2004, at 6:16 PM, Dar Scott wrote: > > On Dec 26, 2004, at 4:40 AM, Frank Leahy wrote: > >> Just a thought...I haven't tried it myself, but Is it possible that >> setting the custom property to store the MD5 digest is altering the >> stack so that the in-memory MD5 digest no longer matches the on-disk >> value? > > I didn't think of this scenario. I was picturing Alejandro trying to > take the md5 of the one in memory. > > Dar > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Programming Services and Software > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0Ybq7aqtWrR9cZoRAgAzAJ4yxO846fNAhskD2lCZyxPh8ESKUACdF/ES YIFTgtBptbWULmhTbvYQJ0Y= =kbAE -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From BNZ2 at CDC.GOV Tue Dec 28 11:27:36 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 11:27:36 -0500 Subject: Dealing with empty groups... Message-ID: <64878EF567131D4596246171F75FD4A9469E6C@m-epo-1.epo.cdc.gov> It seems that an empty group will neither accept a mouseup message, nor allow that mouseup message to be passed to the card. Does anyone have suggestions on how to handle that? From fde101 at fjrhome.net Tue Dec 28 11:27:09 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 28 Dec 2004 11:27:09 -0500 Subject: MP3 VS MP4 In-Reply-To: <6.1.1.1.2.20041227194018.0277e350@softseven.org> References: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> <6.1.1.1.2.20041227185129.026b4238@softseven.org> <6.1.1.1.2.20041227194018.0277e350@softseven.org> Message-ID: <5270CDC6-58ED-11D9-AF97-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Don't know about this, but if you are interested in a hi-Q, patent-free audio codec, be sure you check out http://www.vorbis.com On Dec 27, 2004, at 8:42 PM, Paul Salyers wrote: > > > > I had heard that Mac was producing an MP4 format for sounds that is > going be compressed tighter than MP3, also it's going be a Public > Domain format. (FREE) no license will be needed. > > Would like this confermed if anyone knows about it. > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > (918) 465-7426 -- Cell > (918) 967-1013 -- Home > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0Yle7aqtWrR9cZoRAjQIAJ9M2QPIVwrdL77wDyqs1sbHBW4KjACfVv75 546fxB2h4krEhUO5IQbUao8= =ltZJ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From RGould8 at aol.com Tue Dec 28 11:40:26 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 28 Dec 2004 11:40:26 EST Subject: Way for browser to talk to Rev? Message-ID: I know that I can use Revolution to talk to Applescript to pass values/commands to IE and Safari via their "Do Applescript" calls, but is there a method of going the other way? (For instance, pressing a button on a web-page which sends a Javascript call back to Revolution that can be picked up?) From kray at sonsothunder.com Tue Dec 28 11:41:39 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 28 Dec 2004 10:41:39 -0600 Subject: identify broken images In-Reply-To: <000e01c4eca0$23a45030$b190fc04@DOWNSTAIRS> Message-ID: On 12/27/04 11:43 PM, "Derek Bump" wrote: >> Or am I missing something? > > A "broken" image is an image who's contents are not entirely there. This > often happens when a connection is lost while downloading files over the > internet. The file in fact does reside on your computer's hard drive, but it > is not entirely complete. > > The script that you showed would only verify the file's presence, not it's > integrity. Thanks Derek... I misread the original post... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Tue Dec 28 11:46:55 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 28 Dec 2004 08:46:55 -0800 Subject: MP3 VS MP4 In-Reply-To: <6.1.1.1.2.20041227194018.0277e350@softseven.org> References: <00ae01c4ec62$98021540$cf04113f@DOWNSTAIRS> <6.1.1.1.2.20041227185129.026b4238@softseven.org> <6.1.1.1.2.20041227194018.0277e350@softseven.org> Message-ID: <153CC25B-58F0-11D9-A63B-000D9337CDC8@mangomultimedia.com> On Dec 27, 2004, at 5:42 PM, Paul Salyers wrote: > I had heard that Mac was producing an MP4 format for sounds that is > going be compressed tighter than MP3, also it's going be a Public > Domain format. (FREE) no license will be needed. > > Would like this confermed if anyone knows about it. You can currently export AAC audio files (audio format used in MP4) using QuickTime Pro. You can get much better sound quality at a given bitrate using AAC encoding as opposed to creating a MP3 file. If you want to compare the same file compressed with mp3 or aac you can download a song that has been compressed with both at my brother's website: Just scroll down the page and click on the "Free Mp3 Download" link. The page it takes you to has both an mp3 and mp4 file. The mp4 file is compressed at a lower bitrate and is about 500k smaller. This will allow you to compare quality. Also, the audio player (link on the left of page) that lets you sample his music is all compressed using aac but with a higher quality then the free download. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kray at sonsothunder.com Tue Dec 28 11:45:46 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 28 Dec 2004 10:45:46 -0600 Subject: Way for browser to talk to Rev? In-Reply-To: Message-ID: On 12/28/04 10:40 AM, "RGould8 at aol.com" wrote: > I know that I can use Revolution to talk to Applescript to pass > values/commands to IE and Safari via their "Do Applescript" calls, but is > there a method of > going the other way? (For instance, pressing a button on a web-page which > sends a Javascript call back to Revolution that can be picked up?) Well, if you are using a "normal" browser, the only thing I can think of is to have the button in the web page call a CGI which stores some information and have a front-end Rev app query the CGI periodically to see if it is received the "call" from the browser. However, if you want to *embed* the browser into a Rev stack using Chipp's altBrowser, you could do this by creating a "fake" url to go to, which altBrowser can trap and you can take action based on it. There may be other ways, but those are the only ones I've thought of so far. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Dec 28 11:48:06 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 28 Dec 2004 10:48:06 -0600 Subject: Dealing with empty groups... In-Reply-To: <64878EF567131D4596246171F75FD4A9469E6C@m-epo-1.epo.cdc.gov> Message-ID: On 12/28/04 10:27 AM, "Lynch, Jonathan" wrote: > It seems that an empty group will neither accept a mouseup message, nor > allow that mouseup message to be passed to the card. > > Does anyone have suggestions on how to handle that? Well, my suggestion may not help, but it would be to never have an empty group; instead, leave a transparent button that is the size of the group inside the group to act as the trap. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tsalagi at elohigadugi.org Tue Dec 28 11:53:17 2004 From: tsalagi at elohigadugi.org (duane poncy) Date: Tue, 28 Dec 2004 08:53:17 -0800 Subject: Arrow keys on background list field In-Reply-To: <20041228120952.1E6419300E5@mail.runrev.com> References: <20041228120952.1E6419300E5@mail.runrev.com> Message-ID: <20041228085317392685.GyazMail.tsalagi@elohigadugi.org> Thanks guys! A combination of all three of your suggestions did the trick. On Tue, 28 Dec 2004 07:09:52 -0500 (EST), use-revolution- request at lists.runrev.com wrote: > > What I think is happening is that, each time a new card comes up, the > "focus" is no longer on the scroll list field and thus the "arrowKey" > message is being handled by another object. The solution, I imagine, is to > insert some script lines somewhere (the card? the stack?) that use Rev's > "focus", "arrowKey" and "focusedObject" to ensure the scroll list field > always receives the "arrowKey" message. > > Cheers, > Nicolas Cueto > (Japan) Cubist at aol.com sez: > Seems to me that trapping for the "keyDown" message, or perhaps > "arrowKey", might be helpful here. Something along these > lines should do what you want: > > on keyDown Diskey > put the hilitedLine of me into CurrentLine > switch DisKey > case "left" > # if you want the left arrow to behave the same as the up arrow, > # remove all the code from this 'fork' of the switch > put 1 into NextLine > break > case "up" > # note: i don't recall the precise syntax for the value of "the > hilitedLine", > # so you may need to tweak the line immediately after this comment > put max ((CurrentLine - 1), the number of lines in me) into NextLine > break > case "right" > # see comment for the "left" fork of this switch > put the number of lines in me into NextLine > case "down" > # same caveat as for "up" > put min ((CurrentLine + 1), the number of lines in me) into NextLine > break > default > # this fork of the switch covers everything *but* arrow keys. > # do as you please with them > end switch > > if CurrentLine = NextLine then > # the user is trying to scroll back to before the first line, > # or else to scroll past the last line. BAD user! > beep 2 > else > # let the user scroll normally > set the hilitedline of me to NextLine > if DisKey is in "left up" then > go prev card > else > go next card > end if > end if > end keyDown > > That handler has not been tested, but its underlying logic (if not its > *syntax*...) should be okay. Hope this helps... > > > set the navigationArrows to false > > That should do it... > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- From BNZ2 at CDC.GOV Tue Dec 28 11:57:14 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 11:57:14 -0500 Subject: Dealing with empty groups... Message-ID: <64878EF567131D4596246171F75FD4A90EC5BD@m-epo-1.epo.cdc.gov> The empty group acts as a page. If I have an invisible object across the whole page in there, then when other objects on that page are sent to the bottom layer of that page, they will be under the invisible button. I can see that causing various problems. As long as the group is not empty - then having a script in the card script that says... On mouseup If the mouseloc is within the rect of group "Page Content 1" then (do whatever it is that needs to be done when selecting the page) End if End mouseup Seems to work fine. If I have to use a transparent object - then I can just put any object that does not interfere with the layering of other objects into the group, and that will allow the group to pass the mouseup message. It just seems odd that an empty group would trap the mouseup message without actually responding to it in any way. I was hoping that there was some property of the group that could be adjusted to control this behavior. -----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, December 28, 2004 11:48 AM To: Use Revolution List Subject: Re: Dealing with empty groups... On 12/28/04 10:27 AM, "Lynch, Jonathan" wrote: > It seems that an empty group will neither accept a mouseup message, nor > allow that mouseup message to be passed to the card. > > Does anyone have suggestions on how to handle that? Well, my suggestion may not help, but it would be to never have an empty group; instead, leave a transparent button that is the size of the group inside the group to act as the trap. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Dec 28 11:57:20 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 28 Dec 2004 10:57:20 -0600 Subject: resize in browse mode In-Reply-To: <6.1.2.0.0.20041227084927.0037e530@mail.armbase.com> Message-ID: On 12/27/04 2:51 AM, "Bob Hartley" wrote: > Hi Ken and others > > This works partly > >> Ah, that's the problem. In order to trap the mouse going down, you'll need >> to do one of the following: >> >> 1) Temporarily lock the field by trapping the "mouseWithin" of the field, >> checking for the state of the alt (option) key and then unlocking the field >> when the mouse has been released (or moved out of the field); or >> >> 2) Create a separate object at the lower-right corner of the open field >> (perhaps a transparent button) that can act as a "resizer". This object >> would move along with the field as it is resized. >> >> Here's an example of the first: >> >> on mouseStillDown >> if the optionKey is down then >> put the rect of me into tRect >> put the mouseH into item 3 of tRect >> put the mouseV into item 4 of tRect >> set the rect of me to tRect >> end if >> end mouseStillDown >> >> on mouseWithin >> if the optionKey is down then >> if the lockText of me is false then >> set the lockText of me to true >> end if >> else >> if the lockText of me is true then >> set the lockText of me to false >> end if >> end if >> end mouseWithin >> >> Does this work for you? > > > Almost. > > It works for the action I saught but it now stops the earlier grab action > to move the field with control held (It will resize with alt) > > The full ascript is > on mouseDown > if the controlKey is down then > grab me > end if > end mouseDown > if the optionKey is down then > put the rect of me into tRect > put the mouseH into item 3 of tRect > put the mouseV into item 4 of tRect > set the rect of me to tRect > end if > end mouseStillDown > > on mouseWithin > if the optionKey is down then > if the lockText of me is false then > set the lockText of me to true > end if > else > if the lockText of me is true then > set the lockText of me to false > end if > end if > end mouseWithin Well, you're missing the "on mouseStillDown" part of the code; once I added that in, it works fine (I've checked both Mac and Windows). So it should be: on mouseDown if the controlKey is down then grab me end if end mouseDown on mouseStillDown if the optionKey is down then put the rect of me into tRect put the mouseH into item 3 of tRect put the mouseV into item 4 of tRect set the rect of me to tRect end if end mouseStillDown on mouseWithin if the optionKey is down then if the lockText of me is false then set the lockText of me to true end if else if the lockText of me is true then set the lockText of me to false end if end if end mouseWithin Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From BNZ2 at CDC.GOV Tue Dec 28 11:59:40 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 11:59:40 -0500 Subject: Way for browser to talk to Rev? Message-ID: <64878EF567131D4596246171F75FD4A9469E6E@m-epo-1.epo.cdc.gov> Can javascript be used to send a message to a port? If so, the Rev app could be set to listen to that port, and receive messages from the browser. -----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, December 28, 2004 11:46 AM To: Use Revolution List Subject: Re: Way for browser to talk to Rev? On 12/28/04 10:40 AM, "RGould8 at aol.com" wrote: > I know that I can use Revolution to talk to Applescript to pass > values/commands to IE and Safari via their "Do Applescript" calls, but is > there a method of > going the other way? (For instance, pressing a button on a web-page which > sends a Javascript call back to Revolution that can be picked up?) Well, if you are using a "normal" browser, the only thing I can think of is to have the button in the web page call a CGI which stores some information and have a front-end Rev app query the CGI periodically to see if it is received the "call" from the browser. However, if you want to *embed* the browser into a Rev stack using Chipp's altBrowser, you could do this by creating a "fake" url to go to, which altBrowser can trap and you can take action based on it. There may be other ways, but those are the only ones I've thought of so far. 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 http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Tue Dec 28 12:06:52 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 28 Dec 2004 18:06:52 +0100 Subject: Way for browser to talk to Rev? References: <64878EF567131D4596246171F75FD4A9469E6E@m-epo-1.epo.cdc.gov> Message-ID: <41D192A6.AE518DB1@Club-Internet.fr> > Can javascript be used to send a message to a port? not as far as I know... > If so, the Rev app > could be set to listen to that port, and receive messages from the > browser. however this might be feasable with a java applet... JB From kray at sonsothunder.com Tue Dec 28 12:34:42 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 28 Dec 2004 11:34:42 -0600 Subject: Dealing with empty groups... In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5BD@m-epo-1.epo.cdc.gov> Message-ID: On 12/28/04 10:57 AM, "Lynch, Jonathan" wrote: > The empty group acts as a page. If I have an invisible object across the > whole page in there, then when other objects on that page are sent to > the bottom layer of that page, they will be under the invisible button. > I can see that causing various problems. > > As long as the group is not empty - then having a script in the card > script that says... > > On mouseup > If the mouseloc is within the rect of group "Page Content 1" then > (do whatever it is that needs to be done when selecting the page) > End if > End mouseup > > Seems to work fine. Sorry, but I thought you said that the empty group *wasn't* passing the mouseUp message to the card: >> It seems that an empty group will neither accept a mouseup message, >> nor allow that mouseup message to be passed to the card. If it *does* pass it to the card, then you've got your solution above. If not, the transparent object can be sent to the bottom after you've sent other objects to the bottom (make it part of your "send to bottom layer" code), so it remains "bottom-most". However, whatever works for you... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From BNZ2 at CDC.GOV Tue Dec 28 12:53:57 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 12:53:57 -0500 Subject: Dealing with empty groups... Message-ID: <64878EF567131D4596246171F75FD4A90EC5BE@m-epo-1.epo.cdc.gov> >Sorry, but I thought you said that the empty group *wasn't* passing the >mouseUp message to the card: Indeed, that is what I said - the empty group is not passing the message - nor will it respond to the message itself. Having an object in there solves the problem, and causes it to pass the message. Having a bottom layer object that automatically returns to the bottom seems like it would also work - good idea. Even though I have a couple workable solutions to the problem at hand, I am interested in understanding the underlying issue, because I can see other uses for empty and/or nested groups in the future. Are empty groups supposed to behave differently than non-empty groups? I have also noticed that with select grouped objects turned on - an empty group can be selected as if it were an object. (not by clicking, but by using the pointer tool to select a box that includes the groups edges) Is this the result of an internal setting of some sort, or just an accident of RunRev? -----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, December 28, 2004 12:35 PM To: Use Revolution List Subject: Re: Dealing with empty groups... On 12/28/04 10:57 AM, "Lynch, Jonathan" wrote: > The empty group acts as a page. If I have an invisible object across the > whole page in there, then when other objects on that page are sent to > the bottom layer of that page, they will be under the invisible button. > I can see that causing various problems. > > As long as the group is not empty - then having a script in the card > script that says... > > On mouseup > If the mouseloc is within the rect of group "Page Content 1" then > (do whatever it is that needs to be done when selecting the page) > End if > End mouseup > > Seems to work fine. Sorry, but I thought you said that the empty group *wasn't* passing the mouseUp message to the card: >> It seems that an empty group will neither accept a mouseup message, >> nor allow that mouseup message to be passed to the card. If it *does* pass it to the card, then you've got your solution above. If not, the transparent object can be sent to the bottom after you've sent other objects to the bottom (make it part of your "send to bottom layer" code), so it remains "bottom-most". However, whatever works for you... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Dec 28 12:57:10 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 28 Dec 2004 10:57:10 -0700 Subject: UDP (datagram) socket usage. In-Reply-To: <41D15999.6080803@tweedly.net> References: <41CF53AD.6060506@tweedly.net> <0BCC1119-57A9-11D9-9103-000A9567A3E6@swcp.com> <41CF760E.2070407@tweedly.net> <65B4BED2-57B4-11D9-9103-000A9567A3E6@swcp.com> <41D15999.6080803@tweedly.net> Message-ID: On Dec 28, 2004, at 6:03 AM, Alex Tweedly wrote: >> When you 'open datagram socket', specify a callback. The callback is >> NOT for completion of the open. That completes immediately. It is >> for the incoming packets, the responses. > > I could have tried for a month of Sundays without guessing that - > thank you. Me, too. I learned about from Scott Raney when I reported a bug. Somehow, what I had been doing was working. I think there is a motivation for TCP to do it the UDP way. I wonder if there is a hole in the Revolution model for TCP in which a data packet with a FIN can come in during the gap between reads and the data get lost. > I've been working with connectionless protocols including UDP for the > best part of 20 years; I'm pretty comfortable with distributed > algorithms - the model fits this application very nicely. Me, too. We might be resources for each other. > It's simply the translation of the standard BSD-socket API into Rev > that's confusing me (and the rather less than helpful docs). I don't mind the Rev API. Doing away with select is a great plus, the weakest link in BSD sockets. I do find things I want to do such that I can't. You mentioned getting the local port. I have a protocol in which I need to set it. I had proposed a peer-to-peer model for Revolution UDP some time back, but when it was set up, it was set up as client-server and used accept. (One problem with that is that if you set up a server for both UDP and TCP on the same port, then they look the same on openSockets() and to close socket.) Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From gbojsza at gmail.com Tue Dec 28 12:59:08 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 28 Dec 2004 12:59:08 -0500 Subject: Example stack (storing external data) In-Reply-To: <64878EF567131D4596246171F75FD4A9469E6B@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E6B@m-epo-1.epo.cdc.gov> Message-ID: <3d8af4150412280959356a9e04@mail.gmail.com> Interesting question. Each card could possibly contain its original data with the exception of the image positions on the card. So, depending on the number of images, it may be better to to create a matrix or array of image type and location and just store this information. Then whe the user brings up the card that conatins the network map they want to use I could lock the screen, place the images and unlock the screen. Does this sound right? Glen On Tue, 28 Dec 2004 11:13:03 -0500, Lynch, Jonathan wrote: > Something to consider - will the size of this data stack keep growing > indefinitely? If so, every time you save it, you are saving the entire > data set, not just the new card. This gets cumbersome when the stack > gets very large. With an indefinitely expanding data set, you need to > work out a scheme for archiving old data, or creating a new stack every > year (or month, or whatever), or saving each record as an independent > stack, or as an independent text file. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. > Engel, Jr. > Sent: Tuesday, December 28, 2004 11:05 AM > To: How to use Revolution > Subject: Re: Example stack (storing external data) > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > As for the "not easily readable" part, you can set the password > property to encrypt the stack. > > On Dec 26, 2004, at 8:24 AM, Glen Bojsza wrote: > > > Though there have been many discussions around "how to store data" > > from a standalone application I have never found an example stack. > > > > I want to create a small application which contains several cards. On > > each card the user can build a network using some predefined graphics > > and store specific information (custom properties) about each graphic. > > > > For each network map the application will create a new card. > > > > Since you cannot store the information inside the stanalone stack an > > external stack (netmap.dat) needs to be maintained. > > > > I am looking for input as how it would best be managed. There is also > > the importance that the netmap.dat file be secure from prying eyes > > (not easily readable). > > > > Again, I appreciate everyone's thoughts. > > > > regards, > > > > Glen > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFB0YQT7aqtWrR9cZoRAkZBAJwKa8QFNM5f30zNgd4tleHC/nR1hwCePV4t > QWIoWOYJYy5u/OSUB35pLlk= > =DslJ > -----END PGP SIGNATURE----- > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Dec 28 13:04:44 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Dec 2004 10:04:44 -0800 Subject: Dealing with empty groups... In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5BE@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5BE@m-epo-1.epo.cdc.gov> Message-ID: <41D1A03C.7080007@fourthworld.com> Lynch, Jonathan wrote: > Even though I have a couple workable solutions to the problem at hand, I > am interested in understanding the underlying issue, because I can see > other uses for empty and/or nested groups in the future. Groups are containers for controls, but are not controls themselves. The messages you see passed to the group are generated by events on the controls. AFAIK both empty and non-empty groups do not respond to user events (mouseDown, mouseUp, etc.), only their controls do. As a container for controls, the group can have a script to handle messages triggered by events on controls, but will not respond to those events themselves. This is verifiable with this simple experiment: make a new stack, but a button in it, group it, size the group so that it's much larger than the button, then lock its location so it stays that way. Put this in the group's script: on mouseUp put the milliseconds end mouseUp Then switch to the browse tool: When you click on the button you get the milliseconds in the Message Box, but clicking in the empty areas of the group does nothing. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From gbojsza at gmail.com Tue Dec 28 13:08:38 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 28 Dec 2004 13:08:38 -0500 Subject: Keeping relationships during a drag event. Message-ID: <3d8af415041228100876f94b55@mail.gmail.com> The basic description of what I am working to achieve is the following. I have 2 images (car1 and car2) that are connected by a line. When the user drags car1 to a different position on the card the line's points are updated and to the user it appears that the images are still connected (the idea is a "sticky" line. What I am trying to figure out is that I want a field to be placed at the center on the line and it needs to maintain that relationship with the line whenever the image locations are changed. The problem is that as the user drags an image around the line and it's associated field need to move / update smoothly. I am looking at grouping the line and field verses taking the points of the line and recalculating the new location of the field. I was hoping someone would have some experience in this area. thanks, Glen From byront at mac.com Tue Dec 28 13:43:51 2004 From: byront at mac.com (Byron) Date: Tue, 28 Dec 2004 10:43:51 -0800 Subject: How to add a value to an Item of a menu option button In-Reply-To: References: Message-ID: <38853B1D-3F26-4B9B-BFCD-D1A05A70F197@mac.com> I'm working on a project where I capture the same kind of information . . series of objects with names that end in numbers. As I'm pretty inexperienced and didn't understand J?r?me's suggestion, I thought I'd mention what I've been doing and see if perhaps I'm going about this in the wrong way. I've been using scripts like get the last character of (myObject) or repeat with x = 1 to 6 put empty into field ("object" & x) set the label of button ("otherObject" & x) to "none" end repeat Is this sort of thing particularly inefficient? Am I missing something critical if I don't delve into custom properties? Byron On Dec 26, 2004, at 3:10 PM, Ken Ray wrote: > On 12/26/04 4:51 PM, "J?r?me Rosat" wrote: > >> Bonjour ? tous, >> >> In my database, I've got a table with two fields and many records: >> >> Value Name >> >> 12 Name1 >> 16 Name2 >> 25 Name3 >> etc. >> >> On a card I created a menu option button with items come from the >> field >> Name of my database: >> Menu Items: >> Name1 >> Name2 >> Name3 >> etc. >> >> But when I select an option, I need to now the value of the item >> selected, not the item itself. >> For example, if I select "Name2", I need to know the value "16". >> >> How to add a value to an Item of a menu option button ? > Yes. You can add a custom property (like uMenuValue) to the option > button > that contains the values, one on each line: > > 12 > 16 > 25 > > And then do this: > > on menuPick > put line (the menuHistory of me) of the uMenuValue of me into tValue > -- gets the corresponding line in the custom property to the line > selected > -- in the option menu > > -- do something with tValue > end menuPick > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From BNZ2 at CDC.GOV Tue Dec 28 13:53:55 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 13:53:55 -0500 Subject: Example stack (storing external data) Message-ID: <64878EF567131D4596246171F75FD4A90EC5BF@m-epo-1.epo.cdc.gov> I don't know too much about doing it that way - it sounds doable, but difficult. I prefer archiving by month or by year myself. After 10 years, you wind up with 10 stacks, for example. If you need to search your archives, writing a script to search all the stacks in a particular folder should not be too tough. The method you suggest would probably wind up being very space efficient, which is a good thing. However, if you were to use complex objects, like nested groups and the like, then it seems like it would be really hard to get all your data sorted correctly. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Glen Bojsza Sent: Tuesday, December 28, 2004 12:59 PM To: How to use Revolution Subject: Re: Example stack (storing external data) Interesting question. Each card could possibly contain its original data with the exception of the image positions on the card. So, depending on the number of images, it may be better to to create a matrix or array of image type and location and just store this information. Then whe the user brings up the card that conatins the network map they want to use I could lock the screen, place the images and unlock the screen. Does this sound right? Glen On Tue, 28 Dec 2004 11:13:03 -0500, Lynch, Jonathan wrote: > Something to consider - will the size of this data stack keep growing > indefinitely? If so, every time you save it, you are saving the entire > data set, not just the new card. This gets cumbersome when the stack > gets very large. With an indefinitely expanding data set, you need to > work out a scheme for archiving old data, or creating a new stack every > year (or month, or whatever), or saving each record as an independent > stack, or as an independent text file. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. > Engel, Jr. > Sent: Tuesday, December 28, 2004 11:05 AM > To: How to use Revolution > Subject: Re: Example stack (storing external data) > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > As for the "not easily readable" part, you can set the password > property to encrypt the stack. > > On Dec 26, 2004, at 8:24 AM, Glen Bojsza wrote: > > > Though there have been many discussions around "how to store data" > > from a standalone application I have never found an example stack. > > > > I want to create a small application which contains several cards. On > > each card the user can build a network using some predefined graphics > > and store specific information (custom properties) about each graphic. > > > > For each network map the application will create a new card. > > > > Since you cannot store the information inside the stanalone stack an > > external stack (netmap.dat) needs to be maintained. > > > > I am looking for input as how it would best be managed. There is also > > the importance that the netmap.dat file be secure from prying eyes > > (not easily readable). > > > > Again, I appreciate everyone's thoughts. > > > > regards, > > > > Glen > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFB0YQT7aqtWrR9cZoRAkZBAJwKa8QFNM5f30zNgd4tleHC/nR1hwCePV4t > QWIoWOYJYy5u/OSUB35pLlk= > =DslJ > -----END PGP SIGNATURE----- > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Tue Dec 28 14:01:16 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 28 Dec 2004 13:01:16 -0600 Subject: Way for browser to talk to Rev? In-Reply-To: References: Message-ID: <41D1AD7C.2010200@chipp.com> On the PC, I have users click a link in IE, then download a stack then launch my RunRev application then load the stack. It's done with MIME types and registry data, though I don't think it's a very good idea because it's difficult to do cross-platform, and doesn't work in all browsers. You can check out what I mean at www.buttongadget.com (WinXP only) And of course Ken is correct, it's easy to intercept a link in altBrowser and do some action based upon it. More about altBrowser can be found at: http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm best, Chipp RGould8 at aol.com wrote: > I know that I can use Revolution to talk to Applescript to pass > values/commands to IE and Safari via their "Do Applescript" calls, but is there a method of > going the other way? (For instance, pressing a button on a web-page which > sends a Javascript call back to Revolution that can be picked up?) From chipp at chipp.com Tue Dec 28 14:22:13 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 28 Dec 2004 13:22:13 -0600 Subject: Keeping relationships during a drag event. In-Reply-To: <3d8af415041228100876f94b55@mail.gmail.com> References: <3d8af415041228100876f94b55@mail.gmail.com> Message-ID: <41D1B265.2030609@chipp.com> Hi Glen, I'd use the mouseMove handler and update the line and fld while dragging the image around. Put this in the msg: go URL "http://www.altuit.com/webs/altuit2/RunRev/ForGlen.rev" or you can find a copy of the stack at: http://www.altuit.com/webs/altuit2/RunRev/Misc.htm best, Chipp Glen Bojsza wrote: > The basic description of what I am working to achieve is the following. > > I have 2 images (car1 and car2) that are connected by a line. > > When the user drags car1 to a different position on the card the > line's points are updated and to the user it appears that the images > are still connected (the idea is a "sticky" line. > > What I am trying to figure out is that I want a field to be placed > at the center on the line and it needs to maintain that relationship > with the line whenever the image locations are changed. > > The problem is that as the user drags an image around the line and > it's associated field need to move / update smoothly. > > I am looking at grouping the line and field verses taking the points > of the line and recalculating the new location of the field. > > I was hoping someone would have some experience in this area. From dsc at swcp.com Tue Dec 28 15:01:49 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 28 Dec 2004 13:01:49 -0700 Subject: Way for browser to talk to Rev? In-Reply-To: References: Message-ID: <4F384E28-590B-11D9-AAF7-000A9567A3E6@swcp.com> On Dec 28, 2004, at 9:40 AM, RGould8 at aol.com wrote: > I know that I can use Revolution to talk to Applescript to pass > values/commands to IE and Safari via their "Do Applescript" calls, but > is there a method of > going the other way? (For instance, pressing a button on a web-page > which > sends a Javascript call back to Revolution that can be picked up?) Maybe the Revolution app can be a simple HTTP server on a weird port. A form can be sent. A problem might be in staying on the same page and not expecting a new page. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From jbv.silences at Club-Internet.fr Tue Dec 28 15:52:02 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 28 Dec 2004 21:52:02 +0100 Subject: Sort : Rev cgi versus mySQL (+ possible bug) Message-ID: <41D1C771.19C93096@Club-Internet.fr> I've spent the whole afternoon playing (well actually trying to write the fastest script for a client) with Rev cgi and mySql, especially with sorting of data; IOW : ORDER BY vs sort lines of myVar... in case of a sort with multiple parameters, I've found successive sort cmds in the Rev cgi script to be much faster than SQL cmd ORDER BY... Furthermore, Rev seems to offer more options than SQL (international sort for instance). But I've also found that in the case of a variable with multiple lines & several items on each line, the following command : sort lines of myV ascending international by item 7 of each seems to get lost (actually outputs random sort) when item 7 of some lines is empty... has anyone experienced this ? Best, JB From scott at tactilemedia.com Tue Dec 28 15:49:56 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 28 Dec 2004 12:49:56 -0800 Subject: Passing Click from Image to Field? Message-ID: Looking for some new thinking on a problem: I have a translucent image which overlays a scrolling list field. I need to have the list field accept mouse clicks but because the overlaying image is only semi-transparent (not 100%) it prevents mouse clicks from reaching the list field. The only way I've been able to get around this is a kludge of locking the screen on mouseDown, hiding the image, using the click command to click at the mouse location, and then showing the image and unlocking the screen. It works, but it's a little slow, and I'm wondering if there might be a more efficient/programmatic solution. BTW, the image needs to appear above the list field because it semi-obscures the text at the edges of the field. Placing the image behind the field and making the field transparent isn't going to work in this case. Any other ideas?... Thanks & Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From lists at mangomultimedia.com Tue Dec 28 15:59:24 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 28 Dec 2004 12:59:24 -0800 Subject: Passing Click from Image to Field? In-Reply-To: References: Message-ID: <5AD332B2-5913-11D9-A219-000A956C462A@mangomultimedia.com> On Dec 28, 2004, at 12:49 PM, Scott Rossi wrote: > Looking for some new thinking on a problem: > > I have a translucent image which overlays a scrolling list field. I > need to > have the list field accept mouse clicks but because the overlaying > image is > only semi-transparent (not 100%) it prevents mouse clicks from > reaching the > list field. > > The only way I've been able to get around this is a kludge of locking > the > screen on mouseDown, hiding the image, using the click command to > click at > the mouse location, and then showing the image and unlocking the > screen. It > works, but it's a little slow, and I'm wondering if there might be a > more > efficient/programmatic solution. > > BTW, the image needs to appear above the list field because it > semi-obscures > the text at the edges of the field. Placing the image behind the > field and > making the field transparent isn't going to work in this case. > > Any other ideas?... So does the image only cover text on the edges and appear completely transparent in the center of the field? If so could you cut the image into four parts (left, right, top, bottom) so that the image only overlays the field on the very edges? Then you would only have to use your kludge if the user clicked on the very edge of the field and you would get normal performance otherwise. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Tue Dec 28 16:01:53 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Dec 2004 15:01:53 -0600 Subject: Keeping relationships during a drag event. In-Reply-To: <3d8af415041228100876f94b55@mail.gmail.com> References: <3d8af415041228100876f94b55@mail.gmail.com> Message-ID: <41D1C9C1.4090001@hyperactivesw.com> On 12/28/04 12:08 PM, Glen Bojsza wrote: > The basic description of what I am working to achieve is the following. > > I have 2 images (car1 and car2) that are connected by a line. > > When the user drags car1 to a different position on the card the > line's points are updated and to the user it appears that the images > are still connected (the idea is a "sticky" line. > > What I am trying to figure out is that I want a field to be placed > at the center on the line and it needs to maintain that relationship > with the line whenever the image locations are changed. > > The problem is that as the user drags an image around the line and > it's associated field need to move / update smoothly. > > I am looking at grouping the line and field verses taking the points > of the line and recalculating the new location of the field. > > I was hoping someone would have some experience in this area. One of the examples in the old MetaCard "Examples" stack did almost exactly what you describe. It was so similar, you may be able to simply grab the script and re-use it. You can still download the old MetaCard files at . It probably doesn't matter which version you grab, as the engine there is very old and restricted. However, once you decompress the files, open the mchelp stack and look for the Examples stack. You'll find the script and a working mockup in there on card 9. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Tue Dec 28 16:07:47 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 28 Dec 2004 15:07:47 -0600 Subject: Passing Click from Image to Field? In-Reply-To: References: Message-ID: <41D1CB23.1060702@chipp.com> Interesting, I was thinking just today about doing the same thing as a sort of 'workaround' for adding "..." at the end of each line larger than the width of the field. IOW, have each line 'disolve' to white at the right border. Scott, I can't think of another way to do what you're doing other than the way you're doing it. Passing events hasn't worked for me before on this kind of problem. best, Chipp Scott Rossi wrote: > Looking for some new thinking on a problem: > > I have a translucent image which overlays a scrolling list field. I need to > have the list field accept mouse clicks but because the overlaying image is > only semi-transparent (not 100%) it prevents mouse clicks from reaching the > list field. > > The only way I've been able to get around this is a kludge of locking the > screen on mouseDown, hiding the image, using the click command to click at > the mouse location, and then showing the image and unlocking the screen. It > works, but it's a little slow, and I'm wondering if there might be a more > efficient/programmatic solution. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 12/28/2004 From BNZ2 at CDC.GOV Tue Dec 28 16:13:43 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 16:13:43 -0500 Subject: Passing Click from Image to Field? Message-ID: <64878EF567131D4596246171F75FD4A9469E74@m-epo-1.epo.cdc.gov> If the list field has a set textheight, then you could calculate the distance from the top of the listfield to item 2 of the mouseloc, then divide that distance by the list fields textheight, and round it. That will give you the line number above which you clicked. Then, you can select that line number in the list field. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp Walters Sent: Tuesday, December 28, 2004 4:08 PM To: How to use Revolution Subject: Re: Passing Click from Image to Field? Interesting, I was thinking just today about doing the same thing as a sort of 'workaround' for adding "..." at the end of each line larger than the width of the field. IOW, have each line 'disolve' to white at the right border. Scott, I can't think of another way to do what you're doing other than the way you're doing it. Passing events hasn't worked for me before on this kind of problem. best, Chipp Scott Rossi wrote: > Looking for some new thinking on a problem: > > I have a translucent image which overlays a scrolling list field. I need to > have the list field accept mouse clicks but because the overlaying image is > only semi-transparent (not 100%) it prevents mouse clicks from reaching the > list field. > > The only way I've been able to get around this is a kludge of locking the > screen on mouseDown, hiding the image, using the click command to click at > the mouse location, and then showing the image and unlocking the screen. It > works, but it's a little slow, and I'm wondering if there might be a more > efficient/programmatic solution. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 12/28/2004 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gbojsza at gmail.com Tue Dec 28 16:22:09 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 28 Dec 2004 16:22:09 -0500 Subject: Keeping relationships during a drag event. In-Reply-To: <41D1C9C1.4090001@hyperactivesw.com> References: <3d8af415041228100876f94b55@mail.gmail.com> <41D1C9C1.4090001@hyperactivesw.com> Message-ID: <3d8af41504122813225df5ebaa@mail.gmail.com> Jacqueline / Chipp Thanks for the feedback. Chipp, your solution is perfect for me to work from. Jaqueline, I looked at the metacard example and the interesting point about it is that it uses a single polygon line...even though it connects three separate graphics. I am curious to see if Chipp's solution would extend to this (or even if it can). When I start to have multiple images connected with multiple lines which solution would be easier to maintain ie adding and deleting connections? What would you choose? thanks, Glen On Tue, 28 Dec 2004 15:01:53 -0600, J. Landman Gay wrote: > On 12/28/04 12:08 PM, Glen Bojsza wrote: > > > The basic description of what I am working to achieve is the following. > > > > I have 2 images (car1 and car2) that are connected by a line. > > > > When the user drags car1 to a different position on the card the > > line's points are updated and to the user it appears that the images > > are still connected (the idea is a "sticky" line. > > > > What I am trying to figure out is that I want a field to be placed > > at the center on the line and it needs to maintain that relationship > > with the line whenever the image locations are changed. > > > > The problem is that as the user drags an image around the line and > > it's associated field need to move / update smoothly. > > > > I am looking at grouping the line and field verses taking the points > > of the line and recalculating the new location of the field. > > > > I was hoping someone would have some experience in this area. > > One of the examples in the old MetaCard "Examples" stack did almost > exactly what you describe. It was so similar, you may be able to simply > grab the script and re-use it. > > You can still download the old MetaCard files at > . It probably doesn't matter which version you > grab, as the engine there is very old and restricted. However, once you > decompress the files, open the mchelp stack and look for the Examples > stack. You'll find the script and a working mockup in there on card 9. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From herz at ucsd.edu Tue Dec 28 16:27:07 2004 From: herz at ucsd.edu (Richard K. Herz) Date: Tue, 28 Dec 2004 13:27:07 -0800 Subject: how to download and install externals References: <20041228170025.ECE55930112@mail.runrev.com> Message-ID: <005f01c4ed24$151a57b0$58bfef84@HerzLabS> At http://reactorlab.net/intro/externals.html are brief instructions for downloading externals from a server and using them on a client in a Rev application. The instructions are trivial for Windows but nontrivial for Mac OS X. In my application, I wanted a client Rev app without the revxml external to be able to download and use stacks which require the revxml external. The instructions should apply to other externals. Rich Herz From jacque at hyperactivesw.com Tue Dec 28 16:35:07 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Dec 2004 15:35:07 -0600 Subject: Passing Click from Image to Field? In-Reply-To: References: Message-ID: <41D1D18B.6090609@hyperactivesw.com> On 12/28/04 2:49 PM, Scott Rossi wrote: > Looking for some new thinking on a problem: > > I have a translucent image which overlays a scrolling list field. I need to > have the list field accept mouse clicks but because the overlaying image is > only semi-transparent (not 100%) it prevents mouse clicks from reaching the > list field. > > The only way I've been able to get around this is a kludge of locking the > screen on mouseDown, hiding the image, using the click command to click at > the mouse location, and then showing the image and unlocking the screen. It > works, but it's a little slow, and I'm wondering if there might be a more > efficient/programmatic solution. > > BTW, the image needs to appear above the list field because it semi-obscures > the text at the edges of the field. Placing the image behind the field and > making the field transparent isn't going to work in this case. > > Any other ideas?... It depends on what you need to do, but you might be able to calculate the line number from the clickV, then artificially set the hilitedlines of the field to that line number, then send either a "mouseup" or a "selectionChanged" message directly to the field (or some other custom handler.) The field would need a mouseUp or selectionChanged handler that examines its hilitedlines and takes action. This will calculate a line number based on the click location: function clickToLine tFldNum put item 2 of the rect of fld tFldNum into tTop put the effective textheight of fld tFldNum into tHt return (the clickV - tTop) div tHt + 1 end clickToLine -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gwalias-rev at yahoo.com Tue Dec 28 16:52:27 2004 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Tue, 28 Dec 2004 13:52:27 -0800 (PST) Subject: Setting Pixels In-Reply-To: <005f01c4ed24$151a57b0$58bfef84@HerzLabS> Message-ID: <20041228215227.70852.qmail@web51108.mail.yahoo.com> Dear Revolutionaries I hope you are all having a happy holiday. Mine started really well as the copy of Dan Shafer's book I had ordered, arrived the day I was leaving for the holidays :-) I have thoroughly enjoyed reading it these last few days and recommend it whole-heartedly to any fellow rev newbies (it's available on the runrev website) - so when do the next two volumes come out? Here is my question - Dan's book describes the use of the 'mouseColor' handler to get the color value of the pixel that is below the mouse - is there any way in rev, to set the value of an individual pixel? Best Gordon ===== :::::::::: Gordon Webster :::::::::: From scott at tactilemedia.com Tue Dec 28 17:03:17 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 28 Dec 2004 14:03:17 -0800 Subject: Setting Pixels In-Reply-To: <20041228215227.70852.qmail@web51108.mail.yahoo.com> Message-ID: Recently, Gordon Webster wrote: > Here is my question - Dan's book describes the use of > the 'mouseColor' handler to get the color value of the > pixel that is below the mouse - is there any way in > rev, to set the value of an individual pixel? See Ken Ray's useful explanation here: http://sonsothunder.com/devres/metacard/tips/imag003.htm This explains how imageData, alphaData and maskData work. It may be a bit overwhelming at first, but there's some sample code included to get you started. (I just used this last night -- thank Ken!) Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jacque at hyperactivesw.com Tue Dec 28 17:07:49 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Dec 2004 16:07:49 -0600 Subject: Keeping relationships during a drag event. In-Reply-To: <3d8af41504122813225df5ebaa@mail.gmail.com> References: <3d8af415041228100876f94b55@mail.gmail.com> <41D1C9C1.4090001@hyperactivesw.com> <3d8af41504122813225df5ebaa@mail.gmail.com> Message-ID: <41D1D935.4090603@hyperactivesw.com> On 12/28/04 3:22 PM, Glen Bojsza wrote: > Jacqueline / Chipp > > Thanks for the feedback. > > Chipp, your solution is perfect for me to work from. > > Jaqueline, I looked at the metacard example and the interesting point > about it is that it uses a single polygon line...even though it > connects three separate graphics. > > I am curious to see if Chipp's solution would extend to this (or even > if it can). When I start to have multiple images connected with > multiple lines which solution would be easier to maintain ie adding > and deleting connections? > > What would you choose? I haven't looked at Chipp's, so I can't say for sure. But the MC way is pretty easy -- just add another 2-line set of coordinates to the "points" list for each new object. You can have an unlimited number of lines. If you use a script like the MC example to loop through all your images, the number of lines and their points will get calculated automatically each time the handler runs; you won't even have to do the math. Instead of "repeat with i = 1 to 3" you would use "repeat with i = 1 to the number of images". This technique is also very fast. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Dec 28 17:12:03 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 28 Dec 2004 14:12:03 -0800 Subject: Passing Click from Image to Field? In-Reply-To: <41D1D18B.6090609@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: >> I have a translucent image which overlays a scrolling list field. I need to >> have the list field accept mouse clicks but because the overlaying image is >> only semi-transparent (not 100%) it prevents mouse clicks from reaching the >> list field. > It depends on what you need to do, but you might be able to calculate > the line number from the clickV, then artificially set the hilitedlines > of the field to that line number, then send either a "mouseup" or a > "selectionChanged" message directly to the field (or some other custom > handler.) The field would need a mouseUp or selectionChanged handler > that examines its hilitedlines and takes action. > > This will calculate a line number based on the click location: > > function clickToLine tFldNum > put item 2 of the rect of fld tFldNum into tTop > put the effective textheight of fld tFldNum into tHt > return (the clickV - tTop) div tHt + 1 > end clickToLine Thanks to you and Jonathan Lynch for this idea. I need to account for the scroll of the field as well since it's a scrolling list. I guess I have to add the scroll of the field multiplied by the textHeight of the field to figure out the equivalent clicked line. Hmmm... This is getting complicated but I guess it's my lot in life to develop overly complex solutions. :-) Thanks & Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From lists at mangomultimedia.com Tue Dec 28 16:58:22 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 28 Dec 2004 13:58:22 -0800 Subject: Passing Click from Image to Field? In-Reply-To: <64878EF567131D4596246171F75FD4A9469E74@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E74@m-epo-1.epo.cdc.gov> Message-ID: <97609F36-591B-11D9-A219-000A956C462A@mangomultimedia.com> On Dec 28, 2004, at 1:13 PM, Lynch, Jonathan wrote: > If the list field has a set textheight, then you could calculate the > distance from the top of the listfield to item 2 of the mouseloc, then > divide that distance by the list fields textheight, and round it. That > will give you the line number above which you clicked. Then, you can > select that line number in the list field. Great idea. It reminded me that I had some code sitting around that did this. This takes into account the vertical scroll of the field and won't return a line number less than 1 or greater then the number of lines in the field. on mouseMove pX, pY put number of lines of text of fld "MyField" into tLineCount subtract top of fld "MyField" + borderWidth of fld "MyField" from pY put max(0, \ min(tLineCount, \ (pY + vScroll of fld "MyField") / effective textHeight of fld "MyField") \ ) into tLine put trunc(tLine) into tLine if tLine <> tLineCount then add 1 to tLine put "Line:" && tLine end mouseMove This could probably be optimized a bit but it should do the trick. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Dec 28 17:13:42 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 28 Dec 2004 14:13:42 -0800 Subject: Passing Click from Image to Field? In-Reply-To: References: Message-ID: On Dec 28, 2004, at 2:12 PM, Scott Rossi wrote: > > Thanks to you and Jonathan Lynch for this idea. I need to account for > the > scroll of the field as well since it's a scrolling list. I guess I > have to > add the scroll of the field multiplied by the textHeight of the field > to > figure out the equivalent clicked line. Hmmm... > > This is getting complicated but I guess it's my lot in life to develop > overly complex solutions. :-) I sent an example that does this but it hasn't gone through yet apparently. Anyhow, this one is a little prettier then the first one I sent: on mouseMove pX, pY subtract top of fld "MyField" + borderWidth of fld "MyField" from pY put max(0, \ min(number of lines of text of fld "MyField", \ trunc((pY + vScroll of fld "MyField") / effective textHeight of fld "MyField") + 1) \ ) into tLine put "Line:" && tLine end mouseMove -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From scott at tactilemedia.com Tue Dec 28 17:26:26 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 28 Dec 2004 14:26:26 -0800 Subject: Passing Click from Image to Field? In-Reply-To: <41D1D18B.6090609@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > This will calculate a line number based on the click location Dude, you rule. Your function with bit of modification works: on mouseUp put clickToLine(tFldNum) end mouseUp function clickToLine tFldNum put item 2 of the rect of fld tFldNum into T put the effective textHeight of fld tFldNum into H put (the scroll of fld tFldNum) div \ (the effective textHeight of fld tFldNum) into S return (the clickV - T) div H + 1 + S end clickToLine Now to see if this can work in the real stack. :-) Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Tue Dec 28 17:31:11 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 28 Dec 2004 14:31:11 -0800 Subject: Passing Click from Image to Field? In-Reply-To: Message-ID: Recently, Trevor DeVore wrote: > I sent an example that does this but it hasn't gone through yet > apparently. Anyhow, this one is a little prettier then the first one I > sent: > > on mouseMove pX, pY > subtract top of fld "MyField" + borderWidth of fld "MyField" from pY > put max(0, \ > min(number of lines of text of fld "MyField", \ > trunc((pY + vScroll of fld "MyField") / effective textHeight of fld > "MyField") + 1) \ > ) into tLine > put "Line:" && tLine > end mouseMove Thanks for this. A little messing around with Jacque's function produced similar results, although yours works on mouseMove. Thanks for all the suggestions. More may be needed soon... :-) Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From BNZ2 at CDC.GOV Tue Dec 28 17:33:32 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Tue, 28 Dec 2004 17:33:32 -0500 Subject: resize in browse mode Message-ID: <64878EF567131D4596246171F75FD4A90EC5C0@m-epo-1.epo.cdc.gov> The following script is a bit complex - but it does the following: 1) if you right-click on the main part of the field, it lets you drag around the location of the field 2) if you right-click on one of the corners of the field, it lets you resize the field from that corner 3) if the mouse is over one of the corners of the field, it changes to a cross, to let you know you are over one of the corner handlers. (apologies for the fact that I type lines out very far to the right, making them look funny upon being word wrapped - if you paste it into a script, it should look the way it is supposed to) ============== local allowDrag local allowResizeTL local allowResizeTR local allowResizeBL local allowREsizeBR local CHS on mouseDown theButton if theButton = 3 then put 5 into CHS if ((mouseH()-(the left of me)) < CHS) and ((mouseV()-(the top of me)) < CHS) then put (mouseH()-(the left of me)) & "," & (mouseV()-(the top of me)) & "," & (The right of me) & "," & (the bottom of me) into allowResizeTL else if ((the right of me)-(mouseH()) < CHS) and ((mouseV()-(the top of me)) < CHS) then put ((the right of me)-(mouseH())) & "," & (mouseV()-(the top of me)) & "," & (The left of me) & "," & (the bottom of me) into allowResizeTR else if ((mouseH()-(the left of me)) < CHS) and (((the bottom of me))-MouseV() < CHS) then put (mouseH()-(the left of me)) & "," & ((the bottom of me)-mouseV()) & "," & (The right of me) & "," & (the top of me) into allowResizeBL else if ((the right of me)-(mouseH()) < CHS) and (((the bottom of me))-MouseV() < CHS) then put ((the right of me)-(mouseH())) & "," & ((the bottom of me)-mouseV()) & "," & (The left of me) & "," & (the top of me) into allowResizeBR else put (mouseH()-(the left of me)) & "," & (mouseV()-(the top of me)) into allowDrag set the cursor to cross lock cursor end if end if end mouseDown on mouseMove x,y put 5 into CHS if allowDrag <> empty then set the top of me to Y-(item 2 of allowdrag) set the Left of me to X-(item 1 of allowDrag) else if allowResizeTL <> empty then if ((item 3 of allowResizeTL)-X) > CHS*2 then set the width of me to (item 3 of allowResizeTL)-(X-(item 1 of allowResizeTL)) set the Left of me to X-(item 1 of allowResizeTL) else set the width of me to CHS*2 set the Left of me to ((item 3 of allowResizeTL)-CHS*2) end if if ((item 4 of allowResizeTL)-Y) > CHS*2 then set the height of me to (item 4 of allowResizeTL)-(Y-(item 2 of allowResizeTL)) set the top of me to Y-(item 2 of allowResizeTL) else set the height of me to CHS*2 set the top of me to ((item 4 of allowResizeTL)-CHS*2) end if else if allowResizeTR <> empty then if (X-(item 3 of allowResizeTR)) > CHS*2 then set the width of me to (X+(item 1 of allowResizeTR))-(item 3 of allowResizeTR) set the Right of me to (X+(item 1 of allowResizeTR)) else set the width of me to CHS*2 set the right of me to ((item 3 of allowResizeTR)+CHS*2) end if if ((item 4 of allowResizeTR)-Y) > CHS*2 then set the height of me to (item 4 of allowResizeTR)-(Y-(item 2 of allowResizeTR)) set the top of me to Y-(item 2 of allowResizeTR) else set the height of me to CHS*2 set the top of me to ((item 4 of allowResizeTR)-CHS*2) end if else if allowResizeBL <> empty then if ((item 3 of allowResizeBL)-X) > CHS*2 then set the width of me to (item 3 of allowResizeBL)-(X-(item 1 of allowResizeBL)) set the Left of me to X-(item 1 of allowResizeBL) else set the width of me to CHS*2 set the Left of me to ((item 3 of allowResizeBL)-CHS*2) end if if (Y-(item 4 of allowResizeBL)) > CHS*2 then set the height of me to (Y+(item 2 of allowResizeBL))-(item 4 of allowResizeBL) set the bottom of me to (Y+(item 2 of allowResizeBL)) else set the height of me to CHS*2 set the bottom of me to ((item 4 of allowResizeBL)+CHS*2) end if else if allowResizeBR <> empty then if (X-(item 3 of allowResizeBR)) > CHS*2 then set the width of me to (X+(item 1 of allowResizeBR))-(item 3 of allowResizeBR) set the Right of me to (X+(item 1 of allowResizeBR)) else set the width of me to CHS*2 set the right of me to ((item 3 of allowResizeBR)+CHS*2) end if if (Y-(item 4 of allowResizeBR)) > CHS*2 then set the height of me to (Y+(item 2 of allowResizeBR))-(item 4 of allowResizeBR) set the bottom of me to (Y+(item 2 of allowResizeBR)) else set the height of me to CHS*2 set the bottom of me to ((item 4 of allowResizeBR)+CHS*2) end if else if (((mouseH()-(the left of me)) < CHS) and ((mouseV()-(the top of me)) < CHS)) or (((the right of me)-(mouseH()) < CHS) and ((mouseV()-(the top of me)) < CHS)) or (((mouseH()-(the left of me)) < CHS) and (((the bottom of me))-MouseV() < CHS)) or (((the right of me)-(mouseH()) < CHS) and (((the bottom of me))-MouseV() < CHS)) then set the cursor to cross set the lockcursor to true else unlock cursor exit MouseMove end if end if end mouseMove on mouseLeave unlock cursor end mouseLeave on mouseUp put empty into allowDrag put empty into allowResizeTL put empty into allowResizeTR put empty into allowResizeBL put empty into allowResizeBR unlock cursor end mouseUp on mouseRelease mouseUp end mouseRelease From ps1 at softseven.org Tue Dec 28 17:36:52 2004 From: ps1 at softseven.org (Paul Salyers) Date: Tue, 28 Dec 2004 16:36:52 -0600 Subject: resize a card to full screen size In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5C0@m-epo-1.epo.cdc.gov > References: <64878EF567131D4596246171F75FD4A90EC5C0@m-epo-1.epo.cdc.gov> Message-ID: <6.1.1.1.2.20041228163217.027b4688@softseven.org> How do you make a program open up in full screen size whether your using 640X480, 800X600, 1600X1200, or what ever size your using. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org http://ps1.softseven.org From scott at tactilemedia.com Tue Dec 28 17:43:07 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 28 Dec 2004 14:43:07 -0800 Subject: resize a card to full screen size In-Reply-To: <6.1.1.1.2.20041228163217.027b4688@softseven.org> Message-ID: Recently, Paul Salyers wrote: > How do you make a program open up in full screen size whether your using > 640X480, 800X600, 1600X1200, or what ever size your using. If you're building a dynamic interface, see the screenRect property to calculate the dimensions of the screen. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gbojsza at gmail.com Tue Dec 28 18:19:17 2004 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 28 Dec 2004 18:19:17 -0500 Subject: Keeping relationships during a drag event. In-Reply-To: <41D1D935.4090603@hyperactivesw.com> References: <3d8af415041228100876f94b55@mail.gmail.com> <41D1C9C1.4090001@hyperactivesw.com> <3d8af41504122813225df5ebaa@mail.gmail.com> <41D1D935.4090603@hyperactivesw.com> Message-ID: <3d8af41504122815196384d1f2@mail.gmail.com> Well then I will travel down this path. thanks, Glen On Tue, 28 Dec 2004 16:07:49 -0600, J. Landman Gay wrote: > On 12/28/04 3:22 PM, Glen Bojsza wrote: > > > Jacqueline / Chipp > > > > Thanks for the feedback. > > > > Chipp, your solution is perfect for me to work from. > > > > Jaqueline, I looked at the metacard example and the interesting point > > about it is that it uses a single polygon line...even though it > > connects three separate graphics. > > > > I am curious to see if Chipp's solution would extend to this (or even > > if it can). When I start to have multiple images connected with > > multiple lines which solution would be easier to maintain ie adding > > and deleting connections? > > > > What would you choose? > > I haven't looked at Chipp's, so I can't say for sure. But the MC way is > pretty easy -- just add another 2-line set of coordinates to the > "points" list for each new object. You can have an unlimited number of > lines. If you use a script like the MC example to loop through all your > images, the number of lines and their points will get calculated > automatically each time the handler runs; you won't even have to do the > math. Instead of "repeat with i = 1 to 3" you would use "repeat with i = > 1 to the number of images". > > This technique is also very fast. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From listas at lektor.net Tue Dec 28 18:33:51 2004 From: listas at lektor.net (Jose L. Rodriguez) Date: Wed, 29 Dec 2004 00:33:51 +0100 Subject: Passing Click from Image to Field? In-Reply-To: <20041228210844.E9D83930121@mail.runrev.com> Message-ID: Hi Scott, Try this on the image script: on mousedown put item 2 of the clickloc+the scroll of fld 1 into theend put item 2 of the topleft of fld 1 into thestart put round (theend-thestart)/the textheight of fld 1 into theline select line theline of fld 1 end mousedown Regards Jose Luis El 28/12/04 22:08, use-revolution-request at lists.runrev.com escribi?: > > Message: 13 > Date: Tue, 28 Dec 2004 12:49:56 -0800 > From: Scott Rossi > Subject: Passing Click from Image to Field? > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Looking for some new thinking on a problem: > > I have a translucent image which overlays a scrolling list field. I need to > have the list field accept mouse clicks but because the overlaying image is > only semi-transparent (not 100%) it prevents mouse clicks from reaching the > list field. > > The only way I've been able to get around this is a kludge of locking the > screen on mouseDown, hiding the image, using the click command to click at > the mouse location, and then showing the image and unlocking the screen. It > works, but it's a little slow, and I'm wondering if there might be a more > efficient/programmatic solution. > > BTW, the image needs to appear above the list field because it semi-obscures > the text at the edges of the field. Placing the image behind the field and > making the field transparent isn't going to work in this case. > > Any other ideas?... > > Thanks & Regards, > > Scott Rossi From chipp at chipp.com Tue Dec 28 18:47:23 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 28 Dec 2004 15:47:23 -0800 Subject: menu woes... Message-ID: <41D1F08B.5090606@chipp.com> Hi, I'm stuck on a project and I can't figure out what to do. It's a pretty simple problem. I've designed and developed this fairly complete stack w/interface and scripted all the Geometry nicely on the PC. All the functionality is pretty much finished, but I just need to add a simple File Edit Help menu. So, I do this on the PC and everything works fine. I put the menu group in the top of the interface along some other buttons/features the users accesses. Now, when I go to the Mac, it cuts off the top of the interface (which I NEED). If I set the height of the stack on a preOpenStack handler after the obnoxious resizing, it only adds space to the bottom...I still don't see the top. I know there must be a simple way to just add a menubar on a MacOSX application w/out having to butcher my stack? I just don't know what it is. I don't want to rewrite all the Geometry Mgmt and redesign this project...all I want to do is what I've always done in SuperCard and HyperCard--namely add a menu to a Mac application. Any and all help is much appreciated. Thanks in Advance, Chipp From ambassador at fourthworld.com Tue Dec 28 19:22:22 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Dec 2004 16:22:22 -0800 Subject: menu woes... In-Reply-To: <41D1F08B.5090606@chipp.com> References: <41D1F08B.5090606@chipp.com> Message-ID: <41D1F8BE.30605@fourthworld.com> Chipp Walters wrote: > Hi, > > I'm stuck on a project and I can't figure out what to do. It's a pretty > simple problem. > > I've designed and developed this fairly complete stack w/interface and > scripted all the Geometry nicely on the PC. All the functionality is > pretty much finished, but I just need to add a simple File Edit Help > menu. So, I do this on the PC and everything works fine. I put the menu > group in the top of the interface along some other buttons/features the > users accesses. > > Now, when I go to the Mac, it cuts off the top of the interface (which I > NEED). If I set the height of the stack on a preOpenStack handler after > the obnoxious resizing, it only adds space to the bottom...I still don't > see the top. I know there must be a simple way to just add a menubar on > a MacOSX application w/out having to butcher my stack? I just don't know > what it is. I don't want to rewrite all the Geometry Mgmt and redesign > this project... I don't work much with the GM, so if you're using that there may be other considerations. But in general whenever the menubar cropping is off the first thing I do is double-check that my menu group is the right size; that is, it's not any larger than the menus themselves, and its bottom is where you want the stack cropped when it opens on Mac. If that's already the case, the next question is whether this is a substack whose mainstack has no menubar? If so this may be a known sticky issue with the resizing behavior, and until that fix is released the workaround is to have a script set the size appropriately on Mac in a preOpenStack handler. Those two tips have handled every case of odd resizing I've come across yet. If they don't do it I'm stumped. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revolution at jaedworks.com Tue Dec 28 19:13:49 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 28 Dec 2004 16:13:49 -0800 Subject: Dealing with empty groups... In-Reply-To: <41D1A03C.7080007@fourthworld.com> References: <64878EF567131D4596246171F75FD4A90EC5BE@m-epo-1.epo.cdc.gov> <41D1A03C.7080007@fourthworld.com> Message-ID: At 10:04 AM -0800 12/28/04, Richard Gaskin wrote: >Groups are containers for controls, but are not controls themselves. >The messages you see passed to the group are generated by events on >the controls. This is not quite correct - groups are controls. (Expressions like "the name of control 3" treat groups as controls, for example.) But they don't receive mouse messages directly. I think this makes some conceptual sense - although it's confusing - because groups aren't user-interface objects in and of themselves. As containers for other objects, they're more abstract. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From mark at maseurope.net Tue Dec 28 19:34:13 2004 From: mark at maseurope.net (Mark Smith) Date: Wed, 29 Dec 2004 00:34:13 +0000 Subject: Geometry In-Reply-To: <20041228210844.E9D83930121@mail.runrev.com> References: <20041228210844.E9D83930121@mail.runrev.com> Message-ID: <5D663C32-5931-11D9-B606-000D93C19756@maseurope.net> Can some kind soul point out where I can get any information of any kind at all about using the geometry manager? I've had a go... I set the relationships between controls on a card, saved, resized the window.....nothing happened..... I have searched the online docs, and the printed docs, which hint at the existence of a tutorial....but I've drawn a complete blank. The only info that seems to be available is the paid for video tutorial from revOnLine. Thanks, Mark Smith From chipp at chipp.com Tue Dec 28 19:35:34 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 28 Dec 2004 16:35:34 -0800 Subject: menu woes... In-Reply-To: <41D1F8BE.30605@fourthworld.com> References: <41D1F08B.5090606@chipp.com> <41D1F8BE.30605@fourthworld.com> Message-ID: <41D1FBD6.2000506@chipp.com> Thanks Richard, Actually what I want is for there to be NO stack resizing on either platform. Seems like a pretty easy request, but I can't figure out how to make it happen. I can reset the stack to the correct height on the Mac, but doing so still doesn't move everthing down so that it is visible. It's a Main stack. Do you know in MC if setting the menubar property automatically resizes the stack? I'm wondering if this is a Rev only problem? Also, I'm not using GM, using my own layout manager, which I can turn off and on. It's not interferring. -Chipp Richard Gaskin wrote: > I don't work much with the GM, so if you're using that there may be > other considerations. But in general whenever the menubar cropping is > off the first thing I do is double-check that my menu group is the right > size; that is, it's not any larger than the menus themselves, and its > bottom is where you want the stack cropped when it opens on Mac. > > If that's already the case, the next question is whether this is a > substack whose mainstack has no menubar? If so this may be a known > sticky issue with the resizing behavior, and until that fix is released > the workaround is to have a script set the size appropriately on Mac in > a preOpenStack handler. From mwieder at ahsoftware.net Tue Dec 28 19:44:53 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 28 Dec 2004 16:44:53 -0800 Subject: menu woes... In-Reply-To: <41D1F08B.5090606@chipp.com> References: <41D1F08B.5090606@chipp.com> Message-ID: <4629261385.20041228164453@ahsoftware.net> Chipp- Tuesday, December 28, 2004, 3:47:23 PM, you wrote: CW> Now, when I go to the Mac, it cuts off the top of the interface (which I CW> NEED). If I set the height of the stack on a preOpenStack handler after CW> the obnoxious resizing, it only adds space to the bottom...I still don't CW> see the top. I know there must be a simple way to just add a menubar on CW> a MacOSX application w/out having to butcher my stack? I just don't know CW> what it is. I don't want to rewrite all the Geometry Mgmt and redesign CW> this project...all I want to do is what I've always done in SuperCard CW> and HyperCard--namely add a menu to a Mac application. I have stopped using menus in my apps because of this wherever possible. If you don't need to have the menu be the system menu in OSX then uncheck that and your menus should work fine. But if you *do* want to do the Mac Thing and have your menus replace the system menu while your app is active, then you have to expect that the upper part of your visible stack will be hidden behind the system menubar. Or you can have a Windows version of your app and an OSX version. As far as I know, there's no easy way out. Menuing is just broken. You have a choice: have extra blank space at the top of your Windows app; do without OSX system menus; or have two separate builds. -- -Mark Wieder mwieder at ahsoftware.net From mark at maseurope.net Tue Dec 28 19:46:18 2004 From: mark at maseurope.net (Mark Smith) Date: Wed, 29 Dec 2004 00:46:18 +0000 Subject: Subject: menu woes... In-Reply-To: <20041229002517.4D64F930144@mail.runrev.com> References: <20041229002517.4D64F930144@mail.runrev.com> Message-ID: <0D2BF6BB-5933-11D9-B606-000D93C19756@maseurope.net> Alternatively, you can have a separate sub-stack that contains the menu group, and then set the menubar of the stack you want it in, in an openStack handler. ie. stack "myAppsMenus" is a sub-stack of stack "myApp" create the menu in stack "myAppsMenus", call the menu group "Menus1" in stack "myApp"'s stack script: on openStack set the menuBar of me to "Menus1" end openStack You get the idea... Mark From ambassador at fourthworld.com Tue Dec 28 20:08:55 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Dec 2004 17:08:55 -0800 Subject: menu woes... In-Reply-To: <41D1FBD6.2000506@chipp.com> References: <41D1F08B.5090606@chipp.com> <41D1F8BE.30605@fourthworld.com> <41D1FBD6.2000506@chipp.com> Message-ID: <41D203A7.6020006@fourthworld.com> Chipp Walters wrote: > Actually what I want is for there to be NO stack resizing on either > platform. Seems like a pretty easy request, but I can't figure out how > to make it happen. I can reset the stack to the correct height on the > Mac, but doing so still doesn't move everthing down so that it is visible. Technically, it sounds like what you want is _some_ resizing, but limited to cropping and scrolling to hide the menubar on Mac OS, is that correct? Or do you want those menus showing in the window a la all non-Mac systems? > It's a Main stack. Do you know in MC if setting the menubar property > automatically resizes the stack? I'm wondering if this is a Rev only > problem? > > Also, I'm not using GM, using my own layout manager, which I can turn > off and on. It's not interferring. That narrows down possible causes. The crop-and-scroll of a stack to accomodate the menubar is an automatic engine behavior when the stack's menuGroup property contains the name of a group that exists in the stack. When it works well it's a joyful thing of beautiful simplicity: set one property and the same stack design works automatically on both platforms, cropping the stack and scrolling the card contents up to match. If you want the menus to appear in the stack set that property to empty and you should be fine. If you want the traditional menus-in-the-menubar Mac thang double-check that the menuGroup property refers to the correct group object, and double-check that its bounds do not extend below where you want the cropping to happen. Here's what should be happening: Windows -- All objects shown, card height matches stack height: ------------------------------------ | Window Title | -------------------------------------- --- | File Edit Help | | -------------------------------------- | | | card | Content region | | | | | -------------------------------------- --- Mac - When the menugroup property is set the stack is cropped and the card scrolled up to hide menus, which are drawn in the system's menu bar: ------------------------------------ --- | Window Title | | -------------------------------------- | | | card | Content region | | | | | -------------------------------------- --- It may be the case that there's something up with making a menuless stack and adding menus on Win first, but here's what I'd do to make sure it's as hunky dory as possible: Take it over to Mac, turn on the editMenus property so everything is shown just as it is on Windows, adjust the layout if needed, and save. The menuing mechanism has a couple of obscure bugs, but all of my apps have menus that work well on both platforms so I have high confidence in it. If these things don't take care of the issue feel free to send it to me if it's small and I'll see what I can determine. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Tue Dec 28 20:26:20 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 29 Dec 2004 01:26:20 +0000 Subject: Geometry In-Reply-To: <5D663C32-5931-11D9-B606-000D93C19756@maseurope.net> References: <20041228210844.E9D83930121@mail.runrev.com> <5D663C32-5931-11D9-B606-000D93C19756@maseurope.net> Message-ID: <41D207BC.6020804@tweedly.net> Mark Smith wrote: > Can some kind soul point out where I can get any information of any > kind at all about using the geometry manager? > I've had a go... I set the relationships between controls on a card, > saved, resized the window.....nothing happened..... Did you set relationships only between controls ? or did you make some of them relate to the right/bottom window edge(s) ? > I have searched the online docs, and the printed docs, which hint at > the existence of a tutorial....but I've drawn a complete blank. > The only info that seems to be available is the paid for video > tutorial from revOnLine. Try this ..... 1. Create a new mainstack 2. Put a single textArea into it 3. drag the bottom, right corner of the field to somewhere near the bottom, right of the stack window 4. inspect the field 5. choose "Geometry" 6. make sure "Scale" is selected in the top radio-button 7. click on the long cross-hatched bar connecting the "selected object" to the bottom of the small window within the geometry manager/inspector window (it should turn red - if not, click again and it will cycle through black x-hatch -> solid red -> wiggly red -> black x-hatched ...) 8 click on the similar long bar attaching it to the right - until it is solid red also. 9. close the inspector window 10. resize the stack window .... and the field should resize along with it if that works - carry on from there if not - then I probably missed out something that just happened to be ok on my system .... -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 28/12/2004 From chipp at chipp.com Tue Dec 28 20:40:02 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 28 Dec 2004 17:40:02 -0800 Subject: Geometry In-Reply-To: <5D663C32-5931-11D9-B606-000D93C19756@maseurope.net> References: <20041228210844.E9D83930121@mail.runrev.com> <5D663C32-5931-11D9-B606-000D93C19756@maseurope.net> Message-ID: <41D20AF2.4040704@chipp.com> http://www.altuit.com/webs/altuit2/RunRev/VideoTutorials.htm Mark Smith wrote: > Can some kind soul point out where I can get any information of any kind > at all about using the geometry manager? > I've had a go... I set the relationships between controls on a card, > saved, resized the window.....nothing happened..... -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 12/28/2004 From chipp at chipp.com Tue Dec 28 22:39:24 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 28 Dec 2004 19:39:24 -0800 Subject: menu woes...!SOLVED! In-Reply-To: <41D203A7.6020006@fourthworld.com> References: <41D1F08B.5090606@chipp.com> <41D1F8BE.30605@fourthworld.com> <41D1FBD6.2000506@chipp.com> <41D203A7.6020006@fourthworld.com> Message-ID: <41D226EC.70907@chipp.com> Muchos Gracias to Senor Gaskin!!! For those of you who've come lately to this, the problem was simple. How to add menus for both Mac and PC to an existing stack *without* ever resizing the existing stack. As you all probably know, the minute you add a menu to a stack, it's height is recalculated whenever it opens on a different platform. The reason is that the menubar is 'on the card' for the PC, but at the top of the screen for the Mac. So, when viewing the stack on the Mac, the stack is automatically reduced in height by the amount of the menubar (thus screwing up my carefully rendered screen layout;-). bummer, especially if you don't want this behavior. So, Richard's idea was pretty straightforward: set the editmenu property of the stack to true hide the menu group So, here's how it works: When the stack is opened up on the Mac, because the editmenu prop is true, the menus appear at the top of the card and not in the menubar. But a little known fact (only Richard knows it apparently as it's not documented) is that the menus will appear in the menubar if the menuGrp is hidden! So, just hide the group and then show it if the platform is Win32. Works like a charm...and no resizing of the stack whatsoever. Cool, and thanks Richard! -Chipp From jacque at hyperactivesw.com Wed Dec 29 00:42:44 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Dec 2004 23:42:44 -0600 Subject: menu woes...!SOLVED! In-Reply-To: <41D226EC.70907@chipp.com> References: <41D1F08B.5090606@chipp.com> <41D1F8BE.30605@fourthworld.com> <41D1FBD6.2000506@chipp.com> <41D203A7.6020006@fourthworld.com> <41D226EC.70907@chipp.com> Message-ID: <41D243D4.2090405@hyperactivesw.com> On 12/28/04 9:39 PM, Chipp Walters wrote: > Muchos Gracias to Senor Gaskin!!! > > For those of you who've come lately to this, the problem was simple. How > to add menus for both Mac and PC to an existing stack *without* ever > resizing the existing stack. > > As you all probably know, the minute you add a menu to a stack, it's > height is recalculated whenever it opens on a different platform. The > reason is that the menubar is 'on the card' for the PC, but at the top > of the screen for the Mac. So, when viewing the stack on the Mac, the > stack is automatically reduced in height by the amount of the menubar > (thus screwing up my carefully rendered screen layout;-). > > bummer, especially if you don't want this behavior. > > So, Richard's idea was pretty straightforward: > > set the editmenu property of the stack to true > hide the menu group > > So, here's how it works: When the stack is opened up on the Mac, because > the editmenu prop is true, the menus appear at the top of the card and > not in the menubar. But a little known fact (only Richard knows it > apparently as it's not documented) is that the menus will appear in the > menubar if the menuGrp is hidden! So, just hide the group and then show > it if the platform is Win32. > > Works like a charm...and no resizing of the stack whatsoever. > > Cool, and thanks Richard! I've got a detailed explanation of this in my HyperCard-to-Rev tutorial too, in particular: Scott Raney always stressed that if you plan to deliver on both Mac and Windows, you should always put your menu bar in very early in development. Plan for the scroll behavior on Macs. The tutorial suggests another (more standard) way to solve the problem, though it may have messed up your existing geometry: If your geometry measured the locations of all objects from the bottom up rather than the top down, then the above method would have worked too. There's also a script in there that will move all the stack objects down and make room for a new menubar. Since I port over so many HyperCard stacks, I use this technique a lot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 29 00:46:44 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Dec 2004 23:46:44 -0600 Subject: menu woes... In-Reply-To: <4629261385.20041228164453@ahsoftware.net> References: <41D1F08B.5090606@chipp.com> <4629261385.20041228164453@ahsoftware.net> Message-ID: <41D244C4.4010605@hyperactivesw.com> On 12/28/04 6:44 PM, Mark Wieder wrote: > As far as I know, there's no easy way out. Menuing is just broken. You > have a choice: have extra blank space at the top of your Windows app; > do without OSX system menus; or have two separate builds. I don't think it is really broken as such. Once I understood how it works, menu behavior started to make sense. You just have to account for the scrolling behavior on Macs and plan for it. I haven't noticed any blank space on my Windows apps. That said, there is a problem with a few stacks where the automatic scrolling doesn't work right. It's bugzilla-ed. But most of the time it seems to be okay. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 29 01:03:12 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2004 00:03:12 -0600 Subject: Passing Click from Image to Field? In-Reply-To: References: Message-ID: <41D248A0.6050201@hyperactivesw.com> On 12/28/04 4:26 PM, Scott Rossi wrote: > Recently, J. Landman Gay wrote: > > >>This will calculate a line number based on the click location > > > Dude, you rule. Your function with bit of modification works: > > on mouseUp > put clickToLine(tFldNum) > end mouseUp > > function clickToLine tFldNum > put item 2 of the rect of fld tFldNum into T > put the effective textHeight of fld tFldNum into H > put (the scroll of fld tFldNum) div \ > (the effective textHeight of fld tFldNum) into S > return (the clickV - T) div H + 1 + S > end clickToLine Sorry, I meant to account for the scroll but forgot to add it to my function. An even shorter way to do this is to just subtract the scroll from the top before figuring out the line number. And come to think of it, we don't need to use "item 2 of the rect" of the field, we can just use the "top": function clickToLine tFldNum put the top of fld tFldNum - the scroll of fld tFldNum into T put the effective textHeight of fld tFldNum into H return (the clickV - T) div H + 1 end clickToLine -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Cubist at aol.com Wed Dec 29 02:17:19 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Wed, 29 Dec 2004 02:17:19 EST Subject: programming Message-ID: <1b9.9cbd2e7.2f03b3ff@aol.com> >Anyone here interested din programming for me in Rev? Possibly. More details would be nice; what do you need done, is there any chance of money changing hands, and so on... From scott at tactilemedia.com Wed Dec 29 03:54:31 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 29 Dec 2004 00:54:31 -0800 Subject: Data-Only Bundle? Message-ID: Is there such a thing as a data-only bundle on OSX? I'm asking because I want to deliver "single file" modules (text and image files) for my app that can be selected from the answer file dialog. Currently I've taken a folder of files, added a ".bundle" suffix to it, and can load it as expected from the answer file dialog, apparently without trouble. Is there any drawback to doing this? The one issue I've noticed is that when double clicking on the bundle, a dialog is displayed stating there is no specified application to open the document. This is not a big deal but it leads me to believe that by creating some kind of artificial plist within the bundle, I might be able to get it to launch my app? Thanks for any clarification here. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dcragg at lacscentre.co.uk Wed Dec 29 05:12:01 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 29 Dec 2004 10:12:01 +0000 Subject: Dealing with empty groups... In-Reply-To: <64878EF567131D4596246171F75FD4A90EC5BD@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A90EC5BD@m-epo-1.epo.cdc.gov> Message-ID: <14F3A294-5982-11D9-9E98-000A9569F8B0@lacscentre.co.uk> On 28 Dec 2004, at 16:57, Lynch, Jonathan wrote: > > If I have to use a transparent object - then I can just put any object > that does not interfere with the layering of other objects into the > group, and that will allow the group to pass the mouseup message. > It doesn't have to be a transparent object. An invisible oblect of any size in the group seems to cause a mouseUp in the group to pass to the card. As invisible objects don't trap mouse events themselves, it won't interfere with other objects you place in the group at a lower layer. I agree that it's odd. On the other hand, an empty group might be considered odd too, so perhaps we shouldn't have expectations of "normal" behavior in this case. Cheers Dave From johnmiller1950 at sbcglobal.net Wed Dec 29 06:20:28 2004 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Wed, 29 Dec 2004 06:20:28 -0500 Subject: Database Doldrums Message-ID: Greeetings All, I have been working with our company's databases using ODBC and have been amazed at how powerful and FAST Revolution is. Yesterday, I started a new project where I need to JOIN information from 2 different tables, and I am stymied. I understand how to write the SQL command line, but I can't figure out which rev command I need to use. All of them seem to accept only one database ID. Can someone point me in the right direction. Thanks for all your help. John Miller From fde101 at fjrhome.net Wed Dec 29 08:59:29 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 29 Dec 2004 08:59:29 -0500 Subject: resize a card to full screen size In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Also make sure you look at the 'hide menubar' and 'show menubar' commands. On Dec 28, 2004, at 5:43 PM, Scott Rossi wrote: > Recently, Paul Salyers wrote: > >> How do you make a program open up in full screen size whether your >> using >> 640X480, 800X600, 1600X1200, or what ever size your using. > > If you're building a dynamic interface, see the screenRect property to > calculate the dimensions of the screen. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Development & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0rhC7aqtWrR9cZoRAjvpAJ9MDt3OYclfqmFknJVMfrcz3LrzQACePg8u HvKu6u8efbiBn6YvQKo8oVU= =rIkE -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Dec 29 09:19:17 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 29 Dec 2004 09:19:17 -0500 Subject: Database Doldrums In-Reply-To: References: Message-ID: <9FB71FE0-59A4-11D9-B682-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There is no specific Rev command to do a Join, that is a function of your database server, and you only use a single database ID. Are you using the database library calls directly, rather than the "Database" properties things (which I could never get working correctly as I'd at one time hoped to)? If so, you need to put the JOIN SQL command line into the revQueryDatabase function call... For example, let's say you have three tables as follows (PostgreSQL example): CREATE TABLE students ( studentID serial primary key, name text, address text, ... ); CREATE TABLE classes ( classID serial primary key, name text, credits integer ); CREATE TABLE registration ( studentID integer references students, classID integer references classes ); Now maybe you want a list of all students currently enrolled in 1-credit classes. You could do this with an SQL statement like this: SELECT DISTINCT students.name FROM students, classes, registration WHERE (students.studentID = registration.studentID) AND (classes.classID = registration.classID) AND (classes.credits = 1) Note: this is only one of many ways to write an SQL statement to do this, and this is just a quick example off the top of my head so there may be mistakes in the above, but it should give you the basic idea. Now in Rev, you'd execute that query with: put revQueryDatabase(databaseID, "SELECT DISTINCT students.name FROM students.......credits = 1)") into queryID Then use revMoveToNextRecord, revCloseCursor, revDatabaseColumnNumbered, etc. to get the info you want and then clean up. On Dec 29, 2004, at 6:20 AM, John Miller wrote: > Greeetings All, > > I have been working with our company's databases using ODBC and have > been amazed at how powerful and FAST Revolution is. > > Yesterday, I started a new project where I need to JOIN information > from 2 different tables, and I am stymied. > > I understand how to write the SQL command line, but I can't figure out > which rev command I need to use. All of them seem to accept only one > database ID. > > Can someone point me in the right direction. > > Thanks for all your help. > > John Miller > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0rzl7aqtWrR9cZoRAraxAJ9uFsaMzy62PlMoEgUBm7tT76fFPQCfWdVm AclFgyB19KcuBxIHP9h2RQc= =zL2u -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From BNZ2 at CDC.GOV Wed Dec 29 09:24:35 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 29 Dec 2004 09:24:35 -0500 Subject: Dealing with empty groups... Message-ID: <64878EF567131D4596246171F75FD4A9469E76@m-epo-1.epo.cdc.gov> But, using a group as a building block for a more complex object, it would be useful if there was a setting that allowed them to be accessed like other objects. Also, empty groups shouldn't trap mouseclicks. The suggested workarounds will work fine, of course - it is more just a matter of convenience. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jeanne A. E. DeVoto Sent: Tuesday, December 28, 2004 7:14 PM To: How to use Revolution Subject: Re: Dealing with empty groups... At 10:04 AM -0800 12/28/04, Richard Gaskin wrote: >Groups are containers for controls, but are not controls themselves. >The messages you see passed to the group are generated by events on >the controls. This is not quite correct - groups are controls. (Expressions like "the name of control 3" treat groups as controls, for example.) But they don't receive mouse messages directly. I think this makes some conceptual sense - although it's confusing - because groups aren't user-interface objects in and of themselves. As containers for other objects, they're more abstract. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From viper4559 at yahoo.com Sat Dec 25 14:07:20 2004 From: viper4559 at yahoo.com (Robert Sabo) Date: Sat, 25 Dec 2004 11:07:20 -0800 (PST) Subject: Random Code Message-ID: <20041225190720.65345.qmail@web50804.mail.yahoo.com> Hello Everyone I was just wondering if anyone could help me with this. I am working on creating a program that randomly ouputs a number from 1-55. I have everything done except I cannot get it to print how I want it to. I made a scrolling field and a button. here is the button code <---------------------------------------------------------------------------------> global RandNum on mouseUp put random(55) into RandNum reply field"Output" with RandNum end mouseUp <---------------------------------------------------------------------------------> The only thing I have in the scrolling field code is global RandNum What I am trying to do is once the button is pressed down it will pick a random number from 1-55 then assign RandNum the value of the number picked. From there I wanted the RandNum value to be placed in some type of display field above the button. I picked the scrolling field(not sure if I should use this one or not). However I cannot get the text to display in this field. I messed with the answer command however I do not want the pop up to come up. I want it to just print in the scrolling field. Anyone help me out here I would appreciate it. Thanks, Viper __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From kresten.bjerg at psy.ku.dk Wed Dec 29 08:22:49 2004 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Wed, 29 Dec 2004 14:22:49 +0100 Subject: Oversize cards and jumping between 9 not-overlapping card-windows Message-ID: <41D2AFA9.5010508@psy.ku.dk> As non-commercial developer of a freeware diary program I want to test the logical possibility of having cards the size of 9 screen-windows, and buttons for jumping to any of the 8 windows surrounding the central window - and of course buttons to return to center window. Is there a simple solution to doing this ? -- ________________________________________________________ Refer please to Oikos Homestation , for further information Kresten Bjerg Mag.art. forhenv?rende lektor i psykologi, Mailto:Kresten at psy.ku.dk Adress 1: Ollekolle, Institut for psykologi, K?benhavns Universitet Amager, Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99 Adress 2: Sortedam Dossering 95 B, 2100 Copenhagen, DK - (45) 35 38 99 39 Adress 3: Skrivergaarden, H?gsma pr Glim?kra, SE - (+46) 708 915 386 ______________________________________________________________ From ps1 at softseven.org Wed Dec 29 10:18:24 2004 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 29 Dec 2004 09:18:24 -0600 Subject: programming In-Reply-To: <1b9.9cbd2e7.2f03b3ff@aol.com> References: <1b9.9cbd2e7.2f03b3ff@aol.com> Message-ID: <6.1.1.1.2.20041229091742.027ad610@softseven.org> At 01:17 AM 12/29/2004, you wrote: > >Anyone here interested din programming for me in Rev? > Possibly. More details would be nice; what do you need done, is there any >chance of money changing hands, and so on... >_______________________________________________ Email me personally to find out the details as others have done. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org From mark at maseurope.net Wed Dec 29 10:33:41 2004 From: mark at maseurope.net (Mark Smith) Date: Wed, 29 Dec 2004 15:33:41 +0000 Subject: Random Code In-Reply-To: <20041229151038.8ED7F9300E5@mail.runrev.com> References: <20041229151038.8ED7F9300E5@mail.runrev.com> Message-ID: <04D2DAEB-59AF-11D9-84DC-000D93C19756@maseurope.net> try : put RandNum into fld "Output" Cheers, Mark On 29 Dec 2004, at 15:10, use-revolution-request at lists.runrev.com wrote: > reply field"Output" with RandNum From mark at maseurope.net Wed Dec 29 10:35:17 2004 From: mark at maseurope.net (Mark Smith) Date: Wed, 29 Dec 2004 15:35:17 +0000 Subject: Geometry In-Reply-To: <20041229151038.8ED7F9300E5@mail.runrev.com> References: <20041229151038.8ED7F9300E5@mail.runrev.com> Message-ID: <3DF44318-59AF-11D9-84DC-000D93C19756@maseurope.net> Thankyou, Alex and Chipp, that's got me started. Mark Smith From fde101 at fjrhome.net Wed Dec 29 10:39:55 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 29 Dec 2004 10:39:55 -0500 Subject: Oversize cards and jumping between 9 not-overlapping card-windows In-Reply-To: <41D2AFA9.5010508@psy.ku.dk> References: <41D2AFA9.5010508@psy.ku.dk> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Create a stack with the nine cards in it. Place the buttons where you want them on each card, then as the script for each of the buttons use something like this: on mouseUp go to card "Card Name" end mouseUp For a fancy transition, use the "visual effect" command: on mouseUp visual effect push up go to card "Card Below Me" end mouseUp On Dec 29, 2004, at 8:22 AM, Kresten Bjerg wrote: > As non-commercial developer of a freeware diary program I want to test > the logical possibility of having cards the size of 9 screen-windows, > and buttons for jumping to any of the 8 windows surrounding the > central window - and of course buttons to return to center window. Is > there a simple solution to doing this ? > -- > > ________________________________________________________ > > Refer please to Oikos Homestation , for > further information > > Kresten Bjerg > Mag.art. forhenv?rende lektor i psykologi, > > Mailto:Kresten at psy.ku.dk > > Adress 1: Ollekolle, Institut for psykologi, K?benhavns Universitet > Amager, > Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99 > > Adress 2: Sortedam Dossering 95 B, 2100 Copenhagen, DK - (45) 35 38 99 > 39 > > Adress 3: Skrivergaarden, H?gsma pr Glim?kra, SE - (+46) 708 915 386 > > ______________________________________________________________ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0s/M7aqtWrR9cZoRAoBlAJ9P8XkmTw1Co0A0YHrHmi3j2z4/qQCeOIxF lYQ8wJs0HG/vP1RchtoDhWY= =Pgnv -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From FlexibleLearning at aol.com Wed Dec 29 10:40:18 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 29 Dec 2004 10:40:18 EST Subject: menu woes... Message-ID: <1ea.32f1b5c6.2f0429e2@aol.com> All excellent advice. One more for the pot... Keep menubars in a substack. That way they are taken out of any geometry problems, are easily applied as a shared resource for multiple substacks, and editing is all in one place. 2c. /H From docmann at gmail.com Wed Dec 29 11:09:01 2004 From: docmann at gmail.com (docmann) Date: Wed, 29 Dec 2004 10:09:01 -0600 Subject: more SQL problems Message-ID: <9d58de7d04122908095d28ae8a@mail.gmail.com> Hello folks, I've been trying to resolve a problem on my own off and on for several days and just can't seem to get my head wrapped around it all. Even worse, now with so many attempts and errors under my belt, I have finally reached the point of almost total confusion. :( Let's say that I have a MySQL database named "quickref" The 3 records in my table look something like this: -------------------------- | City | State | Zip | --*City is the primary key Houston Texas 74239 Portland Oregon 32791 Dallas Texas 75217 -------------------------- dbID is the ID returned when the connection is established revField1 is named "myCity" --used to display record content revField2 is named "myState" --used to display record content revField3 is named "myZip" --used to display record content revField4 is named "CurrSQL" and contains "SELECT * FROM quickref WHERE City =" revField5 is named "mySearch" and contains "Portland" I have no problems connecting to the database and returning the dbID and all I want to do is display the contents of a record in each of three fields based on the name of the city entered into the "mySearch" field. RevButton Named "Search" on mouseUp put field "CurrSQL" into tSQLStringPartOne put field "mySearch" into tSQLStringPartTwo put tSQLStringPartOne & " " & tSQLStringPartTwo into tSQLQuery get revDataFromQuery(,,dbID,tSQLQuery,"tMyResults") end mouseUp I've tried using an almost endless number of "revDatabaseColumnNamed()" combinations trying to extract the data, without luck. Although there may still be more than one problem in my scripting, I *think* that the issue is in the way I'm trying to use the revDatabaseColumnNamed() function which I don't fully understand. Based on the info shown, can someone please show me how to properly get the record set into variables so I can display them in the appropriate fields on my stack? I'd really appreciate any help or advise. -Doc- From BNZ2 at CDC.GOV Wed Dec 29 11:12:56 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Wed, 29 Dec 2004 11:12:56 -0500 Subject: resize in browse mode Message-ID: <64878EF567131D4596246171F75FD4A90EC5C1@m-epo-1.epo.cdc.gov> I reworked the earlier script I posted to include Ken Ray's approach to adjusting the rect of the field, rather than adjusting the size and then the position. His approach is smoother and more efficient. (Thanks Ken) So... the following script still does these things... 1) if you right-click on the main part of the field, it lets you drag around the location of the field 2) if you right-click on one of the corners of the field, it lets you resize the field from that corner 3) if the mouse is over one of the corners of the field, it changes to a cross, to let you know you are over one of the corner handlers. It just does them a bit smoother. It also works for an image, but moving the image is still not as smooth as moving the image with the pointer tool. (apologies for the fact that I type lines out very far to the right, making them look funny upon being word wrapped - if you paste it into a script, it should look the way it is supposed to) ============== local allowDrag local allowResizeTL local allowResizeTR local allowResizeBL local allowREsizeBR local CHS on mouseDown theButton if theButton = 3 then put 5 into CHS if ((mouseH()-(the left of me)) < CHS) and ((mouseV()-(the top of me)) < CHS) then put (mouseH()-(the left of me)) & "," & (mouseV()-(the top of me)) & "," & (The right of me) & "," & (the bottom of me) into allowResizeTL else if ((the right of me)-(mouseH()) < CHS) and ((mouseV()-(the top of me)) < CHS) then put ((the right of me)-(mouseH())) & "," & (mouseV()-(the top of me)) & "," & (The left of me) & "," & (the bottom of me) into allowResizeTR else if ((mouseH()-(the left of me)) < CHS) and (((the bottom of me))-MouseV() < CHS) then put (mouseH()-(the left of me)) & "," & ((the bottom of me)-mouseV()) & "," & (The right of me) & "," & (the top of me) into allowResizeBL else if ((the right of me)-(mouseH()) < CHS) and (((the bottom of me))-MouseV() < CHS) then put ((the right of me)-(mouseH())) & "," & ((the bottom of me)-mouseV()) & "," & (The left of me) & "," & (the top of me) into allowResizeBR else put (mouseH()-(the left of me)) & "," & (mouseV()-(the top of me)) into allowDrag set the cursor to cross lock cursor end if end if end mouseDown on mouseMove x,y put 5 into CHS put the rect of me into RCT if allowDrag <> empty then set the topleft of me to (X-(item 1 of allowDrag) & "," & Y-(item 2 of allowdrag)) else if allowResizeTL <> empty then if ((item 3 of allowResizeTL)-X) > CHS*2 then put X-(item 1 of allowResizeTL) into item 1 of RCT set the rect of me to RCT else put ((item 3 of allowResizeTL)-CHS*2) into item 1 of RCT set the rect of me to RCT end if if ((item 4 of allowResizeTL)-Y) > CHS*2 then put Y-(item 2 of allowResizeTL) into item 2 of RCT set the rect of me to RCT else put ((item 4 of allowResizeTL)-CHS*2) into item 2 of RCT set the rect of me to RCT end if else if allowResizeTR <> empty then if (X-(item 3 of allowResizeTR)) > CHS*2 then put (X+(item 1 of allowResizeTR)) into item 3 of RCT set the rect of me to RCT else put ((item 3 of allowResizeTR)+CHS*2) into item 3 of RCT set the rect of me to RCT end if if ((item 4 of allowResizeTR)-Y) > CHS*2 then put Y-(item 2 of allowResizeTR) into item 2 of RCT set the rect of me to RCT else put ((item 4 of allowResizeTR)-CHS*2) into item 2 of RCT set the rect of me to RCT end if else if allowResizeBL <> empty then if ((item 3 of allowResizeBL)-X) > CHS*2 then put X-(item 1 of allowResizeBL) into item 1 of RCT set the rect of me to RCT else put ((item 3 of allowResizeBL)-CHS*2) into item 1 of RCT set the rect of me to RCT end if if (Y-(item 4 of allowResizeBL)) > CHS*2 then put (Y+(item 2 of allowResizeBL)) into item 4 of RCT set the rect of me to RCT else put ((item 4 of allowResizeBL)+CHS*2) into item 4 of RCT set the rect of me to RCT end if else if allowResizeBR <> empty then if (X-(item 3 of allowResizeBR)) > CHS*2 then put (X+(item 1 of allowResizeTR)) into item 3 of RCT set the rect of me to RCT else put ((item 3 of allowResizeBR)+CHS*2) into item 3 of RCT set the rect of me to RCT end if if (Y-(item 4 of allowResizeBR)) > CHS*2 then put (Y+(item 2 of allowResizeBR)) into item 4 of RCT set the rect of me to RCT else put ((item 4 of allowResizeBR)+CHS*2) into item 4 of RCT set the rect of me to RCT end if else if (((mouseH()-(the left of me)) < CHS) and ((mouseV()-(the top of me)) < CHS)) or (((the right of me)-(mouseH()) < CHS) and ((mouseV()-(the top of me)) < CHS)) or (((mouseH()-(the left of me)) < CHS) and (((the bottom of me))-MouseV() < CHS)) or (((the right of me)-(mouseH()) < CHS) and (((the bottom of me))-MouseV() < CHS)) then set the cursor to cross set the lockcursor to true else unlock cursor exit MouseMove end if end if end mouseMove on mouseLeave unlock cursor end mouseLeave on mouseUp put empty into allowDrag put empty into allowResizeTL put empty into allowResizeTR put empty into allowResizeBL put empty into allowResizeBR unlock cursor end mouseUp on mouseRelease mouseUp end mouseRelease From ambassador at fourthworld.com Wed Dec 29 11:29:36 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 08:29:36 -0800 Subject: menu woes... In-Reply-To: <4629261385.20041228164453@ahsoftware.net> References: <41D1F08B.5090606@chipp.com> <4629261385.20041228164453@ahsoftware.net> Message-ID: <41D2DB70.4010902@fourthworld.com> Mark Wieder wrote: > As far as I know, there's no easy way out. Menuing is just broken. You > have a choice: have extra blank space at the top of your Windows app; > do without OSX system menus; or have two separate builds. There's another option: identify the root cause of the issue and correct it. Menuing is not broken, at least not in any way that necessarily prevents anyone from delivering an experience that substantially meets user expectations on all supported platforms. Best of all, 99% of the time it's just a case of setting one property (the menugroup propery of the stack) and it's all automatic. In Chipp's case he has a very effective but slightly "non-standard" interface, in which he has controls for his main window in the menubar region. That works really well on Windows, Linux, BSD, and pretty much all operating systems except Mac. It's not a bad design (talking with him it sound pretty nifty), but it's not how most apps are built so the automatic behaviors the engine does for Mac should not apply. But you have control over those behaviors, so even in that rare case the solution wasn't difficult to implement once the nature of the problem was understood: the editMenus stack property governs the normal crop-and-scroll behavior on Mac and is off by default. Setting that property to true prevents the behavior desired in most cases, allowing even nifty UIs like Chipp's to work as well as any other. To prevent his menus from appearing in both the window and the Mac menu bar, he simply hides that group when the platform is "MacOS". Total cost to his project for suppporting the exact menu design he wants: two lines of script. Aside from the relatively small subset of cases affected by Bug #744 (thank you Jacque for taking the time to discern and document the root cause, and thanks in advance to RunRev for addressing it), I haven't seen a menu issue yet that couldn't be resolved once the nature of the issue is known. So if you encounter any menuing issues that don't fit the recipe described in Bug #744, please do as Chipp did: post it here, folks will look it over and provide a recommendation for a solution. I can't guarantee that there may not be other issues not yet known, and of course identifying them and providing a recipe in Bugzilla is the best way to see them resolved. But I have high confidence that most issues with menus can be resolved in just a few posts to this list. I didn't always feel this way, as some of my whingeing emails to Scott Raney could attest. But his patience and that of Kevin Miller and others when I was cutting my teeth on the engine helped me understand Rev menuing better, and I've come to appreciate its simplicity and flexibility. Carpe menus! -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From SimPLsol at aol.com Wed Dec 29 11:59:38 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 29 Dec 2004 11:59:38 EST Subject: menu woes... Message-ID: Richard, I suppose it is fine that Rev. Gurus, with years of experience, can wrestle the menus to submission - especially is they know undocumented features. But, admit it, they are a newbe nightmare. Better documentation would help (especially if it included a troubleshooting section addressing the many menu issues reported on this list). However, documentation is just a stopgap measure; what is really needed is an easier, more reliable way of handling menus in Rev. Paul Looney From fde101 at fjrhome.net Wed Dec 29 12:01:11 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 29 Dec 2004 12:01:11 -0500 Subject: more SQL problems In-Reply-To: <9d58de7d04122908095d28ae8a@mail.gmail.com> References: <9d58de7d04122908095d28ae8a@mail.gmail.com> Message-ID: <3E18B111-59BB-11D9-B682-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 revDataFromQuery does not use the revDatabaseColumnNamed function -- that works quite differently. You want the revQueryDatabase function instead. Try this: on mouseUp put revQueryDatabase(dbID, field "CurrSQL" & field "mySearch") into q if q is not a number then answer error "Database Error: " & q exit mouseUp end if revMoveToFirstRecord q put revDatabaseColumnNamed(q, "City") into field "myCity" put revDatabaseColumnNamed(q, "State") into field "myState" put revDatabaseColumnNamed(q, "Zip") into field "myZip" revCloseCursor q end mouseUp On Dec 29, 2004, at 11:09 AM, docmann wrote: > Hello folks, > I've been trying to resolve a problem on my own off and on for several > days and just can't seem to get my head wrapped around it all. Even > worse, now with so many attempts and errors under my belt, I have > finally reached the point of almost total confusion. :( > > Let's say that I have a MySQL database named "quickref" > The 3 records in my table look something like this: > -------------------------- > | City | State | Zip | --*City is the primary key > > Houston Texas 74239 > > Portland Oregon 32791 > > Dallas Texas 75217 > -------------------------- > > dbID is the ID returned when the connection is established > > revField1 is named "myCity" --used to display record content > revField2 is named "myState" --used to display record content > revField3 is named "myZip" --used to display record content > > revField4 is named "CurrSQL" and contains "SELECT * FROM quickref > WHERE City =" > revField5 is named "mySearch" and contains "Portland" > > I have no problems connecting to the database and returning the dbID > and all I want to do is display the contents of a record in each of > three fields based on the name of the city entered into the "mySearch" > field. > > RevButton Named "Search" > on mouseUp > put field "CurrSQL" into tSQLStringPartOne > put field "mySearch" into tSQLStringPartTwo > put tSQLStringPartOne & " " & tSQLStringPartTwo into tSQLQuery > > get revDataFromQuery(,,dbID,tSQLQuery,"tMyResults") > > end mouseUp > > > I've tried using an almost endless number of > "revDatabaseColumnNamed()" combinations trying to extract the data, > without luck. Although there may still be more than one problem in my > scripting, I *think* that the issue is in the way I'm trying to use > the revDatabaseColumnNamed() function which I don't fully understand. > > Based on the info shown, can someone please show me how to properly > get the record set into variables so I can display them in the > appropriate fields on my stack? > > I'd really appreciate any help or advise. > > -Doc- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0uLY7aqtWrR9cZoRAthgAJ4hamACeIisOOhks6XnsBfGModGWwCeOTbK rjPwIeDkPGunNEJwWGIfoBk= =WgRs -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From lists at mangomultimedia.com Wed Dec 29 12:02:28 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 29 Dec 2004 09:02:28 -0800 Subject: more SQL problems In-Reply-To: <9d58de7d04122908095d28ae8a@mail.gmail.com> References: <9d58de7d04122908095d28ae8a@mail.gmail.com> Message-ID: <6BC7BBA8-59BB-11D9-9286-000D9337CDC8@mangomultimedia.com> On Dec 29, 2004, at 8:09 AM, docmann wrote: > RevButton Named "Search" > on mouseUp > put field "CurrSQL" into tSQLStringPartOne > put field "mySearch" into tSQLStringPartTwo > put tSQLStringPartOne & " " & tSQLStringPartTwo into tSQLQuery > > get revDataFromQuery(,,dbID,tSQLQuery,"tMyResults") > > end mouseUp Are you sure that your tSQLQuery is a valid sql query that is properly quoted? From the code you posted it looks like you aren't quoting the city name. The query should look something like this using MySQL: SELECT * FROM quickref WHERE City = 'Portland' Also, I don't know that you want to quote the "tMyResults". It may not matter (I haven't used revDataFromQuery) but you should leave the quotes off. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From fde101 at fjrhome.net Wed Dec 29 12:12:07 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 29 Dec 2004 12:12:07 -0500 Subject: more SQL problems In-Reply-To: <3E18B111-59BB-11D9-B682-0050E410655F@fjrhome.net> References: <9d58de7d04122908095d28ae8a@mail.gmail.com> <3E18B111-59BB-11D9-B682-0050E410655F@fjrhome.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oops, yeah, I missed the quotes thing in my example here, too: on mouseUp put field "mySearch" into x replace "'" with "''" in x put revQueryDatabase(dbID, field "CurrSQL" & " '" & x & "'") into q if q is not a number then answer error "Database Error: " & q exit mouseUp end if revMoveToFirstRecord q put revDatabaseColumnNamed(q, "City") into field "myCity" put revDatabaseColumnNamed(q, "State") into field "myState" put revDatabaseColumnNamed(q, "Zip") into field "myZip" revCloseCursor q end mouseUp On Dec 29, 2004, at 12:01 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > revDataFromQuery does not use the revDatabaseColumnNamed function -- > that works quite differently. You want the revQueryDatabase function > instead. > > Try this: > > > on mouseUp > put revQueryDatabase(dbID, field "CurrSQL" & field "mySearch") into q > > if q is not a number then > answer error "Database Error: " & q > exit mouseUp > end if > > revMoveToFirstRecord q > put revDatabaseColumnNamed(q, "City") into field "myCity" > put revDatabaseColumnNamed(q, "State") into field "myState" > put revDatabaseColumnNamed(q, "Zip") into field "myZip" > > revCloseCursor q > end mouseUp > > > > On Dec 29, 2004, at 11:09 AM, docmann wrote: > >> Hello folks, >> I've been trying to resolve a problem on my own off and on for several >> days and just can't seem to get my head wrapped around it all. Even >> worse, now with so many attempts and errors under my belt, I have >> finally reached the point of almost total confusion. :( >> >> Let's say that I have a MySQL database named "quickref" >> The 3 records in my table look something like this: >> -------------------------- >> | City | State | Zip | --*City is the primary key >> >> Houston Texas 74239 >> >> Portland Oregon 32791 >> >> Dallas Texas 75217 >> -------------------------- >> >> dbID is the ID returned when the connection is established >> >> revField1 is named "myCity" --used to display record content >> revField2 is named "myState" --used to display record content >> revField3 is named "myZip" --used to display record content >> >> revField4 is named "CurrSQL" and contains "SELECT * FROM quickref >> WHERE City =" >> revField5 is named "mySearch" and contains "Portland" >> >> I have no problems connecting to the database and returning the dbID >> and all I want to do is display the contents of a record in each of >> three fields based on the name of the city entered into the "mySearch" >> field. >> >> RevButton Named "Search" >> on mouseUp >> put field "CurrSQL" into tSQLStringPartOne >> put field "mySearch" into tSQLStringPartTwo >> put tSQLStringPartOne & " " & tSQLStringPartTwo into tSQLQuery >> >> get revDataFromQuery(,,dbID,tSQLQuery,"tMyResults") >> >> end mouseUp >> >> >> I've tried using an almost endless number of >> "revDatabaseColumnNamed()" combinations trying to extract the data, >> without luck. Although there may still be more than one problem in my >> scripting, I *think* that the issue is in the way I'm trying to use >> the revDatabaseColumnNamed() function which I don't fully understand. >> >> Based on the info shown, can someone please show me how to properly >> get the record set into variables so I can display them in the >> appropriate fields on my stack? >> >> I'd really appreciate any help or advise. >> >> -Doc- >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFB0uLY7aqtWrR9cZoRAthgAJ4hamACeIisOOhks6XnsBfGModGWwCeOTbK > rjPwIeDkPGunNEJwWGIfoBk= > =WgRs > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB0uVn7aqtWrR9cZoRAoG4AJ95qqKKxS8n/0/OXeqfs6bhDgJ1KACbBEq5 S2emuRSup9tlKSUjFj4gG8I= =9gqp -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From SimPLsol at aol.com Wed Dec 29 12:28:57 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 29 Dec 2004 12:28:57 EST Subject: Random Code Message-ID: <60.4be40d99.2f044359@aol.com> Viper, on mouseUp global RandNum put RandNum into fld "Output" end mouseUp I'd recommend a standard rectangular field for Output. Use a scrolling field only if you need to keep a list of the numbers chosen. Paul Looney From docmann at gmail.com Wed Dec 29 13:02:53 2004 From: docmann at gmail.com (docmann) Date: Wed, 29 Dec 2004 12:02:53 -0600 Subject: more SQL problems In-Reply-To: References: <9d58de7d04122908095d28ae8a@mail.gmail.com> <3E18B111-59BB-11D9-B682-0050E410655F@fjrhome.net> Message-ID: <9d58de7d04122910025c0ce528@mail.gmail.com> You folks are fantastic! It works exactly as intended now. :) Geesh, I still don't know how I got so far off track in attempting this and clearly need to revisit the documentation. :( On a side note, I intentionally entered data that I knew did not exist, just to see what would happen and got a "revdberr,invalid column number" message. Is there a proper way to test and/or trap these types of errors when a record doesn't exist? Again, thank you very VERY much! -Doc- On Wed, 29 Dec 2004 12:12:07 -0500, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Oops, yeah, I missed the quotes thing in my example here, too: > > on mouseUp > put field "mySearch" into x > replace "'" with "''" in x > put revQueryDatabase(dbID, field "CurrSQL" & " '" & x & "'") into q > > if q is not a number then > answer error "Database Error: " & q > exit mouseUp > end if > > revMoveToFirstRecord q > put revDatabaseColumnNamed(q, "City") into field "myCity" > put revDatabaseColumnNamed(q, "State") into field "myState" > put revDatabaseColumnNamed(q, "Zip") into field "myZip" > > revCloseCursor q > end mouseUp > > On Dec 29, 2004, at 12:01 PM, Frank D. Engel, Jr. wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > revDataFromQuery does not use the revDatabaseColumnNamed function -- > > that works quite differently. You want the revQueryDatabase function > > instead. > > > > Try this: > > > > > > on mouseUp > > put revQueryDatabase(dbID, field "CurrSQL" & field "mySearch") into q > > > > if q is not a number then > > answer error "Database Error: " & q > > exit mouseUp > > end if > > > > revMoveToFirstRecord q > > put revDatabaseColumnNamed(q, "City") into field "myCity" > > put revDatabaseColumnNamed(q, "State") into field "myState" > > put revDatabaseColumnNamed(q, "Zip") into field "myZip" > > > > revCloseCursor q > > end mouseUp > > > > > > > > On Dec 29, 2004, at 11:09 AM, docmann wrote: > > > >> Hello folks, > >> I've been trying to resolve a problem on my own off and on for several > >> days and just can't seem to get my head wrapped around it all. Even > >> worse, now with so many attempts and errors under my belt, I have > >> finally reached the point of almost total confusion. :( > >> > >> Let's say that I have a MySQL database named "quickref" > >> The 3 records in my table look something like this: > >> -------------------------- > >> | City | State | Zip | --*City is the primary key > >> > >> Houston Texas 74239 > >> > >> Portland Oregon 32791 > >> > >> Dallas Texas 75217 > >> -------------------------- > >> > >> dbID is the ID returned when the connection is established > >> > >> revField1 is named "myCity" --used to display record content > >> revField2 is named "myState" --used to display record content > >> revField3 is named "myZip" --used to display record content > >> > >> revField4 is named "CurrSQL" and contains "SELECT * FROM quickref > >> WHERE City =" > >> revField5 is named "mySearch" and contains "Portland" > >> > >> I have no problems connecting to the database and returning the dbID > >> and all I want to do is display the contents of a record in each of > >> three fields based on the name of the city entered into the "mySearch" > >> field. > >> > >> RevButton Named "Search" > >> on mouseUp > >> put field "CurrSQL" into tSQLStringPartOne > >> put field "mySearch" into tSQLStringPartTwo > >> put tSQLStringPartOne & " " & tSQLStringPartTwo into tSQLQuery > >> > >> get revDataFromQuery(,,dbID,tSQLQuery,"tMyResults") > >> > >> end mouseUp > >> > >> > >> I've tried using an almost endless number of > >> "revDatabaseColumnNamed()" combinations trying to extract the data, > >> without luck. Although there may still be more than one problem in my > >> scripting, I *think* that the issue is in the way I'm trying to use > >> the revDatabaseColumnNamed() function which I don't fully understand. > >> > >> Based on the info shown, can someone please show me how to properly > >> get the record set into variables so I can display them in the > >> appropriate fields on my stack? > >> > >> I'd really appreciate any help or advise. > >> > >> -Doc- > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > - ----------------------------------------------------------- > > Frank D. Engel, Jr. > > > > $ ln -s /usr/share/kjvbible /usr/manual > > $ true | cat /usr/manual | grep "John 3:16" > > John 3:16 For God so loved the world, that he gave his only begotten > > Son, that whosoever believeth in him should not perish, but have > > everlasting life. > > $ > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.4 (Darwin) > > > > iD8DBQFB0uLY7aqtWrR9cZoRAthgAJ4hamACeIisOOhks6XnsBfGModGWwCeOTbK > > rjPwIeDkPGunNEJwWGIfoBk= > > =WgRs > > -----END PGP SIGNATURE----- > > > > > > > > ___________________________________________________________ > > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > > 10 Personalized POP and Web E-mail Accounts, and much more. > > Signup at www.doteasy.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFB0uVn7aqtWrR9cZoRAoG4AJ95qqKKxS8n/0/OXeqfs6bhDgJ1KACbBEq5 > S2emuRSup9tlKSUjFj4gG8I= > =9gqp > -----END PGP SIGNATURE----- > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Wed Dec 29 13:59:20 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 29 Dec 2004 10:59:20 -0800 Subject: more SQL problems In-Reply-To: <9d58de7d04122910025c0ce528@mail.gmail.com> References: <9d58de7d04122908095d28ae8a@mail.gmail.com> <3E18B111-59BB-11D9-B682-0050E410655F@fjrhome.net> <9d58de7d04122910025c0ce528@mail.gmail.com> Message-ID: On Dec 29, 2004, at 10:02 AM, docmann wrote: > You folks are fantastic! It works exactly as intended now. :) > > Geesh, I still don't know how I got so far off track in attempting > this and clearly need > to revisit the documentation. :( > > On a side note, I intentionally entered data that I knew did not > exist, just to see what would happen and got a "revdberr,invalid > column number" message. Is there a proper way to test and/or trap > these types of errors when a record doesn't exist? > > Again, thank you very VERY much! Try this: if revCurrentRecordIsLast(q) = false then revMoveToFirstRecord q put revDatabaseColumnNamed(q, "City") into field "myCity" put revDatabaseColumnNamed(q, "State") into field "myState" put revDatabaseColumnNamed(q, "Zip") into field "myZip" else answer "no record" end if -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revolution at jaedworks.com Wed Dec 29 14:16:28 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 29 Dec 2004 11:16:28 -0800 Subject: menu woes... In-Reply-To: References: Message-ID: At 11:59 AM -0500 12/29/04, SimPLsol at aol.com wrote: > I suppose it is fine that Rev. Gurus, with years of experience, can >wrestle the menus to submission - especially is they know >undocumented features. >But, admit it, they are a newbe nightmare. Better documentation would help >(especially if it included a troubleshooting section addressing the many menu >issues reported on this list). "Why does the top of my stack window disappear when I add a menu bar?" is a troubleshooting question that describes just this problem and its solution. The scrolling behavior is also described fairly extensively in "About menus and the menu bar". And, of course, the editMenus property is listed in the dictionary. None of what's been discussed is an "undocumented feature". The bug that Jacque tracked down with the editMenus scroll being applied multiple times is not documented, but bugs normally aren't. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From mwieder at ahsoftware.net Wed Dec 29 14:48:03 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 29 Dec 2004 11:48:03 -0800 Subject: menu woes... In-Reply-To: <41D2DB70.4010902@fourthworld.com> References: <41D1F08B.5090606@chipp.com> <4629261385.20041228164453@ahsoftware.net> <41D2DB70.4010902@fourthworld.com> Message-ID: <1427474167.20041229114803@ahsoftware.net> Richard- Wednesday, December 29, 2004, 8:29:36 AM, you wrote: RG> So if you encounter any menuing issues that don't fit the recipe RG> described in Bug #744, please do as Chipp did: post it here, folks will RG> look it over and provide a recommendation for a solution. RG> I can't guarantee that there may not be other issues not yet known, and RG> of course identifying them and providing a recipe in Bugzilla is the RG> best way to see them resolved. But I have high confidence that most RG> issues with menus can be resolved in just a few posts to this list. Resizing issues aside, I herewith present: http://support.runrev.com/bugdatabase/show_bug.cgi?id=2366 RG> Carpe menus! Or maybe cave menum... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Dec 29 14:56:49 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 29 Dec 2004 11:56:49 -0800 Subject: menu woes... In-Reply-To: <41D244C4.4010605@hyperactivesw.com> References: <41D1F08B.5090606@chipp.com> <41D244C4.4010605@hyperactivesw.com> Message-ID: <1588000063.20041229115649@ahsoftware.net> Jacque- Tuesday, December 28, 2004, 9:46:44 PM, you wrote: JLG> I don't think it is really broken as such. Once I understood how it JLG> works, menu behavior started to make sense. You just have to account for JLG> the scrolling behavior on Macs and plan for it. I haven't noticed any JLG> blank space on my Windows apps. Well, this may be an issue of semantics. "Planning for it" means leaving enough space at the top of a stack so that when it scrolls on the Mac none of the data will be hidden. I like the substack idea, though, and I may come back to revisit this some day. Nonetheless, I agree with the comments that this should be easier. Menus are a basic part of the OS and it shouldn't be this much work fiddling with things to provide cross-platform functionality. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Dec 29 15:02:58 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2004 14:02:58 -0600 Subject: menu woes... In-Reply-To: <1588000063.20041229115649@ahsoftware.net> References: <41D1F08B.5090606@chipp.com> <41D244C4.4010605@hyperactivesw.com> <1588000063.20041229115649@ahsoftware.net> Message-ID: <41D30D72.5020700@hyperactivesw.com> On 12/29/04 1:56 PM, Mark Wieder wrote: > Jacque- > > Tuesday, December 28, 2004, 9:46:44 PM, you wrote: > > JLG> I don't think it is really broken as such. Once I understood how it > JLG> works, menu behavior started to make sense. You just have to account for > JLG> the scrolling behavior on Macs and plan for it. I haven't noticed any > JLG> blank space on my Windows apps. > > Well, this may be an issue of semantics. "Planning for it" means > leaving enough space at the top of a stack so that when it scrolls on > the Mac none of the data will be hidden. One thing to note is that the stack scroll will be the height of your menubar *group* -- which is not necessarily the height of the visible buttons. Sometimes you may need to shorten the enclosing group a bit. Then you shouldn't lose any space at the top. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From viper4559 at yahoo.com Wed Dec 29 15:20:25 2004 From: viper4559 at yahoo.com (Robert Sabo) Date: Wed, 29 Dec 2004 12:20:25 -0800 (PST) Subject: Random Name Generator Message-ID: <20041229202025.5189.qmail@web50810.mail.yahoo.com> Hey Everyone, I just joined this group. Seems pretty cool. Well first let me fill you in with a little background info. I am a sophmore in highschool. I am taking a computer programming class however we use a dinosour program called Turbo Pascal. Some of the features (functions, commands etc) are pretty much the same. However I just need to learn how to write it all in runrev language. Well here's my problem. I am trying to make a program that will allow you to input however many names you want into a list. This list will be on the bottom section where you can delete users. The middle section will contain a text area for you to input another username and the top level will run the program. This program is going to be setup to randomly output a name from the list. I got my layout already made, however I am having problems finding good help on how to script what I want to do with the username list. All help is welcomed, if you need more info or have anymore questions just ask, Thanks, Robert __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From webmaster at dreamscapesoftware.com Wed Dec 29 15:26:05 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 29 Dec 2004 14:26:05 -0600 Subject: Security Warning - Publisher Message-ID: <000f01c4ede4$a0b57730$1519113f@DOWNSTAIRS> Does anyone know how to change the "Author" and "Publisher" on the security warning that pop's up on WinXP SP2? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From chippwalters at tmail.com Wed Dec 29 15:28:55 2004 From: chippwalters at tmail.com (Chipp Walters) Date: Wed, 29 Dec 2004 14:28:55 -0600 Subject: menu woes... In-Reply-To: <1588000063.20041229115649@ahsoftware.net> References: <41D1F08B.5090606@chipp.com> <1588000063.20041229115649@ahsoftware.net> Message-ID: <1104352194.22FC4D22@r5.dngr.org> On Wed, 29 Dec 2004 2:19 pm, Mark Wieder wrote: > Well, this may be an issue of semantics. "Planning for it" means > leaving enough space at the top of a stack so that when it scrolls on > the Mac none of the data will be hidden. I like the substack idea, > though, and I may come back to revisit this some day. Nonetheless, I > agree with the comments that this should be easier. Menus are a basic > part of the OS and it shouldn't be this much work fiddling with things > to provide cross-platform functionality. Mark, I certainly understand your frustration, but for me as long as a solution exists and is somehow documented, I'm a happy camper. One of the coolest aspects of Rev menus is that you can use the same menu grp, yet it displays correctly on multiple platforms, obviating the need to script workarounds (as in moving the Preferences menu to different positions). A big plus is this list and the searchable archives (made even easier with your excellent plugin). -Chipp Chipp Walters, Altuit.com Sent from my Sidekick From klaus at major-k.de Wed Dec 29 15:35:34 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 29 Dec 2004 21:35:34 +0100 Subject: Random Name Generator In-Reply-To: <20041229202025.5189.qmail@web50810.mail.yahoo.com> References: <20041229202025.5189.qmail@web50810.mail.yahoo.com> Message-ID: <30BB8F66-59D9-11D9-A9AA-000A27B49A96@major-k.de> Hi Robert, > Hey Everyone, > > I just joined this group. Seems pretty cool. Well first let me fill > you in with a little background info. I am a sophmore you are a what? Do you mean "sophomore"? ;-) > in highschool. I am taking a computer programming class however we use > a dinosour program called Turbo Pascal. Some of the features > (functions, commands etc) are pretty much the same. However I just > need to learn how to write it all in runrev language. > > Well here's my problem. I am trying to make a program that will allow > you to input however many names you want into a list. This list will > be on the bottom section where you can delete users. The middle > section will contain a text area for you to input another username and > the top level will run the program. This program is going to be setup > to randomly output a name from the list. I got my layout already made, > however I am having problems finding good help on how to script what I > want to do with the username list. > > All help is welcomed, if you need more info or have anymore questions > just ask, i am not sure what you want, but maybe soemthing like: ... put ANY line of fld "userlist" into fld "display of a random name" ... Will put a random line of one field into aother field :-) Please correct me if i am wrong... > Thanks, > Robert Regards Klaus Major klaus at major-k.de http://www.major-k.de From sanke at hrz.uni-kassel.de Wed Dec 29 16:06:39 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 29 Dec 2004 22:06:39 +0100 Subject: Problem with field borderwidth 2 Message-ID: <41D31C5F.2080800@hrz.uni-kassel.de> A stack developed with Metacard 2.5 contains several rows of adjacent fields - with the default borderwidth of 2 when the stack was created. The adjacent fields are placed relative to each other in such a way that the borders form smooth vertical and horizontal lines between the fields, giving the impression of a "net" in which the fields are embedded. The fields are on top of an image (which is intended to become visible when the fields are removed one by one when working with the stack). The horizontal and vertical "lines" show as intended until engine version 2.5.1B3 (Metacard reading). From engine version 2.6.1 on - corresponding to Rev 2.5 and later - suddenly the underlying image shines through between the fields although they have not been moved. Setting the borderwidths of the fields to 1 or 3 restores the "lines" between the fields - now of course of different width - and the image is no longer visible. Setting the field borders back to the default width of 2 lets the image shine through the fields again. This is on WindowsXP and holds both for the Rev and Metacard IDEs, meaning it is an engine problem. Has anybody else noticed this or can verify my observation? --Wilhelm Sanke From James.Cass at sealedair.com Wed Dec 29 16:18:29 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Wed, 29 Dec 2004 16:18:29 -0500 Subject: Random Name Generator In-Reply-To: <20041229202025.5189.qmail@web50810.mail.yahoo.com> Message-ID: Welcome to the RevList, Robert! You'll find a lot of great help from this list. I studied Turbo Pascal when I was in college, and that was 20 years ago (literally)! Maybe you can turn your teacher on to Revolution and use it to teach basic programming ideas. Good luck with your studies! -James Robert Sabo Sent by: use-revolution-bounces at lists.runrev.com 12/29/04 03:20 PM Please respond to How to use Revolution To: Revolution cc: Subject: Random Name Generator Hey Everyone, I just joined this group. Seems pretty cool. Well first let me fill you in with a little background info. I am a sophmore in highschool. I am taking a computer programming class however we use a dinosour program called Turbo Pascal. Some of the features (functions, commands etc) are pretty much the same. However I just need to learn how to write it all in runrev language. Well here's my problem. I am trying to make a program that will allow you to input however many names you want into a list. This list will be on the bottom section where you can delete users. The middle section will contain a text area for you to input another username and the top level will run the program. This program is going to be setup to randomly output a name from the list. I got my layout already made, however I am having problems finding good help on how to script what I want to do with the username list. All help is welcomed, if you need more info or have anymore questions just ask, Thanks, Robert __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Wed Dec 29 16:53:14 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 29 Dec 2004 14:53:14 -0700 Subject: Problem with field borderwidth 2 In-Reply-To: <41D31C5F.2080800@hrz.uni-kassel.de> References: <41D31C5F.2080800@hrz.uni-kassel.de> Message-ID: <0A2198A4-59E4-11D9-876F-000A9567A3E6@swcp.com> On Dec 29, 2004, at 2:06 PM, Wilhelm Sanke wrote: > Has anybody else noticed this or can verify my observation? I don't see this on OS X or XP with Revolution 2.5. I should clarify. I made some fields with 3D turned off and a border of 2. I set the left and right so that I thought they should butt. They do. I did not use a stack with butting borders made some time ago, so this does not indicate whether there was a change or not. This does fit with my memory of some time ago, though. Now, our models of what should butt might be different. I tend to use a model of whole coordinates as being _between_ the pixels. That is, a pixel is the rectangle formed by n,m,n+1,m+1. This means that a rectangle contains whole pixels and does not split them down the edge. So, I set the left of the right-hand field to the right of the left-hand field. (Borders grow from the edge inward.) Maybe you have focusBorder on? I have vague memory of a border-like thing that grows outward, but I forgot what it is. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From kray at sonsothunder.com Wed Dec 29 16:53:54 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 29 Dec 2004 15:53:54 -0600 Subject: Random Name Generator In-Reply-To: <20041229202025.5189.qmail@web50810.mail.yahoo.com> Message-ID: On 12/29/04 2:20 PM, "Robert Sabo" wrote: > Hey Everyone, > > I just joined this group. Seems pretty cool. Hey, Robert... welcome! > Well here's my problem. I am trying to make a program that will allow you to > input however many names you want into a list. This list will be on the bottom > section where you can delete users. The middle section will contain a text > area for you to input another username and the top level will run the program. > This program is going to be setup to randomly output a name from the list. I > got my layout already made, however I am having problems finding good help on > how to script what I want to do with the username list. Suppose you had a list field called "User Names" which will contain the list of user names, and a separate field called "Selected User" which will contain the name of the randomly selected user name from the "User Names" field. Add to this a button that says "Go", and you have this: -- Script of button "Go" on mouseUp put any line of field "User Names" into field "Selected User" end mouseUp Easy, no? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Wed Dec 29 18:49:23 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 15:49:23 -0800 Subject: menu woes... In-Reply-To: References: Message-ID: <41D34283.1010606@fourthworld.com> SimPLsol at aol.com wrote: > However, documentation is just a stopgap measure; Until the "Getting Started" info is restored it's a rather large gap. ;) > what is really needed is an easier, more reliable > way of handling menus in Rev. What do you propose? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From SimPLsol at aol.com Wed Dec 29 19:07:26 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 29 Dec 2004 19:07:26 EST Subject: menu woes... Message-ID: <1e.3bb36746.2f04a0be@aol.com> Jeanne, Many smart people have posted to this list with stack resizing problems after adding menus to a stack used on OS X. The documentation does cover how menus are supposed to work. About six months ago I showed you a group of stacks on which I was having the resizing problem; we eventually worked around it by setting the stack sized specifically in an openStack handler (putting the same code in the preOpenStack did not work). This is not documented. There is no recipe for calling menus from substacks or storing them as resources. Rev.'s ambitious attempt to accommodate cross-platform menus is commendable but, if I may paraphrase Mark, menus are too fundamental to be so difficult. Paul Looney From frank at backtalk.com Wed Dec 29 19:19:08 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 30 Dec 2004 00:19:08 +0000 Subject: menu woes... In-Reply-To: <20041230000226.0019A930117@mail.runrev.com> References: <20041230000226.0019A930117@mail.runrev.com> Message-ID: <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> On Dec 30, 2004, at 12:02 AM, use-revolution-request at lists.runrev.com wrote: > Subject: Re: menu woes... > To: How to use Revolution > Message-ID: <41D34283.1010606 at fourthworld.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > SimPLsol at aol.com wrote: >> However, documentation is just a stopgap measure; > > Until the "Getting Started" info is restored it's a rather large gap. > ;) > >> what is really needed is an easier, more reliable >> way of handling menus in Rev. > > What do you propose? > I think the Windows menu bar should be a separate object in the window, that is not attached to the "content" area. This would mean that a window was comprised of the window titlebar (on Mac and PC), the window menu bar (on PC only), and the window content area (on Mac and PC). The current hidden group implementation is fraught with problems. For example, I want to change the font to something larger than the default, but I don't dare for fear of doing something that will never be correctable. -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From ambassador at fourthworld.com Wed Dec 29 19:29:11 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 16:29:11 -0800 Subject: menu woes... In-Reply-To: <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> References: <20041230000226.0019A930117@mail.runrev.com> <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> Message-ID: <41D34BD7.6040205@fourthworld.com> Frank Leahy wrote: > The current hidden group implementation is fraught with problems. For > example, I want to change the font to something larger than the default, > but I don't dare for fear of doing something that will never be > correctable. Which font? The stack, the menu group, or individual menu buttons? And what happens when you do that? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Wed Dec 29 19:50:21 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 29 Dec 2004 17:50:21 -0700 Subject: menu woes... In-Reply-To: <41D34BD7.6040205@fourthworld.com> References: <20041230000226.0019A930117@mail.runrev.com> <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> <41D34BD7.6040205@fourthworld.com> Message-ID: On Dec 29, 2004, at 5:29 PM, Richard Gaskin wrote: > Frank Leahy wrote: >> The current hidden group implementation is fraught with problems. >> For example, I want to change the font to something larger than the >> default, but I don't dare for fear of doing something that will never >> be correctable. > > Which font? The stack, the menu group, or individual menu buttons? > And what happens when you do that? If I understand Frank right, you're missing the point. The problem is the fear, not the font. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ambassador at fourthworld.com Wed Dec 29 19:50:38 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 16:50:38 -0800 Subject: menu woes... In-Reply-To: <1e.3bb36746.2f04a0be@aol.com> References: <1e.3bb36746.2f04a0be@aol.com> Message-ID: <41D350DE.3040603@fourthworld.com> SimPLsol at aol.com wrote: > Jeanne, > Many smart people have posted to this list with stack resizing problems > after adding menus to a stack used on OS X. The documentation does cover how > menus are supposed to work. While doc recommendations are perhaps better served through the RevDocs group at Yahoo, as long as you mention it the entry point into the docs is a bit obscure. Apple's Inside Macintosh series broke things into convenient groupings: Menus, Windows, QuickTime, Graphics, Files, etc. If the docs had such a topic list as the second-most-obvious thing (the first being a topic called "Getting Started with Revolution"), and then provided a good top-down description of how these elements are done in Rev, I think a lot of questions would go away. There's a lot of reliance on searching the docs, but studies show search is rarely used, and even more rarely effectively, even in the best implementations (see the articles archive at uie.com). And of course our collective experience suggests that the current search implementation in Rev could do with an expanded index (and options for find whole vs. find partial, etc.). ;) There's more on this in the RevDocs list, but in short it seems things like this subject might be more easily learned if the docs had an entry path something like: Step 1 Step 2 Step 3 ------ ------- ------ ... Buttons Fields ... Files What is a Menu? ... Graphics Types of Menus Using the Menu Builder Menus -> Creating Menus -> Cross-platfom Menus QuickTime Responding to Messages Mac tip: EditMenus property ... Menu Properties ... ... A good taxonomy will obviate the need for most searches. If the folks at DMOZ can come up with a taxonomy for everything, there must be a good taxonomy for the relatively small subset of things in Rev's corner of the universe. :) > About six months ago I showed you a group of stacks > on which I was having the resizing problem; we eventually worked around it by > setting the stack sized specifically in an openStack handler (putting the > same code in the preOpenStack did not work). This is not documented. The IT Works stacks I've seen had a different problem: the menu group was sized way too large, extending below the bottom of the menu buttons within it. If I recall on those stacks we set the menu group size to match the height of the buttons and the problem went away. It's an unusual anomaly to have the menu group be so large. The docs mention that the crop-and-scroll will crop at the bottom of the menu group, but it would have been almost frighteningly prescient of Jeanne if she included a topic for the specific circumstance you'd encountered. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed Dec 29 19:56:23 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 16:56:23 -0800 Subject: menu woes... In-Reply-To: References: <20041230000226.0019A930117@mail.runrev.com> <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> <41D34BD7.6040205@fourthworld.com> Message-ID: <41D35237.3030001@fourthworld.com> Dar Scott wrote: > > On Dec 29, 2004, at 5:29 PM, Richard Gaskin wrote: >> Frank Leahy wrote: >>> The current hidden group implementation is fraught with problems. >>> For example, I want to change the font to something larger than the >>> default, but I don't dare for fear of doing something that will never >>> be correctable. >> >> >> Which font? The stack, the menu group, or individual menu buttons? >> And what happens when you do that? > > If I understand Frank right, you're missing the point. The problem is > the fear, not the font. That was resolved by another Frank (Mr. Frank D. Roosevelt): "There's nothing to fear but fear itself." When faced with the option to chose between experimenting on a backup to see what happens or not doing so out of fear, experimentation will yield more useful results. In the worst case your fears will be confirmed, but at least you'll know rather than be guessing. In the best case you'll find the solution you've been seeking, and move on to something more interesting.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From alex at tweedly.net Wed Dec 29 20:07:20 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2004 01:07:20 +0000 Subject: menu woes... In-Reply-To: <41D35237.3030001@fourthworld.com> References: <20041230000226.0019A930117@mail.runrev.com> <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> <41D34BD7.6040205@fourthworld.com> <41D35237.3030001@fourthworld.com> Message-ID: <41D354C8.1000808@tweedly.net> Richard Gaskin wrote: > That was resolved by another Frank (Mr. Frank D. Roosevelt): > "There's nothing to fear but fear itself." > > When faced with the option to chose between experimenting on a backup > to see what happens or not doing so out of fear, experimentation will > yield more useful results. > > In the worst case your fears will be confirmed, but at least you'll > know rather than be guessing. That's not the worst case, that's the medium case. In the worst case, you will have introduced a problem which doesn't make itself visible to you, and sometime later (maybe on another machine / os / universe) becomes apparent, and cannot be solved without major surgery. At that point, of course, you're unable to abandon the "attempt" because it is deeply bound into your last few months programming. Hmmmm - maybe it'd be nice to have a source code control system including checkpoint or diff / merge that could work on stacks ... -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 28/12/2004 From SimPLsol at aol.com Wed Dec 29 20:12:39 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 29 Dec 2004 20:12:39 EST Subject: Menu woes Message-ID: <79.3bcbf7bb.2f04b007@aol.com> Richard Gaskin wrote: What do you propose? Good question! 1. Keep the good stuff. Although it causes half of the menu problems, I think it is important to continue having a cross-platform solution. Building menus with buttons may not be the best way to accomplish this. What we have now has carried us a long way but menus via externals would solve some of the problems and offer more flexibility. 2. I'd like to see the menus be separate from the stack. If the menus are separate, one can update them easily. This is important if you (or your customers) have stacks with a lot of data and you want to add or change menus and/or menuItems. This is really simple if you can store the menu code in a plugin. 3. I'd like the ability to have basic and expanded menus. Most stacks in my business system have the same core menus. Individual stacks have different print commands and different items in the "Special" menu. It would be helpful to build the core menus once and then just add to them (probably in an openStack handler) as needed. This would also allow editing one core menu which would apply to all stacks where the core menu is used. 4. I don't believe putting menus in substacks is a good overall solution. There have been too many postings on this list regarding problems created by substacks. I realize this is more theory than technique but I hope it helps a bit. More later. Paul Looney From SimPLsol at aol.com Wed Dec 29 20:36:26 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 29 Dec 2004 20:36:26 EST Subject: menu woes... Message-ID: <1dd.33dd300a.2f04b59a@aol.com> In a message dated 12/29/04 16:51:27, ambassador at fourthworld.com writes: > taxonomy > Richard, I agree with you that a good taxonomy for the current documentation would help. My experience with Rev. is that there is good intermediate help and good advanced help but weak beginning help. Even Dan's book is post-beginner. And that's alright if there was good coverage of the basics elsewhere. Incidentally, the stack you and I were working on was Contacts; Jeanne and I worked on Schedules; different issues. One of the bizarre things in Contacts, if you remember, was the fact that it had two menus (one of which was the original HyperCard background!). The documentation could not have anticipated that. Besides, my complaint in not really with the documentation. If menus could be implemented in a more reliable way, LESS documentation would be required. I think there are different levels of documentation. There is the "final", "this is how it is supposed to work" docs. and "working" docs. which guide one around the pot holes until they can be fixed. The first type exists. This list takes the place of the second - but the list doesn't get summarized in one convenient place that has a list of problems (call them FAQs) and proposed workarounds. Consequently, people ask the same questions again and again; if you don't follow the list daily you can miss problems and solutions; it is hard to find answers to old questions. Paul Looney From ambassador at fourthworld.com Wed Dec 29 20:41:56 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 17:41:56 -0800 Subject: menu woes... In-Reply-To: <1427474167.20041229114803@ahsoftware.net> References: <41D1F08B.5090606@chipp.com> <4629261385.20041228164453@ahsoftware.net> <41D2DB70.4010902@fourthworld.com> <1427474167.20041229114803@ahsoftware.net> Message-ID: <41D35CE4.1050104@fourthworld.com> Mark Wieder wrote: > Richard- > > Wednesday, December 29, 2004, 8:29:36 AM, you wrote: > > RG> So if you encounter any menuing issues that don't fit the recipe > RG> described in Bug #744, please do as Chipp did: post it here, folks will > RG> look it over and provide a recommendation for a solution. > > RG> I can't guarantee that there may not be other issues not yet known, and > RG> of course identifying them and providing a recipe in Bugzilla is the > RG> best way to see them resolved. But I have high confidence that most > RG> issues with menus can be resolved in just a few posts to this list. > > Resizing issues aside, I herewith present: > > http://support.runrev.com/bugdatabase/show_bug.cgi?id=2366 Aside from the bit about menu keys not working (perhaps that should be a separate report?) most of that report is pretty much a summary of the normal behavior of menus to accomodate Mac OS's idiosynchracies (see the discussion in the docs under Topics->Menus and the MenuBar, in the subsection toward the bottom labelled "Special menu items"). If the problem is that the documentation needs to be revised to make that discussion more easily findable, that's a different matter from requesting a change to the behavior itself. The current behavior allows you to make one HIG-compliant menu bar for use on all supported operating systems, and the engine automatically makes the necessary adjustments to accomodate the unique idiosynchracies of Mac OS Classic and OS X: File->Quit: OS X is the only OS with an application menu, where it expects the Quit item to reside; all other OSes, including Classic, put this item at the end of the File menu. This item is normally set apart from other items by a separator. To accomodate OS X without requiring you to make another menu group just for that one OS, the engine moves the last item to the application menu on OS X, and also removes what would be the dangling separator. Edit->Preferences: by convention Preferences is the last item in the Edit menu, made distinct from other items with a separator. Because OS X is the only OS that moves this to the application menu, that item and its separator are moved for you automatically. Help->About: All operating systems put the About item as the last item in the Help menu, except Classic which puts it under the Apple menu and OS X which puts it in the application menu. To avoid requiring you to make three menu groups depending on the OS you're running, the About item is moved from its normal place on all other OSes to the appropriate menu on Mac systems. Without the engine taking care of these moves for you, you'd have to write a complicated routine that checks the platform and does the same thing. And Rev would have to be extended to include a way for the developer to address the application and Apple menus, which are maintained by the system. What simpler method do you envision for making HIG-compliant cross-platform menus? I agree that non-standard menu items should also be supported (though I'd never use them nor recommend them, someone may need them), so as a low-priority item perhaps RunRev could consider a new stack property, something like "dontModifyMenus", to full preserve menu items even if it makes the app appear non-standard. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed Dec 29 20:45:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 17:45:20 -0800 Subject: menu woes... In-Reply-To: <1dd.33dd300a.2f04b59a@aol.com> References: <1dd.33dd300a.2f04b59a@aol.com> Message-ID: <41D35DB0.5090405@fourthworld.com> SimPLsol at aol.com wrote: > In a message dated 12/29/04 16:51:27, ambassador at fourthworld.com writes: > ...my complaint in not really with the documentation. > If menus could be implemented in a more reliable way, > LESS documentation would be required. Aside from the issue Jacque identified in bug #744, what behaviors are not working reliably as documented? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From SimPLsol at aol.com Wed Dec 29 20:54:56 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 29 Dec 2004 20:54:56 EST Subject: menu woes... Message-ID: Stacks without substacks also have the resizing problem. I solved it on mine, not by adjusting the menubar size (although I did that, too) but by resizing the stacks in an openStack handler. Paul Looney From cassj at earthlink.net Wed Dec 29 21:01:07 2004 From: cassj at earthlink.net (James Cass) Date: Wed, 29 Dec 2004 21:01:07 -0500 Subject: Random Name Generator In-Reply-To: References: Message-ID: Robert - Ken just showed you how easy it is to get things done with Rev. If you wanted to try your exercise another way, just for understanding the programmatic steps needed to get your result, you could break it down like this (this code goes in the script of Ken's "Go" button): on mouseUp -- Ken's example. Revolution makes it easy to pick a random item from the list. --put any line of field "User Names" into field "Selected User" -- Old school with a Rev twist set lineDel to return -- set the line delimiter put the number of lines of fld "User Names" into numNames put random(numNames) into randNum -- pick a random line number from 1 to the number of names put line randNum of fld "User Names" into fld "Selected User" --show a random name from the list end mouseUp Ken's method is much more compact of course. :-) Hope this helps....James ------------------------------------ When mind control works, you won't know it. On Dec 29, 2004, at 4:53 PM, Ken Ray wrote: > On 12/29/04 2:20 PM, "Robert Sabo" wrote: > >> Hey Everyone, >> >> I just joined this group. Seems pretty cool. > > Hey, Robert... welcome! > >> Well here's my problem. I am trying to make a program that will allow >> you to >> input however many names you want into a list. This list will be on >> the bottom >> section where you can delete users. The middle section will contain a >> text >> area for you to input another username and the top level will run the >> program. >> This program is going to be setup to randomly output a name from the >> list. I >> got my layout already made, however I am having problems finding good >> help on >> how to script what I want to do with the username list. > > Suppose you had a list field called "User Names" which will contain > the list > of user names, and a separate field called "Selected User" which will > contain the name of the randomly selected user name from the "User > Names" > field. Add to this a button that says "Go", and you have this: > > -- Script of button "Go" > on mouseUp > put any line of field "User Names" into field "Selected User" > end mouseUp > > Easy, no? > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Wed Dec 29 21:26:14 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 18:26:14 -0800 Subject: menu woes... In-Reply-To: References: Message-ID: <41D36746.2020705@fourthworld.com> SimPLsol at aol.com wrote: > Stacks without substacks also have the resizing problem. I solved it on mine, > not by adjusting the menubar size (although I did that, too) but by resizing > the stacks in an openStack handler. What's the recipe for reproducing this? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From capellan2000 at yahoo.com Wed Dec 29 22:10:35 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 29 Dec 2004 19:10:35 -0800 (PST) Subject: getting the Real name of CDs from RR In-Reply-To: <20041230000226.0019A930117@mail.runrev.com> Message-ID: <20041230031035.75392.qmail@web40512.mail.yahoo.com> Hi developers, I'm building a file cataloging and comparation tool with RR. I'm having a problem to identify the real name of the CDs that i want to create a catalog. I could get the letter that identifies the device: For example E:/ or D:/ But CDs always have a name like: NEW_CD or BK_DIC04 How could i get the real name of a CD from RR in Windows? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From kray at sonsothunder.com Wed Dec 29 22:38:51 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 29 Dec 2004 21:38:51 -0600 Subject: getting the Real name of CDs from RR In-Reply-To: <20041230031035.75392.qmail@web40512.mail.yahoo.com> Message-ID: On 12/29/04 9:10 PM, "Alejandro Tejada" wrote: > How could i get the real name of a CD from > RR in Windows? You could switch to that drive and get a "dir" under shell(); the first line says "Volume in drive is ", and you can parse it from that. Something like this: on mouseUp answer GetCDName("D:") end mouseUp function GetCDName pLetter set the hideConsoleWindows to true put shell(pLetter & " & dir") into temp return last word of line 1 of temp end GetCDName HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From katir at hindu.org Thu Dec 30 00:13:02 2004 From: katir at hindu.org (Sivakatirswami) Date: Wed, 29 Dec 2004 19:13:02 -1000 Subject: CGI Failures --lineoffset Message-ID: <7A9193E0-5A21-11D9-8F73-000A959D0AC6@hindu.org> I'm getting failures of certain functions when running script(s) as a cgi either on under apache/Darwin engine or Linux/Linux Engine, that work perfectly fine from within the IDE under OSX with 2.5. (engine version I'm running on darwin is returning MC 2.5 while under my IDE in OSX I'm getting 2.6.1) Here is the latest anomaly : the lineoffset I have a function which is intended to do the same job as mod_include on cgi output where template files have SSI's that I want to parse for insertion of SSI chunks. This way when these chunks are changed all the templates used in CGI output also change, automatically (an old problem: Apache doesn't do this, yet.. cross your fingers...) Basically the script is trying to target includes like this:
using the following function to get the include, and return the template file with the include inserted. After mysterious failures I focused in on the lineoffset function and returned that variable itself... running under OSX from inside the IDE I am getting line 22 returned by put lineoffset (tSSI,tTemplate) into tIncludeLine but running as a CGI using the Darwin engine... I'm getting line 1 I tried this: set the linedelimiter to numtoChar(10) thinking we are having some underlying OS line delimiter confusion, but it didn't help... anyone know anything about this? I've a few other "only in CGI mode" bugs that are very pesky....The version of the engine running revApp 2.5 is 2.6.1... but the version I get back from the Darwin engine is metacard 2.5... but the lineoffset function is "ancient history" I wouldn't think that this difference in engine version would make a difference. Lineoffset is a "mission critical' function for lots of html manipulation processes.. any insights? =========== function insertInclude tTemplate,tSSI # this did not help: --set the linedelimiter to numtoChar(10) put lineoffset (tSSI,tTemplate) into tIncludeLine # ignore the rest of this until the last line # all this works fine on OSX running under the IDE # the actual include is one line down # put tIncludeLine+ 1 into tIncludeLine # pull out the path to the chunk # which is the only quoted string in the include set the itemdel to quote put item 2 of (line tIncludeLine of tTemplate) into tPath delete char 1 of tPath ## we have to climb out of the cgi-bin # on Varuna, (production server) for testing: put ".." before tPath # on Siddhi (distribution server, final cgi to check in) -- put "../html/" before tPath # *always* put the expression pointing to a URL in parenthesis # otherwise it will fail, unlike most other xTalk expressions # where the cat operator "&" is usually first in precedence # in this case (url "file:") is first in evaluation... then the concat "&" put url ("file:" & tPath) into tIncludeChunk put line tIncludeLine of tTemplate into tSSI replace tSSI with tIncludeChunk in tTemplate #return tTemplate return tIncludeLine ## I get "22" under with 2.5 running under the IDE, but ## we get "1" running as a CGI with the Darwin engine end insertInclude Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From jacque at hyperactivesw.com Thu Dec 30 00:23:17 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2004 23:23:17 -0600 Subject: Menu woes In-Reply-To: <79.3bcbf7bb.2f04b007@aol.com> References: <79.3bcbf7bb.2f04b007@aol.com> Message-ID: <41D390C5.3080104@hyperactivesw.com> On 12/29/04 7:12 PM, SimPLsol at aol.com wrote: > What we have now has carried us a long > way but menus via externals would solve some of the problems and offer more > flexibility. You don't really mean "externals" as in "dll/bundle/XCMD" do you? Please say you mean something else. If you think this menu discussion is heated, you ought to hear me when "externals" is the topic. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Thu Dec 30 00:30:43 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 29 Dec 2004 23:30:43 -0600 Subject: CGI Failures --lineoffset In-Reply-To: <7A9193E0-5A21-11D9-8F73-000A959D0AC6@hindu.org> Message-ID: On 12/29/04 11:13 PM, "Sivakatirswami" wrote: > set the linedelimiter to numtoChar(10) Did you try: set the lineDel to numToChar(13) ?? I've had issues with line delimitereds under CGI scripts... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Thu Dec 30 01:51:49 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Dec 2004 22:51:49 -0800 Subject: questions about recording audio Message-ID: <41D3A585.1060804@fourthworld.com> Three questions about recording audio: > 1. Support for new compressors? The recordCompressorTypes property returns a list of available compressors that includes items (like MPEG-4) which are not shown in the "answer record" dialog. Since the "answer record" command calls QT to bring up its dialog, why aren't all of the available compressors shown? > 2. How to determine format/compressor compatibility? The docs say: Not all sound file formats are compatible with all supported codecs. If you try to record sound using a recordCompressionType that is not compatible with the recordFormat, the compression type will be changed automatically to a codec that is compatible with the specified recordFormat. How can I determine which compressors are available for which formats? > 3. Updating options in the "answer record" dialog If I change the recordFormat and then call "answer record", it always displays the same list of codecs. Is there a way to have the "answer record" dialog only show options relevant for the current recordFormat? TIA- -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From chipp at chipp.com Thu Dec 30 02:04:04 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Dec 2004 01:04:04 -0600 Subject: menu woes... In-Reply-To: References: Message-ID: <41D3A864.1040204@chipp.com> Jeanne, With all due respect and credit to your amazing documentation, I could find no discussion of how to keep from auto-downsizing a stack when using MacOSX menubars. Now that I know how simple it is to do this: 1) set the editmenus of the stack to true 2) hide the menu group It makes menus a 'snap' to work with! I understand you cannot be expected to provide help and documentation on all possible configuration and features, but this one certainly can use an FAQ (Monte?). best, Chipp Jeanne A. E. DeVoto wrote: > None of what's been discussed is an "undocumented feature". The bug that > Jacque tracked down with the editMenus scroll being applied multiple > times is not documented, but bugs normally aren't. From chipp at chipp.com Thu Dec 30 02:05:00 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Dec 2004 01:05:00 -0600 Subject: menu woes... In-Reply-To: References: Message-ID: <41D3A89C.1000005@chipp.com> Paul, Did you see my earlier post on how to keep your main stack from resizing at all? best, Chipp SimPLsol at aol.com wrote: > Stacks without substacks also have the resizing problem. I solved it on mine, > not by adjusting the menubar size (although I did that, too) but by resizing > the stacks in an openStack handler. From chipp at chipp.com Thu Dec 30 02:17:08 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Dec 2004 01:17:08 -0600 Subject: menu woes... In-Reply-To: <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> References: <20041230000226.0019A930117@mail.runrev.com> <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> Message-ID: <41D3AB74.5010602@chipp.com> Frank Leahy wrote: > I think the Windows menu bar should be a separate object in the window, > that is not attached to the "content" area. This would mean that a > window was comprised of the window titlebar (on Mac and PC), the window > menu bar (on PC only), and the window content area (on Mac and PC). > > The current hidden group implementation is fraught with problems. For > example, I want to change the font to something larger than the default, > but I don't dare for fear of doing something that will never be > correctable. Frank, I'm glad the Windows menu bar is *not* separate. I want to be able to have the utmost in flexibility with my menu designs so that I can make a menu with other stuff on the same level as in: www.altuit.com/webs/altuit2/trash/trash.htm Notice, in the image above, I *have* changed the fontsize of the menuGrp with no problems whatsoever in the resizing. In fact, on the mac, the window looks *identical* with the exception the menuBar is (of course) on the top of the screen - but there is no window size difference. On the Mac, it is expected one should do things a certain way, but this is not so on Windows- see the menubar feature in the latest version of MS MediaPlayer for instance. I wish the menu system to stay how it is, but hope there are better examples and documentation on how to resolve different cross-platform problems. best, Chipp From chipp at chipp.com Thu Dec 30 02:22:10 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Dec 2004 01:22:10 -0600 Subject: menu woes... In-Reply-To: <41D354C8.1000808@tweedly.net> References: <20041230000226.0019A930117@mail.runrev.com> <6BE2D82E-59F8-11D9-A88F-000A9580FCCE@backtalk.com> <41D34BD7.6040205@fourthworld.com> <41D35237.3030001@fourthworld.com> <41D354C8.1000808@tweedly.net> Message-ID: <41D3ACA2.6060303@chipp.com> Alex, You might want to check out MagicCarpet for version controlling your stacks (if you haven't). It works as a plugin inside Rev. It allows you to save notes on different versions and roll back to previous versions. It doesn't do a diff/merge (yet). www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm -Chipp Alex Tweedly wrote: > Hmmmm - maybe it'd be nice to have a source code control system > including checkpoint or diff / merge that could work on stacks ... From chipp at chipp.com Thu Dec 30 02:33:35 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Dec 2004 01:33:35 -0600 Subject: menu woes... In-Reply-To: <1dd.33dd300a.2f04b59a@aol.com> References: <1dd.33dd300a.2f04b59a@aol.com> Message-ID: <41D3AF4F.5090605@chipp.com> Paul, Very good point indeed. In fact, IMO, the documentation is the most critical component which needs 'help' in the IDE. More than once, I've found myself going back to a previous version of Rev to access the old stack-based documents. I really like what Monte has done with the XML approach, but there are things missing, specifically the inability to quickly search all help docs for a single phrase. Of course, with the docs in XML format, it would be easy for someone to write an indexer for them. I really like the 'online' component of the docs, but find it's not used much. Possibly, if it were used more, and searchable, it might make things easier for doc writers. A good number and high quality of examples is also quite helpful. I seem to remember Jeanne telling me some astronomical figure for the number of hours it would take to properly make examples for all of the handlers, functions, properties, etc.. in the existing documentation. If all of us could do so when needed, and have them linked to the existing docs, it would certainly make things easier for all of us. best, Chipp SimPLsol at aol.com wrote: > I agree with you that a good taxonomy for the current documentation would > help. My experience with Rev. is that there is good intermediate help and good > advanced help but weak beginning help. Even Dan's book is post-beginner. And > that's alright if there was good coverage of the basics elsewhere. From howard.bornstein at gmail.com Wed Dec 29 17:48:00 2004 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 29 Dec 2004 17:48:00 -0500 Subject: menu woes... In-Reply-To: <3f07cc260412291446636ae12d@mail.gmail.com> References: <0D4F1CE1-59D9-11D9-BD4B-000A95909E26@tmail.com> <3f07cc260412291446636ae12d@mail.gmail.com> Message-ID: <3f07cc260412291448799e7dca@mail.gmail.com> I rarely think to set up menus at the beginning of stack development, but I've learned with Rev that I save myself a *lot* of grief if I automatically create the default menus with the Menu Builder tool right at the beginning of a project. This places the menu group in the stack, scrolls the stack to hide the group and from then on I can develop without concern for the "changes" that menus do to the stack. It's easy to modify the existing menubar once it's been created. More times that I can count, I've had to rely on Jacque's nifty "pushdown" script to push every object in the stack down 22 pixels when I've waited until everything was built before I added the menubar. -- Regards, Howard Bornstein ----------------------- www.designeq.com -- Regards, Howard Bornstein ----------------------- www.designeq.com From docmann at gmail.com Thu Dec 30 03:32:28 2004 From: docmann at gmail.com (docmann) Date: Thu, 30 Dec 2004 02:32:28 -0600 Subject: Hooray and thanks! Message-ID: <9d58de7d04123000325fa5e855@mail.gmail.com> Hooray! :) :) :) I just completed the transaction, upgrading from Dreamcard to Rev Studio as well as ordering a copy of Dan Shafer's "Software at the speed of thought". Taking advantage of the Christmas special, I know that I got a really great deal on an already great product and look forward to trying out the AltBrowser and Magic Carpet products as well. (I'm a genuine browser-head and have enjoyed building several using other development tools.) As I think I've mentioned before, I've been following the development progress of Rev off and on from it's very first release and finally decided to dive in. Hat's off to the Rev development team for an amazing product! I'd also like to again say thank you to all of the fantastic folks that participate on the list for all of the great help and advice to newb's like myself. Although Rev is so much different than any other programming tool/language I've ever used, you good folks have given me the confidence that I'll be able to learn and prosper with it. Much appreciated! -Doc- From revolution at jaedworks.com Thu Dec 30 01:19:11 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 29 Dec 2004 22:19:11 -0800 Subject: menu woes... In-Reply-To: <1e.3bb36746.2f04a0be@aol.com> References: <1e.3bb36746.2f04a0be@aol.com> Message-ID: At 7:07 PM -0500 12/29/04, SimPLsol at aol.com wrote: >About six months ago I showed you a group of stacks >on which I was having the resizing problem; we eventually worked around it by >setting the stack sized specifically in an openStack handler (putting the >same code in the preOpenStack did not work). This is not documented. Well, normally bugs aren't discussed in the main documentation. It's possible to do so, of course, but it's a lot of effort that has to be undone when the bug is fixed, and also there's the chance that a bug reference will be overlooked and not removed from the docs. They are often discussed in the Read Me/release notes, and I used to list the most often-encountered bugs in the release note. Possibly the best of both worlds would be to provide some sort of contextual access to Bugzilla from the docs - for example, a "Find any known bugs related to this item" under "See Also". The Web Notes feature might be a step in this direction. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From ambassador at fourthworld.com Thu Dec 30 05:32:17 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 02:32:17 -0800 Subject: menu woes... In-Reply-To: References: <1e.3bb36746.2f04a0be@aol.com> Message-ID: <41D3D931.9090406@fourthworld.com> Jeanne A. E. DeVoto wrote: > At 7:07 PM -0500 12/29/04, SimPLsol at aol.com wrote: > >> About six months ago I showed you a group of stacks >> on which I was having the resizing problem; we eventually worked >> around it by >> setting the stack sized specifically in an openStack handler (putting the >> same code in the preOpenStack did not work). This is not documented. > > Well, normally bugs aren't discussed in the main documentation. It's > possible to do so, of course, but it's a lot of effort that has to be > undone when the bug is fixed, and also there's the chance that a bug > reference will be overlooked and not removed from the docs. What is the Bugzilla number for this one? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From johnmiller1950 at sbcglobal.net Thu Dec 30 06:08:44 2004 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Thu, 30 Dec 2004 06:08:44 -0500 Subject: Database Doldrums Message-ID: <2BED6846-5A53-11D9-91E8-000A95880812@sbcglobal.net> Frank, Thanks for your help. I was able to get JOIN to work. Gratefully, John Miller From ambassador at fourthworld.com Thu Dec 30 06:40:48 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 03:40:48 -0800 Subject: Hooray and thanks! In-Reply-To: <9d58de7d04123000325fa5e855@mail.gmail.com> References: <9d58de7d04123000325fa5e855@mail.gmail.com> Message-ID: <41D3E940.9090404@fourthworld.com> docmann wrote: > Although Rev is so much different than any other > programming tool/language I've ever used, you > good folks have given me the confidence that I'll > be able to learn and prosper with it. That's the type of results-focused comment that makes contributing to the list worthwhile. Thank you for taking the time to post that, Doc. Keep those questions coming... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mark at maseurope.net Thu Dec 30 06:44:51 2004 From: mark at maseurope.net (Mark Smith) Date: Thu, 30 Dec 2004 11:44:51 +0000 Subject: Menu woes.... In-Reply-To: <20041230065658.E7FFE93010F@mail.runrev.com> References: <20041230065658.E7FFE93010F@mail.runrev.com> Message-ID: <3758E83C-5A58-11D9-AD22-000D93C19756@maseurope.net> Chipp, is this for real? I'm confused. To walk through what I've just done: Create new mainstack Use Menu Builder to create a new menu "MenuBar 1" the menu group appears in the top left of the stack check "Set as menu bar on Mac OS" stack scrolls up to hide the menu group and menu appears in mac menubar type 'Set the editMenus of this stack to true' into the msg box stack scrolls back down to show menu group and the menu bar resets ie. without my menu Type 'hide group "MenuBar 1"' into the msg box menu group disappears hereafter, setting the editMenus to false puts the menu in the menu bar, setting it to true takes it out again. But no scrolling. This is what I'd expect, I think, but it seems like setting the editMenus to true, as you suggest, prevents the menu appearing in the mac menubar. It's hiding the group and setting editMenus to false that seems to get the menu in the menubar without scrolling the stack..... Have I go the wrong end of the stick? Cheers, Mark On 30 Dec 2004, at 06:56, Chipp Walters wrote: > 1) set the editmenus of the stack to true > 2) hide the menu group > From ambassador at fourthworld.com Thu Dec 30 07:26:19 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 04:26:19 -0800 Subject: Menu woes In-Reply-To: <79.3bcbf7bb.2f04b007@aol.com> References: <79.3bcbf7bb.2f04b007@aol.com> Message-ID: <41D3F3EB.5080507@fourthworld.com> SimPLsol at aol.com wrote: > I'd like to see the menus be separate from the stack. > If the menus are separate, one can update them easily. This is important > if you (or your customers) have stacks with a lot of data and you want to add > or change menus and/or menuItems. This is really simple if you can store the > menu code in a plugin. That's how I do most of my apps now: The scripts in the menu bar are often empty, and I have a generic menuPick handler in a library that traps those and does what's needed. This also makes it easy to add contextual menus, since you don't need to do any additional scripting for those items. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From capellan2000 at yahoo.com Thu Dec 30 08:57:29 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 30 Dec 2004 05:57:29 -0800 (PST) Subject: getting the Real name of CDs from RR In-Reply-To: <20041230065720.D546A93012C@mail.runrev.com> Message-ID: <20041230135729.16469.qmail@web40507.mail.yahoo.com> on Wed, 29 Dec 2004 Ken Ray wrote: > You could switch to that drive and get a "dir" under > shell(); the first line > says "Volume in drive is ", and you > can parse it from that. > > Something like this: > > on mouseUp > answer GetCDName("D:") > end mouseUp > > function GetCDName pLetter > set the hideConsoleWindows to true > put shell(pLetter & " & dir") into temp > return last word of line 1 of temp > end GetCDName Hi Ken, Thanks a lot for this function!!! :-) Now i suspect that this machine has a damaged installation of Windows 98 because this code does not produce any result... I try the same commands from the DOS command promt and the last words of line 1 effectively contains the name of the CD. Is Time to reinstall the OS? or Could i troubleshoot this machine in another way? Thanks again. Happy New Year!! :-)) al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Send holiday email and support a worthy cause. Do good. http://celebrity.mail.yahoo.com From fde101 at fjrhome.net Thu Dec 30 10:24:27 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 30 Dec 2004 10:24:27 -0500 Subject: more SQL problems In-Reply-To: References: <9d58de7d04122908095d28ae8a@mail.gmail.com> <3E18B111-59BB-11D9-B682-0050E410655F@fjrhome.net> <9d58de7d04122910025c0ce528@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can also use the revNumberOfRecords function to this end. On Dec 29, 2004, at 1:59 PM, Trevor DeVore wrote: > > On Dec 29, 2004, at 10:02 AM, docmann wrote: > >> You folks are fantastic! It works exactly as intended now. :) >> >> Geesh, I still don't know how I got so far off track in attempting >> this and clearly need >> to revisit the documentation. :( >> >> On a side note, I intentionally entered data that I knew did not >> exist, just to see what would happen and got a "revdberr,invalid >> column number" message. Is there a proper way to test and/or trap >> these types of errors when a record doesn't exist? >> >> Again, thank you very VERY much! > > Try this: > > if revCurrentRecordIsLast(q) = false then > revMoveToFirstRecord q > put revDatabaseColumnNamed(q, "City") into field "myCity" > put revDatabaseColumnNamed(q, "State") into field "myState" > put revDatabaseColumnNamed(q, "Zip") into field "myZip" > else > answer "no record" > end if > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB1B2s7aqtWrR9cZoRAgr5AJ9KXCrLyQblp4TrjSAWqo0caLpZuACfQ+t3 4y6Q1fH8smVqqrnoJrfQgNE= =wo6c -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From benr_mc at cogapp.com Thu Dec 30 10:34:23 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 30 Dec 2004 15:34:23 +0000 Subject: Way for browser to talk to Rev? In-Reply-To: <4F384E28-590B-11D9-AAF7-000A9567A3E6@swcp.com> Message-ID: on 28/12/04 8:01 pm, Dar Scott wrote > On Dec 28, 2004, at 9:40 AM, RGould8 at aol.com wrote: > >> I know that I can use Revolution to talk to Applescript to pass >> values/commands to IE and Safari via their "Do Applescript" calls, but is >> there a method of going the other way? (For instance, pressing a button on >> a web-page which sends a Javascript call back to Revolution that can be >> picked up?) > > Maybe the Revolution app can be a simple HTTP server on a weird port. > A form can be sent. A problem might be in staying on the same page and > not expecting a new page. I think Dar's got the best way. Have the Rev stack accept connections on some obscure port; then the browser can make http calls to it on that port. If it's all running on the same machine, use the address 'localhost' or '127.0.0.1'. If you want to stay on the same page, you can use an iframe; javascript (or even a simple link with a 'target' attribute) can change the src of the iframe to the results of a call to Revolution. Either you could just use this to display the result to the user, or javascript could read back the text from the iframe in order to further process it. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From bill at bluewatermaritime.com Thu Dec 30 10:58:52 2004 From: bill at bluewatermaritime.com (Bill) Date: Thu, 30 Dec 2004 11:58:52 -0400 Subject: revNumberOfRecords function for avoiding no record found errors In-Reply-To: Message-ID: Can you show an example? On 12/30/04 11:24 AM, "Frank D. Engel, Jr." wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You can also use the revNumberOfRecords function to this end. > > On Dec 29, 2004, at 1:59 PM, Trevor DeVore wrote: > >> >> On Dec 29, 2004, at 10:02 AM, docmann wrote: >> >>> You folks are fantastic! It works exactly as intended now. :) >>> >>> Geesh, I still don't know how I got so far off track in attempting >>> this and clearly need >>> to revisit the documentation. :( >>> >>> On a side note, I intentionally entered data that I knew did not >>> exist, just to see what would happen and got a "revdberr,invalid >>> column number" message. Is there a proper way to test and/or trap >>> these types of errors when a record doesn't exist? >>> >>> Again, thank you very VERY much! >> >> Try this: >> >> if revCurrentRecordIsLast(q) = false then >> revMoveToFirstRecord q >> put revDatabaseColumnNamed(q, "City") into field "myCity" >> put revDatabaseColumnNamed(q, "State") into field "myState" >> put revDatabaseColumnNamed(q, "Zip") into field "myZip" >> else >> answer "no record" >> end if >> >> >> -- >> Trevor DeVore >> Blue Mango Multimedia >> trevor at mangomultimedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFB1B2s7aqtWrR9cZoRAgr5AJ9KXCrLyQblp4TrjSAWqo0caLpZuACfQ+t3 > 4y6Q1fH8smVqqrnoJrfQgNE= > =wo6c > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 120MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From douez at wanadoo.fr Thu Dec 30 10:59:51 2004 From: douez at wanadoo.fr (thierry) Date: Thu, 30 Dec 2004 16:59:51 +0100 Subject: getting the Real name of CDs from RR In-Reply-To: <20041230135729.16469.qmail@web40507.mail.yahoo.com> References: <20041230065720.D546A93012C@mail.runrev.com> <20041230135729.16469.qmail@web40507.mail.yahoo.com> Message-ID: <1292865283.20041230165951@wanadoo.fr> Hi, AT> Ken Ray wrote: >> on mouseUp >> answer GetCDName("D:") >> end mouseUp >> >> function GetCDName pLetter >> set the hideConsoleWindows to true >> put shell(pLetter & " & dir") into temp >> return last word of line 1 of temp >> end GetCDName AT> Hi Ken, AT> I try the same commands from the DOS command promt AT> and the last words of line 1 effectively AT> contains the name of the CD. AT> Is Time to reinstall the OS? or AT> Could i troubleshoot this machine in AT> another way? Well, some good news just before the New Year :-) In fact, it's not line 1 but line 2 !!!!! i just tested it on Win98 too. Best regards, thierry From fde101 at fjrhome.net Thu Dec 30 11:00:17 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 30 Dec 2004 11:00:17 -0500 Subject: Menu woes In-Reply-To: <41D3F3EB.5080507@fourthworld.com> References: <79.3bcbf7bb.2f04b007@aol.com> <41D3F3EB.5080507@fourthworld.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I suspect the easiest way to "fix" the menu issue and maintain some of the current flexibility would be: 1. Keep the system as it is, for the most part. 2. When using a group as the Mac menu bar, do not scroll the stack. 3. When using a group as a menubar in the window, scroll and enlarge the stack. Now the rect of the card (for ex.) would have a negative minimum vertical coordinate, since the menus would stop before reaching zero. Of course, this would break backward compatibility somewhat, but not nearly so much as some of the other proposals, and yet this would fix some of the other problems which have been mentioned here... On Dec 30, 2004, at 7:26 AM, Richard Gaskin wrote: > SimPLsol at aol.com wrote: >> I'd like to see the menus be separate from the stack. >> If the menus are separate, one can update them easily. This is >> important if you (or your customers) have stacks with a lot of data >> and you want to add or change menus and/or menuItems. This is really >> simple if you can store the menu code in a plugin. > > That's how I do most of my apps now: The scripts in the menu bar are > often empty, and I have a generic menuPick handler in a library that > traps those and does what's needed. > > This also makes it easy to add contextual menus, since you don't need > to do any additional scripting for those items. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB1CYS7aqtWrR9cZoRAhMrAJ4sUdPkuldyJOCxF5VZ8PdkwqNghwCfXScj YAC1j8eIuowZgB0WECRSzwY= =2pl7 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Thu Dec 30 11:04:01 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 30 Dec 2004 11:04:01 -0500 Subject: revNumberOfRecords function for avoiding no record found errors In-Reply-To: References: Message-ID: <6BA9ABDA-5A7C-11D9-A93A-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 if revNumberOfRecords(q) > 0 then revMoveToFirstRecord q put revDatabaseColumnNamed(q, "City") into field "myCity" put revDatabaseColumnNamed(q, "State") into field "myState" put revDatabaseColumnNamed(q, "Zip") into field "myZip" else answer "no record" end if On Dec 30, 2004, at 10:58 AM, Bill wrote: > Can you show an example? > > > On 12/30/04 11:24 AM, "Frank D. Engel, Jr." wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> You can also use the revNumberOfRecords function to this end. >> >> On Dec 29, 2004, at 1:59 PM, Trevor DeVore wrote: >> >>> >>> On Dec 29, 2004, at 10:02 AM, docmann wrote: >>> >>>> You folks are fantastic! It works exactly as intended now. :) >>>> >>>> Geesh, I still don't know how I got so far off track in attempting >>>> this and clearly >>>> need >>>> to revisit the documentation. :( >>>> >>>> On a side note, I intentionally entered data that I knew did not >>>> exist, just to see what would happen and got a "revdberr,invalid >>>> column number" message. Is there a proper way to test and/or trap >>>> these types of errors when a record doesn't exist? >>>> >>>> Again, thank you very VERY much! >>> >>> Try this: >>> >>> if revCurrentRecordIsLast(q) = false then >>> revMoveToFirstRecord q >>> put revDatabaseColumnNamed(q, "City") into field "myCity" >>> put revDatabaseColumnNamed(q, "State") into field "myState" >>> put revDatabaseColumnNamed(q, "Zip") into field "myZip" >>> else >>> answer "no record" >>> end if >>> >>> >>> -- >>> Trevor DeVore >>> Blue Mango Multimedia >>> trevor at mangomultimedia.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFB1B2s7aqtWrR9cZoRAgr5AJ9KXCrLyQblp4TrjSAWqo0caLpZuACfQ+t3 >> 4y6Q1fH8smVqqrnoJrfQgNE= >> =wo6c >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- http://www.bluewatermaritime.com > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > ^^^^ ^^^^ ^^^ ^^ > ^^^^ ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB1Cbx7aqtWrR9cZoRAk/mAJ9WMpSX8uSaZZjF5t3Y/ZHDlZEKCgCeNWlb Lb0aLdGCF20T4ysaYXqD4C0= =TVtN -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Thu Dec 30 11:06:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 08:06:37 -0800 Subject: Menu woes In-Reply-To: References: <79.3bcbf7bb.2f04b007@aol.com> <41D3F3EB.5080507@fourthworld.com> Message-ID: <41D4278D.6010701@fourthworld.com> Frank D. Engel, Jr. wrote: > I suspect the easiest way to "fix" the menu issue and maintain some of > the current flexibility would be: > > 1. Keep the system as it is, for the most part. > 2. When using a group as the Mac menu bar, do not scroll the stack. > 3. When using a group as a menubar in the window, scroll and enlarge the > stack. Now the rect of the card (for ex.) would have a negative minimum > vertical coordinate, since the menus would stop before reaching zero. > > Of course, this would break backward compatibility somewhat, but not > nearly so much as some of the other proposals, and yet this would fix > some of the other problems which have been mentioned here... I don't understand: as I read that it seems to suggest that all we do is switch the scrolling from Mac to all other OSes, so that instead of the scroll taking place on 2.4% of computers it takes place on 97.6%. Remember that having the menubar be part of the window rather than detached is how every modern OS works except Mac. We could debate the efficacy of that (Tog has a lot to say in favor of a detached menu bar), but it won't likely change how Windows, GNOME, KDE, X11, and all other non-Mac windowing systems work. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From douez at wanadoo.fr Thu Dec 30 11:33:09 2004 From: douez at wanadoo.fr (thierry Douez) Date: Thu, 30 Dec 2004 17:33:09 +0100 Subject: getting the Real name of CDs from RR Message-ID: <37291780.20041230173309@wanadoo.fr> Hi, AT> Ken Ray wrote: >> on mouseUp >> answer GetCDName("D:") >> end mouseUp >> >> function GetCDName pLetter >> set the hideConsoleWindows to true >> put shell(pLetter & " & dir") into temp >> return last word of line 1 of temp >> end GetCDName AT> Hi Ken, AT> I try the same commands from the DOS command promt AT> and the last words of line 1 effectively AT> contains the name of the CD. AT> Is Time to reinstall the OS? or AT> Could i troubleshoot this machine in AT> another way? Well, some good news just before the New Year :-) In fact, it's not line 1 but line 2 !!!!! i just tested it on Win98 too. Best regards, thierry From frank at backtalk.com Thu Dec 30 12:43:25 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 30 Dec 2004 17:43:25 +0000 Subject: Menu woes In-Reply-To: <20041230170011.393C293008C@mail.runrev.com> References: <20041230170011.393C293008C@mail.runrev.com> Message-ID: <4E9EF936-5A8A-11D9-A88F-000A9580FCCE@backtalk.com> On Dec 30, 2004, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > From: Richard Gaskin > Subject: Re: Menu woes > To: How to use Revolution > Message-ID: <41D4278D.6010701 at fourthworld.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Frank D. Engel, Jr. wrote: >> I suspect the easiest way to "fix" the menu issue and maintain some of >> the current flexibility would be: >> >> 1. Keep the system as it is, for the most part. >> 2. When using a group as the Mac menu bar, do not scroll the stack. >> 3. When using a group as a menubar in the window, scroll and enlarge >> the >> stack. Now the rect of the card (for ex.) would have a negative >> minimum >> vertical coordinate, since the menus would stop before reaching zero. >> >> Of course, this would break backward compatibility somewhat, but not >> nearly so much as some of the other proposals, and yet this would fix >> some of the other problems which have been mentioned here... > > I don't understand: as I read that it seems to suggest that all we do > is switch the scrolling from Mac to all other OSes, so that instead of > the scroll taking place on 2.4% of computers it takes place on 97.6%. > > Remember that having the menubar be part of the window rather than > detached is how every modern OS works except Mac. We could debate the > efficacy of that (Tog has a lot to say in favor of a detached menu > bar), > but it won't likely change how Windows, GNOME, KDE, X11, and all other > non-Mac windowing systems work. Having the menu area a separate section of the stack, just like the window title is, would solve the problem. No scrolling problems, no resizing problems. By the way, Tog did that "research" he keeps talking about at Apple pre-1986 (when I got there), on a 9 1/2 inch original Mac screen. His results aren't applicable to 1) larger screens, 2) multiple monitors, or 3) doing fine detail work in programs such as photoshop which use tearoff menus to advantage, allowing you to move the menu close to the area you're working in. -- Frank From kray at sonsothunder.com Thu Dec 30 13:17:46 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 30 Dec 2004 12:17:46 -0600 Subject: getting the Real name of CDs from RR In-Reply-To: <37291780.20041230173309@wanadoo.fr> Message-ID: On 12/30/04 10:33 AM, "thierry Douez" wrote: > Hi, > > AT> Ken Ray wrote: >>> on mouseUp >>> answer GetCDName("D:") >>> end mouseUp >>> >>> function GetCDName pLetter >>> set the hideConsoleWindows to true >>> put shell(pLetter & " & dir") into temp >>> return last word of line 1 of temp >>> end GetCDName > > AT> Hi Ken, > AT> I try the same commands from the DOS command promt > AT> and the last words of line 1 effectively > AT> contains the name of the CD. > > AT> Is Time to reinstall the OS? or > AT> Could i troubleshoot this machine in > AT> another way? > > Well, some good news just before the New Year :-) > > In fact, it's not line 1 but line 2 !!!!! Really? It's line 1 for me (Win XP Pro). What version of Windows are you using, and what's on line 1? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Thu Dec 30 13:20:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 10:20:53 -0800 Subject: Menu woes In-Reply-To: <4E9EF936-5A8A-11D9-A88F-000A9580FCCE@backtalk.com> References: <20041230170011.393C293008C@mail.runrev.com> <4E9EF936-5A8A-11D9-A88F-000A9580FCCE@backtalk.com> Message-ID: <41D44705.4060906@fourthworld.com> Frank Leahy wrote: > On Dec 30, 2004, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > >> From: Richard Gaskin >> Subject: Re: Menu woes >> To: How to use Revolution >> Message-ID: <41D4278D.6010701 at fourthworld.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Frank D. Engel, Jr. wrote: >> >>> I suspect the easiest way to "fix" the menu issue and maintain some of >>> the current flexibility would be: >>> >>> 1. Keep the system as it is, for the most part. >>> 2. When using a group as the Mac menu bar, do not scroll the stack. >>> 3. When using a group as a menubar in the window, scroll and enlarge the >>> stack. Now the rect of the card (for ex.) would have a negative minimum >>> vertical coordinate, since the menus would stop before reaching zero. >>> >>> Of course, this would break backward compatibility somewhat, but not >>> nearly so much as some of the other proposals, and yet this would fix >>> some of the other problems which have been mentioned here... >> >> >> I don't understand: as I read that it seems to suggest that all we do >> is switch the scrolling from Mac to all other OSes, so that instead of >> the scroll taking place on 2.4% of computers it takes place on 97.6%. >> >> Remember that having the menubar be part of the window rather than >> detached is how every modern OS works except Mac. We could debate the >> efficacy of that (Tog has a lot to say in favor of a detached menu bar), >> but it won't likely change how Windows, GNOME, KDE, X11, and all other >> non-Mac windowing systems work. > > > Having the menu area a separate section of the stack, just like the > window title is, would solve the problem. No scrolling problems, no > resizing problems. But the OS takes care of the title bar, while Rev would need to invent a new type of object to embed a menu bar on a stack but outside of the stack's card. This might be a good case for viewer objects, a type of object in RADBuilder (formerly Gain Momentum) that lets you display any stack in a specified rectangle within any other stack. (There once was a Bugzilla request for this, but alas I can no longer find it). But whether the menubar is on the card or in a viewer, the total height of the window still needs to be adjusted to accomodated it. What should querrying the stack height return? Wouldn't it be different from the card height on Win as it is on Mac now? I love my Mac and use it for most of the development cycle, but I'm also first in line to recognize marketshare position and contain efforts to deal with any anomalies unique to it to that camp. But more to the point, consider the interface Chipp was building that started this thread: he posted because he wanted to include controls for the main window in the menu bar region; the proposed mechanism would make that impossible, while it was simple for him to finish it with the current mechanism in just two lines. If he wanted to have the menubar completely separate from all other controls that already happens automatically; he wouldn't have needed to post, and we wouldn't be having this conversation exploring alternatives. ;) > By the way, Tog did that "research" he keeps talking about at Apple > pre-1986 (when I got there), on a 9 1/2 inch original Mac screen. His > results aren't applicable to 1) larger screens, 2) multiple monitors, or > 3) doing fine detail work in programs such as photoshop which use > tearoff menus to advantage, allowing you to move the menu close to the > area you're working in. True, but the core question is whether the "backstop" effect of the monitor bounds offsets the distance-to-target cost. Sadly, I can find no recent research published either Microsoft or Apple on the subject. It seems the days when OS vendors demonstrated the efficacy of their designs by publishing their research methodologies are long gone, leaving the door open to accusations that usability research teams have been replaced by graphic artists. But you may well be right, and perhaps there is a good argument for Apple to catch up to all other OSes with regard to menu bar placement. Good luck getting them to consider such a change. ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Thu Dec 30 13:30:12 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 30 Dec 2004 12:30:12 -0600 Subject: getting the Real name of CDs from RR In-Reply-To: <20041230135729.16469.qmail@web40507.mail.yahoo.com> Message-ID: On 12/30/04 7:57 AM, "Alejandro Tejada" wrote: > on Wed, 29 Dec 2004 > Ken Ray wrote: > >> You could switch to that drive and get a "dir" under >> shell(); the first line >> says "Volume in drive is ", and you >> can parse it from that. >> >> Something like this: >> >> on mouseUp >> answer GetCDName("D:") >> end mouseUp >> >> function GetCDName pLetter >> set the hideConsoleWindows to true >> put shell(pLetter & " & dir") into temp >> return last word of line 1 of temp >> end GetCDName > > Hi Ken, > > Thanks a lot for this function!!! :-) > > Now i suspect that this machine has > a damaged installation of Windows 98 > because this code does not produce > any result... Sorry, you can't concatenate commands through shell() in Win98 AFAIK; so you'd need to do this as a batch file: function GetCDName pLetter set the hideConsoleWindows to true if the shellCommand is "cmd" then put shell(pLetter & " & dir") into temp if line 1 of temp is empty then delete line 1 of temp return last word of line 1 of temp else -- Win98, etc. put pLetter & cr & "dir" into url("file:c:/temp.bat") put shell("c:\temp.bat") into tResult delete file "c:/temp.bat" return last word of line 6 of temp end if end GetCDName Try that and let me know if it works, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From katir at hindu.org Thu Dec 30 13:41:18 2004 From: katir at hindu.org (Sivakatirswami) Date: Thu, 30 Dec 2004 08:41:18 -1000 Subject: CGI Failures --lineoffset In-Reply-To: References: Message-ID: <646407EE-5A92-11D9-8F73-000A959D0AC6@hindu.org> I tried that... it didn't work.. I tried just about everything... the files are created and saved in BBEdit... I have "Unix Line endlines" on... which normally works... (my remote team players who are command line junkies always bark at me when I upload files with mac line endings... so I've gotten used to trying to make sure we are getting char(10 as end lines. replace numToChar (10) with numToChar (13) in tTemplate, which is what I do when I read a file in from a remote server I tried the opposite. replace numToChar (13) with numToChar (10) in tTemplate, I tried setting the line endings to Mac in BBEdit on saving text files. then > set the lineDel to numToChar(13) but that didn't work either. In every case, Revolution as a CGI see the file as a single, 1 line document. If I go terminal and VI on the file... I see caret capital M: ^M where endlines should be... and the file is not wrapping at all in VI... no matter how I save it in BBEdit. I'm stumped... mmm. let me try binfile and see if that helps. Sivakatirswami On Dec 29, 2004, at 7:30 PM, Ken Ray wrote: > Did you try: > > set the lineDel to numToChar(13) > > ?? I've had issues with line delimitereds under CGI scripts... > From BNZ2 at CDC.GOV Thu Dec 30 13:45:34 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 30 Dec 2004 13:45:34 -0500 Subject: CGI Failures --lineoffset Message-ID: <64878EF567131D4596246171F75FD4A9469E85@m-epo-1.epo.cdc.gov> How about replacing "^M" with linefeed? Even if the line breaks are not supposed to come through as ^M, if they do, and the problem cannot fixed any other way, maybe that would be a workaround? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sivakatirswami Sent: Thursday, December 30, 2004 1:41 PM To: How to use Revolution Subject: Re: CGI Failures --lineoffset I tried that... it didn't work.. I tried just about everything... the files are created and saved in BBEdit... I have "Unix Line endlines" on... which normally works... (my remote team players who are command line junkies always bark at me when I upload files with mac line endings... so I've gotten used to trying to make sure we are getting char(10 as end lines. replace numToChar (10) with numToChar (13) in tTemplate, which is what I do when I read a file in from a remote server I tried the opposite. replace numToChar (13) with numToChar (10) in tTemplate, I tried setting the line endings to Mac in BBEdit on saving text files. then > set the lineDel to numToChar(13) but that didn't work either. In every case, Revolution as a CGI see the file as a single, 1 line document. If I go terminal and VI on the file... I see caret capital M: ^M where endlines should be... and the file is not wrapping at all in VI... no matter how I save it in BBEdit. I'm stumped... mmm. let me try binfile and see if that helps. Sivakatirswami On Dec 29, 2004, at 7:30 PM, Ken Ray wrote: > Did you try: > > set the lineDel to numToChar(13) > > ?? I've had issues with line delimitereds under CGI scripts... > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Thu Dec 30 14:28:41 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Dec 2004 11:28:41 -0800 Subject: Menu woes.... In-Reply-To: <3758E83C-5A58-11D9-AD22-000D93C19756@maseurope.net> References: <20041230065658.E7FFE93010F@mail.runrev.com> <3758E83C-5A58-11D9-AD22-000D93C19756@maseurope.net> Message-ID: <41D456E9.5060208@chipp.com> Mark Smith wrote: > Chipp, is this for real? I'm confused. To walk through what I've just done: > > Create new mainstack > > Use Menu Builder to create a new menu "MenuBar 1" > the menu group appears in the top left of the stack > > check "Set as menu bar on Mac OS" > stack scrolls up to hide the menu group and > menu appears in mac menubar > > type 'Set the editMenus of this stack to true' into the msg box > stack scrolls back down to show menu group and > the menu bar resets ie. without my menu > > Type 'hide group "MenuBar 1"' into the msg box > menu group disappears > > hereafter, setting the editMenus to false puts the menu in the menu bar, > setting it to true takes it out again. But no scrolling. This is what > I'd expect, I think, but it seems like setting the editMenus to true, as > you suggest, prevents the menu appearing in the mac menubar. It's hiding > the group and setting editMenus to false that seems to get the menu in > the menubar without scrolling the stack..... > > Have I go the wrong end of the stick? Mark, After you type 'hide grp Menubar1" into msg, then go to the tool palette and choose the browse tool (now the pointer) and you should see your mentubar inserted. Let me know if this doesn't work. best, Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/2004 From katir at hindu.org Thu Dec 30 14:38:47 2004 From: katir at hindu.org (Sivakatirswami) Date: Thu, 30 Dec 2004 09:38:47 -1000 Subject: CGI Failures --lineoffset In-Reply-To: <64878EF567131D4596246171F75FD4A9469E85@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E85@m-epo-1.epo.cdc.gov> Message-ID: <6C95B991-5A9A-11D9-8F73-000A959D0AC6@hindu.org> harumph... I had left a line uncommented and was generating the build number! (1) OK, Ken's simple solution: set the linedelimiter to numToChar(13) does work.. Still there is a mystery here. I'm getting char(13) as a line ending in that file whether I save in BBEdit with Unix Line ends or Mac Line ends, and if I save it with Unix Line endings and load the file with put url "binfile:some file" I *still* get char(13) as line endings... So, unless there was some subtle upgrade to dealing with line endings on a mac, between engine 2.5 and 2.6.1, this is looking now like a Mac OSX or BBEdit issue... Well, at least I was able to proceed, and now have a functional "mod_rev_include" that will handle any: it finds in the templates loaded by CGI's (smile) I'll have to futz with this a bit when i check it in to the linux box... most likely we won't need that line at all--Interarchy seems to be solid about translating uploads to char(10) case closed for now. Thanks Sivakatirswami On Dec 30, 2004, at 8:45 AM, Lynch, Jonathan wrote: > How about replacing "^M" with linefeed? > > Even if the line breaks are not supposed to come through as ^M, if they > do, and the problem cannot fixed any other way, maybe that would be a > workaround? From RGould8 at aol.com Thu Dec 30 15:26:58 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 30 Dec 2004 15:26:58 EST Subject: Way for browser to talk to Rev? Message-ID: <149.3bd60e8b.2f05be92@aol.com> In a message dated 12/30/04 10:40:03 AM, benr_mc at cogapp.com writes: > I think Dar's got the best way.? Have the Rev stack accept connections on > some obscure port; then the browser can make http calls to it on that port. > If it's all running on the same machine, use the address 'localhost' or > '127.0.0.1'.? If you want to stay on the same page, you can use an iframe; > javascript (or even a simple link with a 'target' attribute) can change the > src of the iframe to the results of a call to Revolution.? Either you could > just use this to display the result to the user, or javascript could read > back the text from the iframe in order to further process it. > ok - - - I'm going to give that a try. I know how to get Rev to listen to ports, but I'm a little rusty on the 127.0.0.1 technique on the javascript side. So if I have Rev listening to 127.0.0.1 port 1986, and I don't want the ahref to go to a new page, is the only way to accomplish this to create an invisible iFrame with a different target name?
Click me to talk to Rev That type of thing? From sanke at hrz.uni-kassel.de Thu Dec 30 15:36:00 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 30 Dec 2004 21:36:00 +0100 Subject: Problem with field borderwidth 2 Message-ID: <41D466B0.2000107@hrz.uni-kassel.de> On Wed, 29 Dec 2004, Dar Scott wrote: > I don't see this on OS X or XP with Revolution 2.5. > > I should clarify. > > I made some fields with 3D turned off and a border of 2. I set the > left and right so that I thought they should butt. They do. > (snip) > Maybe you have focusBorder on? > > I have vague memory of a border-like thing that grows outward, but I > forgot what it is. > > Dar Thanks for the response. Meanwhile I prepared a web page where you can inspect some screenshots and download a test stack (40 KB zipped). The test stack was created with Rev 2.5 (engine version - the "version" - 2.6.2A2). The problem of suddenly transparent borders of fields (with a borderwidth of two pixels) does not occur on MacOS, but only on WindowsXP (I did not test on Windows 98 or 2000). Different settings of "Focus Border" or "showfocusborder" do not solve the problem. The four screenshots on "RevTestPage" show: 1. Four adjacent fields with a borderwidth of 2 using Revolution 2.1.2: The vertical and horizontal "lines" between the fields ar displayed correctly as they should. 2. Same stack with a borderwidth of 1 using Revolution 2.5: The lines are displayed correctly. 3. Here you can observe the problem. Same stack using Rev 2.5 and borderwidth 2. The field borders now are suddenly transparent and the underlying image can be seen through the transparent borders. 4. Same stack again with a borderwidth of 3: The border lines are there again.-- I still am interested to know if anybody can see this, too. It would be hard to believe that the problem/bug only appears on my XP computer - or only on a few with a similar configuration. But of course everything could be possible. Regards, Wilhelm Sanke From ambassador at fourthworld.com Thu Dec 30 15:50:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 12:50:52 -0800 Subject: Problem with field borderwidth 2 In-Reply-To: <41D466B0.2000107@hrz.uni-kassel.de> References: <41D466B0.2000107@hrz.uni-kassel.de> Message-ID: <41D46A2C.2060906@fourthworld.com> Wilhelm Sanke wrote: > I still am interested to know if anybody can see this, too. It would be > hard to believe that the problem/bug only appears on my XP computer - or > only on a few with a similar configuration. But of course everything > could be possible. Welcome to XP. Rev now supports native appearances for fields on XP when the field's default values are left in place (borderWidth set to 2). So what your screen show at is showing is XP's rendering of the field border. You'll see a similar thing on OS X: while the appearance differs from XP, when a field border is set to the default value of 2 OS routines are used to render the control instead of the engine's. I think this should be overridable. Standard and Rectangle style buttons also take on native appearances, but you can override this by specifying a backgroundColor. Perhaps we need a Bugzilla request so that if the borderColor is set the OS no longer draws the control and it uses the engine's internal routines. Please post the bug number after you log it so we can vote for that enhancement. In the meantime a workaround is to set the style of the field to "shadow" instead of "rectangle" or "scrolling", and then to prevent the shadow from drawing set its shadowwidth to 0 (zero). Shadow-style fields are always drawn by the engine, so you should get what you're after with those. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From BNZ2 at CDC.GOV Thu Dec 30 16:03:06 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 30 Dec 2004 16:03:06 -0500 Subject: Question regarding arrays... Message-ID: <64878EF567131D4596246171F75FD4A9469E89@m-epo-1.epo.cdc.gov> I thought I read in past postings that Rev did not support 3D arrays - that it only supported up to 2D arrays. This morning I tested that, and seemed to have no problem with 3D arrays. I am sure I am just making an ignorant mistake - either in my testing or in what I gathered from the postings I read - but could someone clarify the issue? Many thanks, Jonathan From webmaster at dreamscapesoftware.com Thu Dec 30 16:09:00 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 30 Dec 2004 15:09:00 -0600 Subject: Problem with field borderwidth 2 References: <41D466B0.2000107@hrz.uni-kassel.de> <41D46A2C.2060906@fourthworld.com> Message-ID: <001601c4eeb3$ca1dbe00$c007113f@DOWNSTAIRS> > In the meantime a workaround is to set the style of the field to > "shadow" instead of "rectangle" or "scrolling", and then to prevent the > shadow from drawing set its shadowwidth to 0 (zero). Shadow-style > fields are always drawn by the engine, so you should get what you're > after with those. Another workaround is to set the LookAndFeel to Windows Emulated. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From ambassador at fourthworld.com Thu Dec 30 16:18:55 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 13:18:55 -0800 Subject: Question regarding arrays... In-Reply-To: <64878EF567131D4596246171F75FD4A9469E89@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9469E89@m-epo-1.epo.cdc.gov> Message-ID: <41D470BF.8000107@fourthworld.com> Lynch, Jonathan wrote: > I thought I read in past postings that Rev did not support 3D arrays - > that it only supported up to 2D arrays. > > This morning I tested that, and seemed to have no problem with 3D > arrays. I am sure I am just making an ignorant mistake - either in my > testing or in what I gathered from the postings I read - but could > someone clarify the issue? The issue is with "2D" and "3D" nomenclature, which can be misleading when trying to understand working with arrays in Rev. Rev currently uses associative arrays, which allow a string to be a label associated with a data element. That label string can be numeric giving you ordered elements, and can can include commas to give you some of the convenience of multi-dimensional arrays. Just remember it's always a string: myArray[1,2] is the same as myArray["1,2"]. Associative arrays are flexible, useful in a great many circumstances that indexed arrays might be harder to work with. There is a request in Bugzilla for fully-dimensional indexed arrays, and that'll be nifty when it's there, but in the meantime hopefull associative arrays will continue doing what you need. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From cdunix at praevius.com Thu Dec 30 13:09:15 2004 From: cdunix at praevius.com (cdunix at praevius.com) Date: Thu, 30 Dec 2004 13:09:15 -0500 Subject: RunRev vs RealBasic In-Reply-To: References: Message-ID: <1104430155.41d4444b73eef@webmail.praevius.com> Hello All, Being new to this list and a current RB user, I would like to see your reasons for using the more expensive Runtime Enterprise environment vs. the RealBasic Professional environment. I am not concerned so much about "ease of use" as much as I am about capabilities. For instance, how does RunRev handle database connectivity? Does it do 3D or OpenGL rendering well? Does it support a "plug-in" architecture? What level of system integration does the software have; any direct access to system APIs? Thanks in advance, Michael ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From BNZ2 at CDC.GOV Thu Dec 30 16:28:10 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 30 Dec 2004 16:28:10 -0500 Subject: RunRev vs RealBasic Message-ID: <64878EF567131D4596246171F75FD4A9469E8C@m-epo-1.epo.cdc.gov> Not being the expert that some of these folks are - I can only respond with exactly what you do not want to hear - ease of use... If I can create a program in an hour that does the same thing as a program that takes 3 or 4 hours to create in another development environment, then I will be very happy. Ease of use, time spent learning the system, and time spent programming. Time is a commodity of great value. Cheers, Jonathan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of cdunix at praevius.com Sent: Thursday, December 30, 2004 1:09 PM To: use-revolution at lists.runrev.com Subject: RunRev vs RealBasic Hello All, Being new to this list and a current RB user, I would like to see your reasons for using the more expensive Runtime Enterprise environment vs. the RealBasic Professional environment. I am not concerned so much about "ease of use" as much as I am about capabilities. For instance, how does RunRev handle database connectivity? Does it do 3D or OpenGL rendering well? Does it support a "plug-in" architecture? What level of system integration does the software have; any direct access to system APIs? Thanks in advance, Michael ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From BNZ2 at CDC.GOV Thu Dec 30 16:37:48 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 30 Dec 2004 16:37:48 -0500 Subject: Question regarding arrays... Message-ID: <64878EF567131D4596246171F75FD4A9469E8D@m-epo-1.epo.cdc.gov> Interesting - thanks! Associative arrays should be perfect for what I need. What would be the advantage to indexed arrays over associative arrays - are they more quickly accessed? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Thursday, December 30, 2004 4:19 PM To: How to use Revolution Subject: Re: Question regarding arrays... Lynch, Jonathan wrote: > I thought I read in past postings that Rev did not support 3D arrays - > that it only supported up to 2D arrays. > > This morning I tested that, and seemed to have no problem with 3D > arrays. I am sure I am just making an ignorant mistake - either in my > testing or in what I gathered from the postings I read - but could > someone clarify the issue? The issue is with "2D" and "3D" nomenclature, which can be misleading when trying to understand working with arrays in Rev. Rev currently uses associative arrays, which allow a string to be a label associated with a data element. That label string can be numeric giving you ordered elements, and can can include commas to give you some of the convenience of multi-dimensional arrays. Just remember it's always a string: myArray[1,2] is the same as myArray["1,2"]. Associative arrays are flexible, useful in a great many circumstances that indexed arrays might be harder to work with. There is a request in Bugzilla for fully-dimensional indexed arrays, and that'll be nifty when it's there, but in the meantime hopefull associative arrays will continue doing what you need. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From BNZ2 at CDC.GOV Thu Dec 30 16:52:53 2004 From: BNZ2 at CDC.GOV (Lynch, Jonathan) Date: Thu, 30 Dec 2004 16:52:53 -0500 Subject: Happy New Year... Message-ID: <64878EF567131D4596246171F75FD4A9469E90@m-epo-1.epo.cdc.gov> I won't be at work for 3 days, so I just wanted to say Happy New Year to all of you folks on this list... This list has really helped me learn a great deal about a tool I have found invaluable in my professional life. So... Happy New Year! From ambassador at fourthworld.com Thu Dec 30 17:21:08 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 14:21:08 -0800 Subject: RunRev vs RealBasic In-Reply-To: <1104430155.41d4444b73eef@webmail.praevius.com> References: <1104430155.41d4444b73eef@webmail.praevius.com> Message-ID: <41D47F54.1000500@fourthworld.com> cdunix at praevius.com wrote: > Hello All, > > Being new to this list and a current RB user, I would like > to see your reasons for using the more expensive Runtime > Enterprise environment vs. the RealBasic Professional > environment. I am not concerned so much about "ease > of use" as much as I am about capabilities. For instance, > how does RunRev handle database connectivity? Does it do > 3D or OpenGL rendering well? Does it support a "plug-in" > architecture? What level of system integration does the > software have; any direct access to system APIs? I would happily do my best to help explain why MacWorld UK calls Rev "the Best Rapid Application Development tool on the market" (Dec 04, p55) if you'll kindly tell us a bit more about your interest in Rev. A shotgun approach usually just turns into a pissing match, and there's plenty in the archives of both lists and elsewhere to feed appetites for that sort of thing. So if you can describe why you're considering Rev we can better address your specific areas of interest. Also, when you say you're not interested in "ease of use", does that also rule out productivity? Greater productivity is probably the strongest argument for 4GLs over lower-level languages. Osterhaut makes one of the most cogent arguments in favor of 4GLs -- c check out his seminal paper on the topic: . After you've read that please describe why you're considering switching and we'll happly do out best to answer your questions. You may also want to check out Rev's web site: , as most of the questions in your post are addressed there. Your notions about how Rev's pricing compares to RealBASIC's can be clarified there as well, looking beyond the price of admission to total costs for upgrades, support, etc. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From alex at tweedly.net Thu Dec 30 17:52:43 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2004 22:52:43 +0000 Subject: Resize a stack window Message-ID: <41D486BB.9010406@tweedly.net> I have a stack window that I can't resize. Obviously, I've inadvertently set some property, but can't figure out which one would stop me resizing it (set height or set width still work - but I can't use the mouse to click/drag an edge to resize it). style is set to toplevel resizable is true live resizing is also true (shouldn't matter ?) min width is 32, max width is 65535 min height is 32, max height is 65535 Anything else I need to change ? or should check ? Thanks -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 28/12/2004 From kresten.bjerg at psy.ku.dk Thu Dec 30 18:33:06 2004 From: kresten.bjerg at psy.ku.dk (Kresten Bjerg) Date: Fri, 31 Dec 2004 00:33:06 +0100 Subject: Oversize cards and jumping between 9 not-overlapping Message-ID: <41D49032.7070008@psy.ku.dk> Thanks to Frank for swift reply. But the solution I search is not one of having 9 parallel cards, but to create a waterproof way to have the 9 windows be one ONE CARD! Kresten -- ________________________________________________________________________________________________ Refer please to "Oikos Homestation" for further information Kresten Bjerg Mag.art, fhv.Lektor i Psykologi Mailto: kresten.bjerg at psy.ku.dk Adress 1: Room 3.2.44. Institut for Psykologi, Copenhagen University ,Amager 88, Njalsgade, 2300, Copenhagen DK (45) 35 32 87 99 Adress 2: 95B, Sortedam Dossering, 2100 Copenhagen, DK (45) 35 38 99 39 Adress 3: Skrivergaarden, Hoegsma 18:2 PL 1114A, 28064 Glimaakra, Sverige (46) 708 915 386 ________________________________________________________________________________________________ From pevensen at siboneylg.com Thu Dec 30 18:44:10 2004 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 30 Dec 2004 17:44:10 -0600 Subject: Creating a WP application Message-ID: <6.2.0.14.2.20041230173104.03a9d3f8@exchange.slg.com> I am looking at creating a simple word processor application with Revolution to replace a current, aging version done in something else. As I understand it, and edit filed has the following limitations: An edit field can only have one tab setting, unlike the current version which allows for tab settings per paragraph. Only one text alignment can be used for the whole field, so each paragraph cannot be separately aligned like in the current version. Has anyone made a more word processor-like edit field or come up with a work around to these limitations? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 888-682-4588 24-hour recorded info hotline: 1-800-624-7671 From jacque at hyperactivesw.com Thu Dec 30 18:45:22 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2004 17:45:22 -0600 Subject: RunRev vs RealBasic In-Reply-To: <41D47F54.1000500@fourthworld.com> References: <1104430155.41d4444b73eef@webmail.praevius.com> <41D47F54.1000500@fourthworld.com> Message-ID: <41D49312.70605@hyperactivesw.com> On 12/30/04 4:21 PM, Richard Gaskin wrote: > A shotgun approach usually just turns into a pissing match, and there's > plenty in the archives of both lists and elsewhere to feed appetites for > that sort of thing. I hope somebody shotguns it though, because I sent him to the list to ask. :) If anybody wants to make some broad, sweeping generalizations, that'd be great. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 30 18:45:48 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2004 17:45:48 -0600 Subject: Resize a stack window In-Reply-To: <41D486BB.9010406@tweedly.net> References: <41D486BB.9010406@tweedly.net> Message-ID: <41D4932C.50803@hyperactivesw.com> On 12/30/04 4:52 PM, Alex Tweedly wrote: > I have a stack window that I can't resize. Obviously, I've inadvertently > set some property, but can't figure out which one would stop me resizing > it (set height or set width still work - but I can't use the mouse to > click/drag an edge to resize it). > > style is set to toplevel > resizable is true > live resizing is also true (shouldn't matter ?) > min width is 32, max width is 65535 > min height is 32, max height is 65535 set the resizable of this stack to true ?? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Dec 30 18:46:15 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 15:46:15 -0800 Subject: Oversize cards and jumping between 9 not-overlapping In-Reply-To: <41D49032.7070008@psy.ku.dk> References: <41D49032.7070008@psy.ku.dk> Message-ID: <41D49347.40308@fourthworld.com> Kresten Bjerg wrote: > Thanks to Frank for swift reply. > But the solution I search is not one of having 9 parallel cards, but to > create a waterproof way to have the 9 windows be one ONE CARD! You might want to consider using groups instead. By definition, a card always fills the window, but a group can be of any size, and you can have as many of them as you like on a single card. They can even have their own scroll bars if needed. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Thu Dec 30 18:47:16 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2004 17:47:16 -0600 Subject: Resize a stack window In-Reply-To: <41D4932C.50803@hyperactivesw.com> References: <41D486BB.9010406@tweedly.net> <41D4932C.50803@hyperactivesw.com> Message-ID: <41D49384.90209@hyperactivesw.com> Whoops, never mind, I see you already checked the resizable. Sorry. On 12/30/04 5:45 PM, J. Landman Gay wrote: > On 12/30/04 4:52 PM, Alex Tweedly wrote: > >> I have a stack window that I can't resize. Obviously, I've inadvertently >> set some property, but can't figure out which one would stop me resizing >> it (set height or set width still work - but I can't use the mouse to >> click/drag an edge to resize it). >> >> style is set to toplevel >> resizable is true >> live resizing is also true (shouldn't matter ?) >> min width is 32, max width is 65535 >> min height is 32, max height is 65535 > > > set the resizable of this stack to true > > ?? > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Thu Dec 30 18:56:03 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 30 Dec 2004 23:56:03 +0000 Subject: Menu woes In-Reply-To: <41D44705.4060906@fourthworld.com> Message-ID: I think there a bunch of different issues wrong (or in some cases, right but not right for everyone) with how Rev handles menus, and have in the past tried to describe a completely new architecture that could be introduced without breaking compatibility at all, and addressing most of these at a stroke. But in practise, they are to a large degree separable. The issue with stack resizing is completely unrelated to the issue with moving menuitems around between platforms; neither are related to the problems with metachars and the limitations on menu decorations and shortcuts. Ideally I would like it to be possible to define menus, instead of by buttons, through some other properties/structures/objects that don't have a position on a card. Given such a system, it would be an opportunity to break out of the resizing issue without losing compatibility. However, I'd really like to see the resizing issue fixed, and it can be fixed without creating a new way of defining menus. On the resizing issue which started this thread, I have torn out a lot of hair, and wasted a great deal of time, on this one topic since I first started working with MC/Rev. - I agree with those who believe that documenting the strangeness is a sticking plaster, and not an adequate alternative to fixing it; I have the greatest respect for Jeanne's documentation, but setting up simple menus should be straightforward, and in a tool like Rev it's not good enough to say that when people trip over it they should eventually be able to find an explanation for the behaviour. - I believe I have come to an uneasy peace with the behaviour - but still sometimes get caught; but I have to be careful not to disturb the peace, and I don't think that Richard's suggestion that we should embrace the fear and treat it as a learning experience addresses this. When I want a learning experience I'll use assembler; I use Rev because I want to find a highly polished solution in the least amount of time. Rev is so powerful that very complex applications can be created remarkably quickly; in that context screwing around with (or getting screwed around by) the menu madness can quickly distort a project budget, as I know to my cost. - I don't think it's acceptable to say "in time you'll learn to define menus before you do anything else" - that's a workaround. Every other aspect of the stack can be modified at will at any time in the development process - and so can this, you just fall over the undesirable behaviour when you do. In addition, there have always been bugs related to the resizing behaviour. I'm given to understand that some of them have been there for ten years. I also know that new ones arise because of it - for example when metal support was added on OS X. And it creates another layer of gotchas for scripts such as geometry or layout managers (and doubtless lots of other scripts). Specifically on the resizing issue, it occurs on the Mac, because the scheme requires the menus to be defined (as placed objects) in an area where for a simple cross-platform case, it shouldn't exist on Windows. I think that the solution adopted was ingenious, but wrong - possibly a historical accident. I'm guessing (I've no idea if this is true) that Metacard was originally developed on some non-Mac platform, and existed there for some time before a Mac engine was developed. Thus it seemed like menus could be handled simply by placing objects on the card, in a row at the top, which would have been the least effort to implement, given that drop-down menu controls would in fact be supported anywhere on the card. Then when the port to Mac was made, there was a hack to copy these menus into the system menubar - and scroll the card up to hide them in the stack window. Existing stacks would port to Mac without any effort, and perhaps everyone cheered at this neat solution. But I think that if one started from the beginning with the requirement to support a menubar, which might appear at the top of the screen on Mac, at the top of the parent window of an MDI app on Windows, or on at the top of the stack window in other cases, one wouldn't start from there. My suggestion is that if asked to make a group of menus (however that is defined) be the menubar on Mac, that should happen in the obvious way, with no resizing or scrolling; if (as they must be at present) the group of menus are defined by a group of buttons, and the developer doesn't want them to be visible, they can be hidden; there's no need to scroll the card to move them out of sight. On Windows or other platforms (I'm guessing the *nix GUIs work like Windows, but I know nuffink) if a straightforward menubar is required, the engine should draw this under the titlebar, before drawing the stack. In other words, the engine creates a menubar - obeying the user's settings for menu size and styling - outside the 'content area' as seen by the stack. I suggest that all that is needed to implement this without losing compatibility is some new stack properties macMenubar winMenubar ...etc On Mac, if a stack has the 'macMenubar' set (and the 'menubar' empty) then the system menubar is set as you'd expect, copying the definition from the specified group (and there is no scrolling or resizing). On Windows, if a stack has the 'winMenubar' set, then a menubar defined by the specified group is displayed under the titlebar of the window, before the content area starts. There is no scrolling or resizing, all coordinates are the same as they would be if the 'winMenubar' property is not set. The window itself may change size, but your stack knows nothing about the window outside of the content area in which it is displayed - how big the titlebar is, how wide the borders on each side, all of which can be adjusted by the user - it doesn't need to know anything about the menubar and how it works. On other platforms... err, I guess it's like Windows, but I don't know. Maybe someone else can fill in. The advantage on Mac would be that there is no resizing issue. The advantages on Windows would include supporting the user-defined appearance settings which are currently ignored, and being a step closer to the possibility of MDI apps. A general advantage would be a mechanism that makes it equally simple to have menubars on different platforms defined by the same group, or different ones. If a developer wanted to do something custom with the menubar on Windows - like Chipp in this case - they could simply leave the 'winMenubar' empty, and handle their menus as they do now. On the Mac in that case, they might hide the relevant group in a preOpenX handler. Overall, the advantage is that simple things - a straightforward menubar - would be simple, even if some more complex effects might be more complex. That seems like the right way round. And the change could be introduced without any compatibility issues; existing stacks which set 'menubar' would not set 'macMenubar' or 'winMenubar', and hence would get the existing behaviour. (I'd hope that documentation and IDE menu development assistants would push the new scheme and deprecate the old, and hence new users should never encounter the problems that we all have in the past.) I'd be really interested in comments on this scheme. I've shied away from entering enhancement requests bugzilla about menus because I want so much. But I actually think this could be quite a small request, and realy helpful; so I'd like to know whether other people think it makes sense, and how it could be improved. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From ambassador at fourthworld.com Thu Dec 30 19:31:17 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2004 16:31:17 -0800 Subject: RunRev vs RealBasic In-Reply-To: <41D49312.70605@hyperactivesw.com> References: <1104430155.41d4444b73eef@webmail.praevius.com> <41D47F54.1000500@fourthworld.com> <41D49312.70605@hyperactivesw.com> Message-ID: <41D49DD5.6070202@fourthworld.com> J. Landman Gay wrote: > On 12/30/04 4:21 PM, Richard Gaskin wrote: > >> A shotgun approach usually just turns into a pissing match, and >> there's plenty in the archives of both lists and elsewhere to feed >> appetites for that sort of thing. > > I hope somebody shotguns it though, because I sent him to the list to > ask. :) After all the trolling we had coming through here this year perhaps I'm a bit oversensitive to such things. In all fairness, I remain curious about why someone who describes himself as preferring RealBASIC and being uninterested in the main benefit of 4GLs would be interested in switching from RealBASIC to a 4GL. Just the same, in good holiday spirit I'll help guide him to the parts of the web site which answer his questions: > how does RunRev handle database connectivity? -------------------------------------------- From : SQL database access * ODBC access (with any edition) * Direct access to databases: o Oracle (Enterprise, or Studio add-on, only) o MySQL with SSL o PostgreSQL o Valentina o Frontbase o 3rd Party SQLLite module available * Point and click database connection setup * Automatically display data in text fields * Plus fully-featured database API, work with binary data, execute any SQL query > Does it do 3D or OpenGL rendering well? --------------------------------------- Not natively, but there is a set of externals for this in development. It's been considered for native support, and as much as it makes a nifty marketing bullet point in real-world development very few apps actually use it. As with other features for which Rev has added a simple omni-platform scripting interface, I'm sure if interest in 3D ever takes off they'll move it up on the priority list. 'Till then its the domain of third parties, as it is with most such general development tools. > Does it support a "plug-in" architecture? ---------------------------------------- In the program see Development->Plugins See also Externals at: > What level of system integration does the software have; > any direct access to system APIs? ---------------------------------- Also from : Extensible language * SDK for creating externals in any compiled language * Shell access (Mac OS X, Windows, Unix) * Interprocess communication (on platforms that support this) * Platform-specific technologies: o Apple Events o AppleScript o Windows registry It should be noted though that the main benefits of Rev are much more akin to Java than perhaps anything else. Rev has a single script interface for 99% of what most apps need, with engines available for nearly every modern computer on the planet for more than half a decade. For example, in some languages you can access the OS API for doing things like making aliases, so in a few dozen lines you can get the job done. But in Rev it's a single line of Transcript: create alias to file Not only is this convenient to type, but it saves you from having to dig through a dozen volumes to learn the idiosynchracies of each OS API. With Rev, most of the time all you need is Transcript. Transcript is famous for its one-liners, like downloading a file and displaying its contents in a field: put url "http://fourthworld.net/data.txt" into fld "Display" In addition to these one-liners, some of the biggest conveniences with Transcript (and all such HyperTalk-inspired dialects) are chunk expressions, which make short work of text processing in way which are not only onvenient but also rather efficient. For example, in most languages if you wanted to get the second word of the third line of a block of text you'd need to walk through it character by character, keeping track of delimiters as you go. But in Transcript these this is simply: get word 3 of line 2 of tMyData Again, it's not just the productivity or self-documenting benefits of this readable language that I'm emphasizing here, or even the benefits of typelessnes that Osterhaut refers to in the paper I cited. The strong point here is that the more you use the language the more you're relying on highly optimized C++ code, so that one line of Transcript executes what might be dozens or hundreds in other languages. In many cases the engine is so fast that even though the scripts are executed as mere bytecode overall performance is often on par with "fully compiled" languages. I've seen some "fully-compiled" languages begin to recognize the benefits of scripting, making early steps toward grafting a scripting language onto their compiled language. This trend validates what Osterhaut talks about, and what Rev is all about. Rev is definitely a very different way of working, but if you're sincerely tired of compile-runtime cycles you may find it a good tool to add to your collection. You may also be interested in their actual pricing, ranging from $99 to $299: Academic pricing is even lower: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From benr_mc at cogapp.com Thu Dec 30 19:34:19 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 31 Dec 2004 00:34:19 +0000 Subject: RunRev vs RealBasic In-Reply-To: <41D49312.70605@hyperactivesw.com> Message-ID: on 30/12/04 6:09 pm, cdunix at praevius.com wrote > Being new to this list and a current RB user, I would like to see your reasons > for using the more expensive Runtime Enterprise environment vs. the RealBasic > Professional environment. I am not concerned so much about "ease of use" as > much as I am about capabilities. For instance, how does RunRev handle > database connectivity? Does it do 3D or OpenGL rendering well? Does it > support a "plug-in" architecture? What level of system integration does the > software have; any direct access to system APIs? on 30/12/04 11:45 pm, J. Landman Gay wrote > I hope somebody shotguns it though, because I sent him to the list to > ask. :) > > If anybody wants to make some broad, sweeping generalizations, that'd be > great. My broad, sweeping generalizations are - horses for courses, it depends no your situation... oh wait, you didn't say cliches were OK. One more sweeping generalization is that I think it's hard to find people equally proficient in and knowledgeable of both environments, and who else can really answer this question? (If Lorin Rivers is still on this list, he might be one?) My own experience is that I used to be an RB user; I willingly paid a (relatively) vast amount of money to acquire Metacard, and soon after Rev; I determined to carry on and upgrade RB as well (I am lucky in being able to justify spending company money in this way, and can demonstrate the value of having a well stocked toolbox, even with overlapping tools) but just never got round to it. On the one hand I guess that's an advert for Rev, that I never felt the need even to just have the latest version of RB around; on the other hand it makes my knowledge of RB out of date. As Richard (I think) mentioned, one reason for anyone to use a more expensive system (I've no idea how prices currently compare - but again it undoubtedly depends on what you want, since I know the configurations are different) is precisely ease of use, translated into productivity; if you can charge a day rate in the same ballpark as the cost of the tool, then a tool with even slightly greater productivity quickly pays for itself. I think RB has some excellent features, and there are some aspects that I definitely prefer to Rev, in a theoretical way. There were some things I disliked, and some things that seemed fundamentally broken. For all I know, all of these things may have been fixed since I last looked at it. To attempt some specific answers to your questions: > how does RunRev handle database connectivity? Very well, in my perception; I use this a lot in my work, and it works well for me. > Does it do 3D or OpenGL rendering well? AFAIK, no. Never been relevant to me, I've never investigated. > Does it support a "plug-in" architecture? Yes (in different ways: I'm not exactly sure which of several things you mean, but I think the answer is yes in all cases.) Because of the difference in object models, in at least one context it may not support this quite as comprehensively as RB, but I suspect that this is not a real issue, and I'm definitely on dodgy ground here. > What level of system integration does the software have; any direct access to > system APIs? Access to the system - via shell and applescript - but not in general to the system APIs except via externals written in another language. To get back to my cliches, it depends on you, what you want to do, what you know, and what matters to you. If you're already a deep RB expert, it will take a considerable investment to make Rev more useful to you. If there are particular areas that are of interest to you, it may be that Rev can do you a sufficiently better job in those areas to overcome that disadvantage. In other areas, it might do a worse job. Err... did that help at all? Assuming that it didn't, you could try being more specific about questions you have, or about the area in which you're working, or about your priorities (is time more valuable to you, or cash, or degree of polish, or platform reach...). Or about what you find good and bad about RB (you presumably have some discontents to be asking the question), in which case listers here may be able to confirm or deny whether or not you can expect Rev to match the likes, and to what extent it can improve on the discontents. Cheers, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From nrkweto03 at hotmail.com Thu Dec 30 19:42:23 2004 From: nrkweto03 at hotmail.com (Nicolas Cueto) Date: Fri, 31 Dec 2004 09:42:23 +0900 Subject: multiple local sockets References: Message-ID: Hello All, Spent a long day yesterday! Both figuring out a "solution" to a multiple-ports problem, and realizing finally that my understanding of Rev's implementation of sockets is seriously flawed. Specifically, the problem this time seems to be my unclear understanding of how Rev identifies sockets to and from a single port. I was hoping someone might care to comment on the following before-and-after script outlines, perhaps even going so far as to also suggest a simpler way. Appended below, too, is the perhaps relevant sections from the Rev documentation, but the implementation of which I'm afraid I could not understand (i.e., how or where to actually refer in a script to a non-numeric socket identifier I've arbitrarily assigned). As always, thank you... and a Happy Year of The Chicken! Cheers, Nicolas Cueto -------------------------------------- ######THE "BEFORE" SCRIPT########## local tRawData on openCard accept connections on port 8080 with message "netConnect" open socket to "192.168.1.11:8025" with message "sendItOne" open socket to "192.168.1.11:8025" with message "sendItTwo" end openCard on netConnect incomingMessage read from socket incoming message until [arbitrary end marker] put it into receivedData close socket incomingMessage if "[request 1]" is in receivedData then put receivedData into tRawData processRawData end if if "[request 2]" is in receivedData then put receivedData into tRawData processRawData end netConnect on processRawData if "[request 1]" is in tRawData then do stuff on local stack if "[request 2]" is in tRawData then do other stuff on local stack end processRawData on sendItOne sOne put "[request1]" into tData write tData to socket sOne close socket sOne end sendItOne on sendItTwo sTwo put "[request2]" into tData write tData to socket sTwo close socket sTwo end sendItOne ########## THE "AFTER" SCRIPT############ local tRawDataOne, tRawDataTwo on openCard accept connections on port 8080 with message "netConnectOne" accept connections on port 8081with message "netConnectOne" open socket to "192.168.1.11:8025" with message "sendItOne" open socket to "192.168.1.11:8026" with message "sendItTwo" end openCard on netConnectOne incomingMessageOne read from socket incoming messageOne until [arbitrary end marker] put it into receivedData close socket incomingMessageOne if "[request 1]" is in receivedData then put receivedData into tRawDataOne processRawDataOne end netConnectOne on netConnectTwo incomingMessageTwo read from socket incoming messageTwo until [arbitrary end marker] put it into receivedData close socket incomingMessageTwo if "[request 1]" is in receivedData then put receivedData into tRawDataTwo processRawDataTwo end netConnectOne on processRawDataOne do stuff on local stack end processRawDataOne on processRawDataTwo do other stuff on local stack end processRawDataTwo on sendItOne sOne put "[request1]" into tData write tData to socket sOne close socket sOne end sendItOne on sendItTwo sTwo put "[request2]" into tData write tData to socket sTwo close socket sTwo end sendItOne #########REV DOC: accept command########### When a connection is made or a datagram is received, the accept command creates a new socket that can be used to communicate with the other system (or process). When using the close socket, read from socket, or write to socket commands, you can refer to this socket with a socket identifier that looks like this: host:port[|connectionID] where the connectionID is a number assigned by the accept command. (You only need to specify the connection number if there is more than one socket connected to a particular port and host.) #########REV DOC:open socket command####### Note: When the accept command creates a socket, it assigns a number as the connection name. If you are using both the open socket command and the accept command to connect to the same port on the same host, make sure to use a non-numeric connection name that won?t conflict with the numbers assigned by the accept command. This ensures that you can always refer to two different sockets by distinct socket identifiers. From viper4559 at yahoo.com Thu Dec 30 12:37:56 2004 From: viper4559 at yahoo.com (Robert Sabo) Date: Thu, 30 Dec 2004 09:37:56 -0800 (PST) Subject: Random Name Generator In-Reply-To: Message-ID: <20041230173756.34927.qmail@web50807.mail.yahoo.com> > > Suppose you had a list field called "User Names" > which will contain the list > of user names, and a separate field called "Selected > User" which will > contain the name of the randomly selected user name > from the "User Names" > field. Add to this a button that says "Go", and you > have this: > > -- Script of button "Go" > on mouseUp > put any line of field "User Names" into field > "Selected User" > end mouseUp > > Easy, no? > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > Ok I get this, however I think I should further explain my layout. It is one card and stack. The top consists of a text entry field (used to display the random name that was chosen) and a button below it to run the random name chooser. Below this is some text for instructions about adding names. Then another text entry field to type the name you want to add. Below this field is a button that will add the name typed into the list. Finally at the bottom there is a scrolling field and a button. The scrolling field is meant to display the list. This list has some properties to hilight rows etc. Then I want the button underneath the scrolling field to delete the hilighted username. I will attach a picture of the program hoping that the list allows it. This should better your understanding of what I want to do. Thanks for your guy's help and all but I feel that you were thinking that I would only use a scrolling text field to enter the names etc. Thanks, Robert __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From alex at tweedly.net Thu Dec 30 20:14:24 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 31 Dec 2004 01:14:24 +0000 Subject: multiple local sockets In-Reply-To: References: Message-ID: <41D4A7F0.9050101@tweedly.net> Nicolas Cueto wrote: >I was hoping someone might care to comment on the following before-and-after >script outlines, perhaps even going so far as to also suggest a simpler way. > > It might be easier to suggest a simpler way if you could explain what you *want* to do. Suggesting changes to the code you give leaves the possibility that we miss a really simple way because of the assumptions you have already made in the code you provide. >Appended below, too, is the perhaps relevant sections from the Rev >documentation, but the implementation of which I'm afraid I could not >understand (i.e., how or where to actually refer in a script to a >non-numeric socket identifier I've arbitrarily assigned). > > You can simply say something like open socket "192.168.0.1:8080|myconnectionname" with message "sendItOne" and then you have given a connection name which will never conflict with one that accept will give. The next paragraph says (or at least, I read it as saying) that "accept" will only ever use numeric values for the ID part - hence will never conflict if you use a non-numeric ID like "myconnectionname" >#########REV DOC: accept command########### >When a connection is made or a datagram is received, the accept command >creates a new socket that can be used to communicate with the other system >(or process). When using the close socket, read from socket, or write to >socket commands, you can refer to this socket with a socket identifier that >looks like this: > > host:port[|connectionID] > >where the connectionID is a number assigned by the accept command. (You only >need to specify the connection number if there is more than one socket >connected to a particular port and host.) > >#########REV DOC:open socket command####### >Note: When the accept command creates a socket, it assigns a number as the >connection name. If you are using both the open socket command and the >accept command to connect to the same port on the same host, make sure to >use a non-numeric connection name that won?t conflict with the numbers >assigned by the accept command. This ensures that you can always refer to >two different sockets by distinct socket identifiers. > > -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 28/12/2004 From cdunix at praevius.com Thu Dec 30 17:42:52 2004 From: cdunix at praevius.com (cdunix at praevius.com) Date: Thu, 30 Dec 2004 17:42:52 -0500 Subject: RunRev vs RealBasic (Richard Gaskin) Message-ID: <1104446572.41d4846c3474e@webmail.praevius.com> References: <20041230221640.C7321930123 at mail.runrev.com> In-Reply-To: <20041230221640.C7321930123 at mail.runrev.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 12.203.234.218 Thanks, Richard, point taken. I'll begin by telling about myself. I have fairly extensive experience with the Windows API, Unix, and the Macintosh environment. I am very familiar with tools such as XCODE, GCC, etc. I have recently (within the last 3 years) found that RealBasic strikes a very, very good middle ground with power vs. ease of use; not sacrificing a great deal of the former. I can't really complain about their support either. My only knowledge of RunRev is what I'm reading from the website and hearing from testimonials. I'm sure you're familiar with the saying "all science is magic until discovered" (or thereabouts), so basically I am curious as to whether most users are novice developers and are only "impressed" with RunRev because it is something they can use, or if it really does pack a great deal of power along with flexibility to do the "complex" things. I am currently developing software as a contractor for several different companies and am very interested in anything that can help me do the job faster without losing much. Currently, my primary interest would be in developing data-connected finance and tracking applications. From my "ignorant" position, it would appear that RB is much more fit for the robust requirements, but as I said I don't know that for a fact. Hope that gives you a little more insight into where I am. Thanks again, Michael > I would happily do my best to help explain why MacWorld UK calls Rev > "the Best Rapid Application Development tool on the market" (Dec 04, > p55) if you'll kindly tell us a bit more about your interest in Rev. > > A shotgun approach usually just turns into a pissing match, and there's > plenty in the archives of both lists and elsewhere to feed appetites for > that sort of thing. > > So if you can describe why you're considering Rev we can better address > your specific areas of interest. > > Also, when you say you're not interested in "ease of use", does that > also rule out productivity? Greater productivity is probably the > strongest argument for 4GLs over lower-level languages. Osterhaut makes > one of the most cogent arguments in favor of 4GLs -- c check out his > seminal paper on the topic: . > > After you've read that please describe why you're considering switching > and we'll happly do out best to answer your questions. > > You may also want to check out Rev's web site: , > as most of the questions in your post are addressed there. Your notions > about how Rev's pricing compares to RealBASIC's can be clarified there > as well, looking beyond the price of admission to total costs for > upgrades, support, etc. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From SimPLsol at aol.com Thu Dec 30 22:27:42 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Thu, 30 Dec 2004 22:27:42 EST Subject: Rubinstein on Menus Message-ID: <199.35906cf2.2f06212e@aol.com> Ben, I think you are on the right track. You said what I tried to say, but said it much more eloquently. Certainly my 5th point should have been: I want stack coordinates to stay the same on all platforms - whether or not there is a menu. If we can add your solution without disrupting existing stacks, why would we not do it? Paul Looney From SimPLsol at aol.com Thu Dec 30 22:30:01 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Thu, 30 Dec 2004 22:30:01 EST Subject: Happy New Year... Message-ID: <111.408ddc86.2f0621b9@aol.com> I thought someone in New Zealand would be the first to wish the list a Happy New Year. Paul Looney From capellan2000 at yahoo.com Thu Dec 30 22:38:59 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 30 Dec 2004 19:38:59 -0800 (PST) Subject: getting the Real name of CDs from RR In-Reply-To: <20041230170011.393C293008C@mail.runrev.com> Message-ID: <20041231033859.74985.qmail@web40511.mail.yahoo.com> on Thu, 30 Dec 2004 thierry Douez wrote: > Well, some good news just before the New Year :-) > In fact, it's not line 1 but line 2 !!!!! > i just tested it on Win98 too. Thanks a lot, thierry, for testing this code on your machine! :-) But in this machine still does not works... this means i had to backup all files (just the kind of software i'm building now...) and reinstall. :-(( Happy New Year, Ken, Thierry and each one of the developers that make this list enjoyable! Thanks again! al ===== Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From revolution at jaedworks.com Thu Dec 30 22:40:07 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 30 Dec 2004 19:40:07 -0800 Subject: Resize a stack window In-Reply-To: <41D486BB.9010406@tweedly.net> References: <41D486BB.9010406@tweedly.net> Message-ID: At 10:52 PM +0000 12/30/04, Alex Tweedly wrote: >I have a stack window that I can't resize This is just a guess, but you might try setting the stack's decorations to default. I seem to remember some sort of conflict there.... -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From mpetrides at earthlink.net Thu Dec 30 22:42:58 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 30 Dec 2004 22:42:58 -0500 Subject: Happy New Year... In-Reply-To: <111.408ddc86.2f0621b9@aol.com> References: <111.408ddc86.2f0621b9@aol.com> Message-ID: <1060CF9A-5ADE-11D9-BCB4-000A959D005E@earthlink.net> Well, Happy New Year to you, Paul, and all the other Revolutionaries out there. From the East Coast of the USA... Marian On Dec 30, 2004, at 10:30 PM, SimPLsol at aol.com wrote: > I thought someone in New Zealand would be the first to wish the list a > Happy > New Year. > Paul Looney > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Dec 30 23:30:05 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 30 Dec 2004 22:30:05 -0600 Subject: RunRev vs RealBasic (Richard Gaskin) In-Reply-To: <1104446572.41d4846c3474e@webmail.praevius.com> Message-ID: On 12/30/04 4:42 PM, "cdunix at praevius.com" wrote: > Thanks, Richard, point taken. I'll begin by telling about myself. I have > fairly extensive experience with the Windows API, Unix, and the Macintosh > environment. I am very familiar with tools such as XCODE, GCC, etc. I have > recently (within the last 3 years) found that RealBasic strikes a very, very > good middle ground with power vs. ease of use; not sacrificing a great deal of > the former. I can't really complain about their support either. My only > knowledge of RunRev is what I'm reading from the website and hearing from > testimonials. > > I'm sure you're familiar with the saying "all science is magic until > discovered" > (or thereabouts), so basically I am curious as to whether most users are > novice > developers and are only "impressed" with RunRev because it is something they > can use, or if it really does pack a great deal of power along with > flexibility > to do the "complex" things. IMHO, Revolution packs a lot of power in an "easy to use" shell. I know RB as well as Rev, and I would have to say that if your just looking for raw functionality (i.e. can it "do" ), Rev and RB are very similar in abilties (RB does a few things Rev can't and vice-versa). However, when it comes to *ease* of implementation (which applies to speed of development and efficiency), as Richard pointed out, Revolution can be much easier to use than RB (IMHO), allowing for one-liners that would take RB several lines to implement (to be fair, this happens the other way as well, but IMHO it seems that more often than not Rev can do things more efficiently than RB). Personally I think on of the biggest advantages that Rev has over RB is that you can go from editing to running *immediately*; you don't need to compile and run. So for example, if you're working on a dialog box that would normally take you 5 mouse clicks to get to from the start of your program, you would have to run that sequence every time you made a simple change to the dialog box. In Rev, you'd just switch to the browse tool, and you're "running" immediately; you can test right away. Just my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From nrkweto03 at hotmail.com Thu Dec 30 23:42:38 2004 From: nrkweto03 at hotmail.com (Nicolas Cueto) Date: Fri, 31 Dec 2004 13:42:38 +0900 Subject: multiple local sockets References: <41D4A7F0.9050101@tweedly.net> Message-ID: Alex Tweedly wrote: > It might be easier to suggest a simpler way if you could explain what > you *want* to do. Sorry for not being clear. To enable my (sometimes unduly hesitant!) language-learners to interact aurally and visually over the school LAN, I want to create a client-stack capable of sending to and receiving from a likewise cofigure server-stack both data and stack-events -- and all happening live, sometimes simultaneously (e.g., within one card's script), and with as few ports/handlers as possible! "Send-to" taks for the client-stack include: - logging-in so that everyone knows who's on-line - making requests for various types of data - broadcasting local stack events to all or some host stacks "Receive-from" tasks include: - receiving replies from data requests to the server-stack - awaiting continously for server-mediated info about stack-events on host stacks The server-stack would either mediate or act as source to the above. Hope that's less confusing. Thanks. Cheers, Nicolas Cueto From kray at sonsothunder.com Thu Dec 30 23:53:06 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 30 Dec 2004 22:53:06 -0600 Subject: getting the Real name of CDs from RR In-Reply-To: <20041231033859.74985.qmail@web40511.mail.yahoo.com> Message-ID: On 12/30/04 9:38 PM, "Alejandro Tejada" wrote: > But in this machine still does not works... > this means i had to backup all files > (just the kind of software i'm building now...) > and reinstall. :-(( Did you try the Win98 version I'd posted this morning? If not, here it is again: function GetCDName pLetter set the hideConsoleWindows to true if the shellCommand is "cmd" then put shell(pLetter & " & dir") into temp if line 1 of temp is empty then delete line 1 of temp return last word of line 1 of temp else -- Win98, etc. put pLetter & cr & "dir" into url("file:c:/temp.bat") put shell("c:\temp.bat") into tResult delete file "c:/temp.bat" return last word of line 6 of temp end if end GetCDName HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From cdunix at praevius.com Thu Dec 30 21:58:03 2004 From: cdunix at praevius.com (cdunix at praevius.com) Date: Thu, 30 Dec 2004 21:58:03 -0500 Subject: RunRev vs RealBasic In-Reply-To: <20041231032244.169B293010F@mail.runrev.com> References: <20041231032244.169B293010F@mail.runrev.com> Message-ID: <1104461883.41d4c03b0af3f@webmail.praevius.com> Well, Richard, I do appreciate you humoring me. As I said, besides the RunRev website and a few testimonials I am "ignorant" as to it's true capabilities. And I never used the word "switch". As I said earlier, I'm familiar with (and use) multiple tools; if anything it would be an addition. And 4G Languages are fine, as long as power and ability is not lost. As far as being unhappy with RB, that's not the case either. Any well-rounded contractor knows that he/she must, within reason, keep abreast on the latest tools in order to stay competitive. In fact, one of the things that initially attracted me to RB (as is apparently the case with RunRev as well) was it's native database connectivity capabilies and also it's native database format. One thing that does perplex me about RunRev is the difference between Studio and Enterprise, and why? Both in price and capability. It's rather late and the only analogy I can come up with is a music one. So all you guitar players follow along. When I'm playing music in my garage, I don't mind at all using a multi-effects pedal with it's handy presets to begin piecing work together; to prototype so to speak. It's rather limited, but has lot's of tools and helps me get the job done. When I play a show however (which hasn't been in a few years ;) ) I'm a fan of individual pedals. I can tweak and tune each, quickly, according to my taste. So, is RunRev the multi-effects pedal with quick and easy "presets" or does it still retain the "power" of individual pedals as well? Apologies for the inefficient analogy. Thanks, Michael ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From chipp at chipp.com Fri Dec 31 03:04:15 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 31 Dec 2004 02:04:15 -0600 Subject: RunRev vs RealBasic In-Reply-To: <1104461883.41d4c03b0af3f@webmail.praevius.com> References: <20041231032244.169B293010F@mail.runrev.com> <1104461883.41d4c03b0af3f@webmail.praevius.com> Message-ID: <41D507FF.6020408@chipp.com> Hi Michael, Hope you don't mind me chiming in here. Like Richard, Ken and others, I make a living programming in RR. I write apps for myself, and for others. I've previous experience in VB, but not RB. I think a good way to evaluate the potential 'power' of a program, is to look at some apps which have been developed with it. To that end, you may wish to visit our site: www.altuit.com/webs/altuit2/RunRevCaseStudies/Hemingway.htm where you'll find some info on Hemingway, our Content Management System. Others can probably point you to some other apps as well. We also have developed for Altuit a version control system, _MagicCarpet_ along with a professional button rendering system: ButtonGadget www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm www.buttongadget.com along with a few quickies including an HTML editor called HTMLgadget and small image manipulation program called ImageGadget (you probaly are getting the 'gadget' theme here;-) Currently I'm working for a client and doing a complete rewrite of their stalled RB development project. We're scheduled to complete the whole product in under 2 months. Though I don't know the RB developer, I do know the client is very happy with the many additional features I can add quickly using our own proprietary self-updating plugin architecture based on RunRev. Of course, just because a developer in RR can accomplish something a RB developer cannot, doesn't necessarily say anything about the 2 platforms, perhaps only about the developer. Our company develops some very large scale Enterprise apps (including one for Homeland Security) and we usually use RR as tier-1 in a 3-tier architecture. I've yet to run across anything I can't build that I've wanted to. I imagine both Ken and Richard probably feel the same. And if I did need a new feature, the functionality is only an external away (see altBrowser on our RunRev site). Even then, I've only used 2 externals since 2001 when I started programming in RR: altBrowser (Safari and IE plugin), and revZipper (zip plugin for PC- you can shell it on the mac). Unless you're somewhat familiar with HyperCard or Xtalk languages, IMO, the learning curve can be somewhat steep for traditional developers-- in fact, I think it can be steeper for traditional developers than for newbies. My business partner is an accomplished C programmer. He marvels at xTalk simplicity but admits it's confusing to read: wait while it is not empty with messages :-) The good thing is this list is monitored continually and if you are articulate in your posting style, your answers are typically only a few minutes away. best of luck, Chipp Walters, Altuit, Inc. www.chipp.com From martin at materiaprima.fsnet.co.uk Fri Dec 31 04:21:11 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Fri, 31 Dec 2004 04:21:11 -0500 (EST) Subject: Resize a stack window In-Reply-To: <41D486BB.9010406@tweedly.net> Message-ID: >I have a stack window that I can't resize. Obviously, I've inadvertently >set some property, but can't figure out which one would stop me resizing >it (set height or set width still work - but I can't use the mouse to >click/drag an edge to resize it). > >style is set to toplevel >resizable is true >live resizing is also true (shouldn't matter ?) >min width is 32, max width is 65535 >min height is 32, max height is 65535 > >Anything else I need to change ? or should check ? > >Thanks >-- Alex. Alex, You could try : set the decorations of stack "foo" to "default" Odd as it may sound, this is a fix for a known problem that has the symptoms you describe. HTH Martin Baxter From frank at backtalk.com Fri Dec 31 04:27:48 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 31 Dec 2004 09:27:48 +0000 Subject: Menu woes In-Reply-To: <20041231032244.169B293010F@mail.runrev.com> References: <20041231032244.169B293010F@mail.runrev.com> Message-ID: <3C9CBD74-5B0E-11D9-A88F-000A9580FCCE@backtalk.com> On Dec 31, 2004, at 3:22 AM, use-revolution-request at lists.runrev.com wrote: > From: Ben Rubinstein > Subject: Re: Menu woes > To: "use-revolution at lists.runrev.com" > > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > I think there a bunch of different issues wrong (or in some cases, > right but > not right for everyone) with how Rev handles menus, and have in the > past > tried to describe a completely new architecture that could be > introduced > without breaking compatibility at all, and addressing most of these at > a > stroke. > ...Lot of specific comments... > > I'd be really interested in comments on this scheme. I've shied away > from > entering enhancement requests bugzilla about menus because I want so > much. > But I actually think this could be quite a small request, and realy > helpful; > so I'd like to know whether other people think it makes sense, and how > it > could be improved. Ben, Perfect. Exactly what I was envisioning when I suggested a separate menubar area below the titlebar and above the content area. And as you say, Chipp can continue to do what he's doing with the existing functionality. The only suggestion I might have is that a font fact and size be specifiable when setting the windows menubar in this new scheme. Regards, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From douez at wanadoo.fr Fri Dec 31 04:58:02 2004 From: douez at wanadoo.fr (thierry Douez) Date: Fri, 31 Dec 2004 10:58:02 +0100 Subject: getting the Real name of CDs from RR In-Reply-To: <20041231033859.74985.qmail@web40511.mail.yahoo.com> References: <20041230170011.393C293008C@mail.runrev.com> <20041231033859.74985.qmail@web40511.mail.yahoo.com> Message-ID: <317915881.20041231105802@wanadoo.fr> Hi, >> Well, some good news just before the New Year :-) >> In fact, it's not line 1 but line 2 !!!!! >> i just tested it on Win98 too. AT> But in this machine still does not works... AT> this means i had to backup all files AT> (just the kind of software i'm building now...) AT> and reinstall. :-(( Oups ! sorry... i didn't write exactly the same code as Ken when i tried on my machine... look closely the shell parameters :-). just picked it up from an old script... this could be explained why it doesn't work on your machine ? and i didn't try Ken's new solution, but i'm pretty sure it works. all the best thierry --------- on mouseUp answer GetCDName("d:") end mouseUp function GetCDName pLetter set the hideConsoleWindows to true return the last word of line 2 of shell( "Dir " & pLetter ) end GetCDName From chipp at chipp.com Fri Dec 31 05:55:08 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 31 Dec 2004 04:55:08 -0600 Subject: Menu woes In-Reply-To: References: Message-ID: <41D5300C.6080203@chipp.com> Hi Ben, After a careful reading, I think you have a good grasp of the problem and do propose a good solution. I want to be able to make a custom menu for my apps, and I can do it with the scheme you provide, with the exception that I want to locate them anywhere on the card, not in a space reserved 'above' the card and 'under' the titlebar. I believe you have addressed this issue below in a thoughtful manner, but I also want the menu I use to be the same menu which shows up on the top of the mac screen. I assume this could be done as well, but don't know your 'command' for it. That being said, and now with Richard's help, I'm happy with the way things are right now. I can do *any* behavior I can think of. I remember a post Scott Raney mentioned a few years ago where he said that engine bugs which had known work-arounds were lower in priority than others. Good food for thought. best, Chipp From erikhans08 at yahoo.com Fri Dec 31 08:00:08 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Fri, 31 Dec 2004 05:00:08 -0800 (PST) Subject: Test for "within graphic"? In-Reply-To: Message-ID: <20041231130009.57588.qmail@web61205.mail.yahoo.com> this came up in the Incest Taboo: Type Chunk: no such object Object Rabbits and foxes Line set the loc of button "turtle" to turtlePtToMousePt(xycor()) Hint turtle ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From alex at tweedly.net Fri Dec 31 08:50:42 2004 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 31 Dec 2004 13:50:42 +0000 Subject: multiple local sockets In-Reply-To: References: <41D4A7F0.9050101@tweedly.net> Message-ID: <41D55932.5020206@tweedly.net> Nicolas Cueto wrote: > To enable my (sometimes unduly hesitant!) >language-learners to interact aurally and visually over the school LAN, I >want to create a client-stack capable of sending to and receiving from a >likewise cofigure server-stack both data and stack-events -- and all >happening live, sometimes simultaneously (e.g., within one card's script), >and with as few ports/handlers as possible! > >"Send-to" taks for the client-stack include: >- logging-in so that everyone knows who's on-line >- making requests for various types of data >- broadcasting local stack events to all or some host stacks > > If at all possible, I'd make each client talk ONLY to the server. Make one of the requests it can send to the server be "send to all clients", which causes the server to forward the message to all clients (or maybe to all clients except the initiator - your choice). >"Receive-from" tasks include: >- receiving replies from data requests to the server-stack >- awaiting continously for server-mediated info about stack-events on host >stacks > >The server-stack would either mediate or act as source to the above. > > I don't see anything in that description that prevents you from doing it the following (relatively simple) way. Overview: The server is unique - must be findable from each client (DNS name if you have the local network on DNS, or maybe a well-known IP address). Each client opens a single TCP connection to the server; the TCP connection remains open for the duration of the session. That TCP session is used to carry all of 1. client requests 2. subsequent server responses 3. server initiated info 4. client responses to that. As I said above, I'd make all communication go through the server - helps for logging, testing, and general simplicity. I'd make it easy to log every message to/from the server. I'd make all messages consist of a "command tag" followed by any data (so for instance, even a direct response to a request would have a tag identifying that it is a response). Reservation: depending on how many clients you expect to have, there may be a problem with the simple scheme of a single, permanent TCP connection. Simply keeping that connection open uses resources, both on the network and more importantly within the server. Machines and OSes have different limits on the number of simultaneous TCP connections they can have. If it's a modern machine/OS, I *think* you should be OK with a couple of hundred - but this definitely needs to be checked and/or tested. Detail: The server would do something like (note - this is code from one of my stacks, but edited to remove all the extraneous, confusing stuff, and some newly typed sections to restore the minimal version of what I removed..... so there could be typos, or simple errors - but the overall structure should be OK). global gConnections on startUp accept connections on port "7654" with message "connectionMade" put empty into gConnections logWrite "Started on 7654" end startUp on connectionMade put param(1) into theOtherOne if the number of lines in gConnections >= 4 then -- set a suitable limit for yourself logWrite "Too many clients - rejected." close socket theOtherOne exit connectionMade end if put theOtherOne & cr after gConnections read from socket theOtherOne until CR with message "readsome" end connectionMade on socketError s put lineOffset(s, gConnections) into NConnection if NConnection = 0 then logWrite "Socket Error with unknown player." else logWrite "Socket" && s && "error:" && param(2) delete line NConnection of gConnections end if end socketError on socketClosed s put lineOffset(s, gConnections) into NConnection if NConnection = 0 then logWrite "Attempt to close a socket that is not open." else logWrite "Socket" && s && "closed." delete line NConnection of gConnections end if end socketClosed on readsome put param(1) into fromSocket put lineOffset(fromSocket, gConnections) into NConnection if NConnection = 0 then logWrite "Input rejected - unknown player" & fromSocket read from socket fromSocket until CR with message "readsome" exit readsome end if -- so we are accepting the input - log it logWrite "readsome" && NConnection && param(2) -- note I should have handled multi-line input better for logging !! put line 1 of param(2) into theInput switch item 1 of theInput -- switch on the valid "commands" case "setname" -- an example of a command from a client that needs a response -- store the user name in a the connections table put TAB & item 2 of theInput after line nConnection of gConnections -- and send him a welcome message write "welcome," && item 2 of theInput & CR to socket fromSocket break case "shout" -- an example of one client talking to EVERY other client put item 2 of theInput into tMessage broadcast tMessage break end switch -- and prepare for more input .... read from socket fromSocket until CR with message "readsome" end readsome on logWrite m -- should probably log to a file as well, not just to a field put m & cr after field "outField" end logWrite on broadcast message -- I use sequence numbers on all my messages. I deleted most of the code that manages them, -- but left in this mention of them, because I think they're a good idea. add 1 to gSeqNumber repeat for each line L in gConnections put item 1 of L into tSocket write gSeqNumber & COMMA & message & cr to socket tSocket end repeat end broadcast on unicast pConnection, message put item 1 of line pConnection of gConnection into tSocket write gSeqNumber & COMMA & message & cr to socket tSocket end unicast The code for the client looks very similar, except - they start out doing an open rather than an accept. - all input is from the server, so no need for the connections table, or checking which connection input is from But generally, it's similar code - a single handler that gets input after the connection is set up, and uses the "command" tag at the start of the input to determine what to do. Hope that helps a bit - if not, just holler. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 30/12/2004 From fde101 at fjrhome.net Fri Dec 31 11:10:50 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 31 Dec 2004 11:10:50 -0500 Subject: Oversize cards and jumping between 9 not-overlapping In-Reply-To: <41D49347.40308@fourthworld.com> References: <41D49032.7070008@psy.ku.dk> <41D49347.40308@fourthworld.com> Message-ID: <8A3AF2BE-5B46-11D9-A106-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Why would you want to do something like that with a single card? That would be rather difficult to manage. But yes, the closest you will come to this would be to put everything into a scrollable group. Another alternative is to just keep everything within the space of a single card and use your navigation buttons to hide and show things as appropriate in order to navigate within your card's controls. This works well with tabs, for example... On Dec 30, 2004, at 6:46 PM, Richard Gaskin wrote: > Kresten Bjerg wrote: >> Thanks to Frank for swift reply. >> But the solution I search is not one of having 9 parallel cards, but >> to create a waterproof way to have the 9 windows be one ONE CARD! > > You might want to consider using groups instead. > > By definition, a card always fills the window, but a group can be of > any size, and you can have as many of them as you like on a single > card. They can even have their own scroll bars if needed. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB1XoL7aqtWrR9cZoRAsRFAJ0ZertBDhLlZKtzd8fV6fsMIFNXuwCeKMWE Rk6BdLjo309VR76pg+li4/s= =ulLx -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Fri Dec 31 11:29:37 2004 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 31 Dec 2004 11:29:37 -0500 Subject: RunRev vs RealBasic (Richard Gaskin) In-Reply-To: References: Message-ID: <29A99C2A-5B49-11D9-A106-0050E410655F@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a very limited amount of experience with Visual Basic, and ran the RealBasic demo when trying to decide on a tool for the project I am doing. I have had a little more experience with other languages, including other forms of Basic (Applesoft Basic, QuickBasic), C, Java, Pascal, Ada, etc. I definitely agree that one of Rev's biggest advantages is that program "execution" can be overlapped with development. While designing a program in the IDE, you can easily switch among form editing, script editing, and "browse" (execution) modes and not take extensive time for recompiling. If there is a bug during execution, you can often patch it up in the script and restart the script operation w/o needing to go through and restart the entire program. What traditional tools would provide as "Debugging" information, such as watch windows for variables, etc. are easily accessible through the Rev interface. "Immediate" command execution is possible through the "Message" box. There are numerous advantages to an interpreted environment, and even more with the modal used by Rev. However, there are a few disadvantages, as well: some with the modal, and some with Rev specifically. Rev's documentation is somewhat lacking for beginners, so if you do not already have familiarity with an XTalk environment such as HyperCard/SuperCard, it will be a bit of an adjustment to deal with -- of course, it would be an adjustment even with good docs, but it would at least come more easily. However, once you have learned the modal of development used by Rev, and have some familiarity with how to search the docs and use this list, it is not difficult to pick up new topics and use them rather efficiently. My own coding style and use of Rev's features is constantly improving with techniques I pick up on "accidentally" using this list. Printing is also in need of some improvement, at least under Windows (which has different screen and printer font metrics). Once a few issues have been worked out, and after you get on to how printing is done, you can access some quite powerful features rather easily, though. Also, Rev is an interpreter, not a compiler. Code execution is much slower than what you would get with a compiled language such as RealBasic. This is somewhat compensated for by the fact that so many "slow" algorithms are already implemented and easy to access through simple instructions in Transcript, and can be further enhanced by using external routines in compiled modules bundled with your program (for computationally intensive tasks not easily covered by Transcript, or for accessing outside libraries or functions currently missing from Rev). Overall though, for most functionality, Transcript is sufficiently fast that this is not a problem, except for computationally intensive algorithms. The language itself is rather simple to learn, and allows you to write software quite quickly once you are on to it. Another advantage of Rev over RealBasic is that many of the tools you use to develop your programs are actually included in the runtime engine for the programs. Drawing/Painting tools, field layouts, etc. can be modified dynamically if you allow them to be, and it is possible to do some rather interesting things by combining the available tools. So download the demo and give it a try. It's not an end-all-else tool (nothing is), but it can be a very powerful way to create simple (and even very complex) programs quite rapidly. On Dec 30, 2004, at 11:30 PM, Ken Ray wrote: > On 12/30/04 4:42 PM, "cdunix at praevius.com" wrote: > >> Thanks, Richard, point taken. I'll begin by telling about myself. I >> have >> fairly extensive experience with the Windows API, Unix, and the >> Macintosh >> environment. I am very familiar with tools such as XCODE, GCC, etc. >> I have >> recently (within the last 3 years) found that RealBasic strikes a >> very, very >> good middle ground with power vs. ease of use; not sacrificing a >> great deal of >> the former. I can't really complain about their support either. My >> only >> knowledge of RunRev is what I'm reading from the website and hearing >> from >> testimonials. >> >> I'm sure you're familiar with the saying "all science is magic until >> discovered" >> (or thereabouts), so basically I am curious as to whether most users >> are >> novice >> developers and are only "impressed" with RunRev because it is >> something they >> can use, or if it really does pack a great deal of power along with >> flexibility >> to do the "complex" things. > > IMHO, Revolution packs a lot of power in an "easy to use" shell. I > know RB > as well as Rev, and I would have to say that if your just looking for > raw > functionality (i.e. can it "do" ), Rev and RB are very similar in > abilties (RB does a few things Rev can't and vice-versa). However, > when it > comes to *ease* of implementation (which applies to speed of > development and > efficiency), as Richard pointed out, Revolution can be much easier to > use > than RB (IMHO), allowing for one-liners that would take RB several > lines to > implement (to be fair, this happens the other way as well, but IMHO it > seems > that more often than not Rev can do things more efficiently than RB). > > Personally I think on of the biggest advantages that Rev has over RB > is that > you can go from editing to running *immediately*; you don't need to > compile > and run. So for example, if you're working on a dialog box that would > normally take you 5 mouse clicks to get to from the start of your > program, > you would have to run that sequence every time you made a simple > change to > the dialog box. In Rev, you'd just switch to the browse tool, and > you're > "running" immediately; you can test right away. > > Just my 2 cents, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB1X5x7aqtWrR9cZoRAr/iAJ9i7nLz3+ujrC4FdTT3/WiI3PT5rQCfRSmh /2vq6VgCz+ZOG/TJ8BcxTZs= =lnZQ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From SimPLsol at aol.com Fri Dec 31 12:14:19 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Fri, 31 Dec 2004 12:14:19 EST Subject: Menus at Midnight Message-ID: <92.1d2e0587.2f06e2eb@aol.com> From the date stamps on the email it appears that people have been posting around the clock on this issue - including several nightowls here in North America. I was busy elsewhere yesterday and did not have a chance to reply to Richard and Chipp. Richard: I don't remember the exact recipe that produced the stack resizing problems. I believe it was nothing fancy. After I found a work around I didn't look back. From the number of posts on this list over the last year I'd say I'm not alone. I didn't mention, as Ben did, the problem with coordinates of objects changing depending on whether there as a Mac OS menubar present. Chipp: Yes, I did read your workaround (hiding the menu group, etc.) but by then I'd found the "resize in openStack" workaround and was already implementing that. I believe our two methods (and more, contributed by Sarah and other users) highlight the problem. We can make it work because we are clever (at least you are clever) and we read the list religiously - but menus should "just work". You quote Scott Raney as saying "engine bugs which had known workarounds were lower in priority than others." This is one of the biggest philosophical problems I have with Revolution. I would paraphrase it "good enough rather than good". Of course serious, crippling, bugs need top priority but "Kludges" can't be ignored - particularly on fundamental things like menus. And, it seems to me, the Revolution team focuses more on exotic new features (which may or may not work) rather than dotting the "i"s and crossing the "t"s in the existing product - more people will use menus than unicode or SSL sockets or... We veteran HyperCard users tend to praise HC's simplicity, logic, and easy utility. But I don't know of any HC users who commend HC's color tools. Like the Rev. menu manager, they work (or can be made to work) but they are so unrefined and temperamental that they depreciate the entire user experience. I believe they helped solidify HC's reputation as an amateur and unreliable product - despite the fact most other things worked brilliantly. I don't remember a complaint regarding Rev.'s color handling in two years reading this list (there might have been one or two I missed, but I'm sure it is safe to say there have been more comments on menus in the last week than color in the last year). Rev. got color right! It just works. This is how menus should be. In my experience, there are four things that drive a new Rev user crazy. Three of them could be fixed rather easily. I think they all should have been fixed by Version 2. The most important of these is the menus. I hope the biocomputers in the mother ship are listening. I hope they read Ben's wonderful post. I hope we are pleasantly surprised when Version 3 ships. Paul Looney From ambassador at fourthworld.com Fri Dec 31 13:02:16 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Dec 2004 10:02:16 -0800 Subject: Menus at Midnight In-Reply-To: <92.1d2e0587.2f06e2eb@aol.com> References: <92.1d2e0587.2f06e2eb@aol.com> Message-ID: <41D59428.1070202@fourthworld.com> SimPLsol at aol.com wrote: > Richard: > I don't remember the exact recipe that produced the stack resizing > problems. I believe it was nothing fancy. After I found a work around I didn't look > back. From the number of posts on this list over the last year I'd say I'm > not alone. I didn't mention, as Ben did, the problem with coordinates of objects > changing depending on whether there as a Mac OS menubar present. If you get a recipe please post it to Bugzilla. Issue that cannot be reproduced are hard to fix (but on the upside, by definition perhaps they don't need to be ). > Chipp: > Yes, I did read your workaround (hiding the menu group, etc.) but by > then I'd found the "resize in openStack" workaround and was already implementing > that. Two very different issues: Chipp was wanting to build a UI in which he had controls for his main window in the menu bar region. While Rev makes HIG-compliant menuing automatic, what he wanted was a step outside the box. Fortunately Rev was flexible enough to allow what he wanted in just two lines. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri Dec 31 13:18:25 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Dec 2004 10:18:25 -0800 Subject: RunRev vs RealBasic In-Reply-To: <41D507FF.6020408@chipp.com> References: <20041231032244.169B293010F@mail.runrev.com> <1104461883.41d4c03b0af3f@webmail.praevius.com> <41D507FF.6020408@chipp.com> Message-ID: <41D597F1.6090004@fourthworld.com> Chipp Walters wrote: > My business partner is an accomplished C programmer. He marvels at xTalk > simplicity but admits it's confusing to read: > > wait while it is not empty with messages Is that Transcript or a Zen koan? Indeed, it is both. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From cdunix at praevius.com Fri Dec 31 10:04:00 2004 From: cdunix at praevius.com (cdunix at praevius.com) Date: Fri, 31 Dec 2004 10:04:00 -0500 Subject: RunRev vs RealBasic In-Reply-To: <20041231162434.8718E9300E3@mail.runrev.com> References: <20041231162434.8718E9300E3@mail.runrev.com> Message-ID: <1104505440.41d56a60235f8@webmail.praevius.com> The ability to immediately test an interface is a very, very attractive one. Although "getting to the window" in test is usually dependent on other things as well, it would still be helpful to be able to do. I do deal with a lot of desktop applications as well, so data persistence without the need for a DB backend is also a requirement. How does RunRev handle this? Is there a native DB format? Are objects capable of serializing themselves or would routines need to be written? I really appreciate the LIST's prompt feedback! Thanks, Michael > Personally I think on of the biggest advantages that Rev has over RB > is that > you can go from editing to running *immediately*; you don't need to > compile > and run. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From kray at sonsothunder.com Fri Dec 31 15:31:59 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 31 Dec 2004 14:31:59 -0600 Subject: RunRev vs RealBasic In-Reply-To: <1104505440.41d56a60235f8@webmail.praevius.com> Message-ID: On 12/31/04 9:04 AM, "cdunix at praevius.com" wrote: > The ability to immediately test an interface is a very, very attractive one. > Although "getting to the window" in test is usually dependent on other things > as well, it would still be helpful to be able to do. I do deal with a lot of > desktop applications as well, so data persistence without the need for a DB > backend is also a requirement. How does RunRev handle this? Is there a > native > DB format? Are objects capable of serializing themselves or would routines > need > to be written? That's one of the beauties of Rev... data can be stored *inside* the stack files, either as data in fields that have been saved, or as custom properties that are stored with the stack itself. Additionally, of course, you could also keep data in text files (or the equivalent) and read them in as you need them. Once again, the beauty of one-liners; this reads a file and puts its contents into a variable: put url("file:C:\temp.txt") into myVar The only thing to keep in mind is that that stack that is turned in the application executable cannot modify itself, however it *can* open Rev stacks and store data in *them*. Here's an example - suppose you had a stack called "Stub" that was turning into an executable, and next to it on disk was a file called "main.rev" that was your "main" window. (I know, your apps will be a lot more complicated than this, but bear with me.) You could first open your main stack from the stub in this manner: -- Script of stack "stub" on preOpenStack open stack "Main.rev" end preOpenStack Then, you could save a persistent variable this way in the "Main.rev" stack: -- script of a button in the stack "Main.rev" on mouseUp set the uData of this stack to "Hello, Michael" save this stack end mouseUp The custom property 'uData' will be created (if it's not already there) and filled with the string "Hello, Michael", and then saved as part of Main.rev. The next time Main.rev is opened, you can retrieve the value like this: -- script of another button in the stack "Main.rev" on mouseUp answer (the uData of this stack) end mouseUp This displays an alert dialog with the phrase "Hello, Michael" in it. > I really appreciate the LIST's prompt feedback! Our pleasure! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From markgreenberg at cox.net Fri Dec 31 16:10:11 2004 From: markgreenberg at cox.net (Mark Greenberg) Date: Fri, 31 Dec 2004 14:10:11 -0700 Subject: Using QT Transitions Message-ID: <5BC22968-5B70-11D9-8303-000A959B61BE@cox.net> I must be missing something. The Answer Effect command will bring up the QT dialog for a user, but what if I want the Gradient Wipe transition, say, as part of my stack? The answer must be simple, but I'm not seeing it. I'm using Rev 2.0 on OS X, if that makes a difference. Mark Greenberg From chippwalters at tmail.com Fri Dec 31 17:04:55 2004 From: chippwalters at tmail.com (Chipp Walters) Date: Fri, 31 Dec 2004 16:04:55 -0600 Subject: RunRev vs RealBasic In-Reply-To: References: Message-ID: <1104530699.10B579D6@g28.dngr.org> On Fri, 31 Dec 2004 2:40 pm, Ken Ray wrote: > That's one of the beauties of Rev... data can be stored *inside* the > stack > files, either as data in fields that have been saved, or as custom > properties that are stored with the stack itself. A great point. I recently was able to create a compressed, encrypted binary data storage file using a stack and a single line of code. This data file stores text data along with imades in 3 different formats. This data file is actually a stack with no business logic and is opened by my app invisibly and data selectively moved to the gui, edited there and then moved back to the inv stack to save. Talk about simple. Doing the same in VB would be very complicated. I imagine RB too. Btw, regarding speed issues, I think there have been a number of speed coding challenges between RB and RR with no conclusive winner. Perhaps Frank can be more specific with regard to areas he feels RR runs slow? Also, last time I looked, RR compiles scripts 'on the fly' like Java. Didn't know RB was a compiler. Must be tough on edit/compile/run/debug cycles. Perhaps it's an interpreter like RR and compiles during runtime? I don't know. Best, Chipp Chipp Walters, Altuit.com Sent from my Sidekick From sanke at hrz.uni-kassel.de Fri Dec 31 17:11:27 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 31 Dec 2004 23:11:27 +0100 Subject: Problem with field borderwidth 2 Message-ID: <41D5CE8F.6090304@hrz.uni-kassel.de> On Thu, 30 Dec 2004, Richard Gaskin wrote: > Welcome to XP. I am uncertain whether I should be happy about this - not your "welcome", but about XP > Rev now supports native appearances for fields on XP when the field's > default values are left in place (borderWidth set to 2). So what your > screen show at is showing is XP's > rendering of the field border. > > You'll see a similar thing on OS X: while the appearance differs from > XP, when a field border is set to the default value of 2 OS routines are > used to render the control instead of the engine's. > > I think this should be overridable. Standard and Rectangle style > buttons also take on native appearances, but you can override this by > specifying a backgroundColor. > > Perhaps we need a Bugzilla request so that if the borderColor is set the > OS no longer draws the control and it uses the engine's internal routines. > > Please post the bug number after you log it so we can vote for that > enhancement. > > In the meantime a workaround is to set the style of the field to > "shadow" instead of "rectangle" or "scrolling", and then to prevent the > shadow from drawing set its shadowwidth to 0 (zero). Shadow-style > fields are always drawn by the engine, so you should get what you're > after with those. > > -- > Richard Gaskin > Fourth World Media Corporation Thanks, Richard, for the information and clarification of the consequences of being provided with the default option of "native appearances". This again raises the question how we could be quickly informed about such consequences. I tried a search of the Rev docs, probably in a amateurish manner, so nothing illuminating came up. The workaround you proposed, style "shadow" and setting "shadowoffset" to zero, does not solve the problem. What really works is setting the "Look and Feel" to "Windows emulated" or to "Windows 95" (sic!) with Metacard. Consequently, if you got stacks that need to have fields with a borderwidth of 2 in non-native XP look, you should care for that in a preopenstack-stack handler. So I am unsure whether to file a Bugzilla enhancement request. What should I propose? To completely eliminate the borderwidth-2 related "native" XP appearance or to connect it with a more unlikely borderwidth of - let's assume - 10 pixels? What do you think? Best regards and anything positive for you I can imagine for a Happy New Year! Wilhelm Sanke From kkaufman at snet.net Fri Dec 31 17:30:54 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri, 31 Dec 2004 17:30:54 -0500 Subject: Menu woes In-Reply-To: <20041230170011.F11769300FB@mail.runrev.com> References: <20041230170011.F11769300FB@mail.runrev.com> Message-ID: On Dec 30, 2004, at 12:00 PM, use-revolution-request at lists.runrev.com wrote: > .....I don't understand: as I read that it seems to suggest that all > we do > is switch the scrolling from Mac to all other OSes, so that instead of > the scroll taking place on 2.4% of computers it takes place on 97.6%. > > Remember that having the menubar be part of the window rather than > detached is how every modern OS works except Mac..... > I have not followed all of the messages in this thread, so forgive me if this has already been suggested: How about a simple warning (could be switched off in prefs) suggesting that if menus are to be used on an application to be deployed to the Mac platform, extra space should be allotted for them. Kurt From dsc at swcp.com Fri Dec 31 17:40:53 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 31 Dec 2004 15:40:53 -0700 Subject: Problem with field borderwidth 2 In-Reply-To: <41D5CE8F.6090304@hrz.uni-kassel.de> References: <41D5CE8F.6090304@hrz.uni-kassel.de> Message-ID: <070E335A-5B7D-11D9-8859-000A9567A3E6@swcp.com> On Dec 31, 2004, at 3:11 PM, Wilhelm Sanke wrote: > What really works is setting the "Look and Feel" to "Windows emulated" > or to "Windows 95" (sic!) with Metacard. > Consequently, if you got stacks that need to have fields with a > borderwidth of 2 in non-native XP look, you should care for that in a > preopenstack-stack handler. I'm not seeing this with my XP (or my OS X). For any look and feel, I get no gap. My engine is 2.6.1-9 for both. > So I am unsure whether to file a Bugzilla enhancement request. What > should I propose? To completely eliminate the borderwidth-2 related > "native" XP appearance or to connect it with a more unlikely > borderwidth of - let's assume - 10 pixels? I'd hate to stumble on that. Maybe a native property could work. (I'm hesitant to recommend anything since I don't see it. My left-right borders with no 3D are rock solid on fields.) Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From dsc at swcp.com Fri Dec 31 17:59:22 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 31 Dec 2004 15:59:22 -0700 Subject: Problem with field borderwidth 2 In-Reply-To: <070E335A-5B7D-11D9-8859-000A9567A3E6@swcp.com> References: <41D5CE8F.6090304@hrz.uni-kassel.de> <070E335A-5B7D-11D9-8859-000A9567A3E6@swcp.com> Message-ID: <9C6803D8-5B7F-11D9-8859-000A9567A3E6@swcp.com> On Dec 31, 2004, at 3:40 PM, Dar Scott wrote: > I'm not seeing this with my XP (or my OS X). For any look and feel, I > get no gap. OK. Now I see it. It seems to only occur with 3D on and my tests had it off. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From dsc at swcp.com Fri Dec 31 18:11:11 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 31 Dec 2004 16:11:11 -0700 Subject: Problem with field borderwidth 2 In-Reply-To: <41D46A2C.2060906@fourthworld.com> References: <41D466B0.2000107@hrz.uni-kassel.de> <41D46A2C.2060906@fourthworld.com> Message-ID: <42E692D7-5B81-11D9-8859-000A9567A3E6@swcp.com> On Dec 30, 2004, at 1:50 PM, Richard Gaskin wrote: > Rev now supports native appearances for fields on XP when the field's > default values are left in place (borderWidth set to 2). So what your > screen show at is showing is XP's > rendering of the field border. > > You'll see a similar thing on OS X: while the appearance differs from > XP, when a field border is set to the default value of 2 OS routines > are used to render the control instead of the engine's. > > I think this should be overridable. Standard and Rectangle style > buttons also take on native appearances, but you can override this by > specifying a backgroundColor. > > Perhaps we need a Bugzilla request so that if the borderColor is set > the OS no longer draws the control and it uses the engine's internal > routines. > > Please post the bug number after you log it so we can vote for that > enhancement. > > In the meantime a workaround is to set the style of the field to > "shadow" instead of "rectangle" or "scrolling", and then to prevent > the shadow from drawing set its shadowwidth to 0 (zero). Shadow-style > fields are always drawn by the engine, so you should get what you're > after with those. Where did you get all this info? There is nothing about special native rendering in the dictionary under borderWidth or threeD. Ah, I found it under backgroundColor. The idea of using backgroundColor to switch between OS rendering and internal rendering is pretty weird. I would never have thought to check the dictionary for backgroundColor. I don't like idiomatic choices. Choices should be explicit. A property could be used to switch between different rendering methods in a control object. Dar ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From klaus at major-k.de Fri Dec 31 18:45:15 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 1 Jan 2005 00:45:15 +0100 Subject: Using QT Transitions In-Reply-To: <5BC22968-5B70-11D9-8303-000A959B61BE@cox.net> References: <5BC22968-5B70-11D9-8303-000A959B61BE@cox.net> Message-ID: <053489E0-5B86-11D9-B059-000A27B49A96@major-k.de> Hi Mark, > I must be missing something. The Answer Effect command will bring up > the QT dialog for a user, but what if I want the Gradient Wipe > transition, say, as part of my stack? The answer must be simple, but > I'm not seeing it. I'm using Rev 2.0 on OS X, if that makes a > difference. probably the best way to store QT transitions is to use customproperties. Like: ... answer effect set the QTgradientwipe1 of this stack to it ## or whatever name you choose ... This way it will be saved with the stack and you can use it later with: ... set the effectrate to 500 # *** visual the QTgradientwipe1 of this stack very slow ## Will take 500 millisecs now go next cd ## or whatever... ... *** Us "the effectrate" (in millisecs!) to control the "very slow" transition speed...?! Yes, it is a bit semantically challenging to understand that the "very slow" speed (see the docs for "visual") can be controlled with "the effectrate" this way ;-) Hope that helps... > Mark Greenberg Regards and a happy new year from germany! :-) Klaus Major klaus at major-k.de http://www.major-k.de P.S. Now back to the party!!!! 8-D From drothe at optusnet.com.au Fri Dec 31 19:20:58 2004 From: drothe at optusnet.com.au (D.Rothe) Date: Sat, 1 Jan 2005 10:20:58 +1000 Subject: Setting more than 1 textStyle Message-ID: <003001c4ef97$c5f4a020$97f6a4cb@p4c2ghz> On 12/26/04 9:16 PM, "D.Rothe" wrote: > Setting more than 1 textStyle > With the following script it obviously sets the hilited word of a field to the > chosen style. Select another style and it resets the word to plain text before > applying the new style! > How can I set the hilited word to more than one textStyle.... e.g Bold, Italic > & Underlined or what ever combination? > Is there a way to lock the text first or ??????????????? No, you get the textStyle of the selection, and then add another style to make a combination. For e.g, if the textStyle if "plain", you replace it with "bold", "italic", etc. If it is something other than "plain", you add it with a comma between: "bold,italic", "italic,underline", "bold,italic,underline", etc. Yep all sorted out, thanx for the input, I used the following code for each style; if textStyle of the hilitedText is empty then set textStyle of the hilitedText to "bold" else set textStyle of the hilitedText to \ (textStyle of the hilitedText) & comma & "bold" end if Thank & Cheers Dwayne... From drothe at optusnet.com.au Fri Dec 31 19:23:47 2004 From: drothe at optusnet.com.au (D.Rothe) Date: Sat, 1 Jan 2005 10:23:47 +1000 Subject: Line Numbers Message-ID: <003901c4ef98$29bcc100$97f6a4cb@p4c2ghz> G'Day and Happy New Year to all!!!!!!!! I am hoping someone could guide me with the following prob. I have two fields (field 1 & field 2), field 2 is for loading and displaying a txt file and field 1 is for displaying each corresponding line number of field 2. The line numbers must be in a seperate field otherwise they will show when printing field 2. Obviously field 2 is a scrolling field so the problem is getting field 1 to scroll in unison with field 2 so the line numbers match the correct line. Any ideas on the code or maybe a different solution!!!! Thanx to all..... Cheers Dwayne... From SimPLsol at aol.com Fri Dec 31 20:24:08 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Fri, 31 Dec 2004 20:24:08 EST Subject: Menu woes Message-ID: <74.4a33723b.2f0755b8@aol.com> Then you end up with Mac stacks that are 20 pixels taller than the corresponding Windows stack; the vertical location of all objects on the Mac stack will be 20 pixels greater than on the Windows stack. PL From alex at tweedly.net Fri Dec 31 21:25:00 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 01 Jan 2005 02:25:00 +0000 Subject: Line Numbers In-Reply-To: <003901c4ef98$29bcc100$97f6a4cb@p4c2ghz> References: <003901c4ef98$29bcc100$97f6a4cb@p4c2ghz> Message-ID: <41D609FC.9090903@tweedly.net> D.Rothe wrote: >G'Day and Happy New Year to all!!!!!!!! > >I am hoping someone could guide me with the following prob. >I have two fields (field 1 & field 2), field 2 is for loading and displaying a txt file and field 1 >is for displaying each corresponding line number of field 2. >The line numbers must be in a seperate field otherwise they will show when printing field 2. > >Obviously field 2 is a scrolling field so the problem is getting field 1 to scroll in unison with field 2 so the line numbers match the correct line. > >Any ideas on the code or maybe a different solution!!!! > > put URL "file:temp.txt" into tData put empty into tDisplayData put 0 into tCounter repeat for each line L in tData put tCounter && L & cr after tDisplayData add 1 to tCounter end repeat put tDisplayData into field "Field" It may look clumsy to scan through each line like this - but Rev is very fast at doing that. This did my 6000 line, 1 Mb file in about 80 millisecs - so you don't need to worry about speed. You could also do it by some variation of setting the vscroll of field 1 to the thumbpos of field 2 but I just find it easier to do it this way. You could also do it by putting the two fields into a group and scrolling the group (I think - haven't tried that way myself). Happy New Year !! -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 30/12/2004 From kray at sonsothunder.com Fri Dec 31 21:57:53 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 31 Dec 2004 20:57:53 -0600 Subject: Line Numbers In-Reply-To: <003901c4ef98$29bcc100$97f6a4cb@p4c2ghz> Message-ID: On 12/31/04 6:23 PM, "D.Rothe" wrote: > Obviously field 2 is a scrolling field so the problem is getting field 1 to > scroll in unison with field 2 so the line numbers match the correct line. Alex helped you with part 1, here's how to do part 2: --Script of fld 1 on scrollBarDrag set the scroll of fld 2 to the scroll of me end scrollBarDrag --Script of fld 2 on scrollBarDrag set the scroll of fld 1 to the scroll of me end scrollBarDrag Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com